Spacecraft Control Bundle 1
|
The RWA interface producing wheel voltages from torque demand. More...
#include <cs_rwa_interface.h>
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... | |
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.
void cs_rwa_interface::initialize_data | ( | ) |
Request an event notification for CS_RWA_INTERFACE_TRIGGER.
References acs_actuator_selection_command_ref, acs_rwa_pinv_command_ref, and CS_RWA_INTERFACE_TRIGGER.
|
protected |
The torque demand for all attitude control.
|
protected |
RWA Voltage Demand to send to hardware.