We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5b854 commit 49ced1dCopy full SHA for 49ced1d
mqtt_client/src/MqttClient.ros2.cpp
@@ -193,7 +193,7 @@ bool primitiveRosMessageToString(
193
} else if (msg_type == "std_msgs/msg/Bool") {
194
std_msgs::msg::Bool msg;
195
deserializeRosMessage(*serialized_msg, msg);
196
- primitive = msg.data ? "true" : "false";
+ primitive = msg.data ? "1" : "0";
197
} else if (msg_type == "std_msgs/msg/Char") {
198
std_msgs::msg::Char msg;
199
0 commit comments