Spacecraft Control Framework 1.0
Spacecraft Control Library
|
#include <sc_geometry.h>
Public Member Functions | |
geometry (void) | |
Constructor. | |
int | initialize (const char *file_name, double scale) |
Initialize all state matrices. More... | |
ml_matrix | update (ml_matrix u) |
Update the output. More... | |
ml_matrix | get_areas (void) |
get the rotate command | |
ml_matrix | get_cp (void) |
Set the inertia. | |
ml_matrix | get_normal (void) |
Get the normal vector. | |
ml_matrix | get_optical (void) |
Get the normal vector. | |
ml_matrix | get_thermal (void) |
Get the normal vector. | |
ml_matrix | get_aero (void) |
Get the normal vector. | |
ml_matrix | get_u_dot_normal (void) |
Get the active elements. | |
ml_int_array | get_body (void) |
Get the body. | |
int | get_number_of_surfaces (void) |
Get the number of surface. | |
This class handles geometry data for solar pressure and aerodynamic models.
It automatically returns only those triangles with normals that are within 180 deg of the source normal.
int geometry::initialize | ( | const char * | file_name, |
double | scale | ||
) |
Initialize all state matrices.
Initialize the class with the discrete controller gains (state space format).
file_name | file name |
References sc_warn().
ml_matrix geometry::update | ( | ml_matrix | u | ) |
Update the output.
Update the matrices.
u | (3x1) Source vector |