Dynamic Footprint for Nav2
A community member has developed and released an open-source ROS 2 package called nav2_dynamic_footprint that enables mobile manipulators to update their navigation footprint dynamically based on arm movement. The tool utilizes URDF collision geometry and TF transforms to compute a 2D footprint, supporting various robot descriptions, polygon types, and execution modes. It has been tested on multiple ROS 2 distributions including Humble, Jazzy, Lyrical, and Rolling, with specific tests conducted using the author's mobile manipulator description. The package is available for community feedback and improvement.
Hi everyone,
We are building a new mobile manipulator and needed a Nav2 footprint that updates as the robot’s arm moves. A short search for an existing package didn’t bear fruit, so I decided to implement one myself.
nav2_dynamic_footprint uses the robot’s URDF collision geometry and current TF transforms to compute and publish a dynamic 2D footprint. It supports:
- Robot descriptions from a topic or URDF file
- Plain or stamped polygons
- Standalone and component execution, with optional lifecycle management
- One footprint topic that can be shared by the local and global Nav2 costmaps
I have built and tested it on Humble, Jazzy, Lyrical, and Rolling, including tests with our mobile manipulator’s description.
Repository: [nav2_dynamic_footprint]
I’d be interested in feedback, possible improvements and overall experiences using dynamic footprints with Nav2.