Improve new logger update rate (#5073)
* logger: disable some default topics, which are most likely not used This is also to safe CPU and lower the amount of file descriptors used. * logger: use the hrt timer for more accurate scheduling Under NuttX with the default rate of 285Hz, the actual measured rate was only 200Hz while on Linux it was ~280Hz. The reason is that NuttX only uses a usleep() granularity of 1ms, so that the typical sleep time is longer than what we set. Now the logger waits on a semaphore, which gets activated periodically with a hrt timer. With this the measured rate is exactly the expected one, 285Hz.
Please register or sign in to comment