ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

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')