ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
![]() | 1 | initial version |
What about the following command?
$ ros2 topic pub /byte std_msgs/msg/Byte "{data: {3}}"
publisher: beginning loop
publishing #1: std_msgs.msg.Byte(data=b'\x03')
publishing #2: std_msgs.msg.Byte(data=b'\x03')
publishing #3: std_msgs.msg.Byte(data=b'\x03')