Spacecraft Control Bundle 1
cs_rwa_interface.h
1/*
2 * Header file for object of class es_template.
3 * Copyright 2010cs, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7#include <ControlDeck2/ControlDeck2.h>
8
9#ifndef CS_RWA_INTERFACE
10#define CS_RWA_INTERFACE
11
13
21class cs_rwa_interface : public cd_control_module
22{
23 public:
24 cs_rwa_interface (const char * mod_name);
25 void initialize_data();
26 void initialize();
27 void handle_event(int code);
28
29 protected:
33 CD_REQUEST_REF acs_torque_demand_ref;
35
39 CD_REQUEST_REF rwa_voltage_demand_ref;
41
51
52
53};
54
55extern "C"
56{
57 cd_control_module *cs_rwa_interface_builder(const char *name);
58}
59
60#endif
The RWA interface producing wheel voltages from torque demand.
Definition: cs_rwa_interface.h:22
CD_REQUEST_REF rwa_voltage_demand_ref
RWA Voltage Demand to send to hardware.
Definition: cs_rwa_interface.h:39
CD_REQUEST_REF acs_torque_demand_ref
The torque demand for all attitude control.
Definition: cs_rwa_interface.h:33
void initialize_data()
Request an event notification for CS_RWA_INTERFACE_TRIGGER.
Definition: cs_rwa_interface.cc:19
CD_CREATE_REF acs_rwa_pinv_command_ref
Pseudo-inverse for reaction wheels.
Definition: cs_rwa_interface.h:49
CD_CREATE_REF acs_actuator_selection_command_ref
Command to use different actuators (int).
Definition: cs_rwa_interface.h:47