ColyberCompany / ColyberFlightController

Code of flight controller of ColyberCopter
GNU General Public License v3.0
0 stars 1 forks source link

Add Logger #25

Open Aleksy-niamik opened 3 years ago

Aleksy-niamik commented 3 years ago
JanWielgus commented 3 years ago

In SD card logging (or not only there) add current time to the saved message/value. Get this time from ITasker instance using getCurrentTime_micros() method.

JanWielgus commented 3 years ago

In SD card as a log storing medium write(...) mehod can only add data to some buffer or queue and save bigger pack of data at once when queue is full.

JanWielgus commented 3 years ago

Medium class could also be used to other things like storing configuration parameters so it should be divided into at least WriteMedium and ReadWriteMedium. (Related to #29 issue). This should be thought through deeper.