spawning different robot models kills gazebo [closed]

asked 2013-02-26 10:08:35 -0500

kpetersen gravatar image

updated 2013-02-26 10:26:15 -0500

I am trying to run a heterogeneous robot team in gazebo (fuerte, ubuntu 12.04). But whenever I try to spawn two different robot models, gazebo crashes.

The only error output I get is: Segmentation fault (core dumped) [gazebo-2] process has died [pid 10430, exit code 139 The log files don't contain any errors.

If I spawn only one of the robots (either the turtlebot or the quadrotor) it works without any problems.

Can anybody reproduce this error, or tell me what I am doing wrong?


<launch>
   
   <node name="gazebo" type="gazebo" pkg="gazebo" args="$(find gazebo_worlds)/worlds/empty_throttled.world"/>
   <node name="gazebo_gui" pkg="gazebo" type="gui" respawn="false"/>

   <arg name="model_turtle" default="$(find turtlebot_description)/urdf/turtlebot.urdf.xacro"/>
   

   <arg name="model_drone" default="$(find hector_quadrotor_urdf)/urdf/quadrotor_hokuyo_utm30lx.urdf.xacro"/>
   

   <node name="spawn_turtle" pkg="gazebo" type="spawn_model" args="-param /robot_description_turtle
   -urdf
   -x -1 -z 0.2
   -model turtle" respawn="false" output="screen"/>

   <node name="spawn_drone" pkg="gazebo" type="spawn_model" args="-param /robot_description_drone
   -urdf
   -z 0.5
   -model drone" respawn="false" output="screen"/>
</launch>
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-01-15 13:53:19.134419

Comments

Did you actually set the two parameters containing the robot description (e.g. by adding <param name="robot_description_drone" command="$(find xacro)/xacro.py $(arg model_drone)" /> to your launch file? Could you post a stack trace? Run gazebo with rosrun gazebo debug and enter bt after the segfault

Johannes Meyer gravatar image Johannes Meyer  ( 2013-07-04 09:58:11 -0500 )edit

Yes, I think I did. I'm not on fuerte anymore, therefore I cannot reproduce the error right now. But thanks for your comment!

kpetersen gravatar image kpetersen  ( 2013-07-11 02:54:13 -0500 )edit