Currently, rosbag2 in Eloquent cannot record data whose reliability level is anything but RELIABLE. See: https://github.com/ros2/rosbag2/issues/125. In this package, all sensor data are correctly published with rmw_qos_profile_sensor_data whose reliability is BEST_EFFORT. However, this precludes us from being able to record bag files with rosbag2. Not good for doing offline data analysis and development work. This PR adds a new parameter called use_system_default_qos_for_sensor_data that when set to True uses the rmw_qos_profile_default. When run in this way, rosbag2 can record the sensor topics.
Hopefully the issues with rosbag2 are addressed in Foxy and this patch can be reverted on (I assume) the forthcoming foxy-devel branch.
Currently, rosbag2 in Eloquent cannot record data whose reliability level is anything but RELIABLE. See: https://github.com/ros2/rosbag2/issues/125. In this package, all sensor data are correctly published with
rmw_qos_profile_sensor_data
whose reliability is BEST_EFFORT. However, this precludes us from being able to record bag files with rosbag2. Not good for doing offline data analysis and development work. This PR adds a new parameter calleduse_system_default_qos_for_sensor_data
that when set toTrue
uses thermw_qos_profile_default
. When run in this way, rosbag2 can record the sensor topics.Hopefully the issues with rosbag2 are addressed in Foxy and this patch can be reverted on (I assume) the forthcoming
foxy-devel
branch.