Skip to content

Add MCAP structure CLI and improve chunk handling#65

Draft
siliconlad wants to merge 1 commit intomainfrom
add-cli-command-to-print-mcap-structure
Draft

Add MCAP structure CLI and improve chunk handling#65
siliconlad wants to merge 1 commit intomainfrom
add-cli-command-to-print-mcap-structure

Conversation

@siliconlad
Copy link
Owner

Summary

  • add a pybag structure CLI subcommand that renders MCAP record layouts as readable ASCII boxes
  • support printing chunk contents and update tests to validate the command output
  • fix MCAP chunk ordering by handling missing chunk indexes, sorting message lookups, and stabilising writer metadata

Testing

  • uv run --group test pytest .
  • uvx pre-commit run -a

https://chatgpt.com/codex/tasks/task_e_68d19818ee1c832da44ed0db1b189cbb

@siliconlad siliconlad force-pushed the add-cli-command-to-print-mcap-structure branch from ea2d6d2 to e4965db Compare October 19, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant