Find more or less stable combination of delays.
authorAndrey Nechypurenko <andreynech@gmail.com>
Mon, 13 Jun 2011 18:59:08 +0000 (20:59 +0200)
committerAndrey Nechypurenko <andreynech@gmail.com>
Mon, 13 Jun 2011 18:59:08 +0000 (20:59 +0200)
commit56dc944c76dbde1b5b03dfe74d0ffbede7e02c55
treee4ae148fbdce0bf8f05c4245fb31dd262880f0f6
parent53033ddcb8434bb7b8c9335a562658678f2efda9
Find more or less stable combination of delays.

I2C interface seams to be very picky about timing. Very often certain
combinations of read/writes somehow kill the whole I2C bus. This
commit introduce the combination of timings where Xenomai-based servo
control (PWM), I2C compas and sonar are working together. It is still
unstable and sometimes I2C reads fails.
src/NavSensorThread.cpp
src/ReadCompassData.cpp
src/ReadSonarData.cpp
src/ServoControl.cpp