Skip to content
Snippets Groups Projects
  1. Jul 16, 2016
    • Beat Küng's avatar
      Improve new logger update rate (#5073) · a1b71002
      Beat Küng authored
      * 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.
      a1b71002
  2. Jul 15, 2016
  3. Jul 14, 2016
  4. Jul 13, 2016
  5. Jul 12, 2016
  6. Jul 11, 2016
Loading