ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

move pr2 with ros

asked 2012-11-29 10:09:05 -0500

light86 gravatar image

Hi I want to pr2 program that move pr2 ros in left and right Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-11-29 13:06:32 -0500

Move left:

rostopic pub -r 10 /base_controller/command geometry_msgs/Twist '{linear:  {x: 0.0, y: 0.1, z: 0.0}, angular: {x: 0.0,y: 0.0,z: 0.0}}'

Move right:

rostopic pub -r 10 /base_controller/command geometry_msgs/Twist '{linear:  {x: 0.0, y: -0.1, z: 0.0}, angular: {x: 0.0,y: 0.0,z: 0.0}}'
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-29 10:09:05 -0500

Seen: 243 times

Last updated: Nov 29 '12