turtlebot / turtlebot_simulator

Launchers for Gazebo simulation of the TurtleBot
http://www.ros.org/wiki/turtlebot_simulator
99 stars 136 forks source link

Resetting Gazebo Simulation Problem #48

Closed marjinal1st closed 6 years ago

marjinal1st commented 9 years ago

I'm using ROS Indigo on Ubuntu 14.04.

Whenever I reset the simulation on Gazebo (Edit - Reset World), all the movement stops and I've to relaunch the simulation on turtlebot_gazebo package again.

Is there a way to reset the simulation properly without relaunching it?

tfoote commented 6 years ago

When you reset the world, time jumps backwards. Some algorithms/implementations are not robust to that. Or they may abort behaviors if those time jumps are detected.

I cannot reproduce the issue using keyboard_teleop. The vehicle does get reset back to the origin with zero speed, but can be driven immediately afterwards. I'm going to close as I can't reproduce the issue.