Spacecraft Control Bundle 1
|
The attitude determination system using least squares. More...
#include <fsw_attitude_determination_least_squares.h>
Public Member Functions | |
fsw_attitude_determination_least_squares (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 Member Functions | |
ml_matrix | u_meas_catalog (ml_matrix id, ml_matrix u_catalog) |
Extract catalog unit vectors based on measurements. More... | |
Protected Attributes | |
CD_REQUEST_REF | star_id_camera_ref |
Identified stars. More... | |
CD_REQUEST_REF | unit_vector_ref |
Star catalog unit vectors. More... | |
CD_REQUEST_REF | u_star_camera_ref |
Star camera unit vectors. More... | |
CD_CREATE_REF | nav_n_stars_ref |
Number of stars. More... | |
CD_CREATE_REF | nav_q_eci_to_camera_ref |
Q ECI to camera. More... | |
The attitude determination system using least squares.
The sensors are a star camera
fsw_attitude_determination_least_squares::fsw_attitude_determination_least_squares | ( | const char * | mod_name | ) |
Constructor.
void fsw_attitude_determination_least_squares::handle_event | ( | int | code | ) |
Performs all processing.
References nav_n_stars_ref, nav_q_eci_to_camera_ref, star_id_camera_ref, u_meas_catalog(), u_star_camera_ref, and unit_vector_ref.
void fsw_attitude_determination_least_squares::initialize | ( | ) |
One time initialization.
References star_id_camera_ref, star_unit_vectors, sc_data::type, u_star_camera_ref, and unit_vector_ref.
void fsw_attitude_determination_least_squares::initialize_data | ( | ) |
Creates data used by other modules.
Create data and request the FSW_ATTITUDE_DETERMINATION_TRIGGER.
References FSW_ATTITUDE_DETERMINATION_TRIGGER, nav_n_stars_ref, and nav_q_eci_to_camera_ref.
|
protected |
Extract catalog unit vectors based on measurements.
Referenced by handle_event().
|
protected |
Number of stars.
Referenced by handle_event(), and initialize_data().
|
protected |
Q ECI to camera.
Referenced by handle_event(), and initialize_data().
|
protected |
Identified stars.
Referenced by handle_event(), and initialize().
|
protected |
Star camera unit vectors.
Referenced by handle_event(), and initialize().
|
protected |
Star catalog unit vectors.
Referenced by handle_event(), and initialize().