

Nav2 is the professionally-supported successor to the ROS Navigation Stack, optimized for mobile and surface robotics. It enables robots to navigate complex environments while avoiding obstacles and completing user-defined tasks.
The framework uses behavior trees to orchestrate modular servers for planning, control, and recovery behaviors. It supports holonomic, differential-drive, legged, and Ackermann robot types with both circular and arbitrarily-shaped footprints for collision checking.
Nav2 follows a server-based architecture where independent modules communicate via ROS 2 actions and services:
Nav2Nav2 integrates with Gazebo for physics-based simulation and testing of navigation behaviors before deployment to physical robots.
Nav2Nav2 integrates with RViz for 3D visualization of navigation data, costmaps, planned paths, and robot state. The Nav2 RViz plugin provides panels to issue navigation commands and monitor system status.
Nav2Nav2 can be monitored and debugged using Foxglove's modern robotics visualization platform as an alternative to RViz, providing web-based access to navigation data and diagnostics.