0
$\begingroup$

Rosanswers logo

I try to use the keyboard control the pr2 simulator, but Ĩ can not get a clear idea about the mean setting of orientation.

cmd.pose.orientation.x=-0.00244781865415;
cmd.pose.orientation.y=-0.548220284495;
cmd.pose.orientation.z=0.00145617884538;
cmd.pose.orientation.w=0.836329126239;

That is in the demo source code. How can I set this value to make the gripper is vertical face the table so as to grasp the object on the table.


Originally posted by zhenli on ROS Answers with karma: 287 on 2012-02-26

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

The orientation is represented as a quaternion. The related question/answer on this site can be found here.


Originally posted by Lorenz with karma: 22731 on 2012-02-26

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

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