How to set joint positions on simulation reset?

asked 2020-03-18 19:35:10 -0500

Victoria Bentell gravatar image

updated 2020-03-18 19:36:58 -0500

I'm using os.system('rosservice call /gazebo/reset_simulation') in my python script and of course it resets the model to joint positions of all zeros. However, for my machine learning task I would like it to reset straight to random joint positions. How might I accomplish this?

edit retag flag offensive close merge delete