Home | Tutorials | Wiki | Issues
Ask Your Question
0

my world is changed when i loaded it

asked 2013-07-01 14:56:05 -0600

Vahid gravatar image

updated 2013-07-11 05:52:35 -0600

Hi Dear All,

I create a world in Gazebo (Standalone Version 1.8) and I saved it, but when i load it, my world is changed?! any one know what is my fault?

for example i create this world but when i load it i have this world, I've marked the changed part.

i loaded my world with this command:

>gazebo name_of_saved_world

and i save the world from file menu (save world as).

I've attached a world with a box. test4.sdf

edit retag flag offensive close merge delete

Comments

Can you provide a few more details about your problem.

nkoenig gravatar imagenkoenig ( 2013-07-01 17:53:03 -0600 )edit

Yes, I've added detail of my problem to main question, thank you so much for your consideration.

Vahid gravatar imageVahid ( 2013-07-02 00:52:18 -0600 )edit

Can you add some code that shows the before and after differences? It will be hard for us to replicate the error just based on the images you attached. Thanks.

scpeters gravatar imagescpeters ( 2013-07-10 18:47:18 -0600 )edit

Model rotations don't get saved. To replicate: insert a box, rotate it, File -> Save World As. Load the saved world to see the model with zero rpy.

iche033 gravatar imageiche033 ( 2013-07-10 21:26:53 -0600 )edit

Dear Scpeters, There is just one code ( a SDF File), for example i put a box in world and then rotate it and in final i save it, but when i load it, the box is in original form! I've attached this SDF file to main question, you can test it and see the result.

Vahid gravatar imageVahid ( 2013-07-11 05:58:19 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-10 18:21:26 -0600

iche033 gravatar image

There are currently some problems with saving worlds. I've added yours to the existing ticket on the gazebo issue tracker:

https://bitbucket.org/osrf/gazebo/issue/563/fix-saving-worlds

edit flag offensive delete link more

Comments

Thank you so much.

Vahid gravatar imageVahid ( 2013-07-11 06:00:32 -0600 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-07-01 14:56:05 -0600

Seen: 276 times

Last updated: Jul 11 '13