Who it is forA developer or researcher who runs a simulator or offline pipeline in Python and wants a replayable file to share.
The problemLive viewing ends when the script ends, so the run cannot be inspected later or sent to a colleague.
The outcomeA session.dlr file that can be opened in the viewer at any time, with the logged frames on a sequence timeline.
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
- Run
pip install dalaran-sdkto install the Python SDK. - Write a script that calls dl.init with your app name, sets a frame timeline with dl.set_time, and logs points with dl.log.
- In the same script, call dl.save("session.dlr") in place of spawning a live viewer.
- Run
dalaran session.dlrto open the saved recording and scrub through the frames.
Prompt for your agent
In the Flaminis/Dalaran repository, install dalaran-sdk with pip, then write a Python script that logs 100 frames of a point cloud to session.dlr using dl.save. Expected output is a session.dlr file. Verify it by running dalaran session.dlr and confirming the frame timeline appears.
Caveat. The README calls the API still evolving with breaking changes between releases, so check CHANGELOG.md if a call fails after an upgrade.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Flaminis/Dalaran and "Save a Python sensor run to a .dlr file for later review"
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