Spacecraft Control Bundle 1
|
Processes the sun sensor. More...
#include <fsw_sun_sensor_processing.h>
Public Member Functions | |
fsw_sun_sensor_processing (const char *mod_name) | |
void | initialize_data () |
Request event notification for FSW_SUN_SENSOR_PROCESSING_TRIGGER. More... | |
void | initialize () |
void | handle_event (int code) |
Load the data from the simulation and assign it to the output variables. More... | |
Protected Attributes | |
SS Inputs | |
These would be replaced with the actual sensor interface.
| |
CD_REQUEST_REF | sun_sensor_pitch_sim_ref |
Simulation pitch angle. More... | |
CD_REQUEST_REF | sun_sensor_roll_sim_ref |
Simulation roll angle. More... | |
CD_REQUEST_REF | sun_sensor_valid_sim_ref |
Simulation data valid flag. More... | |
SS Outputs | |
Measured sun data.
| |
CD_CREATE_REF | sun_sensor_pitch_ref |
Measured pitch angle. More... | |
CD_CREATE_REF | sun_sensor_roll_ref |
Measured roll angle. More... | |
CD_CREATE_REF | sun_sensor_valid_ref |
Measurement valid flag. More... | |
SS Parameters | |
| |
CD_CREATE_REF | sun_sensor_q_body_to_sensor_ref |
Measured sun data. More... | |
Processes the sun sensor.
void fsw_sun_sensor_processing::handle_event | ( | int | code | ) |
Load the data from the simulation and assign it to the output variables.
References sun_sensor_pitch_ref, sun_sensor_pitch_sim_ref, sun_sensor_roll_ref, sun_sensor_roll_sim_ref, sun_sensor_valid_ref, and sun_sensor_valid_sim_ref.
void fsw_sun_sensor_processing::initialize_data | ( | ) |
Request event notification for FSW_SUN_SENSOR_PROCESSING_TRIGGER.
References FSW_SUN_SENSOR_PROCESSING_TRIGGER, sun_sensor_pitch_ref, sun_sensor_q_body_to_sensor_ref, sun_sensor_roll_ref, and sun_sensor_valid_ref.
|
protected |
Measured pitch angle.
Referenced by handle_event(), and initialize_data().
|
protected |
Simulation pitch angle.
Referenced by handle_event().
|
protected |
Measured sun data.
Referenced by initialize_data().
|
protected |
Measured roll angle.
Referenced by handle_event(), and initialize_data().
|
protected |
Simulation roll angle.
Referenced by handle_event().
|
protected |
Measurement valid flag.
Referenced by handle_event(), and initialize_data().
|
protected |
Simulation data valid flag.
Referenced by handle_event().