Skip to content

Add ros-z MCAP topic recording - #2667

Draft
schmidma wants to merge 5 commits into
HULKs:mainfrom
schmidma:ros-z-mcap-recording-v1-design
Draft

Add ros-z MCAP topic recording#2667
schmidma wants to merge 5 commits into
HULKs:mainfrom
schmidma:ros-z-mcap-recording-v1-design

Conversation

@schmidma

@schmidma schmidma commented Jun 30, 2026

Copy link
Copy Markdown
Member

Summary

  • add a reusable ros-z-recording crate for MVP MCAP topic recording
  • add rosz record [--output <path>] <topic>... with text summaries, existing-output preflight, and configurable CLI node identity
  • verify recorded MCAP contents end to end, including raw payload bytes, ros-z encodings, and qualified topic resolution

Motivation

This gives developers a local ros-z topic recorder without adding robot-side services, replay support, or broader recording workflow changes.

Implementation

The recording backend resolves requested topics at startup with normal ros-z topic qualification rules, writes raw Zenoh sample payloads to MCAP with ros-z.schema.v1 schemas and ros-z.cdr messages, and finalizes on Ctrl-C or internal recording failure. The MVP keeps publisher provenance, drop counts, replay, and JSON record output out of scope. The CLI rejects --json record before graph setup.

Verification

  • cargo nextest run -p ros-z-recording -p ros-z-cli
  • cargo test --doc -p ros-z-recording -p ros-z-cli
  • cargo clippy -p ros-z-recording -p ros-z-cli --all-targets --locked -- -D warnings
  • git diff --check ddf687a4393935f18781a57ea7cfa001cfd2c557..HEAD

@schmidma schmidma self-assigned this Jun 30, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in Development Jun 30, 2026
@schmidma
schmidma force-pushed the ros-z-mcap-recording-v1-design branch from 3ba6abd to dd57257 Compare July 2, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant