Robotics StackExchange | Archived questions

Calling /gazebo/reset_simulation breaks contact sensor output

I have a model loaded that has a collision sensor. When I echo the rostopic, I see the expected output. But when I call /gazebo/reset_simulation, that output hangs for a long time -- up to a minute. This is despite the fact that it only takes 5 seconds to launch Gazebo and get the sensor output to start with.

I've made a simple proof of concept and uploaded the workspace to github.

To replicate,

Is there any way to speed this up? For my real project, it poses quite a problem. The robot will resume its movement after a reset long before the collision sensor goes up again.

Asked by Ben B on 2014-02-17 14:16:39 UTC

Comments

This sounds very similar to http://answers.gazebosim.org/question/5194/differential-drive-ros-plugin-stops-responding ,so might has the same cause.

Asked by Stefan Kohlbrecher on 2014-02-18 05:29:44 UTC

You might be right. I've submitted a ticket: https://github.com/ros-simulation/gazebo_ros_pkgs/issues/169

Asked by Ben B on 2014-02-18 16:40:53 UTC

Answers