Save robot in a given configuration not working

asked 2018-11-28 10:42:00 -0500

mrslvgg gravatar image

I am writing a model plugin to simulate a torque-controlled robot. I have a world file with the robot in the candle configuration. I would like to put the robot in another configuration and save it. I am able to move the robot correctly through pid control and save it. But when I load the previously saved world I have the joint axes not aligned correctly as it is possible to see in the figure below

C:\fakepath\Screenshot_2018-11-28_17-19-17.png

I have the same results by invoking setPosition() from the API. Is there any possible explanation for this? I am using gazebo 9.5.0.

edit retag flag offensive close merge delete