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
Diff: StateMachine/StateMachine.hpp
- Revision:
- 33:29a4268fbc74
- Parent:
- 32:f2f8ae34aadc
--- a/StateMachine/StateMachine.hpp Wed Dec 20 13:52:50 2017 +0000 +++ b/StateMachine/StateMachine.hpp Wed Dec 20 14:57:18 2017 +0000 @@ -90,6 +90,8 @@ void transmitData(); + void recordDataWithTimer(void const *n); + private: int _timeout; // generic timeout for every state, seconds float _pitchTolerance; // pitch angle tolerance for neutral finding exit criteria