Monitor SLAM constraint topics
Inspect constraint list and trajectory topics to diagnose SLAM performance.
Cartographer publishes a list of loop closure constraints and a trajectory builder status. If SLAM quality degrades, inspect these topics to understand the number of constraints and their quality.
bash
ros2 topic echo /${ROS_NAME}/constraint_list
bash
ros2 topic hz /${ROS_NAME}/constraint_list