Andrew Tridgell
2ded88e611
AP_Compass: allow override of QMC5883L orientation
7 years ago
Andrew Tridgell
e39d070b78
AP_Compass: clear DEV_ID for undetected compasses
...
this prevents user confusion with the number of compasses detected
7 years ago
Andrew Tridgell
b181340fd9
AP_Compass: allow override of COMPASS_AUTO_ROT
7 years ago
Andrew Tridgell
027beb0dc1
AP_Compass: rename COMPASS_ROT_AUTO to COMPASS_AUTO_ROT
...
request from Randy
7 years ago
Andrew Tridgell
196ba0e858
AP_Compass: make COMPASS_ROT_AUTO take 3 values
...
0 for disabled, 1 for check only, 2 for check and fix
7 years ago
Andrew Tridgell
8b0f40b402
AP_Compass: implement automatic compass orientation
...
this automatically determines the compass orientation when doing a 3D
compass calibration, if COMPASS_ROT_AUTO is enabled.
7 years ago
Andrew Tridgell
ff6d639ed7
AP_Compass: separated out external compass probing
...
this allows any ChibiOS board to specify that it wants to probe for
all possible external compass types with a define in hwdef.dat
It also implements duplicate compass detection for all i2c drivers,
ensuring we can't get a load of a driver on the same bus/address twice
7 years ago
Andrew Tridgell
f88a4b3a2f
AP_Compass: fixed compass orientations on PH4
7 years ago
Andrew Tridgell
8fd69250bd
AP_Compass: use I2C bus masks
...
this allows for external compasses on all external I2C ports, while
retaining existing device ordering
7 years ago
Peter Barker
4c2925d693
AP_Compass: remove pointless initialisations
...
If you are allocating one of these on the stack you're doing something
wrong.
7 years ago
Lucas De Marchi
49d08ba72a
Global: remove minlure
...
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.
It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
7 years ago
Peter Barker
9eb53e333b
AP_Compass: tidy consistency calculations
...
AP_Compass: normalize vectors in-place to save a few bytes (thanks MdB)
7 years ago
Andrew Tridgell
2d9df83ed5
AP_Compass: probe for ist8310 on bus 2 as well as 0 for fmuv5
7 years ago
Andrew Tridgell
99540a184c
AP_Compass: enable FMUv5 compass
7 years ago
Andrew Tridgell
ccdfc75dd9
AP_Compass: placeholder for FMUv5
7 years ago
Peter Barker
a3a1967e05
AP_Compass: add AP::compass() singleton getter
7 years ago
Francisco Ferreira
0a3af28d17
AP_Compass: remove Qualcomm board support
7 years ago
mirkix
85fe07f1f0
AP_Compass: enable probe HMC5843 for PocketPilot
7 years ago
night-ghost
a05c79f1d8
Compass: fix HAL_F4light compilation errors
7 years ago
Jacob Walser
44d0f7b2a1
AP_Compass: update ORIENT @Values
7 years ago
Jacob Walser
6699c59ad3
AP_Compass: add support for custom board orientations
7 years ago
kozinalexey
444c0bb54c
AP_Compass: added ChibiOS external compass config
7 years ago
night-ghost
677f2bebc3
AP_Compass: added autodetect of all known compasses on external bus
7 years ago
night-ghost
f26bb0cfbe
AP_Compass: added range filter to backend, added its use in some sensors (thanks khancyr for style correction)
7 years ago
Michael du Breuil
c66d15efd7
AP_Compass: Read current for compensation from the battery singleton
7 years ago
Nathan E
dcf127b73d
Compass: clarify compass orientation description
...
Resolves an error directing users to reference the flight controller (instead of the frame) for COMPASS_ORIENT.
Changed wing to side for all vehicles
7 years ago
LinJieqiang
c73e7f0cf3
add IST8310 compass sensors in AP_Compass.cpp
7 years ago
Andrew Tridgell
8b3db7c09f
AP_Compass: allow for HAL_COMPASS_NONE
7 years ago
Andrew Tridgell
f61591c426
AP_Compass: added SP01 board type
7 years ago
Andrew Tridgell
52815cd952
AP_Compass: fixed compass orientation for mini-pix
7 years ago
ljwang
231aa16835
AP_Compass: support mini-pix
7 years ago
Andrew Tridgell
2c8e6bb834
AP_Compass: use generic defines for BMM150
7 years ago
Andrew Tridgell
57a3bc1397
AP_Compass: new compass learning system
...
this learns compass offsets using magnetic tables and compass
observations
7 years ago
Andrew Tridgell
ca30f6aec8
AP_Compass: added per-motor compass calibration
...
this allows for a motor calibration vector per motor
7 years ago
Andrew Tridgell
2cc0f25ca0
AP_Compass: support PCNC1
7 years ago
Andrew Tridgell
23803df038
AP_Compass: allows boards to define orientation of HMC5843
7 years ago
LukeMike
432f6c2a4a
VRBRAIN / APCompass: added compass sensor init for VR Brain boards
7 years ago
night-ghost
b6bf90ab93
AP_Compass: mAG3110 driver
7 years ago
Andrew Tridgell
8e87c30a33
AP_Compass: fixed MindPX-v2 compass orientations
7 years ago
Andrew Tridgell
36a141f9f1
AP_Compass: support MindPX-v2
7 years ago
Andrew Tridgell
743714de4c
AP_Compass: support ChibiOS FMUv4
7 years ago
Andrew Tridgell
5d9fa7f85b
AP_Compass: support ChibiOS
7 years ago
Randy Mackay
86cbc445bd
AP_Compass: ICM20948 default rotation to Pitch180Yaw90
7 years ago
Mark Whitehorn
b0e2f06a7a
AP_Compass: add LIS3MDL probe for Pixracer
7 years ago
HeBin
26de6de848
AP_Compass: add Robsense PhenixPro Devkit Board support
7 years ago
Georgii Staroselskii
710594eee3
AP_Compass: enable compass on Edge
7 years ago
Andrew Tridgell
5646afac1c
AP_Compass: avoid double detection of the AK09916
...
with an ICM20948 we can double detect the compass due to the i2c pass-thru
7 years ago
Lucas De Marchi
2fc6e52431
AP_Compass: use IST8310 and HMC5883 as external mags
7 years ago
Francisco Ferreira
6e286a2e66
AP_Compass: re-enable QMC5883 compass driver by default
...
This reverts commit a657daf635
7 years ago
Andrew Tridgell
678bd084b7
AP_Compass: added IST8310 on FMUv3 I2C
8 years ago