Convert planet orbiting initial conditions to heliocentric coordinates using spice.
More...
#include <lunar_to_eci.h>
Inherits dsim_model.
|
| lunar_to_eci (dsim_model_setup *setup) |
| Constructor.
|
|
| ~lunar_to_eci () |
| Destructor.
|
|
void | initialize_data () |
| Initialize outlets and output variables.
|
|
void | initialization_complete () |
| Finish initialization.
|
|
|
dsim_variable | planet_dsim |
| Fix to this planet.
|
|
|
These variables are referenced from the parent object.
|
dsim_variable | position_dsim |
| Position.
|
|
dsim_variable | velocity_dsim |
| Velocity.
|
|
|
These outlets provide the interface to the SPICE model for defining the planet frame.
|
dsim_variable | observer_dsim |
| Reference center.
|
|
dsim_variable | positionBody_dsim |
| Planet positions outlet.
|
|
dsim_variable | velocityBody_dsim |
| Planet velocities outlet.
|
|
dsim_variable | planetIndex_dsim |
| SPICE planet index outlet.
|
|
dsim_variable | rotationMatrixBody_dsim |
| Planet rotation matrix.
|
|
dsim_variable | planetAngularRate_dsim |
| Planet angular rate matrix.
|
|
Convert planet orbiting initial conditions to heliocentric coordinates using spice.
Adding this model to your rigid body spacecraft allows you to specify the vehicle initial state in the planet orbit frame rather than the ECI frame. The position, velocity, quaternion, and bodyRate initial values are all overwritten after being converted.
This module has outlets which must be connected to the SPICE model.
The documentation for this class was generated from the following files:
- lunar_to_eci.h
- lunar_to_eci.cc