Spacecraft Control Bundle 1
ons_communications.h
Go to the documentation of this file.
1
8#include <ControlDeck2/ControlDeck2.h>
9
10#ifndef ONS_COMMUNICATIONS
11#define ONS_COMMUNICATIONS
12
17class ons_communications : public cd_control_module
18{
19 public:
20 ons_communications (const char * mod_name);
24 void initialize();
26 void handle_event(int code);
27
28 protected:
32 CD_REQUEST_REF range_sim_ref;
34 CD_REQUEST_REF range_rate_sim_ref;
36 CD_REQUEST_REF range_message_sim_ref;
38 CD_REQUEST_REF isl_message_sim_ref;
40
44 CD_CREATE_REF range_meas_ref;
46 CD_CREATE_REF range_rate_meas_ref;
48 CD_CREATE_REF range_message_ref;
50 CD_CREATE_REF isl_message_ref;
52
53};
54
55extern "C"
56{
57 cd_control_module *ons_communications_builder(const char *name);
58}
59
60#endif
Communications module for obtaining range and range rate from a ground station or ISL.
Definition: ons_communications.h:18
CD_REQUEST_REF range_rate_sim_ref
Estimated attitude covariance.
Definition: ons_communications.h:34
void handle_event(int code)
All processing performed here.
CD_REQUEST_REF range_message_sim_ref
Range message from sim.
Definition: ons_communications.h:36
CD_CREATE_REF range_message_ref
Range message.
Definition: ons_communications.h:48
void initialize()
One time initialization.
CD_CREATE_REF range_meas_ref
Estimated eci to body quaterion.
Definition: ons_communications.h:44
CD_CREATE_REF range_rate_meas_ref
Estimated range rate.
Definition: ons_communications.h:46
CD_REQUEST_REF isl_message_sim_ref
ISL message from sim.
Definition: ons_communications.h:38
CD_CREATE_REF isl_message_ref
ISL message.
Definition: ons_communications.h:50
void initialize_data()
Create output variables.