paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] da0dac: [rotorcraft][linux] li


From: GitHub
Subject: [paparazzi-commits] [paparazzi/paparazzi] da0dac: [rotorcraft][linux] limit main/event loop to 1kHz
Date: Wed, 15 Jul 2015 05:32:38 -0700

  Branch: refs/heads/main_event_1khz_limit
  Home:   https://github.com/paparazzi/paparazzi
  Commit: da0dac74bd8ed5cff55b665da1cbdb989ef52eb4
      
https://github.com/paparazzi/paparazzi/commit/da0dac74bd8ed5cff55b665da1cbdb989ef52eb4
  Author: Felix Ruess <address@hidden>
  Date:   2015-07-15 (Wed, 15 Jul 2015)

  Changed paths:
    M conf/boards/ardrone2.makefile
    M conf/boards/bebop.makefile
    M sw/airborne/firmwares/rotorcraft/main.c

  Log Message:
  -----------
  [rotorcraft][linux] limit main/event loop to 1kHz

This is a kludge until we can better leverage threads and have real events.
Without this limit the event flags will constantly polled as fast as possible,
resulting on 100% cpu load on boards with an (RT)OS.
On bare metal boards this is not an issue, as you have nothing else running 
anyway.

Enable this for the bebop and ardrone2 by default.

Alternative to #1239 and should fix #1233



reply via email to

[Prev in Thread] Current Thread [Next in Thread]