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

How to set the gripper vertical position

asked 2022-09-09 10:05:53 -0500

dev4all12358 gravatar image

updated 2022-09-09 22:32:18 -0500

ravijoshi gravatar image

I am using MoveGroupCommander.set_pose_targets function to set my robot arm target. The argument is a list of 7 floats as [x, y, z, qx, qy, qz, qw].

To set up the gripper vertically, what is the value of qx, qy, qz, qw?

edit retag flag offensive close merge delete

Comments

(qx, qy, qz, qw) is a tuple used to represent orientation. It is known as Quaternion. Please feel free to read about it. I am sure you will enjoy the lovely mathematics behind it.

ravijoshi gravatar image ravijoshi  ( 2022-09-09 22:28:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-09-10 10:33:11 -0500

Mike Scheutzow gravatar image

See http://wiki.ros.org/tf2/Tutorials/Qua... , in particular section 3.

Many people starting out find it easier to think in terms of euler angles (roll, pitch and yaw), then use the tf transformations library to convert the 3 euler angles to a quaternion.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-09-09 10:05:53 -0500

Seen: 65 times

Last updated: Sep 10 '22