2021-04-03から1日間の記事一覧

コマンドラインからバイト型をパブリッシュする

忘れそうなので。 $ ros2 topic pub /topic std_msgs/msg/Byte "{data: {5}}" publisher: beginning loop publishing #1: std_msgs.msg.Byte(data=b'\x05') publishing #2: std_msgs.msg.Byte(data=b'\x05') publishing #3: std_msgs.msg.Byte(data=b'\x05')…