oftraj_addattitude Subroutine

public subroutine oftraj_addattitude(x, y, z, w)

Add an attitude to the current trajectory.

This applies to the current active Trajectory. It is ignored if the new number of attitudes will exceed the current number of times. The attitude is given as a 4-element quaternion.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x

X component of the rotation quaternion.

real(kind=real64), intent(in) :: y

Y component of the rotation quaternion.

real(kind=real64), intent(in) :: z

Z component of the rotation quaternion.

real(kind=real64), intent(in) :: w

Angle component of the rotation quaternion.