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:
67:c86a4b464682
Parent:
63:6cb0405fc6e6
Child:
69:919ac8d7e023
--- a/StateMachine/StateMachine.hpp	Tue Jun 19 20:14:23 2018 +0000
+++ b/StateMachine/StateMachine.hpp	Mon Jun 25 15:44:00 2018 +0000
@@ -94,7 +94,6 @@
     
     void recordData(int input_state);       //record log data to file using MbedLogger class
     void printDirectory();
-    void recordState(int input_state);
     void printCurrentSdLog();               //more tricky for SD card, work in progress
     
     void createNewFile();
@@ -103,6 +102,8 @@
     
     float * dataArray();
     
+    void checkMotorPositions();             //checks motor positions as a safe-guard against broken string pot or bad channel readings
+    
 private:
     bool _debug_menu_on;         // default is false to show simple menu, debug allows more tuning and has a lot of keyboard commands