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.cpp
- Revision:
- 36:966a86937e17
- Parent:
- 35:2f66ea4863d5
- Child:
- 37:357e98a929cc
--- a/StateMachine/StateMachine.cpp Wed Dec 20 22:44:02 2017 +0000 +++ b/StateMachine/StateMachine.cpp Wed Dec 20 23:21:15 2017 +0000 @@ -1048,8 +1048,8 @@ } else if (userInput == 'P') { //Print current SD card log file - printCurrentSdLog(); - //mbedLogger().printFromLogFile(); //print the current log file to the screen + //printCurrentSdLog(); + mbedLogger().printCurrentLogFile(); //print the current log file to the screen } else if (userInput == 'X') { printDirectory(); @@ -1675,4 +1675,9 @@ else if (input_state == KEYBOARD) string_state = "KEYBOARD"; //datalogger().printf("%s\n", string_state.c_str()); +} + +float * StateMachine::dataArray() { + //return the array to a calling function + return _data_log; } \ No newline at end of file