Spacecraft Control Bundle 1
|
This class manages spacecraft momentum. More...
#include <cs_momentum_mgmt.h>
Public Member Functions | |
cs_momentum_mgmt (const char *mod_name) | |
void | initialize_data () |
Request notification of the CS_MOMENTUM_MGMT_TRIGGER. More... | |
void | initialize () |
void | handle_event (int code) |
Protected Attributes | |
MM Inputs | |
| |
CD_REQUEST_REF | rate_meas_ref |
Measured body rate. More... | |
CD_REQUEST_REF | inertia_ref |
Inertia matrix. More... | |
CD_REQUEST_REF | ad_q_eci_to_body_ref |
Quaternion from attitude determination. More... | |
CD_REQUEST_REF | rwa_rate_sim_ref |
The spacecraft rwa rate from the simulation. More... | |
MM Outputs | |
| |
CD_CREATE_REF | h_eci_ref |
Momentum vector in ECI frame. More... | |
CD_CREATE_REF | mm_torque_ref |
Momentum management torque. More... | |
MM Commands | |
| |
CD_CREATE_REF | mm_gain_command_ref |
CD_CREATE_REF | mm_period_command_ref |
Momentum management period. More... | |
CD_CREATE_REF | acs_rwa_unit_vector_command_ref |
RWA unit vectors for reaction wheels. More... | |
CD_CREATE_REF | acs_rwa_inertia_command_ref |
Pseudo-inverse for reaction wheels. More... | |
This class manages spacecraft momentum.
It computes the total spacecraft momentum based on the reaction wheel speeds and IMU rates. This module assumes you have momentum or reaction wheels. It then computes the total momentum and applies a gain to produce a momentum unloading torque demand. This demand is supplied to whatever actuators will do the unloading. No assumption of unloading device is made here.
void cs_momentum_mgmt::initialize_data | ( | ) |
Request notification of the CS_MOMENTUM_MGMT_TRIGGER.
References acs_rwa_inertia_command_ref, acs_rwa_unit_vector_command_ref, CS_MOMENTUM_MGMT_TRIGGER, h_eci_ref, mm_gain_command_ref, mm_period_command_ref, and mm_torque_ref.
|
protected |
Quaternion from attitude determination.
|
protected |
Momentum vector in ECI frame.
Referenced by initialize_data().
|
protected |
Inertia matrix.
|
protected |
Momentum management torque.
Referenced by initialize_data().
|
protected |
Measured body rate.
|
protected |
The spacecraft rwa rate from the simulation.