查询要发送的数据格式:
赋值发送:
rostopic pub -1 /cmd_vel geometry_msgs/Twist "
linear:
x: 1.0
y: 1.0
z: 1.0
angular:
x: 1.0
y: 1.0
z: 1.0"
-1发一次,-r以帧率重复发送
rostopic pub -r 1 /cloud_point_ai std_msgs/UInt8MultiArray "
layout:
dim: []
data_offset: 0
data: [120, 12, 37, 205, 166, 204, 216, 65, 24,0,1,21,0,1,229,92,157,62,109,8,97,0,109,8,104,255,103,9,104,255,103,9,97,0]
"