How do i reset my world without objects getting moved around?

asked 2021-02-28 03:08:26 -0500

Hi guys,

im currently trying to implement a DRL agent as a robot in an environment.

after each episode im want to reset my world with these commands:

    reset_world = rospy.ServiceProxy('/gazebo/reset_world',Empty)


It works quite good but some of my obstacles get moved around to places where they werent meant to be.

Is there something that causes this and how can i get rid of it ?

edit retag flag offensive close merge delete