Skip to Content
ROS Programming: Building Powerful Robots
book

ROS Programming: Building Powerful Robots

by Anil Mahtani, Luis Sanchez, Enrique Fernandez, Aaron Martinez, Lentin Joseph
March 2018
Intermediate to advanced content levelIntermediate to advanced
1396 pages
42h 14m
English
Packt Publishing
Content preview from ROS Programming: Building Powerful Robots

Creating a launch file for the navigation stack

Now we have all the files created and the navigation stack is configured. To run everything, we are going to create a launch file. Create a new file in the chapter6_tutorials/launch folder, and put the following code in a file with the name move_base.launch:

<launch> 
  <!-- Run the map server --> 
  <node name="map_server" pkg="map_server" type="map_server"    args="$(find chapter6_tutorials)/maps/map.yaml" output="screen"    /> 
  <include file="$(find amcl)/examples/amcl_diff.launch" /> 
  <node pkg="move_base" type="move_base" respawn="false"    name="move_base" output="screen">    <rosparam file="$(find      chapter6_tutorials)/launch/costmap_common_params.yaml"  command="load" ns="global_costmap" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Robots with ROS

Programming Robots with ROS

Morgan Quigley, Brian Gerkey, William D. Smart
Machine Learning Design Patterns

Machine Learning Design Patterns

Valliappa Lakshmanan, Sara Robinson, Michael Munn

Publisher Resources

ISBN: 9781788627436Supplemental Content