Attitude i (quaternion [x, y, z, w]).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Trajectory), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i |
the attitude (1 to num_attitudes) |
pure function attitude(self, i) result(q) class(Trajectory), intent(in) :: self integer, intent(in) :: i !! the attitude (1 to num_attitudes) real(wp) :: q(4) q = self%att(:, i) end function attitude