ros2 / rmw_zenoh

RMW for ROS 2 using Zenoh as the middleware
Apache License 2.0
142 stars 29 forks source link

Implement custom functions to adapt qos #234

Closed Yadunund closed 1 day ago

Yadunund commented 3 days ago

Partially addresses #212.

This PR gets rcl/test_get_actual_qos tests to pass. The main "fixs" here are to ensure any SYSTEM_DEFAULT values are assigned to those expected by the tests. Specifically

I also updated the message callbacks to only pop from the queue if history is not KEEP_ALL.

Lastly, also moved all QoS related functionality to a new header. In a subsequent PR, I will update the liveliness token generation for the QoS portion to check against the default_qos before appending to the liveliness token.