roslaunch and map_server
Does anyone know how to do the following using roslaunch?
rosrun map_server map_server mymap.yaml
Does anyone know how to do the following using roslaunch?
rosrun map_server map_server mymap.yaml
Hello,
you can try the following:
<launch>
<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)" />
</launch>
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.
Raph
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-03-10 08:07:33 -0500
Seen: 18,735 times
Last updated: Mar 10 '11
Load Parameters using roslaunch saved as .yaml from RQT Dynamic Reconfigure
Run a node when closing another one/save automtically before ending a launch
xacro problem: Invalid <param> tag: Cannot load command parameter [robot_description]
Rename JOINT_NAMES in ur_driver test_move.py [closed]
How to create "parameters" inside launch files in ROS?
Use python rather than python3 in lots of files