Spacecraft Control Bundle 1
cs_rwa_interface Class Reference

The RWA interface producing wheel voltages from torque demand. More...

#include <cs_rwa_interface.h>

Inheritance diagram for cs_rwa_interface:

Public Member Functions

 cs_rwa_interface (const char *mod_name)
 
void initialize_data ()
 Request an event notification for CS_RWA_INTERFACE_TRIGGER. More...
 
void initialize ()
 
void handle_event (int code)
 

Protected Attributes

Inputs
CD_REQUEST_REF acs_torque_demand_ref
 The torque demand for all attitude control. More...
 
Assignments
CD_REQUEST_REF rwa_voltage_demand_ref
 RWA Voltage Demand to send to hardware. More...
 
RWA Commands
CD_CREATE_REF acs_actuator_selection_command_ref
 Command to use different actuators (int). More...
 
CD_CREATE_REF acs_rwa_pinv_command_ref
 Pseudo-inverse for reaction wheels. More...
 

Detailed Description

The RWA interface producing wheel voltages from torque demand.

This module assumes reaction wheels are the only actuator for the control system. Therefore a pseudoinverse of the torque demand is used to calculate the individual wheel commands.

This module is where the binary interface would go, for example RS422 or data from a data bus.

Outputs voltage demands for the individual wheels.

Member Function Documentation

◆ initialize_data()

void cs_rwa_interface::initialize_data ( )

Member Data Documentation

◆ acs_torque_demand_ref

CD_REQUEST_REF cs_rwa_interface::acs_torque_demand_ref
protected

The torque demand for all attitude control.

◆ rwa_voltage_demand_ref

CD_REQUEST_REF cs_rwa_interface::rwa_voltage_demand_ref
protected

RWA Voltage Demand to send to hardware.


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