|
Spacecraft Control Bundle 1
|
This times and sends triggers to all modules. More...
#include <cs_timer.h>
Public Member Functions | |
| cs_timer (const char *mod_name) | |
| void | initialize_data () |
| Request notification of CD_SIMULATION_STEP_EVENT. More... | |
| void | initialize_data_requests () |
| Request the acs_control_period_command which will be used to kick off the event sequence. More... | |
| void | initialize () |
| Initialize. Set the time variables to zero. More... | |
| void | handle_event (int code) |
| Trigger the sequence of events. More... | |
Protected Member Functions | |
| double | get_met () |
| Get the mission elapsed time. More... | |
Protected Attributes | |
| double | control_time_last |
| double | perctol |
| CD_REQUEST_REF | acs_control_period_command_ref |
| ACS control period - Command format: double. More... | |
This times and sends triggers to all modules.
|
protected |
| void cs_timer::handle_event | ( | int | code | ) |
Trigger the sequence of events.
Trigger the following event notifications:
References acs_control_period_command_ref, CS_INIT_TRIGGER, CS_MAGNETOMETER_PROCESSING_TRIGGER, CS_MOMENTUM_MGMT_TRIGGER, CS_RWA_INTERFACE_TRIGGER, CS_TORQUER_INTERFACE_TRIGGER, FSW_ATTITUDE_CONTROL_TRIGGER, FSW_ATTITUDE_DETERMINATION_TRIGGER, FSW_CLIPS_TRIGGER, FSW_CO_ID_TRIGGER, FSW_EPHEMERIS_TRIGGER, FSW_GPS_MEAS_TRIGGER, FSW_IMAGE_PROCESSING_TRIGGER, FSW_MASS_TRIGGER, FSW_MEMS_IMU_PROCESSING_TRIGGER, FSW_STAR_CATALOG_TRIGGER, FSW_STORED_COMMAND_PROCESSING_TRIGGER, FSW_TIME_TRIGGER, and get_met().
| void cs_timer::initialize | ( | ) |
Initialize. Set the time variables to zero.
| void cs_timer::initialize_data | ( | ) |
Request notification of CD_SIMULATION_STEP_EVENT.
| void cs_timer::initialize_data_requests | ( | ) |
Request the acs_control_period_command which will be used to kick off the event sequence.
References acs_control_period_command, and acs_control_period_command_ref.
|
protected |
ACS control period - Command format: double.
Referenced by handle_event(), and initialize_data_requests().