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

roslaunch and map_server

asked 2011-03-10 08:07:33 -0600

jdt141 gravatar image

Does anyone know how to do the following using roslaunch?

rosrun map_server map_server mymap.yaml

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-03-10 08:25:39 -0600

raphael favier gravatar image


you can try the following:


  <arg name="map_file" default="$(find [package where your yaml file is])/mymap.yaml"/>

  <!-- Run the map server -->
  <node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)" />


I would strongly advise you to have a look at this tutorial that explains how to setup the navigation stack for a robot.

Also have a look at the xml tags allowed in launch files here.


edit flag offensive delete link more

Question Tools

1 follower


Asked: 2011-03-10 08:07:33 -0600

Seen: 21,335 times

Last updated: Mar 10 '11