joint effort wont work !!!!!!

asked 2015-08-15 12:29:37 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

i'm working with nao in gazebo i was wondering that has effort been defined for nao model? because when run this service in terminal or c++ both answer me that it was successful and yet nothing happens. i expect to something happen because i set the shoulder joint's effort to zero and they wont drop. here is some of my code :

 ros::ServiceClient stiffclient = nexus.serviceClient<gazebo_msgs::ApplyJointEffort>("/gazebo/apply_joint_effort");
bool ppp ;
gazebo_msgs::ApplyJointEffort lcartman ;
lcartman.request.joint_name="LShoulderPitch";
lcartman.request.effort=0;
lcartman.request.start_time.fromSec(1);
lcartman.request.duration.fromSec(1000);
ppp=stiffclient.call(lcartman);
edit retag flag offensive close merge delete