Jason Short
9a4bd31a8b
Minimized the accel_filtered vector to be faster and more accurate.
...
Made the Filter include the Accels and moved from 8 to 4 terms in the filter
2011-09-30 18:40:29 -07:00
Andrew Tridgell
1c5e8f0381
change ADC sample rate to 1kHz
...
this costs us about 9% of our CPU, but should make aliasing much less
of a problem.
2011-09-17 14:58:02 +10:00
Andrew Tridgell
bb35fdec10
IMU: re-work the IMU library to take advantage of the ADC Ch6() call
...
This changes the IMU code to read 6 synchronised ADC channels at one
time, giving us matching values, and exposing the exact averaging time
to callers
2011-09-17 14:58:02 +10:00
tridge60@gmail.com
28cf3dfc79
IMU: added delay callback hooks to IMU initialisation
...
this allows the imu init() call to use a custom replacement for
delay(), which will allow for the processing of MAVLink packets during
IMU initialisation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2986 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-31 22:34:25 +00:00
jasonshort
d18262b729
Added heavily filtered Accelerometer values for experimentation.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2779 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-08 03:58:19 +00:00
jasonshort
ebfb132f34
IMU speedup by shorting the temp calculation. If someone bothers to temp calibrate their sensors, they'll need to edit this shortcut.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2677 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-26 06:23:22 +00:00
jasonshort
350b2c5ea2
added optimization note
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2564 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-16 16:34:23 +00:00
jasonshort
0f5505e529
just formatting
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1887 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 04:55:32 +00:00
deweibel@gmail.com
85672b5ab2
Change gyro/accel calibration to guard against improper orientations or motion during cal
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1727 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-25 17:49:31 +00:00
jasonshort
bd9f0f4647
added more time to IMU startup. added more accessors and removed private flag.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1702 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-20 23:10:18 +00:00
jasonshort
e6e161d56d
Added accessors back for Accels. I need them there until we need to find another solution.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1676 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 03:57:19 +00:00
DrZiplok@gmail.com
ddfab124cd
Use AP_Var to store accel/gyro calibration.
...
Refactor AP_IMU_Oilpan and remove all the old EEPROM code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1650 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-14 04:42:37 +00:00
deweibel@gmail.com
17804fbc29
Speed IMU initialization
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1641 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 23:25:04 +00:00
DrZiplok
c1d97878a5
Implement an abstract IMU class.
...
Refactor the existing AP_IMU as AP_IMU_Oilpan (this will require changes in other projects TBD).
Add a shim IMU class for use by e.g. HIL protocol handlers.
This paves the way for a better handling of HIL_MODE_SENSORS as well as the mooted SPI-based oilpan IMU.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1342 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:41:00 +00:00