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:
- 84:eccd8e837134
- Parent:
- 82:0981b9ada820
- Child:
- 85:dd8176285b6e
diff -r 53f9b1be4eb9 -r eccd8e837134 StateMachine/StateMachine.hpp --- a/StateMachine/StateMachine.hpp Fri Feb 15 16:14:22 2019 +0000 +++ b/StateMachine/StateMachine.hpp Tue Feb 19 20:11:43 2019 +0000 @@ -122,6 +122,7 @@ int _timeout; // generic timeout for every state, seconds int _yo_time; // time allowed for one up or down in a leg of yo-yos + int _state_transition_time; float _pitchTolerance; // pitch angle tolerance for neutral finding exit criteria float _bceFloatPosition; // bce position for "float" states float _battFloatPosition; // batt position for "broadcast" state