0
$\begingroup$

Rosanswers logo

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


Originally posted by light86 on ROS Answers with karma: 1 on 2012-11-29

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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

Originally posted by Po-Jen Lai with karma: 1371 on 2012-11-29

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.