Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can just use the rostopic tools for that. Create a yaml text file with contents in the same format that rostopic echo cmd_vel would give you (or in general for any other message) and pipe that file into rostopic, e.g.:

cat my_cmds.txt | rostopic echo /cmd_vel geometry_msgs/Twist