Aaron Berk
/
IMUfilter_HelloWorld
Inertial measurement unit orientation filter example.
Revision 1:9133b457bb41, committed 2010-11-27
- Comitter:
- aberk
- Date:
- Sat Nov 27 12:03:06 2010 +0000
- Parent:
- 0:56aa1ac6b59d
- Commit message:
- Changed constructor arguments to reflect changes in library API.
Changed in this revision
diff -r 56aa1ac6b59d -r 9133b457bb41 IMUfilter.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IMUfilter.lib Sat Nov 27 12:03:06 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/aberk/code/IMUfilter/#8a920397b510
diff -r 56aa1ac6b59d -r 9133b457bb41 IMUfilter_lib.lib --- a/IMUfilter_lib.lib Tue Aug 03 15:09:45 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/aberk/programs/IMUfilter_lib/latest \ No newline at end of file
diff -r 56aa1ac6b59d -r 9133b457bb41 main.cpp --- 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);