Log messages are sent out the Serial port for viewing.
Files are logged to the SD card in EVOS_LOG<x>.csv
where \<x> is the current log file number. Each time EVOS is started the SD card logger simply creates a new file where it left off.
The file is delimited with | characters currently (meaning you need to import it to Excel rather than open it directly.) However, changing the DELIM constant in SdCard.hpp will change the delimeter used.
Messages to the logger must not exceed 100 characters currently- exceeding this will cause a buffer overflow
The SD card messages are written out every 3 messsages to space out the time where the teensy has to write to the SD card. For data integrity, messages with log level WARN and ERR are logged to the SD card immediately.
Log messages sent from the SD card logger (with log key SD_CARD) are ignored and not sent to the SD card file. They are still broadcast as log messages so the serial logger catches them.
Fixes #5. SD card logging is now completed!
Proposed Changes
EVOS_LOG<x>.csv
where \<x> is the current log file number. Each time EVOS is started the SD card logger simply creates a new file where it left off.DELIM
constant inSdCard.hpp
will change the delimeter used.SD_CARD
) are ignored and not sent to the SD card file. They are still broadcast as log messages so the serial logger catches them.