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: MbedLogger/MbedLogger.hpp
- Revision:
- 36:966a86937e17
- Parent:
- 35:2f66ea4863d5
- Child:
- 39:58375ca6b6ff
--- a/MbedLogger/MbedLogger.hpp Wed Dec 20 22:44:02 2017 +0000 +++ b/MbedLogger/MbedLogger.hpp Wed Dec 20 23:21:15 2017 +0000 @@ -10,21 +10,14 @@ class MbedLogger { public: MbedLogger(); //constructor - - void openFile(); void createTestLog(); //test log function //one log file type for now - void createNewFiles(); //subsequent files (takes time to process) + void openFile(); //save float array to file (append each time) - void saveArrayToFile(string string_state, int input_state, float *input); - - //save the sequence title to file (append each time) - void saveSequenceStringToFile(string str_input); - - //print the data to the serial terminal - void printFromLogFile(); + void saveDataToFile(string string_state, int input_state, float *input); + void saveDataToFile(int input_state, float *input); //print the directory to the screen void printMbedDirectory();