Spacecraft Control Bundle 1
fsw_two_axis_hga_control.h
1/*
2 * Header file for object of class fsw_two_axis_hga_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_HGA_CONTROL
10#define FSW_TWO_AXIS_HGA_CONTROL
11
12
17class fsw_two_axis_hga_control : public cd_control_module
18{
19 public:
20 fsw_two_axis_hga_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
33 CD_REQUEST_REF hga_gimbal_angle_ref;
35 CD_REQUEST_REF orbit_state_ref;
37 CD_REQUEST_REF ephem_planet_index_ref;
45 CD_REQUEST_REF quaternion_ref;
47
51 CD_REQUEST_REF hga_rate_demand_ref;
53
58 CD_CREATE_REF hga_gain_command_ref;
66
67
68
69};
70
71extern "C"
72{
73 cd_control_module *fsw_two_axis_hga_control_builder(const char *name);
74}
75
76#endif
Controls the orientation of a high gain antenna.
Definition: fsw_two_axis_hga_control.h:18
CD_REQUEST_REF quaternion_ref
The estimated quaternion, "q_eci_to_body_sim".
Definition: fsw_two_axis_hga_control.h:45
CD_REQUEST_REF ephem_planet_rotation_matrix_ref
HGA planet rotation matrix list.
Definition: fsw_two_axis_hga_control.h:39
CD_REQUEST_REF hga_rate_demand_ref
HGA rate demand.
Definition: fsw_two_axis_hga_control.h:51
CD_REQUEST_REF hga_gimbal_angle_ref
HGA gimbal angle.
Definition: fsw_two_axis_hga_control.h:33
CD_REQUEST_REF ephem_planet_position_ref
Planet positions.
Definition: fsw_two_axis_hga_control.h:43
int get_index(int id, ml_matrix index_list)
Get the index for the SPICE id.
Definition: fsw_two_axis_hga_control.cc:131
CD_REQUEST_REF orbit_state_ref
HGA orbit state, "od_state".
Definition: fsw_two_axis_hga_control.h:35
CD_REQUEST_REF ephem_planet_radius_ref
Planet radius.
Definition: fsw_two_axis_hga_control.h:41
CD_REQUEST_REF ephem_planet_index_ref
HGA ephemeris index list.
Definition: fsw_two_axis_hga_control.h:37
void initialize_data()
Create data and request the #FSW_TWO_AXIS_HGA_CONTROL_TRIGGER.
Definition: fsw_two_axis_hga_control.cc:16
CD_CREATE_REF hga_target_command_ref
HGA ground target.
Definition: fsw_two_axis_hga_control.h:64
CD_CREATE_REF hga_planet_id_command_ref
HGA planet id (int)
Definition: fsw_two_axis_hga_control.h:60
CD_CREATE_REF hga_gain_command_ref
Definition: fsw_two_axis_hga_control.h:58
CD_CREATE_REF hga_boresight_command_ref
HGA boresight.
Definition: fsw_two_axis_hga_control.h:62