Peter Barker
54e3959a99
AP_Compass: move enabled parameter into compass library
6 years ago
Mirko Denecke
9c8a7efbc6
AP_Compass: remove unused field
6 years ago
Peter Barker
2d16c37844
AP_Compass: examples: compass init never fails
6 years ago
Peter Barker
f8be4efed4
AP_Compass: init never fails; return void rather than bool
6 years ago
Siddharth Purohit
6ff8f52957
AP_Compass: add support for AK09916 connected over fourth IMU over I2C
6 years ago
Siddharth Purohit
104c433081
AP_Compass: AK09916 fix sample register structure
6 years ago
Siddharth Purohit
cff8bf14b7
AP_Compass: add support for AK09916 via invensensev2 aux bus
6 years ago
Andrew Tridgell
7f3103073a
AP_Compass: setup for fmuv6
6 years ago
Peter Barker
7184d5e860
AP_Compass: add missing override keywords
6 years ago
Peter Barker
97f2d946ab
AP_Compass: remove unused variables from AP_Compass_RM3100.h
6 years ago
Peter Barker
f0fd6fd996
AP_Compass: remove keywords.txt
6 years ago
Peter Barker
7ab6a5d94d
AP_Compass: uavcan: reindent after WITH_SEMAPHORE change (NFC)
6 years ago
Peter Barker
5b06d01402
AP_Compass: uavcan: use WITH_SEMAPHORE in place of give/take _registry
6 years ago
Tom Pittenger
2cd485e7ae
AP_Compass: unify singleton naming to _singleton and get_singleton()
6 years ago
thomass
513964cdad
AP_Compass: RM3100 simplify unisgned to signed integer conversion
6 years ago
thomass
97f3627bd5
AP_Compass: RM3100 added default cycle count value check on initialization as a whoami substitute
6 years ago
thomass
488133c396
AP_Compass: RM3100 make compliant with common methods for accumulating and draining samples
6 years ago
thomass
ede80773b9
AP_Compass: RM3100 stop passing frontend for compliance with backend class
6 years ago
thomass
8155c8b178
AP_Compass: added backend implementation for RM3100 compass
6 years ago
Andrew Tridgell
4003ea841c
AP_Compass: change to 3 compasses in SITL
6 years ago
Andrew Tridgell
700519d805
AP_Compass: raise default max compass offsets
...
the larger offset doesn't present any problems for the compass
drivers, and helps on planes with magnetic hatches
6 years ago
Andrew Tridgell
a21f4dc0c9
AP_Compass: update COMPASS_LEARN docs
6 years ago
Andrew Tridgell
1b95f17940
AP_Compass: removed F4Light
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Randy Mackay
68363ff4a2
AP_Compass: devid param desc include ReadOnly
6 years ago
Andrew Tridgell
3d9126ec4a
AP_Compass: run lsm303d at 91Hz, not 100Hz
...
Peter and I have discovered an odd behaviour with the lsm303d mag. If
you fetch data a bit too soon then it will give a peridic oscillation
in the output.
Checking the data ready bit in the status register doesn't help. The
only fix I've found is to run the sampling at a bit lower rate
6 years ago
Peter Barker
e7a981d2c3
AP_Compass: add override keyword where required
6 years ago
Phillip Kocmoud
27a2b8a350
AP_Compass: Increase default MAX compass offset
...
After discussing the @tridge and @rmackay9 it was suggested that raising the maximum allowable compass offset value would allow users of the LIS3MDL and possibly others with larger compass offsets to fly with the default setting.
This has been deemed a fairly safe change that still allows for sufficient overhead to prevent saturation.
6 years ago
Lucas De Marchi
9d95579b2d
AP_Compass: update TYPEMASK documentation
...
Add missing drivers IST8308 and MAG3110.
6 years ago
Lucas De Marchi
34fb98b1e0
AP_Compass: probe for IST8308 on external buses
6 years ago
Lucas De Marchi
c3d87f91fc
AP_Compass: add support to IST8308
6 years ago
Andrew Tridgell
70246cf954
AP_Compass: added notify events (LEDs and buzzer) for learning
6 years ago
Andrew Tridgell
23ddd994ec
AP_Compass: allow multiple COMPASS_LEARN runs per boot
6 years ago
Andrew Tridgell
026089747d
AP_Compass: use LEARN_NONE on learn completion
...
master doesn't yet have the statistical EKF learning
6 years ago
Andrew Tridgell
0a7170774a
AP_Compass: allow learning of all compasses
...
slave secondary compasses to primary
6 years ago
Andrew Tridgell
5ac6309848
AP_Compass: enable in-flight compass learning system
...
using COMPASS_LEARN=3
6 years ago
Andrew Tridgell
84d7160128
AP_Compass: use new accumulate functions for UAVCAN
6 years ago
Andrew Tridgell
579a84b53e
AP_Compass: use new accumulate functions for AK8963
6 years ago
Andrew Tridgell
55e4b64755
AP_Compass: don't apply offsets twice in SITL
6 years ago
Andrew Tridgell
925555c995
AP_Compass: move accum fields to frontend
...
this is needed to ensure they are per-instance. Without this the SITL
backend produces zero for all but the first instance. The same would
be true for any multi-instance backend
6 years ago
Andrew Tridgell
83065d5e88
AP_Compass: convert SITL to new accumulate approach
6 years ago
Andrew Tridgell
a260792e9e
AP_Compass: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
vierfuffzig
b455c7a769
AP_Compass: add rotation option for AK8963_MPU9250
...
allows using non-neutrally rotated AK8963 compass on MPU9250 as internal
reference: https://github.com/ArduPilot/ardupilot/pull/9459
6 years ago
Andrew Tridgell
0b9d0a4559
AP_Compass: removed incorrect semaphore take() in QMC5883L driver
6 years ago
Lucas De Marchi
1a9c386df2
AP_Compass: MMC3416: use common method to accumulate samples
6 years ago
Lucas De Marchi
e83b345cbb
AP_Compass: MAG3110: use common method to accumulate samples
6 years ago
Lucas De Marchi
ac2771b311
AP_Compass: LSM9DS1: use common method to accumulate samples
6 years ago
Lucas De Marchi
2324a28e39
AP_Compass: LSM303D: use common method to accumulate samples
6 years ago
Lucas De Marchi
38d1f8705f
AP_Compass: LIS3MDL: use common method to accumulate samples
6 years ago