Skip to content

Record/play custom messages without having to source workspace #1089

Discussion options

You must be logged in to vote

As of current ROS 2 state, message types must be installed in the local space in order to play them back in the bag. The schemas stored in the MCAP file are for use by other tooling, not the ROS 2 system itself.

To highlight a few details about it, the rclcpp::GenericPublisher that is used by the Rosbag2 Player class still requires the ability to fetch the appropriate typesupport for the type. The benefit from the "generic" publisher is the ability to publish already-serialized messages, saving performance.

The ability to playback without message types installed locally doesn't yet exist in the ros2 core, so it's not an MCAP issue specifically. There is some work begun in rclcpp (ros2/ros…

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@emersonknapp
Comment options

@weidinger-c
Comment options

Answer selected by defunctzombie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants