-
The documentation for C++ includes a minimal example on how to add schemas. For writing a simple ...
// Register a Schema
mcap::Schema stdMsgsString("std_msgs/String", "ros1msg", "string data");
writer.addSchema(stdMsgsString);
// Register a Channel
mcap::Channel chatterPublisher("/chatter", "ros1", stdMsgsString.id);
writer.addChannel(chatterPublisher);
... Where |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 10 replies
-
Linear: FG-1855 |
Beta Was this translation helpful? Give feedback.
-
The format for ROS schemas is documented here: https://mcap.dev/specification/appendix.html |
Beta Was this translation helpful? Give feedback.
-
Thanks for the hint 👍 . But it still won't work as expected. As described in the docs here I used |
Beta Was this translation helpful? Give feedback.
The format for ROS schemas is documented here: https://mcap.dev/specification/appendix.html