1. 程式人生 > >ros 使用命令測試topic

ros 使用命令測試topic

test bsp display string chat class spl spa pla

發布話題

$ rostopic pub -r 10 /chatter std_msgs/String "test"

輸出數據:

$ rostopic echo /chatter
 
data: test
---
data: test
---
data: test
---
data: test
---
data: test
---
data: test

ros 使用命令測試topic