Rotating pose Local¶
This task is used to rotate poses in Euler angles, i.e. roll, pitch and yaw. The difference angles refer to the local coordinate system of the robot flange.
Variablen¶
Name |
Typ |
Description |
|---|---|---|
Pose |
Pose |
Input Pose |
Roll |
Double |
Angle in degrees |
Pitch |
Double |
Angle in degrees |
Yaw |
Double |
Angle in degrees |
Result |
Pose |
Result Pose |
Hint
The direction of rotation is determined by the right-thumb rule: If an imaginary hand grips around an axis of the coordinate system so that the thumb points away from the origin, then the remaining fingers towards the tip specify the positive direction of rotation.
Hint
Rotation by several differential angles is carried out according to the RPY convention and thus successively for the roll, pitch and yaw angles.
Example¶
A rotation of the yaw angle by 90° is shown in an example. Changes in the yaw angle correspond to rotations around the z-axis (blue). The image shows both the axes of the global coordinate system, which lies at the robot origin. As well as those of the local coordinate system of the pose to be changed, which is located here in the robot flange. If you now look at the difference after the task has been executed, you will see a change in the orientation of the robot flange and pose coordinate system. The pose was rotated locally, so the position has not changed. The yaw rotation referred to the local z-axis (blue), which has also not changed as a result.
Screenshot: initial Pose¶
Screenshot: Pose after local rotation around z-axis (yaw)¶