Gazebo crash for Hector_quadrotor demo [closed]
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?
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.
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?
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).