Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Send your own messages on the topic, using ros-from-csv:

Code Block
> echo 1,2,3,4,5,6 | ros-from-csv /turtle1/cmd_vel

Or do a dry run:

Code Block
> echo 1,2,3,4,5,6 | ros-from-csv /turtle1/cmd_vel --dry
linear: 
  x: 1.0
  y: 2.0
  z: 3.0
angular: 
  x: 4.0
  y: 5.0
  z: 6.0

You also can explicitly specify message type:

Code Block
> # dry run
> echo 1,2,3 | ros-from-csv --import geometry_msgs.msg --type geometry_msgs.msg.Point --dry
x: 1.0
y: 2.0
z: 3.0
 
> # send to a topic
> echo 1,2,3 | ros-from-csv --import geometry_msgs.msg --type geometry_msgs.msg.Point some-topic