|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.
Using rviz with the Navigation StackDescription: This tutorial provides a guide to using rviz with the navigation stack to initialize the localization system, send goals to the robot, and view the many visualizations that the navigation stack publishes over ROS.
Keywords: navigation rviz debugging
Tutorial Level: BEGINNER
Setting Up rviz for the Navigation Stack
The following video shows how to setup rviz to work with the navigation stack. This includes setting the pose of the robot for a localization system like amcl, displaying all the visualization information that the navigation stack provides, and sending goals to the navigation stack with rviz. Discussions of each visualization topic the navstack publishes can be found below.
2D Nav Goal
Description: Allows the user to send a goal to the navigation by setting a desired pose for the robot to achieve.
2D Pose Estimate
Description: Displays the static map that is being served by the map_server if one exists.
Description: Displays the particle cloud used by the robot's localization system. The spread of the cloud represents the localization system's uncertainty about the robot's pose. A cloud that is very spread out reflects high uncertainty, while a condensed cloud represents low uncertainty.
- Description: Displays the footprint of the robot
Desctiption: Displays the obstacles that the navigation stack sees in its costmap. For the robot to avoid collision, the robot footprint should never intersect with a cell that contains an obstacle.
Description: Displays obstacles in the navigation stack's costmap inflated by the inscribed radius of the robot. For the robot to avoid collision, the center point of the robot should never overlap with a cell that contains an inflated obstacle.
Description: Displays any unknown space contained in the navigation stack's costmap_2d.
Description: Displays the portion of the global plan that the local planner is currently pursuing.
Description: Displays the trajectory associated with the velocity commands currently being commanded to the base by the local planner.
Description: Displays the full plan for the robot computed by the global planner.
- Description: Displays the goal pose that the navigation stack is attempting to achieve.