pioneers / dawn-v0

(archived; now in PiECentral) Dawn is a cross-platform frontend for the Pioneers in Engineering robotics control system.
https://pioneers.berkeley.edu
4 stars 33 forks source link

Don't update hibike every loop iteration. #270

Closed vdonato closed 8 years ago

vdonato commented 8 years ago

Changed update_hibike to return immediately unless 10 seconds have passed since the function was last called. This should avoid having a (relatively) expensive operation be performed too frequently.