Spacecraft Control Bundle 1
cs_momentum_mgmt Class Reference

This class manages spacecraft momentum. More...

#include <cs_momentum_mgmt.h>

Inheritance diagram for cs_momentum_mgmt:

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...
 

Detailed Description

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.

Member Function Documentation

◆ initialize_data()

Member Data Documentation

◆ ad_q_eci_to_body_ref

CD_REQUEST_REF cs_momentum_mgmt::ad_q_eci_to_body_ref
protected

Quaternion from attitude determination.

◆ h_eci_ref

CD_CREATE_REF cs_momentum_mgmt::h_eci_ref
protected

Momentum vector in ECI frame.

Referenced by initialize_data().

◆ inertia_ref

CD_REQUEST_REF cs_momentum_mgmt::inertia_ref
protected

Inertia matrix.

◆ mm_torque_ref

CD_CREATE_REF cs_momentum_mgmt::mm_torque_ref
protected

Momentum management torque.

Referenced by initialize_data().

◆ rate_meas_ref

CD_REQUEST_REF cs_momentum_mgmt::rate_meas_ref
protected

Measured body rate.

◆ rwa_rate_sim_ref

CD_REQUEST_REF cs_momentum_mgmt::rwa_rate_sim_ref
protected

The spacecraft rwa rate from the simulation.


The documentation for this class was generated from the following files: