Spacecraft Control Bundle 1
fsw_sun_sensor_processing Class Reference

Processes the sun sensor. More...

#include <fsw_sun_sensor_processing.h>

Inheritance diagram for fsw_sun_sensor_processing:

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...
 

Detailed Description

Processes the sun sensor.

Member Function Documentation

◆ handle_event()

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.

◆ initialize_data()

void fsw_sun_sensor_processing::initialize_data ( )

Member Data Documentation

◆ sun_sensor_pitch_ref

CD_CREATE_REF fsw_sun_sensor_processing::sun_sensor_pitch_ref
protected

Measured pitch angle.

Referenced by handle_event(), and initialize_data().

◆ sun_sensor_pitch_sim_ref

CD_REQUEST_REF fsw_sun_sensor_processing::sun_sensor_pitch_sim_ref
protected

Simulation pitch angle.

Referenced by handle_event().

◆ sun_sensor_q_body_to_sensor_ref

CD_CREATE_REF fsw_sun_sensor_processing::sun_sensor_q_body_to_sensor_ref
protected

Measured sun data.

Referenced by initialize_data().

◆ sun_sensor_roll_ref

CD_CREATE_REF fsw_sun_sensor_processing::sun_sensor_roll_ref
protected

Measured roll angle.

Referenced by handle_event(), and initialize_data().

◆ sun_sensor_roll_sim_ref

CD_REQUEST_REF fsw_sun_sensor_processing::sun_sensor_roll_sim_ref
protected

Simulation roll angle.

Referenced by handle_event().

◆ sun_sensor_valid_ref

CD_CREATE_REF fsw_sun_sensor_processing::sun_sensor_valid_ref
protected

Measurement valid flag.

Referenced by handle_event(), and initialize_data().

◆ sun_sensor_valid_sim_ref

CD_REQUEST_REF fsw_sun_sensor_processing::sun_sensor_valid_sim_ref
protected

Simulation data valid flag.

Referenced by handle_event().


The documentation for this class was generated from the following files: