Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Convert LVLH initial conditions to ECI coordinates. More...
#include <lvlh_to_eci.h>
Inherits dsim_model.
Convert LVLH initial conditions to ECI coordinates.
Adding this model to your rigid body spacecraft allows you to specify the initial quaternion as the LVLH to body quaternion rather than the ECI to body quaternion. On initialization, this computes the LVLH to ECI quaternion from the spacecraft position and velocity and overwrites both the initial quaternion and the body rate to the corresponding ECI values.