Robotics StackExchange | Archived questions

Gazebo crash for Hector_quadrotor demo

Hi guys, every time I run the gazevo Hector quaudrotor, I always get this kind of error:

unpause physics service call failed: transport error completing service call: unable to receive data from sender, check sender's logs for details [gazebo-2] process has died [pid 576, exit code -11]. log files: /home/fyp4211/.ros/log/79142b6a-1cbe-11e2-99ca-c89cdca2bbca/gazebo-2*.log

Anyone knows how to fix the error?

Asked by ROS_NOOB_CYBORG on 2012-10-22 17:09:01 UTC

Comments

Could you please run gazebo in the debugger to see where exactly the crash happens? The error message you posted is only a result of the died simulator process. Run "rosrun gazebo debug" (no GUI), then spawn the quadrotor and enter "bt" to print a backtrace after the crash happened.

Asked by Johannes Meyer on 2012-10-22 21:28:37 UTC

This actually what I get after running rosrun gazebo debug: "[rosrun] Couldn't find executable named debug below /opt/ros/electric/stacks/simulator_gazebo/gazebo " Any idea how to run it through GDB?

Asked by ROS_NOOB_CYBORG on 2012-10-23 21:31:08 UTC

Obviously there is no debug script in the gazebo package for electric. Use "roslaunch gazebo_worlds debug.launch" instead (see http://www.ros.org/wiki/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB for further instructions).

Asked by Johannes Meyer on 2012-10-24 02:41:34 UTC

Answers

Hi ROS_NOOB_CYBORG, have you fixed your problem? I encounter the same problem and do not know how to deal with. Thanks

Asked by smith2679 on 2012-11-14 14:42:09 UTC

Comments

Haven't yet. Up until now, I still don't know how to debug the ROS Gazebo.

Asked by ROS_NOOB_CYBORG on 2012-12-07 19:16:04 UTC

here is my temporary solution for gazebo not crash: you can change in launch file to start gazebo with empty world. And in rviz, do not allow the path tracking start (you can remove this), there is a problem with path tracking.

Asked by smith2679 on 2012-12-14 05:05:06 UTC