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

launch file

asked 2011-12-28 04:13:53 -0600

hmmm gravatar image

updated 2011-12-31 12:34:28 -0600

tfoote gravatar image

hi,all can anyone explain me please ,what the following content of that launchfile (from tutorial: http://www.ros.org/wiki/simulator_gazebo/Tutorial/SpawningObjectInSimulation means???

<launch>
  <!-- send table urdf to param server -->
  <param name="table_description" command="$(find xacro)/xacro.py $(find gazebo_worlds)/objects/table.urdf.xacro" />

  <!-- push table_description to factory and spawn robot in gazebo -->
  <node name="spawn_table" pkg="gazebo" type="spawn_model" args="-urdf -param table_description -z 0.01 -model table_model" respawn="false" output="screen" />
</launch>

the interesting part for me is : <node name="spawn_table" pkg="gazebo" type="spawn_model" args="-urdf -param table_description -z 0.01 -model table_model" <="" p="">

is spawn_table a (standard) node within the gazebo stack?But i cant find that node.i have searched for that within the simulator_gazebo stack. i only find the spawn_model node,under /opt/ros/electric/stacks/simulator_gazebo/gazebo/scripts question: what is spawn_table?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2011-12-28 05:13:37 -0600

DimitriProsser gravatar image

updated 2011-12-28 05:15:10 -0600

"spawn_table" is simply just a name ("name) given to an instance of the executable called "spawn_model" ("type") that is located in package ("pkg") gazebo.

Please see this tutorial for details on the roslaunch XML format.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2011-12-28 04:13:53 -0600

Seen: 550 times

Last updated: Dec 31 '11