Skip to main content

ROS Navigation Tuning Guide

  • Chapter
  • First Online:
Robot Operating System (ROS)

Part of the book series: Studies in Computational Intelligence ((SCI,volume 962))

Abstract

The ROS navigation stack has become a crucial component for mobile robots using the ROS framework. It is powerful, yet requires careful fine tuning of parameters to optimize its performance on a given robot, a task that is not as simple as it looks and potentially time-consuming. This tutorial chapter presents a ROS navigation tuning guide for beginners that aims to serve as a reference for the “how” and “why” when setting the value of key parameters. The guide covers parameter settings for velocity and acceleration, global and local planners, costmaps, and the localization package amcl. It also discusses recovery behaviors as well as the dynamic reconfiguration feature of ROS. We assume that the reader has already set up the navigation stack and ready to optimize it. The material in this chapter originally appeared on ROS Tutorials since 2017 with experiments conducted on ROS indigo. Nevertheless, the ROS navigation stack has been mostly stable since indigo, while the ROS 2 navigation stack shares significant overlap in terms of packages and key parameters, with several innovations. Hence, we present this material in the context of the most recent release (ROS Noetic) at the time of writing. We discuss notable changes made in the ROS 2 navigation stack with respect to ROS Noetic. A video demonstration of the outcome following this guide is available at https://y2u.be/1-7GNtR6gVk.

Work completed while studying at the University of Washington.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 109.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 139.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    The material in this chapter originally appeared on ROS Tutorials (http://wiki.ros.org/navigation/Tutorials/Navigation%20Tuning%20Guide#ROS_Navigation_Tuning_Guide) and arxiv [8].

  2. 2.

    Navigation 2 documentation: https://navigation.ros.org/concepts/index.html.

  3. 3.

    This means that unless otherwise specified, ROS refers to ROS Noetic.

  4. 4.

    More on: https://navigation.ros.org/migration/Eloquent.html?highlight=foxy#new-costmap-layer.

  5. 5.

    See announcement on ROS discourse: https://discourse.ros.org/t/announcing-navigation2-crystal-release/7155.

  6. 6.

    https://navigation.ros.org.

  7. 7.

    https://navigation.ros.org/tutorials/index.html.

  8. 8.

    gmapping: https://openslam-org.github.io/gmapping.html.

  9. 9.

    cartographer: https://google-cartographer-ros.readthedocs.io/en/latest/ros_api.html.

  10. 10.

    This information is obtained from MetraLabs’s website.

  11. 11.

    https://www.ros.org/reps/rep-0105.html.

  12. 12.

    http://wiki.ros.org/global_planner.

  13. 13.

    https://github.com/ros-planning/navigation/blob/noetic-devel/navfn/include/navfn/navfn.h.

  14. 14.

    http://wiki.ros.org/dwa_local_planner.

  15. 15.

    http://wiki.ros.org/dwa_local_planner.

  16. 16.

    https://navigation.ros.org/.

  17. 17.

    https://github.com/ros-planning/navigation2/blob/main/nav2_dwb_controller/README.md.

  18. 18.

    Diagram is from http://wiki.ros.org/costmap_2d.

  19. 19.

    data from https://www.hokuyo-aut.jp/02sensor/07scanner/download/pdf/URG-04LX_UG01_spec_en.pdf.

  20. 20.

    mentioned in [1], pp.370.

  21. 21.

    Some explanations are credited to the costmap2d ROS Wiki not written by the author, but referenced under the Creative Commons Attribution 3.0 license.

  22. 22.

    http://wiki.ros.org/amcl.

  23. 23.

    See: http://docs.ros.org/melodic/api/sensor_msgs/html/msg/LaserScan.html.

  24. 24.

    For LMS 200, thanks to this Github issue (https://github.com/smichaud/lidar-snowfall/issues/1).

  25. 25.

    In our video demonstration, the close goal is generated without considering obstacles nearby the robot. In general, the costmap should be used to compute such close goals for greater efficiency of recovery.

  26. 26.

    Here is a video demo of my work on mobile robot navigation: https://youtu.be/1-7GNtR6gVk.

  27. 27.

    https://github.com/ros-planning/navigation/issues/503.

  28. 28.

    octomap: http://wiki.ros.org/octomap.

  29. 29.

    cartographer: https://google-cartographer-ros.readthedocs.io/en/latest/.

  30. 30.

    hdl_graph_slam: https://github.com/koide3/hdl_graph_slam.

  31. 31.

    Course https://sceweb.sce.uhcl.edu/harman/courses.htmCENG 5435: Robotics and ROS taught at the University of Houston, Clear Lake, by Prof. Thomas Harman. Link: https://sceweb.sce.uhcl.edu/harman/CENG5435_ROS/CENG5435_WebFall18/ROS%20NAVSTACK_Navigation_References.pdf.

  32. 32.

    http://emanual.robotis.com/ROBOTIS e-Manual, the community forum of http://www.robotis.us/ROBOTIS, a Korean robot manufacture company. Reference link: http://emanual.robotis.com/docs/en/platform/turtlebot3/navigation/.

  33. 33.

    https://github.com/teddyluo/ROSNavGuide-Chinese.

  34. 34.

    http://wiki.ros.org/.

References

  1. Y. Baudoin, M.K. Habib, Using robot in hazardous environments (Woodhead Publishing, United Kingdom, 2011), pp. 486–489

    Google Scholar 

  2. O. Brock, O. Khatib, High-speed navigation using the global dynamic window approach, in Proceedings 1999 IEEE International Conference on Robotics and Automation (Cat. No. 99CH36288C), vol. 1 (IEEE, Detroit, 1999), pp. 341–346

    Google Scholar 

  3. M. Colledanchise, P. Ögren, Behavior Trees in Robotics and AI: An Introduction (CRC Press, Boca Raton, 2018)

    Google Scholar 

  4. T. Foote, tf: the transform library, in Technologies for Practical Robot Applications (TePRA), 2013 IEEE International Conference on, Open-Source Software workshop (2013), pp. 1–6

    Google Scholar 

  5. D. Fox, W. Burgard, S. Thrun, The dynamic window approach to collision avoidance. IEEE Robot. Autom. Mag. 4(1), 23–33 (1997)

    Article  Google Scholar 

  6. F. Furrer, M. Burri, M. Achtelik, R. Siegwart, Robot operating system (ros): the complete reference (volume 1), by A. Koubaa (Springer International Publishing, Cham, 2016)

    Google Scholar 

  7. S. Thrun, W. Burgard, D. Fox, Probabilistic Robotics (MIT press, Cambridge, 2005)

    Google Scholar 

  8. K. Zheng, Ros navigation tuning guide (2017), arXiv:1706.09068

Download references

Acknowledgements

We sincerely thank Andrzej Pronobis for the discussion, advice and support that led to the progress of this work. We are pleased to see that people with different background such as educators and industry practitioners have referred to this guide. Finally, we acknowledge that it has been translated into Chinese by Huiwu Luo.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kaiyu Zheng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Zheng, K. (2021). ROS Navigation Tuning Guide. In: Koubaa, A. (eds) Robot Operating System (ROS). Studies in Computational Intelligence, vol 962. Springer, Cham. https://doi.org/10.1007/978-3-030-75472-3_6

Download citation

Publish with us

Policies and ethics