ros-perception / image_common

Common code for working with images in ROS
http://www.ros.org/wiki/image_common
125 stars 220 forks source link

Fix QoS initialization from RMW QoS profile #158

Closed jacobperron closed 4 years ago

jacobperron commented 4 years ago

Passing the RMW QoS struct to rclcpp::QoSInitialization::from_rmw does not copy all of the QoS settings. Instead, it only copies the settings required for initialization. To properly initialize with all custom QoS settings, pass the RMW struct as the second argument.