Ask Your Question
0

Python script breaks after resetting model poses

asked 2017-07-21 07:55:40 -0500

kchledowski gravatar image

I am using a python script to move a robot to a certain position, reset model poses and loop this process n times. However, after first reset, I obtain a message: [WallTime: 1500641282.768572] [0.001000] ROS time moved backwards: 2089.084s.

I was wondering if there is a way to deal with the time problem, as I do not care what time it is in my program.

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-21 08:02:42 -0500

kchledowski gravatar image

I have realized, that while /gazebo/reset_simulation resets the clock, we can use /gazebo/reset_world, which only resets the poses.

edit flag offensive delete link more

Comments

2

Could you please just accept your own answer instead of closing the question? Thanks.

And a tip: for questions that are really Gazebo specific, I would recommend posting on answers.gazebosim.org, not here.

gvdhoorn gravatar imagegvdhoorn ( 2017-07-21 08:56:58 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-07-21 07:55:40 -0500

Seen: 102 times

Last updated: Jul 21 '17