Function lupnt::InertialToSynodic¶
Defined in File state_conversions.cc
Function Documentation¶
-
State lupnt::InertialToSynodic(const State &rv_c, const State &rv_d)¶
Convert two cartesian states to a relative RTN state.
Convert an inertial deputy state to a synodic state relative to a chief state.
- Parameters:
rv_c – Chief spacecraft state [km, km/s]
rv_d – Deputy spacecraft state [km, km/s]
rv_c – Chief inertial Cartesian state.
rv_d – Deputy inertial Cartesian state.
- Returns:
Relative RTN state [km, km/s]
- Returns:
Deputy state in the chief-centered synodic frame.