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:
- 49:47ffa4feb6db
- Parent:
- 45:16b8162188ca
- Child:
- 52:f207567d3ea4
--- a/StateMachine/StateMachine.hpp Thu Feb 15 04:01:57 2018 +0000 +++ b/StateMachine/StateMachine.hpp Thu Feb 15 23:07:25 2018 +0000 @@ -9,6 +9,7 @@ // main finite state enumerations enum { SIT_IDLE, // stops both motors, exits after a keyboard input + CHECK_TUNING, // runs the system to the positions specified in the files FIND_NEUTRAL, // dives to depth at zero pitch, exits when stable DIVE, // dives to depth at negative pitch, exits when crossing a defined depth RISE, // rises to surface at positive pitch, exits when near surface @@ -50,6 +51,8 @@ void keyboard(); + void keyboard_menu_MANUAL_TUNING(); + void keyboard_menu_BCE_PID_settings(); void keyboard_menu_BATT_PID_settings(); void keyboard_menu_DEPTH_PID_settings();