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

Revision:
10:085ab7328054
Parent:
9:d5fcdcb3c89d
Child:
11:3b241ecb75ed
--- a/System/StaticDefs.hpp	Fri Oct 20 11:41:22 2017 +0000
+++ b/System/StaticDefs.hpp	Mon Oct 23 12:50:53 2017 +0000
@@ -6,22 +6,34 @@
 #include "ltc1298.hpp"
 #include "LinearActuator.hpp"
 #include "IMU.h"
-
+#include "omegaPX209.hpp"
+#include "PosVelFilter.hpp"
+#include "OuterLoop.hpp"
 
 //Declare static global variables using 'construct on use' idiom to ensure they are always constructed correctly
 // and avoid "static initialization order fiasco".
 
 Timer                       &   systemTime();
+Ticker                      &   pulse();
+
 Serial                      &   pc();
 
+LocalFileSystem             &   local();
+
 SpiADC                      &   adc();
 LinearActuator              &   bce();
 LinearActuator              &   batt();
 
-LocalFileSystem             &   local();
+omegaPX209                  &   depth();
+OuterLoop                   &   depthLoop();
+
+IMU                         &   imu();
+OuterLoop                   &   pitchLoop();
 
-PIDController               &   DepthController();
-
-IMU                         &   Microstrain();
+// leds for debugging, global for use in any function
+DigitalOut                  &   led1();
+DigitalOut                  &   led2();
+DigitalOut                  &   led3();
+DigitalOut                  &   led4();
 
 #endif
\ No newline at end of file