Home | Tutorials | Wiki | Issues
Ask Your Question
0

World shifts after reset!

asked 2018-02-27 04:32:09 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

For the following world file, the world (as in, the walls and static objects) suddenly move (as in rotate and translate, all together) after calling the '/gazebo/reset_world' service.

I am running gazebo 8.

It is related to the following --> issue

However, I tried to remove the <state> tag but it breaks my world file. Do you have any idea on this?

Here's the world file: example.world

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-03-11 16:25:49 -0500

hari_x gravatar image

I assume you have used Gazebo Interface to modify your world. All the changes you make are stored under the <state> tag. Simply removing the <state> tag won't do. You have to migrate these changes to the original model definitions, for reset_world or reset_simulation service to work.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-02-27 04:32:09 -0500

Seen: 151 times

Last updated: Feb 27