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: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DeBlankLT Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/Plot3D Common: Graphics/PltStyle Common: Graphics/TimeLabl Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Mat2Q Common: Quaternion/Q2Mat Common: Quaternion/QPose Math: Linear/Cross Math: Linear/Unit
Back to the AerospaceUtils Module page