Spacecraft Control Bundle 1
fsw_two_axis_ons_control.h
1/*
2 * Header file for object of class fsw_two_axis_ons_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_ONS_CONTROL
10#define FSW_TWO_AXIS_ONS_CONTROL
11
12
16
17class fsw_two_axis_ons_control : public cd_control_module
18{
19 public:
20 fsw_two_axis_ons_control (const char * mod_name);
21 void initialize_data();
22 void initialize();
23 void handle_event(int code);
25 int get_index( int id, ml_matrix index_list );
26
27 protected:
28
30 CD_REQUEST_REF ons_rate_demand_ref;
32 CD_REQUEST_REF ons_target_ref;
34 CD_REQUEST_REF ons_gimbal_angle_ref;
36 CD_REQUEST_REF quaternion_ref;
38 CD_CREATE_REF ons_target_locked_ref;
39
41 CD_CREATE_REF ons_gain_command_ref;
42
43
44};
45
46extern "C"
47{
48 cd_control_module *fsw_two_axis_ons_control_builder(const char *name);
49}
50
51#endif
Controls the orientation of a high gain antenna.
Definition: fsw_two_axis_ons_control.h:18
CD_REQUEST_REF quaternion_ref
The estimated quaternion.
Definition: fsw_two_axis_ons_control.h:36
int get_index(int id, ml_matrix index_list)
Get the index for the SPICE id.
Definition: fsw_two_axis_ons_control.cc:92
CD_REQUEST_REF ons_gimbal_angle_ref
ONS gimbal angle.
Definition: fsw_two_axis_ons_control.h:34
CD_REQUEST_REF ons_rate_demand_ref
ONS rate demand.
Definition: fsw_two_axis_ons_control.h:30
CD_CREATE_REF ons_target_locked_ref
The target locked output.
Definition: fsw_two_axis_ons_control.h:38
CD_REQUEST_REF ons_target_ref
ONS target.
Definition: fsw_two_axis_ons_control.h:32
CD_CREATE_REF ons_gain_command_ref
ONS gain.
Definition: fsw_two_axis_ons_control.h:41