pi-puck在ROS下的使用

 znjrobot   2019-08-30 14:32   39 人阅读  0 条评论


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]'

  


本文地址:http://rosrobot.cn/?id=296
版权声明:本文为原创文章,版权归 znjrobot 所有,欢迎分享本文,转载请保留出处!

发表评论


表情

还没有留言,还不快点抢沙发?