thrust_vector_rotation_angles

Function thrust_vector_rotation_angles 

Source
pub fn thrust_vector_rotation_angles(
    attitude_target: Quaternion<f32>,
    attitude_body: Quaternion<f32>,
) -> (f32, Quaternion<f32>, Vector3<f32>, f32)
Expand description

thrust_vector_rotation_angles - calculates two ordered rotations to move the attitude_body quaternion to the attitude_target quaternion. The first rotation corrects the thrust vector and the second rotation corrects the heading vector.