|
Spacecraft Control Framework 1.0
Spacecraft Control Library
|
#include <sc_multi_body_central_hub.h>
Public Member Functions | |
| multi_body_central_hub (void) | |
| Constructor. | |
| void | add_central_body (const ml_matrix &inr6x1, double m, const ml_matrix &rho) |
| Initialize all state matrices. More... | |
| void | add_body (const ml_matrix &inr6x1, 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 pitch matrices. | |
| ml_matrix | state_derivative (const ml_matrix &x, const ml_matrix &torque) |
| Update the state. | |
| ml_matrix | get_inertial_angular_momentum (void) |
| Angular momentum. | |
| ml_matrix | get_inertia (void) |
| Angular momentum. | |
| int | get_number_of_bodies (void) |
| Number of bodies. | |
| void | set_hub_torque (const ml_matrix &torque) |
| Hub torque. | |
| void | set_compute_momentum_only (void) |
| Momentum only. | |
| void | set_compute_rhs (void) |
| Momentum only. | |
A multi-body spacecraft model. Consists of a central hub with n bodies attached with single degree of freedom hinges
directly to the central hub.
| void multi_body_central_hub::add_central_body | ( | const ml_matrix & | inr6x1, |
| double | m, | ||
| const ml_matrix & | rho | ||
| ) |
Initialize all state matrices.
Initialize the core matrices.
| void multi_body_central_hub::add_body | ( | const ml_matrix & | inr6x1, |
| double | m, | ||
| const ml_matrix & | lambda, | ||
| const ml_matrix & | rho, | ||
| const ml_matrix & | u | ||
| ) |
Initialize all state matrices.
Initialize the appendage matrices.