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

Input/Output

Name

Typ

Description

Input

Pose

Pose

Input Pose

Input (optional)

Roll

Double

Angle in degrees

Input (optional)

Pitch

Double

Angle in degrees

Input (optional)

Yaw

Double

Angle in degrees

Output (optional)

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 Pose Rotation Lokal Initial

Screenshot: initial Pose

Screenshot pose rotation local end

Screenshot: Pose after local rotation around z-axis (yaw)