首页 > TurtleBot3 > pi-puck在ROS下的使用
2019
08-30

pi-puck在ROS下的使用


1
rostopic pub -1 /mobile_base/cmd_vel geometry_msgs/Twist -- '[4.0,0.0,0.0]' '[0.0,0.0,0.0]'

 2.后退

1
rostopic pub -1 /mobile_base/cmd_vel geometry_msgs/Twist -- '[-4.0,0.0,0.0]' '[0.0,0.0,0.0]'

 3.顺时针旋转

1
rostopic pub -1 /mobile_base/cmd_vel geometry_msgs/Twist -- '[1.0,0.0,0.0]' '[0.0,0.0,-0.5]'

4.逆时针旋转

1
rostopic pub -1 /mobile_base/cmd_vel geometry_msgs/Twist -- '[1.0,0.0,0.0]' '[0.0,0.0,0.5]'

  


本文》有 0 条评论

留下一个回复