Function ros_gz_bridge::parseQoS

Function Documentation

rclcpp::QoS ros_gz_bridge::parseQoS(const std::string &qos_profile)

Parse uppercase string into a predefined QoS profile.

Parameters:

qos_profile[in] Uppercase string, e.g. “SENSOR_DATA”.

Throws:

std::invalid_argument – if the profile cannot be parsed.

Returns:

The corresponding QoS profile.