most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown

Dependencies:   mbed MODSERIAL FATFileSystem

Committer:
mkelly10
Date:
Fri Oct 20 11:41:22 2017 +0000
Revision:
9:d5fcdcb3c89d
Child:
10:085ab7328054
Tested 10/19/17 Folders

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mkelly10 9:d5fcdcb3c89d 1 #ifndef AUTOPILOTSTATICDEFS_H_
mkelly10 9:d5fcdcb3c89d 2 #define AUTOPILOTSTATICDEFS_H_
mkelly10 9:d5fcdcb3c89d 3
mkelly10 9:d5fcdcb3c89d 4 #include "mbed.h"
mkelly10 9:d5fcdcb3c89d 5 #include "MODSERIAL.h"
mkelly10 9:d5fcdcb3c89d 6 #include "ltc1298.hpp"
mkelly10 9:d5fcdcb3c89d 7 #include "LinearActuator.hpp"
mkelly10 9:d5fcdcb3c89d 8 #include "IMU.h"
mkelly10 9:d5fcdcb3c89d 9
mkelly10 9:d5fcdcb3c89d 10
mkelly10 9:d5fcdcb3c89d 11 //Declare static global variables using 'construct on use' idiom to ensure they are always constructed correctly
mkelly10 9:d5fcdcb3c89d 12 // and avoid "static initialization order fiasco".
mkelly10 9:d5fcdcb3c89d 13
mkelly10 9:d5fcdcb3c89d 14 Timer & systemTime();
mkelly10 9:d5fcdcb3c89d 15 Serial & pc();
mkelly10 9:d5fcdcb3c89d 16
mkelly10 9:d5fcdcb3c89d 17 SpiADC & adc();
mkelly10 9:d5fcdcb3c89d 18 LinearActuator & bce();
mkelly10 9:d5fcdcb3c89d 19 LinearActuator & batt();
mkelly10 9:d5fcdcb3c89d 20
mkelly10 9:d5fcdcb3c89d 21 LocalFileSystem & local();
mkelly10 9:d5fcdcb3c89d 22
mkelly10 9:d5fcdcb3c89d 23 PIDController & DepthController();
mkelly10 9:d5fcdcb3c89d 24
mkelly10 9:d5fcdcb3c89d 25 IMU & Microstrain();
mkelly10 9:d5fcdcb3c89d 26
mkelly10 9:d5fcdcb3c89d 27 #endif