Spacecraft Control Framework 1.0
Spacecraft Control Library
|
A multi-body spacecraft model with a central hub and reaction wheels. More...
#include <sc_multi_body_central_hub_with_rwa.h>
Public Member Functions | |
multi_body_central_hub_with_rwa (void) | |
Constructor. | |
void | add_central_body (const ml_matrix &inr, double m) |
Initialize all state matrices. More... | |
void | add_reaction_wheels (double inr, const ml_matrix &u) |
Initialize the reaction wheels. More... | |
void | add_appendage (const ml_matrix &inr, double m, const ml_matrix &lambda, const ml_matrix &rho, const ml_matrix &u) |
Initialize all state matrices. More... | |
void | initialize_state (const ml_matrix &x) |
Initialize state matrix. | |
ml_matrix | state_derivative (const ml_matrix &x) |
Update the state. | |
ml_matrix | get_inertial_angular_momentum (void) |
Angular momentum. | |
ml_matrix | get_inertia (void) |
Total inertia. | |
double | get_mass (void) |
Total mass. | |
int | get_number_of_bodies (void) |
Number of bodies. | |
void | set_core_torque (const ml_matrix &torque) |
Core torque. | |
void | set_rwa_torque (const ml_matrix &torque) |
RWA torque. | |
void | set_hinge_torque (const ml_matrix &torque) |
Core torque. | |
void | set_compute_momentum_only (void) |
Momentum only. | |
void | set_compute_rhs (void) |
Momentum only. | |
A multi-body spacecraft model with a central hub and reaction wheels.
Consists of a central hub with n bodies attached with single degree of freedom hinges
directly to the central hub. It can also have multiple reaction wheels.
void multi_body_central_hub_with_rwa::add_central_body | ( | const ml_matrix & | inr, |
double | m | ||
) |
Initialize all state matrices.
Initialize the core matrices.
void multi_body_central_hub_with_rwa::add_reaction_wheels | ( | double | inr, |
const ml_matrix & | u | ||
) |
Initialize the reaction wheels.
Add reaction wheel matrices.
void multi_body_central_hub_with_rwa::add_appendage | ( | const ml_matrix & | inr, |
double | m, | ||
const ml_matrix & | lambda, | ||
const ml_matrix & | rho, | ||
const ml_matrix & | u | ||
) |
Initialize all state matrices.
Initialize the appendage matrices.