官方Tutorials中例程的等效命令:
rostopic pub -1 /turtle1/cmd_vel geometry_msgs/Twist -- ‘{linear:[2.0, 0.0, 0.0], angular: [0..0, 1.8]}‘
Learning ROS: rostopic pub yaml demo
原文:https://www.cnblogs.com/xbit/p/10278000.html