Hi all,
Is there a way to log variables at speeds higher than 100 Hz without the sd card deck? I need speeds of 500Hz for the INDI controller.
Thanks!
Max
Logging frequency
-
- Bitcraze
- Posts: 630
- Joined: Tue Jun 30, 2015 7:47 am
Re: Logging frequency
The log framework can not handle that high sampling frequency.
Another options that I can think of is to write data to a RAM buffer and dump it to the console (slowly) after the test is finished. The RAM is fairly limited in size though.
Another options that I can think of is to write data to a RAM buffer and dump it to the console (slowly) after the test is finished. The RAM is fairly limited in size though.
-
- Member
- Posts: 40
- Joined: Wed Jan 20, 2021 4:03 pm
Re: Logging frequency
Thanks! The sd deck is able to log at that high of a frequency right?
-
- Bitcraze
- Posts: 630
- Joined: Tue Jun 30, 2015 7:47 am
Re: Logging frequency
Yes, the SD card should be able to handle 500 Hz. The main limitation for the SD-card is the total data rate. Data is stored in RAM buffers (512 bytes I think) that are written to the SD card when full. If you log faster than can be written to the card, it will be discarded. When you stop logging I think you get a report in the console log of how much data that was discarded.