Spacecraft Control Bundle 1
fsw_two_axis_solar_wing_control.h
1/*
2 * Header file for object of class fsw_two_axis_solar_wing_control.
3 * Copyright 2010, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7#include <ControlDeck2/ControlDeck2.h>
8
9#ifndef FSW_TWO_AXIS_SOLAR_WING_CONTROL
10#define FSW_TWO_AXIS_SOLAR_WING_CONTROL
11
12
17class fsw_two_axis_solar_wing_control : public cd_control_module
18{
19 public:
20 fsw_two_axis_solar_wing_control (const char * mod_name);
21 void initialize_data();
22 void initialize();
23 void handle_event(int code);
24
25 protected:
34
38 CD_REQUEST_REF angle_ref;
40 CD_REQUEST_REF ephem_sun_vector_ref;
42 CD_REQUEST_REF quaternion_ref;
44
50};
51
52extern "C"
53{
54 cd_control_module *fsw_two_axis_solar_wing_control_builder(const char *name);
55}
56
57#endif
Controls the orientation of solar wings.
Definition: fsw_two_axis_solar_wing_control.h:18
CD_REQUEST_REF quaternion_ref
The estimated quaternion, "q_eci_to_body_sim".
Definition: fsw_two_axis_solar_wing_control.h:42
void initialize_data()
Create data and request #FSW_TWO_AXIS_SOLAR_WING_CONTROL_TRIGGER.
Definition: fsw_two_axis_solar_wing_control.cc:16
CD_REQUEST_REF angle_ref
Angle, "angle_solar_wing_sim".
Definition: fsw_two_axis_solar_wing_control.h:38
CD_REQUEST_REF ephem_sun_vector_ref
Sun vector.
Definition: fsw_two_axis_solar_wing_control.h:40
CD_REQUEST_REF solar_wing_rate_demand_ref
Rate demand to hardware.
Definition: fsw_two_axis_solar_wing_control.h:48
CD_CREATE_REF solar_wing_gain_command_ref
Gain command (double)
Definition: fsw_two_axis_solar_wing_control.h:30
CD_CREATE_REF solar_wing_offset_command_ref
The offset angle, "solar_wing_offset".
Definition: fsw_two_axis_solar_wing_control.h:32