Spacecraft Control Bundle 1
|
Process the quaternion from a star tracker sensor. More...
#include <fsw_attitude_determination_tracker.h>
Public Member Functions | |
fsw_attitude_determination_tracker (const char *mod_name) | |
Constructor. More... | |
void | initialize_data () |
Creates data used by other modules. More... | |
void | initialize () |
One time initialization. More... | |
void | handle_event (int code) |
Performs all processing. More... | |
Protected Attributes | |
Inputs | |
| |
CD_REQUEST_REF | q_eci_to_tracker_sim_ref |
Quaternion from eci to the star tracker, this is what's actually measured. More... | |
Outputs | |
| |
CD_CREATE_REF | ad_q_eci_to_body_ref |
Quaternion from eci to body estimated. More... | |
Parameters | |
| |
CD_CREATE_REF | ad_q_body_to_tracker_ref |
Quaternion from the body frame to the tracker frame. More... | |
Process the quaternion from a star tracker sensor.
The quaternion generated by the star tracker is output to the control software directly, without any further processing.
fsw_attitude_determination_tracker::fsw_attitude_determination_tracker | ( | const char * | mod_name | ) |
Constructor.
void fsw_attitude_determination_tracker::handle_event | ( | int | code | ) |
Performs all processing.
References ad_q_body_to_tracker_ref, ad_q_eci_to_body_ref, and q_eci_to_tracker_sim_ref.
void fsw_attitude_determination_tracker::initialize | ( | ) |
One time initialization.
References q_eci_to_tracker_sim_ref.
void fsw_attitude_determination_tracker::initialize_data | ( | ) |
Creates data used by other modules.
Request event notification for FSW_ATTITUDE_DETERMINATION_TRIGGER.
References ad_q_body_to_tracker_ref, ad_q_eci_to_body_ref, and FSW_ATTITUDE_DETERMINATION_TRIGGER.
|
protected |
Quaternion from the body frame to the tracker frame.
Referenced by handle_event(), and initialize_data().
|
protected |
Quaternion from eci to body estimated.
Referenced by handle_event(), and initialize_data().
|
protected |
Quaternion from eci to the star tracker, this is what's actually measured.
Referenced by handle_event(), and initialize().