Skip to main content
QUICK REVIEW

[Paper Review] ROS Navigation Tuning Guide

Kaiyu Zheng|arXiv (Cornell University)|Jun 27, 2017
Robotic Path Planning AlgorithmsComputer Science23 citations
TL;DR

This guide provides a systematic, theory-driven approach to tuning the ROS navigation stack for mobile robots, focusing on optimal parameter configuration for velocity, planners, costmaps, AMCL, and recovery behaviors. It enables stable, reliable navigation by explaining the 'how' and 'why' behind key parameters, significantly improving robot performance in both simulation and real-world environments.

ABSTRACT

The ROS navigation stack is powerful for mobile robots to move from place to place reliably. The job of navigation stack is to produce a safe path for the robot to execute, by processing data from odometry, sensors and environment map. Maximizing the performance of this navigation stack requires some fine tuning of parameters, and this is not as simple as it looks. One who is sophomoric about the concepts and reasoning may try things randomly, and wastes a lot of time. This article intends to guide the reader through the process of fine tuning navigation parameters. It is the reference when someone need to know the "how" and "why" when setting the value of key parameters. This guide assumes that the reader has already set up the navigation stack and ready to optimize it. This is also a summary of my work with the ROS navigation stack.

Motivation & Objective

  • Address the challenge of suboptimal performance in ROS navigation stack due to improper parameter tuning.
  • Provide a systematic methodology for configuring velocity, planner, costmap, and recovery behavior parameters.
  • Enable researchers and developers to achieve stable, efficient robot navigation by understanding the underlying principles of key parameters.
  • Reduce trial-and-error tuning by explaining the physical and algorithmic rationale behind parameter settings.
  • Improve robot robustness in complex or dynamic environments through optimized configuration and recovery strategies.

Proposed method

  • Measure maximum translational and rotational velocities and accelerations using odometry data from manual robot operation or simulation.
  • Use Dijkstra’s or A* algorithm with configurable cost factors to generate global paths, with options for quadratic approximation and grid pathing.
  • Implement dynamic window approach (DWA) with forward simulation, trajectory scoring, and dynamic reconfiguration for local path planning.
  • Configure costmaps with appropriate resolution, size, and inflation parameters to reflect environment geometry and obstacle avoidance.
  • Utilize AMCL for accurate robot localization using particle filters and dynamic reconfiguration for adaptive tuning.
  • Integrate SMACH-based recovery behaviors, including temporary goal setting and pose restoration, to enhance navigation resilience.

Experimental results

Research questions

  • RQ1How can maximum robot velocity and acceleration be accurately measured and set for optimal DWA local planner performance?
  • RQ2What are the key parameters in global and local planners that significantly affect path quality and navigation stability?
  • RQ3How can costmap configuration be optimized to balance obstacle avoidance and path feasibility?
  • RQ4What recovery strategies improve robot resilience in tight or dynamic environments?
  • RQ5Why does the DWA local planner exhibit inconsistent behavior when navigating in the -x direction compared to +x?

Key findings

  • Setting maximum translational and rotational velocities slightly below hardware limits improves stability and safety in DWA planning.
  • Measuring acceleration via odometry time-to-peak-velocity yields accurate estimates of maximum translational and rotational acceleration.
  • Using a high path_distance_bias value improves path adherence, but dynamically reducing it near the goal enhances goal convergence.
  • The DWA local planner exhibits directional instability when navigating in the -x direction, suggesting a potential bug in trajectory scoring or coordinate handling.
  • Real-world environments introduce unpredictable obstacles (e.g., thin vertical rods) not present in simulation, leading to navigation failures.
  • Costmap re-generation with slight variations during repeated navigation attempts can cause inconsistent path planning, especially at low resolutions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.