Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] Add mcap cat --json support for unsupported/unrecognized encodings #817

Open
jhurliman opened this issue Feb 16, 2023 · 0 comments
Open
Labels
cli feature New feature or request

Comments

@jhurliman
Copy link
Contributor

Today:

$ mcap cat --topics /not/a/proto --json data.mcap | head -n1
2023/02/16 14:37:12 Error: failed to print messages: JSON output only supported for ros1msg, protobuf, and JSON schemas

The future:

$ mcap cat --topics /not/a/proto --json data.mcap | head -n1
{"topic":"/not/a/proto","sequence":0,"log_time":1672783876.875759239,"publish_time":1672783876.875759239,"data":"aGVsbG8sIHdvcmxkCg=="}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli feature New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant