![](/media/cache/profiles/79a49b3e3762632813f9e35f4ba53d6c.50x50_q85.jpg)
Inertial measurement unit orientation filter example.
Diff: main.cpp
- Revision:
- 1:9133b457bb41
- Parent:
- 0:56aa1ac6b59d
--- a/main.cpp Tue Aug 03 15:09:45 2010 +0000 +++ b/main.cpp Sat Nov 27 12:03:06 2010 +0000 @@ -2,7 +2,9 @@ Serial pc(USBTX, USBRX); -IMUfilter imuFilter(0.1); +//Change the second parameter (which is a tuning parameter) +//to try and get optimal results. +IMUfilter imuFilter(0.1, 10); AnalogIn accelerometerX(p15); AnalogIn accelerometerY(p16);