Spacecraft Control Bundle 1
fsw_high_thrust_guidance.h
1/*
2 * Header file for object of class es_template.
3 * Copyright 2010, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7#include <ControlDeck2/ControlDeck2.h>
8
9#ifndef FSW_HIGH_THRUST_GUIDANCE
10#define FSW_HIGH_THRUST_GUIDANCE
11
14class fsw_high_thrust_guidance : public cd_control_module
15{
16 public:
17 fsw_high_thrust_guidance (const char * mod_name);
18 void initialize_data();
19 void initialize_data_requests();
20 void handle_event(int code);
21
22 protected:
23
24 void initialize_guidance_file();
25
29 CD_REQUEST_REF q_eci_to_body_ref;
31 CD_REQUEST_REF jd_ref;
33
39
53
82
83 // UNUSED
84 // Guidance force demand
85 CD_CREATE_REF guidance_orbit_force_ref;
86
87 int guidance_step;
88 int on_target_count;
89
90};
91
92extern "C"
93{
94 cd_control_module *fsw_high_thrust_guidance_builder(const char *name);
95}
96
97#endif
High thrust guidance.
Definition: fsw_high_thrust_guidance.h:15
CD_REQUEST_REF acs_body_align_axis_command_ref
Guidance use RCS command.
Definition: fsw_high_thrust_guidance.h:49
void initialize_data()
Create data and request the FSW_HIGH_THRUST_GUIDANCE_TRIGGER.
Definition: fsw_high_thrust_guidance.cc:20
CD_CREATE_REF guidance_pulsewidth_demand_ref
Pulsewidth Demand.
Definition: fsw_high_thrust_guidance.h:37
CD_REQUEST_REF acs_target_quaternion_ref
Desired quaternion.
Definition: fsw_high_thrust_guidance.h:45
CD_REQUEST_REF jd_ref
Jd.
Definition: fsw_high_thrust_guidance.h:31
CD_REQUEST_REF acs_control_mode_command_ref
Control mode.
Definition: fsw_high_thrust_guidance.h:47
CD_REQUEST_REF acs_eci_align_axis_command_ref
Guidance use RCS command.
Definition: fsw_high_thrust_guidance.h:51
CD_REQUEST_REF q_eci_to_body_ref
Quaternion.
Definition: fsw_high_thrust_guidance.h:29
CD_CREATE_REF guidance_step_command_ref
Guidance step.
Definition: fsw_high_thrust_guidance.h:78
CD_CREATE_REF guidance_duration_command_ref
Duration.
Definition: fsw_high_thrust_guidance.h:70
CD_CREATE_REF guidance_thrust_axis_command_ref
Thrust axis command.
Definition: fsw_high_thrust_guidance.h:62
CD_CREATE_REF guidance_use_rcs_command_ref
Guidance use RCS command.
Definition: fsw_high_thrust_guidance.h:76
CD_CREATE_REF guidance_mode_command_ref
Definition: fsw_high_thrust_guidance.h:58
CD_CREATE_REF guidance_control_command_ref
Guidance control command.
Definition: fsw_high_thrust_guidance.h:60
CD_CREATE_REF guidance_thruster_mode_ref
Guidance thruster mode.
Definition: fsw_high_thrust_guidance.h:74
CD_CREATE_REF guidance_thruster_command_ref
Thruster set.
Definition: fsw_high_thrust_guidance.h:66
CD_CREATE_REF guidance_throttle_command_ref
Throttle.
Definition: fsw_high_thrust_guidance.h:72
CD_CREATE_REF guidance_target_vector_command_ref
Guidance thrust target vector.
Definition: fsw_high_thrust_guidance.h:64
CD_CREATE_REF guidance_on_target_ref
On target.
Definition: fsw_high_thrust_guidance.h:80
CD_CREATE_REF guidance_jd_start_command_ref
Start jd.
Definition: fsw_high_thrust_guidance.h:68