bugobliterator
de6b48f922
AP_Compass: set only if changed to save space in param storage
5 years ago
Siddharth Purohit
5cd6175d94
AP_Compass: fix reordering compass devid by priority at boot
5 years ago
Siddharth Purohit
bf1a7799f8
AP_Compass: move to using CANManager library
5 years ago
Andrew Tridgell
2a662793c2
AP_Compass: support probing RM3100 on all 4 addresses
5 years ago
Siddharth Purohit
f55ee264a7
AP_Compass: reset compass ids not present after compass cal
...
also implement replacement mechanism for UAVCAN compasses
5 years ago
Andy Piper
88cda25d62
AP_Compass: enable LIS3MDL and friends
5 years ago
Peter Barker
0f2bcea647
AP_Compass: remove use of Vector3 as function
5 years ago
bugobliterator
82480f0a3d
AP_Compass: return id of max empty compass state when prio id is 0
5 years ago
Andrew Tridgell
4a80313fdd
AP_Compass: added get_num_enabled()
...
used by EKF3
5 years ago
Andy Piper
b7b2d9a6ce
AP_Compass: add support for custom compass rotation via COMPASS_CUS_{ROLL,PIT,YAW}
...
add reboot required for parameters that need it
disable custom rotation on AP_Periph devices
5 years ago
Andrew Tridgell
66655212b1
AP_Compass: fixed compass ordering bug with AP_Periph
...
when a user swaps compasses on AP_Periph we want to immediately
replace it. The compass ordering code was rejecting the new compass
and calling panic as it was out of slots. This changes the AP_Compass
ordering so that when we only have a single compass we operate in a
very simple manner where we always accept the first compass found
5 years ago
Andrew Tridgell
6d42e9502b
AP_Compass: fixed unreg compass check for AP_Periph
...
this fixes detection of compasses on peripherals where
COMPASS_MAX_UNREG_DEV is 0
5 years ago
Peter Barker
0665c379de
AP_Compass: correct use of incorrect backend-count macro
5 years ago
Siddharth Purohit
f00a39af52
AP_Compass: run style script on Compass.cpp
5 years ago
Siddharth Purohit
8d227d401a
AP_Compass: modify compass driver to support consistent ordering and hotplugging
5 years ago
Siddharth Purohit
defc1b5fcb
ArduCopter: add arming message for compass not detected but assigned
5 years ago
Peter Barker
cc3f6468e3
AP_Compass: mark some parameters as Calibration parameters
5 years ago
Andrew Tridgell
ebceab9aa0
AP_Compass: don't probe for ICM20948 on AP_Periph
5 years ago
Pierre Kancir
d6563bff7d
AP_Compass: probe for RM3100
5 years ago
Andrew Tridgell
421fbef2a0
AP_Compass: added COMPASS_OPTIONS
...
this allows user to set that calibration requires GPS lock
5 years ago
Andrew Tridgell
6fd0ca36aa
AP_Compass: added estimation of compass scale factor
...
this adds new COMPASS_SCALE, COMPASS_SCALE2 and COMPASS_SCALE3
parameters, which give the sensor scaling factor. It is used to
compensate for an incorrect scaling in a compass.
The 3D compass calibration process will set the correct value
automatically, otherwise users can set the value to a known value for
an existing compass
5 years ago
Andrew Tridgell
513e483821
AP_Compass: disable HIL for AP_Periph
...
this saves several k of flash
5 years ago
Randy Mackay
01c36fa6aa
AP_Compass: LEARN param default to 0 for all vehicles
5 years ago
Andrew Tridgell
7ad91fa1c9
AP_Compass: don't show too many params when max compasses 1
5 years ago
Peter Barker
8e412d0885
AP_Compass: adjust for new vehicle base class
5 years ago
Andrew Tridgell
df387dc396
AP_Compass: allow rotation of BMM150 compass
6 years ago
Andrew Tridgell
1cb775e2c2
AP_Compass: probe more addresses for IST8310
...
IST8310 can be on 4 possible i2c addresses
6 years ago
Andrew Tridgell
bd0760f9d4
AP_Compass: removed unusued compass probes
...
now only use probe lists
6 years ago
Andrew Tridgell
3bc8522b54
AP_Compass: added ROTATION_NONE to probes
...
we no longer use defaults in the headers
6 years ago
Andrew Tridgell
2a48241ebb
AP_Compass: fixed naming of QMC5883L driver
...
needed for probe using COMPASS macro in hwdef.dat
6 years ago
Andrew Tridgell
f4576ec8f3
AP_Compass: reduce firmware size for AP_Periph
6 years ago
Andrew Tridgell
0ec3f80bbe
AP_Compass: enable LIS3MDL on I2C and RM3100 on SPI
6 years ago
Peter Barker
1adda1ccf0
AP_Compass: move automatic declination setting into AP_Compass itself
6 years ago
Andrew Tridgell
38c775e6df
AP_Compass: removed old mRoControlZeroF7 config
6 years ago
Andrew Tridgell
481ae22671
AP_Compass: support new sensor config setup
6 years ago
Andrew Tridgell
532b82b3a3
AP_Compass: use DRIVER_HMC5843 to match driver name
6 years ago
Phillip Kocmoud
1f827004be
AP_Compass: Enable AK09916 inside the ICM20948
6 years ago
Peter Barker
bf23f1df67
AP_Compass: move responsibility for logging into library
6 years ago
Siddharth Purohit
6dc94b0e3d
Compass: fix compass orientation for AK09916 on Cube
6 years ago
Peter Barker
54e3959a99
AP_Compass: move enabled parameter into compass library
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
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
thomass
8155c8b178
AP_Compass: added backend implementation for RM3100 compass
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
Randy Mackay
68363ff4a2
AP_Compass: devid param desc include ReadOnly
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