Commit Graph

36 Commits

Author SHA1 Message Date
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
james.goppert a840314b97 APO merge.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1935 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 02:05:17 +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
james.goppert@gmail.com 58118ef9f0 Eclipse makefile support for examples.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1860 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-09 19:38:12 +00:00
tridge60@gmail.com cc548e4c19 added dummy save() method to AP_IMU_Shim
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1781 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:34:00 +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
mich146@hotmail.com 2989bf2cde Fix hil issue
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1712 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-21 23:16:57 +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
mich146@hotmail.com caf9fe5777 fix imu shim
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1683 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 09:52:59 +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
jasonshort 709b56f477 Added getter functions to accels
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1503 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-16 20:42:11 +00:00
DrZiplok 15748ea10f Curse you, CodeLite.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1350 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-29 00:36:08 +00:00
DrZiplok 22aa34c8b0 This shouldn't be here.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1348 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-29 00:33:21 +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
jasonshort 82c4815e2c added direct setting of accel offsets
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1160 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-19 03:21:38 +00:00
jasonshort e3e8dbb0b3 added ability to zero out the accels
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1115 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-13 03:57:42 +00:00
jasonshort 2f2aaa88fd Added dynamic setting of compass
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1010 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-04 06:24:21 +00:00
deweibel 126383fe43 Bug fix for IMU / DCM
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1008 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-03 02:12:13 +00:00
jasonshort a142d8ee7d imu enhancements
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1007 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-02 22:09:25 +00:00
jasonshort 93206020cb Moved Health to DCM, Centripetal correct
git-svn-id: https://arducopter.googlecode.com/svn/trunk@988 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-01 22:52:11 +00:00
jasonshort efa2c199f9 update - See Arducopter for implementation details
git-svn-id: https://arducopter.googlecode.com/svn/trunk@985 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-01 07:57:30 +00:00
DrZiplok 2bf62274ab Use fabs(), not abs() for floating point values.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@957 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-27 09:48:01 +00:00
james.goppert a6c315b6f1 AP_IMU modified to use AP_ADC, fixes HIL bugs.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@949 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-27 04:45:29 +00:00
DrZiplok@gmail.com 5560f4fcf9 Attribute fix.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@899 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 04:05:27 +00:00
DrZiplok@gmail.com d759ee97c5 Fix this so that it compiles again.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@898 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 04:03:43 +00:00
deweibel 0e32cb34c5 bug fix, enhancements
Now in a flyable state.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@852 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-17 21:20:20 +00:00
deweibel 52ed7fac8c corrections to imu and dcm libs, addition of vector member to compass class for magnetic vector
git-svn-id: https://arducopter.googlecode.com/svn/trunk@844 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-15 02:15:16 +00:00
deweibel b49032d9ea Changes to DCM and IMU libraries to put accel into m/s^2 units
git-svn-id: https://arducopter.googlecode.com/svn/trunk@757 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 16:17:16 +00:00
deweibel a80eb66e77 fix bugs from factoring imu object.
Tested & working - integration and roll/pitch drift correction
Untested - yaw drift correction and centrepetal comp

git-svn-id: https://arducopter.googlecode.com/svn/trunk@729 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-25 02:03:52 +00:00
deweibel 6272955567 small correction to imu lib
git-svn-id: https://arducopter.googlecode.com/svn/trunk@728 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-24 20:10:09 +00:00
deweibel de51162e81 Correct file references for repository
git-svn-id: https://arducopter.googlecode.com/svn/trunk@727 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-24 19:12:09 +00:00
deweibel 489365e7fc Add IMU library
git-svn-id: https://arducopter.googlecode.com/svn/trunk@726 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-24 18:37:56 +00:00