7#include <ControlDeck2/ControlDeck2.h>
89 cd_control_module *fsw_ephemeris_builder(
const char *name);
This class gets the ephemeris from the simulation.
Definition: fsw_ephemeris.h:31
void handle_event(int code)
Get the ephemeris data from the sim variables and set the outputs.
Definition: fsw_ephemeris.cc:75
CD_CREATE_REF ephem_planet_rotation_matrix_ref
Rotation matrix - module output.
Definition: fsw_ephemeris.h:70
CD_CREATE_REF ephem_planet_position_ref
Planet position - module output.
Definition: fsw_ephemeris.h:74
CD_REQUEST_REF planet_index_sim_ref
SPICE id of planet - sim input.
Definition: fsw_ephemeris.h:48
CD_CREATE_REF ephem_planet_velocity_ref
Planet velocity - module output.
Definition: fsw_ephemeris.h:72
CD_CREATE_REF ephem_planet_index_ref
Planet index (1,n) - module output.
Definition: fsw_ephemeris.h:76
CD_REQUEST_REF position_planet_sim_ref
Planet position - sim input.
Definition: fsw_ephemeris.h:50
CD_REQUEST_REF velocity_planet_sim_ref
Planet velocity - sim input.
Definition: fsw_ephemeris.h:52
CD_REQUEST_REF rotation_matrix_planet_sim_ref
Rotation matrix of planet. 9x1 in row major form. - sim input.
Definition: fsw_ephemeris.h:46
CD_REQUEST_REF planet_mu_sim_ref
Planet gravitional constant - sim input.
Definition: fsw_ephemeris.h:54
CD_CREATE_REF ephem_sun_vector_ref
Sun vector - module output.
Definition: fsw_ephemeris.h:80
CD_CREATE_REF ephem_observer_ref
Observer (int)
Definition: fsw_ephemeris.h:68
CD_REQUEST_REF od_state_ref
State estimate - module input.
Definition: fsw_ephemeris.h:60
void initialize_data_requests()
Request the ephemeris simulation variables and the orbit state.
Definition: fsw_ephemeris.cc:58
CD_REQUEST_REF planet_radius_sim_ref
Planet radius - sim input.
Definition: fsw_ephemeris.h:56
CD_CREATE_REF ephem_planet_mu_ref
Planet mu (1,n) - module output.
Definition: fsw_ephemeris.h:66
CD_CREATE_REF ephem_planet_radius_ref
Planet radius - module output.
Definition: fsw_ephemeris.h:78
CD_REQUEST_REF observer_sim_ref
The reference system center - sim input (int)
Definition: fsw_ephemeris.h:44
void initialize_data()
Create data and request event notification for FSW_EPHEMERIS_TRIGGER.
Definition: fsw_ephemeris.cc:16
Define the data names used throughout the control system.
Define the trigger and variables names for the software system.