AerospaceNU/karman-avionics

Control timing of loops and sensor polling

Aperta

#4 aperta il 12 mar 2019

 (0 commenti) (0 reazioni) (0 assegnatari)C (0 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Right now there is not any timing regulations on the polling of the sensors. Fix this so the sensors are called at regular and appropriate rates (check the data sheets when in doubt). This timing should be regulated by a hardware timer. The calls should also be based on frequencies and times of last call, not relative frequencies and counters (if something is 100 Hz and another 1 Hz, don't just call the latter 1 out of every 100 times the first is called, use a timer)

Guida contributor