Who it is forA ROS 2 navigation engineer debugging why a robot took a path, using a recorded rosbag2 from a nav2 run.
The problemCostmaps flattened into plain images hide which cells are lethal obstacles and which are inflated, making path failures hard to explain.
The outcomeThe global and local costmaps appear as grid map entities with origin and resolution handled, with cost categories drawn distinctly.
What you need first
- Python with pip, or Rust with cargo, to install the Dalaran SDK or viewer
- A terminal to run the dalaran command
- An existing .rrd, .dlr, or MCAP recording, or a ROS 2 setup with rosbag2 files, for the replay use cases
Steps
- Locate a rosbag2 or MCAP file that contains /global_costmap or /local_costmap topics from your nav2 run.
- Replay the rosbag2 into Dalaran with the ROS 2 bridge described in the README, saving the output as a .dlr file. (inferred, check the README)
- Run
dalaran session.dlrto open the saved recording, replacing session.dlr with your file name. - Step through the timeline and check that the costmap layers stack with their own opacity alongside the robot pose.
Prompt for your agent
In the Flaminis/Dalaran repository, replay <bag_path> into a .dlr file using the ROS 2 bridge and open it with the dalaran command. Expected output is a viewer showing nav2 costmap grids on the timeline. Verify that the global and local costmap entities appear and that lethal and inflated obstacle cells are shown as separate categories.
Caveat. The README does not give the exact ROS 2 bridge command, so this use case needs the BUILD.md, docs, or examples to confirm the replay steps.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Flaminis/Dalaran and "Show nav2 costmaps from a rosbag2 replay next to robot poses"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer