@@ -322,7 +322,7 @@ void MqttClient::loadParameters() {
322
322
declare_parameter (fmt::format (" bridge.ros2mqtt.{}.mqtt_topic" , ros_topic), rclcpp::ParameterType::PARAMETER_STRING, param_desc);
323
323
param_desc.description = " whether to publish as primitive message" ;
324
324
declare_parameter (fmt::format (" bridge.ros2mqtt.{}.primitive" , ros_topic), rclcpp::ParameterType::PARAMETER_BOOL, param_desc);
325
- param_desc.description = " Explicitly set the ros message type" ;
325
+ param_desc.description = " If set, the ROS msg type provided will be used. If empty, the type is automatically deduced via the publisher " ;
326
326
declare_parameter (fmt::format (" bridge.ros2mqtt.{}.ros_type" , ros_topic), rclcpp::ParameterType::PARAMETER_STRING, param_desc);
327
327
param_desc.description = " whether to attach a timestamp to a ROS2MQTT payload (for latency computation on receiver side)" ;
328
328
declare_parameter (fmt::format (" bridge.ros2mqtt.{}.inject_timestamp" , ros_topic), rclcpp::ParameterType::PARAMETER_BOOL, param_desc);
@@ -346,9 +346,9 @@ void MqttClient::loadParameters() {
346
346
declare_parameter (fmt::format (" bridge.mqtt2ros.{}.ros_topic" , mqtt_topic), rclcpp::ParameterType::PARAMETER_STRING, param_desc);
347
347
param_desc.description = " whether to publish as primitive message (if coming from non-ROS MQTT client)" ;
348
348
declare_parameter (fmt::format (" bridge.mqtt2ros.{}.primitive" , mqtt_topic), rclcpp::ParameterType::PARAMETER_BOOL, param_desc);
349
- param_desc.description = " Explicitly set the ros message type" ;
349
+ param_desc.description = " If set, the ROS msg type provided will be used. If empty, the type is automatically deduced via the MQTT message " ;
350
350
declare_parameter (fmt::format (" bridge.mqtt2ros.{}.ros_type" , mqtt_topic), rclcpp::ParameterType::PARAMETER_STRING, param_desc);
351
- param_desc.description = " The encoding to use for the mqtt " ;
351
+ param_desc.description = " MQTT QoS value " ;
352
352
declare_parameter (fmt::format (" bridge.mqtt2ros.{}.advanced.mqtt.qos" , mqtt_topic), rclcpp::ParameterType::PARAMETER_INTEGER, param_desc);
353
353
param_desc.description = " ROS publisher queue size" ;
354
354
declare_parameter (fmt::format (" bridge.mqtt2ros.{}.advanced.ros.queue_size" , mqtt_topic), rclcpp::ParameterType::PARAMETER_INTEGER, param_desc);
0 commit comments