Patrick José Pereira
e456655932
AP_Compass: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Andrew Tridgell
b225868711
AP_Compass: detect conflict between AK09916 and ICM20948
...
this detects if we have both a AK09916 and an ICM20948 on the same i2c
bus. If that is found then the ICM20948 is disabled as it otherwise we
will have two devices on the same i2c address
7 years ago
Eugene Shamaev
df6b7ed5ea
AP_Compass_UAVCAN: update
7 years ago
Eugene Shamaev
9195ba80fc
AP_Compass: helper func
7 years ago
Eugene Shamaev
baa6daf270
AP_Compass: reducing indenting by linearizing the logic
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
4cffbf52d3
AP_COMPASS: fix MAG3110 driver
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
Andrew Tridgell
eccc4f375b
AP_Compass: fixed build warning
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
Peter Barker
face8151b7
AP_Compass: include required header
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
487b615faa
AP_Compass: allow for override of MAG_BOARD_ORIENTATION
7 years ago
Peter Barker
46dbb248f9
AP_Compass: correct compiler warnings
...
In file included from ../../libraries/AP_Compass/AP_Compass.h:14:
../../libraries/AP_Compass/Compass_PerMotor.h:57:13: warning: private
field 'channel' is not used [-Wunused-private-field]
uint8_t channel;
AP_Compass: fix compiler warning
../../libraries/AP_Compass/AP_Compass_MAG3110.h:52:11: warning: private
field 'compass_len' is not used [-Wunused-private-field]
float compass_len;
^
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
Randy Mackay
3bec25da85
AP_Compass: resolve compiler warnings
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
0d8cdd2728
AP_Compass: fixed warning
7 years ago
Andrew Tridgell
23803df038
AP_Compass: allows boards to define orientation of HMC5843
7 years ago
Siddharth Purohit
f0f4239d4a
AP_Compass: skip using posix headers for non posix systems
7 years ago
LukeMike
432f6c2a4a
VRBRAIN / APCompass: added compass sensor init for VR Brain boards
7 years ago
Andrew Tridgell
2067e25523
AP_Compass: make length filter in MAG3110 optional
...
compile time for now, later can may become parameter
7 years ago
night-ghost
b6bf90ab93
AP_Compass: mAG3110 driver
7 years ago
Andrew Tridgell
20d75f52c2
AP_Compass: use calloc in preferance to malloc
7 years ago
Andrew Tridgell
b741c6c29e
AP_Compass: fixed build error on ChibiOS
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
Andrew Tridgell
f326377a5c
AP_Compass: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
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