Path: AerospaceUtils/Coord
% Convert roll, pitch, r and v to QECIToBody The spacecraft is assumed aligned with LVLH when roll and pitch are zero. Roll is about the LVLH x vector and Pitch about the LVLH y vector. Type RollPitchToQECI for a demonstration. -------------------------------------------------------------------------- Form: q = RollPitchToQECI( r, v, roll, pitch ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,:) Position vector in the ECI frame (km) v (3,:) Velocity vector in the ECI frame (km) roll (1,:) Roll angle (rad) pitch (1,:) Pitch angle (rad) ------- Outputs ------- q (4,:) Quaternion ECI to Body --------------------------------------------------------------------------
AerospaceUtils: Coord/QLVLH SC: BasicOrbit/RVFromKepler Common: Graphics/Plot2D Common: Quaternion/Mat2Q Common: Quaternion/Q2Mat Common: Quaternion/QPose
Back to the AerospaceUtils Module page