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.
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.