How can I reset a robotic arm (joints and links) in Gazebo simulation?

asked 2021-08-23 10:33:17 -0500

Ritz gravatar image

I am trying to reset my robotic arm using rosservices reset_simulation and reset_world, but the arm does not comes back to its original position. However, the other objects can be reset, but not the robotic arm. Did anyone faced this similar situation?

edit retag flag offensive close merge delete


Have you tried /gazebo/set_model_state and /gazebo/set_link_state? If you know the original joint positions it should work. I have tried it with a mobile robot and it works.

bach gravatar image bach  ( 2021-08-24 04:45:30 -0500 )edit