euler_to_euler Subroutine

public subroutine euler_to_euler(euler, seq, world, to_seq, to_world, to_euler)

Convert one set of Euler angles to another.

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(in), dimension(3) :: euler

Euler angles.

character(len=3), intent(in) :: seq

'XYZ'|'XZY' | 'YXZ' | 'YZX' | 'ZXY' | 'ZYX'. Sequence for euler.

logical, intent(in) :: world

Whether the Euler angles are with respect to the world frame or not.

character(len=3), intent(out) :: to_seq

'XYZ'|'XZY' | 'YXZ' | 'YZX' | 'ZXY' | 'ZYX'. Convert euler with sequence seq to the sequence to_seq.

logical, intent(out) :: to_world

Whether the converted euler angles are with respect to the world frame or not.

real(kind=rp), intent(out), dimension(3) :: to_euler

Converted Euler angles.