Spacecraft Control Bundle 1
cs_magnetometer_processing.h
1/*
2 * Header file for object of class es_template.
3 * Copyright 2010cs, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7#include <ControlDeck2/ControlDeck2.h>
8
9#ifndef CS_MAGNETOMETER_PROCESSING
10#define CS_MAGNETOMETER_PROCESSING
11
14class cs_magnetometer_processing : public cd_control_module
15{
16 public:
17 cs_magnetometer_processing (const char * mod_name);
18 void initialize_data();
19 void initialize();
20 void handle_event(int code);
21
22 protected:
23
27 CD_CREATE_REF b_field_ref;
29
34 CD_REQUEST_REF b_field_sim_ref;
36};
37
38extern "C"
39{
40 cd_control_module *cs_magnetometer_processing_builder(const char *name);
41}
42
43#endif
Processes the magnetometer.
Definition: cs_magnetometer_processing.h:15
CD_CREATE_REF b_field_ref
Measured b-field.
Definition: cs_magnetometer_processing.h:27
void initialize_data()
Request event notification for CS_MAGNETOMETER_PROCESSING_TRIGGER.
Definition: cs_magnetometer_processing.cc:16
CD_REQUEST_REF b_field_sim_ref
Field value from the simulation.
Definition: cs_magnetometer_processing.h:34