ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to use rosbag2::SequentialReader

asked 2020-01-15 10:56:25 -0500

Mika gravatar image

Hi all. What does it mean argument ConverterOptions in SequentialReader::open? How should I fill its fields?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-15 11:51:53 -0500

Karsten gravatar image

The converter options are designed in a way to easily convert incoming messages with specified serialization format into another outgoing serialization format. This is to allow rosbag to record data in a middleware agnostic serialization format. DDS has e.g. a serialization format called CDR, but other middleware such as iceoryx et al might use a different one. The converter plugins in rosbag2 allow you to convert from one into the other with these options.

If they are set equally and correspond to the locally used RMW implementation, no conversion is being done.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2020-01-15 10:56:25 -0500

Seen: 506 times

Last updated: Jan 15 '20