Jonathan Challinger
9054dd3f9a
AP_Compass: use apply_correction_function to eliminate duplication
10 years ago
Randy Mackay
7caa611eb1
Compass_HIL: use instance specific orient and external
11 years ago
Jonathan Challinger
e883b889b6
SITL: Add compassmot interference
11 years ago
Andrew Tridgell
bc2d17e76e
AP_Compass: added vector compass setHIL method
11 years ago
Andrew Tridgell
61f564d7c9
AP_Compass: support motor compensation for multiple compasses
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Andrew Tridgell
c538816825
AP_Compass: support compass health status on multiple compasses
11 years ago
Andrew Tridgell
bde89fd4e2
AP_Compass: added compass offsets for 2nd compass
11 years ago
Andrew Tridgell
8a97042fb1
AP_Compass: updates to support multiple compasses
11 years ago
Andrew Tridgell
cb16733918
AP_Compass: switched to a vector based interface
...
this is more consistent with other APIs and makes multi-device support
easier
11 years ago
Andrew Tridgell
fbf79c07f0
AP_Compass: added COMPASS_EXTERNAL option
...
this allows configuring of a compass as being externally attached
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
c90d44c121
AP_Compass_HIL: fixed indentation
12 years ago
Andrew Tridgell
f72dd560cb
AP_Compass: fixed the HIL sensors compass
...
this sets up good compass values for HIL sensors
12 years ago
Andrew Tridgell
217f34e155
AP_Compass: added COMPASS_ORIENT parameter, to support external compasses
...
this allows the user to configure the compass for any orientation
supported by our rotation library
12 years ago
Randy Mackay
b8d492b504
Compass: current based compensation added
12 years ago
Randy Mackay
8093c98cd3
Compass: add motor compensation to HIL library
12 years ago
Pat Hickey
53432a1101
AP_Compass: ported to AP_HAL
12 years ago
Andrew Tridgell
6922dcdea2
Compass: added compass.accumulate() API
...
this allows us to accumulate mag readings using spare CPU cycles
13 years ago
uncrustify
d1190e1ed4
uncrustify libraries/AP_Compass/AP_Compass_HIL.cpp
13 years ago
Andrew Tridgell
6eff9107ea
Compass: change last_update to be in microseconds
13 years ago
Andrew Tridgell
6d356b6c6e
Compass: fixed last_update time for HIL compass
13 years ago
Andrew Tridgell
62326c0f72
Compass: enable compass offsets for HIL compass
...
this makes the null_offsets algorithm have an effect for the HIL
compass that is used for SITL, which makes for easier testing of
compass calibration
13 years ago
Andrew Tridgell
acf4e9b61d
I2C: convert compass code to new I2C library
...
this also adds a healthy attribute, and error checking on all I2C
calls
13 years ago
DrZiplok@gmail.com
a4e791dc92
Line ending property changes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1649 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
DrZiplok@gmail.com
cc06f07067
Major update including AP_Var support.
...
Most of the compass functionality is now abstracted in a base class, with the various sub-classes implementing just their unique functionality.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1647 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
DrZiplok
5faadf4cd1
use memset rather than explicit assignments to zero to zero an array, this saves code space.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1340 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
b66b0f6cce
Fixed issues with AP_Compass
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1003 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
729cf47b3c
needs some help
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1001 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
559229a667
Added HIL and HMC5843 compass libs.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@998 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago