Home | Tutorials | Wiki | Issues
Ask Your Question
0

Gazebo ROS Fuerte crash and warnings [closed]

asked 2012-11-05 11:48:02 -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? My guideline is 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 duplicate question by hsu
close date 2013-01-11 18:50:05.069981

Comments

Which version of gazebo are you trying?

jbohren gravatar imagejbohren ( 2012-11-06 11:51:01 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-11-06 12:22:24 -0500

this post is marked as community wiki

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

How to update to a n new version of Gazebo within ROS fuerte?

You have to install Gazebo from our own repo, not the ros-fuerte-simulator-gazebo package. Look here http://gazebosim.org/wiki/Install.

You can't use the gazebo_plugins shipped with ROS Fuerte, and you can't use the world files shipped with ROS Fuerte.

You'll have to compile your plugins against the system install of Gazebo.

Xacro usage with Gazebo.

You can use xacro with URDF files. Then you can pass URDF to Gazebo. In the near future SDF will support xacro. And in the slightly distant future URDF will be deprecated completely.

edit flag offensive delete link more

Comments

to compile your plugins against system install of gazebo, please take a look at http://gazebosim.org/wiki/Tutorials/1.2/rosenabledmodel_plugin

hsu gravatar imagehsu ( 2012-11-06 19:26:58 -0500 )edit

The page on installing is a bit confusing about that, it states: "ROS Users: Never install Gazebo from here. Use these instructions.". http://gazebosim.org/wiki/1.2/install

Davinci gravatar imageDavinci ( 2012-12-03 05:55:14 -0500 )edit
0

answered 2013-01-11 18:47:12 -0500

this post is marked as community wiki

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-11-05 11:48:02 -0500

Seen: 1,377 times

Last updated: Jan 11 '13