ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Gazebo crash for Hector_quadrotor demo [closed]

asked 2012-10-22 17:09:01 -0600

ROS_NOOB_CYBORG gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by tfoote
close date 2015-06-29 02:14:12.604765

Comments

1

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.

Johannes Meyer gravatar image Johannes Meyer  ( 2012-10-22 21:28:37 -0600 )edit

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?

ROS_NOOB_CYBORG gravatar image ROS_NOOB_CYBORG  ( 2012-10-23 21:31:08 -0600 )edit

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).

Johannes Meyer gravatar image Johannes Meyer  ( 2012-10-24 02:41:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-11-14 13:42:09 -0600

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

edit flag offensive delete link more

Comments

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

ROS_NOOB_CYBORG gravatar image ROS_NOOB_CYBORG  ( 2012-12-07 18:16:04 -0600 )edit

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.

smith2679 gravatar image smith2679  ( 2012-12-14 04:05:06 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-10-22 17:09:01 -0600

Seen: 519 times

Last updated: Nov 14 '12