-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbasestation.h
64 lines (48 loc) · 1.13 KB
/
basestation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#pragma once
#include <stateobj.h>
#include <kb.h>
#include <msgpump.h>
#include <radio.h>
#include <system_gps.h>
#include <cloud.h>
#include <phone.h>
#include <system_irarray.h>
#include <scheduler.h>
#include <system_mgr.h>
//#include <system_magtorquer.h>
//#include <system_temperature.h>
#include <system_imu.h>
//#include <fhmotor.h>
#include <cpins.h>
#include "test.h"
#define IMUADDRESS1 BNO080_DEFAULT_ADDRESS //==75
#define IRADDRESS MLX90640_I2CADDR_DEFAULT
#define MOTOR_SPEED 2
#define MOTOR_FG 14
#define MOTOR_DIR 13
#define CUBESAT "ADR1"
class CBaseStation:public CStateObj {
private:
public:
CKeyboard _keyboard;
CRadio _radio;
CMsgPump _msgpump;
CGPS _tbeamgps;
CPhone _phone;
CCloud _cloud;
CSystemMgr _manager;
CScheduler _scheduler;
CIRArray _ir_X1;
CMDrive _magX;
//CTemperatureObject _tempX1;
CIMU _IMUI2C;
CTest _test;
CPins _pins;
/*
CPinController _pincontroller;
CMagTorquer _magnetorquer;
CMotorController _motorX;
*/
CBaseStation();
void callCustomFunctions(CMsg &msg);
};