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

Configuring the global costmap

The next file to be configured is the global costmap configuration file. Create a new file in chapter6_tutorials/launch with the name global_costmap_params.yaml, and add the following code:

global_costmap: 
  global_frame: /map 
  robot_base_frame: /base_footprint 
  update_frequency: 1.0 
  static_map: true 

The global_frame and the robot_base_frame attributes define the transformation between the map and the robot. This transformation is for the global costmap.

You can configure the frequency of updates for the costmap. In this case, it is 1 Hz. The static_map attribute is used for the global costmap to see whether a map or the map server is used to initialize the costmap. If you aren't using a static map, set this parameter ...

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