Spacecraft Control Bundle 1
ons_lunar_targeting.h
Go to the documentation of this file.
1
8#include <ControlDeck2/ControlDeck2.h>
9
10#ifndef ONS_LUNAR_TARGETING
11#define ONS_LUNAR_TARGETING
12
16class ons_lunar_targeting : public cd_control_module
17{
18 public:
19 ons_lunar_targeting (const char * mod_name);
20 void initialize_data();
21 void initialize();
22 void handle_event(int code);
23
24 protected:
25
29 CD_REQUEST_REF ephem_planet_position_ref;
31 CD_REQUEST_REF ephem_planet_index_ref;
35 CD_REQUEST_REF target_locked_ref;
37 CD_REQUEST_REF q_eci_to_body_ref;
39 CD_REQUEST_REF od_state_ref;
41
45 CD_CREATE_REF gimbal_target_ref;
47 CD_CREATE_REF gimbal_target_eci_ref;
55 CD_CREATE_REF ons_target_ref;
57
58};
59
60extern "C"
61{
62 cd_control_module *ons_lunar_targeting_builder(const char *name);
63}
64
65#endif
Generates the targets for the optical navigation system.
Definition: ons_lunar_targeting.h:17
CD_REQUEST_REF position_spacecraft_ref
Position of the spacecraft.
Definition: ons_lunar_targeting.h:33
CD_CREATE_REF ons_target_ref
Camera target.
Definition: ons_lunar_targeting.h:55
CD_CREATE_REF camera_position_command_ref
Camera position when aligned with the calibration cube.
Definition: ons_lunar_targeting.h:49
CD_CREATE_REF gimbal_target_eci_ref
Gimbal target ECIt.
Definition: ons_lunar_targeting.h:47
CD_REQUEST_REF target_locked_ref
Target locked flag.
Definition: ons_lunar_targeting.h:35
CD_CREATE_REF calibration_cube_position_command_ref
Calibration cube position.
Definition: ons_lunar_targeting.h:51
CD_REQUEST_REF q_eci_to_body_ref
q_eci_to_body
Definition: ons_lunar_targeting.h:37
CD_REQUEST_REF od_state_ref
State estimate.
Definition: ons_lunar_targeting.h:39
CD_CREATE_REF camera_fov_command_ref
Camera field of view.
Definition: ons_lunar_targeting.h:53
CD_REQUEST_REF ephem_planet_index_ref
Planet index.
Definition: ons_lunar_targeting.h:31