Spacecraft Control Bundle 1
fsw_two_axis_hga_control Class Reference

Controls the orientation of a high gain antenna. More...

#include <fsw_two_axis_hga_control.h>

Inheritance diagram for fsw_two_axis_hga_control:

Public Member Functions

 fsw_two_axis_hga_control (const char *mod_name)
 
void initialize_data ()
 Create data and request the #FSW_TWO_AXIS_HGA_CONTROL_TRIGGER. More...
 
void initialize ()
 
void handle_event (int code)
 
int get_index (int id, ml_matrix index_list)
 Get the index for the SPICE id. More...
 

Protected Attributes

HGA Inputs
CD_REQUEST_REF hga_gimbal_angle_ref
 HGA gimbal angle. More...
 
CD_REQUEST_REF orbit_state_ref
 HGA orbit state, "od_state". More...
 
CD_REQUEST_REF ephem_planet_index_ref
 HGA ephemeris index list. More...
 
CD_REQUEST_REF ephem_planet_rotation_matrix_ref
 HGA planet rotation matrix list. More...
 
CD_REQUEST_REF ephem_planet_radius_ref
 Planet radius. More...
 
CD_REQUEST_REF ephem_planet_position_ref
 Planet positions. More...
 
CD_REQUEST_REF quaternion_ref
 The estimated quaternion, "q_eci_to_body_sim". More...
 
HGA Assignments
CD_REQUEST_REF hga_rate_demand_ref
 HGA rate demand. More...
 
HGA Parameters
CD_CREATE_REF hga_gain_command_ref
 
CD_CREATE_REF hga_planet_id_command_ref
 HGA planet id (int) More...
 
CD_CREATE_REF hga_boresight_command_ref
 HGA boresight. More...
 
CD_CREATE_REF hga_target_command_ref
 HGA ground target. More...
 

Detailed Description

Controls the orientation of a high gain antenna.

Uses the ephemeris to point the HGA

Member Function Documentation

◆ get_index()

int fsw_two_axis_hga_control::get_index ( int  id,
ml_matrix  index_list 
)

Get the index for the SPICE id.

◆ initialize_data()

void fsw_two_axis_hga_control::initialize_data ( )

Create data and request the #FSW_TWO_AXIS_HGA_CONTROL_TRIGGER.

References hga_boresight_command_ref, hga_gain_command_ref, hga_planet_id_command_ref, and hga_target_command_ref.

Member Data Documentation

◆ ephem_planet_index_ref

CD_REQUEST_REF fsw_two_axis_hga_control::ephem_planet_index_ref
protected

HGA ephemeris index list.

◆ ephem_planet_position_ref

CD_REQUEST_REF fsw_two_axis_hga_control::ephem_planet_position_ref
protected

Planet positions.

◆ ephem_planet_radius_ref

CD_REQUEST_REF fsw_two_axis_hga_control::ephem_planet_radius_ref
protected

Planet radius.

◆ ephem_planet_rotation_matrix_ref

CD_REQUEST_REF fsw_two_axis_hga_control::ephem_planet_rotation_matrix_ref
protected

HGA planet rotation matrix list.

◆ hga_gimbal_angle_ref

CD_REQUEST_REF fsw_two_axis_hga_control::hga_gimbal_angle_ref
protected

HGA gimbal angle.

◆ hga_rate_demand_ref

CD_REQUEST_REF fsw_two_axis_hga_control::hga_rate_demand_ref
protected

HGA rate demand.

◆ orbit_state_ref

CD_REQUEST_REF fsw_two_axis_hga_control::orbit_state_ref
protected

HGA orbit state, "od_state".

◆ quaternion_ref

CD_REQUEST_REF fsw_two_axis_hga_control::quaternion_ref
protected

The estimated quaternion, "q_eci_to_body_sim".


The documentation for this class was generated from the following files: