Open Weffe opened 6 years ago
Sounds like a fantastic idea to me. Any downsides other than storage concerns?
Not that I can think of. Maybe read/write speeds could be an issue if we are writing really verbose messages really quickly? But I don't think that should hurt us.
@audstanley @skrapmi @rerdtsieck @vielma24
Thoughts on doing something like this? It can be useful for debugging purposes especially if we are out there doing competition tasks and something craps out on us.
Hello everyone,
I think it could possibly be useful to utilize a logger for any activity the onboard computer is doing. Python has a built-in logger library ready for use (more info) and as far as javascript goes, there is Winston which was used last year. We could limit the log file to 10mb or something even smaller if storage is a concern. The main use case is that if we come across a run-time error we could possibly log it to a file before the program exits due to the exception and have an idea why it crashed. What do you guys think?