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

Gazebo ROS Fuerte crash [closed]

asked 2012-11-05 05:17:20 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi guys,

I do not know if I'm doing something wrong but it happens (one over four simulations as average) that when I start gazebo (using ROS fuerte) it crashes giving me the following error:

Service call failed: unable to connect to service: [Errno 104] Connection reset by peer Service call failed: unable to connect to service: [Errno 104] Connection reset by peer Service call failed: unable to connect to service: [Errno 104] Connection reset by peer Service call failed: transport error completing service call: unable to receive data from sender, check sender's logs for details Aborted (core dumped) [gazebo-2] process has died [pid 11209, exit code 134, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gazebo -u /home/marco/repositories/labrobROS/labrob_diffDrive3d/labrob_diffDrive3d_description/worlds/emptyFuerte.world __name:=gazebo __log:=/home/marco/.ros/log/26a9b9ea-276c-11e2-8f34-001d60c8d691/gazebo-2.log]. log file: /home/marco/.ros/log/26a9b9ea-276c-11e2-8f34-001d60c8d691/gazebo-2*.log

or another error is:

gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr<t>::operator->() const [with T = gazebo::transport::Publisher]: Assertion `px != 0' failed. Service call failed: transport error completing service call: unable to receive data from sender, check sender's logs for details Aborted (core dumped) [gazebo-2] process has died [pid 14182, exit code 134, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gazebo -u /home/marco/repositories/labrobROS/labrob_diffDrive3d/labrob_diffDrive3d_description/worlds/emptyFuerte.world __name:=gazebo __log:=/home/marco/.ros/log/b537c8be-276c-11e2-ab21-001d60c8d691/gazebo-2.log]. log file: /home/marco/.ros/log/b537c8be-276c-11e2-ab21-001d60c8d691/gazebo-2*.log

I think this is a gazebo problem. I know that this problem is fixed in some releases of gazebo. How to update it to a newer version in ROS fuerte?

Does anyone have the same problem?

In addition, I have the following warning

Warning [parser.cc:348] Gazebo SDF has no gazebo element Warning [parser.cc:291] DEPRECATED GAZEBO MODEL FILE

I know that it is since the new gazebo wants sdf file instead of xacro format. The real point is I did not succeed to find how to build a sdf file from existing xacro model or scratch. Could anyone help me with some guides? I check here http://gazebosim.org/sdf/dev.html but it not so clear. Could anyone paste a simple example including controller?

Thanks in advance,

Neostek

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by 130s
close date 2013-01-16 06:23:45

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-01-15 11:42:03 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

As announced by the developers in Sep 2012, all gazebo related questions should be asked on new gazebo specific QA community. Thank you for your cooperation!

See also this thread with an answer from Nate.

Apologies that I close as "off-topic" although it's actually very related - there isn't more suitable label.


EDIT; @joq I think I might be sharing exactly the same "?" with you. But please take a look at @nkoenig's response in the link I cited. I thought now that Gazebo can run standalone and they might have many users (probably from DRC) who don't necessarily need always ROS, keeping 2 QA web sites was better on both ends. Looks like, however, they are also welcoming ROS-Gazebo questions on gazebosim.org, where you can expect the best response regarding Gazebo.

I might want to suggest later on to ROS-Gazebo users to take on 2 web sites depending on whether the question is more Gazebo intensive OR more ROS-rooted. It's not always easy to tell though, esp. for the majority of the users who ask are relatively new to ROS &/ Gazebo, as far as I've seen while I was closing 10+ Gazebo-related threads.

Lastly link from tutorial pages is misleading (I made it for general tutorial pages and turned out we need a workaround for Gazebo).


EDIT-2; At least wiki pages for Gazebo are now navigating to the right question web site (ticket closed for wiki but for overall user's experience regarding answers.ros.rog, a ticket remains)

edit flag offensive delete link more

Comments

Are you sure, Isaac? Shouldn't ROS-related gazebo questions be asked here? The tutorials explicitly direct users to answers.ros.org, see: http://www.ros.org/wiki/simulator_gazebo/Tutorials/StartingGazebo

joq gravatar image joq  ( 2013-01-16 04:35:40 -0500 )edit

@joq I updated my answer.

130s gravatar image 130s  ( 2013-01-16 05:33:23 -0500 )edit
1

+1 to updating the tutorial header; that is going to keep causing confusion

joq gravatar image joq  ( 2013-01-16 05:35:56 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-11-05 05:17:20 -0500

Seen: 1,165 times

Last updated: Jan 17 '13