![](/media/cache/profiles/79a49b3e3762632813f9e35f4ba53d6c.50x50_q85.jpg)
Inertial measurement unit orientation filter. Ported from Sebastian Madgwick\'s paper, \"An efficient orientation filter for inertial and inertial/magnetic sensor arrays\".
Dependencies: mbed ITG3200 ADXL345 IMUfilter
Diff: main.cpp
- Revision:
- 1:dda873ab579f
- Parent:
- 0:056706c688ae
diff -r 056706c688ae -r dda873ab579f main.cpp --- a/main.cpp Tue Aug 10 13:19:17 2010 +0000 +++ b/main.cpp Sat Nov 27 12:07:45 2010 +0000 @@ -27,7 +27,7 @@ //Sampling accelerometer at 200Hz. #define ACC_RATE 0.005 //Updating filter at 40Hz. -#define FILTER_RATE 0.025 +#define FILTER_RATE 0.1 Serial pc(USBTX, USBRX); //At rest the gyroscope is centred around 0 and goes between about