Rotate Pose Global¶
This task is used to rotate poses in Euler angles, i.e. roll, pitch and yaw. The difference angles refer to the global coordinate system of the robot.
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 pose coordinate system and robot flange. The pose was rotated (locally), so the position of the pose has not changed. The yaw rotation referred to the blue, local z-axis.
Screenshot: initial Pose¶
Screenshot: Pose after global rotation¶