"gazebo/clear_joint_forces" service doesn't work [closed]
i was following the tutorial titled "Gazebo ROS API for C-turtle". and there's part applying joint effort by using "apply_joint_effort" service(provided by "/gazebo" node) and clearing it back by "clear_joint_forces" service. Applying effort part was OK, but clearing it by "clear_joint_forces" service doesn't seem to work. it doesn't throw any error, it just silently pass through the "rosservice call gazebo/clear_joint_forces '{joint_name: link_joint}'" command and back to "#" command-line. And the cuboid in the simulator still spins. Any-body has the same problem?
It remains spinning probably because its inertia. Have you tried applying some counter forces?
yeah i tried applying counter force (negative effort)like "rosservice call gazebo/apply_joint_effort '{joint_name: link_joint, effort: -0.01, start_time: 10000000000, duration: 1000000000}'", and after applying the counter force the cuboid stop spinning.
tor, u mentioned that the reason why the cuboid remains spinning is probably due to its inertia~ but i still don't understand why clearing the force makes no difference in speed of the rotation. it seems that the cuboid spins at the same speed whether i clear the force or not.
Please ask gazebo questions at http://answers.gazebosim.org