Andrew Tridgell
1cb8728a6b
MPU6000: protect the driver from double initialisation
...
initialising twice can lockup the driver
2011-12-28 16:00:48 +11:00
Andrew Tridgell
f2bbfb1296
MPU6000: minor fixes
...
the hardware functions should be private, and cs_pin should be uint8_t
2011-12-28 16:00:48 +11:00
Andrew Tridgell
3ef707a2c3
MPU6000: use data ready interrupt to prevent stale data
...
We listen for a data ready interrupt and only read new data in read()
if there is new data
2011-12-26 19:17:11 +11:00
Andrew Tridgell
cef1c4c558
MPU6k: update driver for new ap_proceduce prototype
2011-12-21 23:31:38 +11:00
Andrew Tridgell
eec5f000b5
added code format markers to AP_InertialSensor library
2011-12-21 23:31:38 +11:00
Pat Hickey
db8708911a
purple: added AP_InertialSensor library
...
this abstracts the way of getting inertial sensor (gyro and
accelerometer) data for the APM1 and purple hardware. The Oilpan code
is based closely on the old APM1 code
2011-11-25 20:00:16 -08:00