Runtime selectable QoS to allow for recording sensor data with rosbag2 #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, rosbag2 in Eloquent cannot record data whose reliability level is anything but RELIABLE. See: ros2/rosbag2#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.