Spacecraft Control Bundle 1
lunar_lander_timer.h
Go to the documentation of this file.
1/*
2 * Header file for object of class lunar_lander_timer.
3 * Copyright 2008, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7
12#include <ControlDeck2/ControlDeck2.h>
13
14#ifndef LUNAR_LANDER_TIMER
15#define LUNAR_LANDER_TIMER
16
22class lunar_lander_timer : public cd_control_module
23{
24 public:
25 lunar_lander_timer (const char * mod_name);
26 void initialize_data();
27 void initialize();
28 void handle_event(int code);
29
30 protected:
31
34
35 private:
36
37 double control_time_last;
38 double perctol;
39 double get_met();
40 double jD0;
41 double met_last;
42
43};
44
45extern "C"
46{
47 cd_control_module *lunar_lander_timer_builder(const char *name);
48}
49
50#endif
This module calls each module in sequence based on the acs_control_period_command.
Definition: lunar_lander_timer.h:23
CD_REQUEST_REF acs_control_period_command_ref
ACS control period - Command format: double.
Definition: lunar_lander_timer.h:33