Andrew Tridgell
8eb40bafc5
AP_Compass: revert compass parameter changes
2021-12-04 16:51:53 +11:00
Iampete1
7ad1886667
AP_Compass: reinstate MOTCT underscore
2021-12-02 12:27:09 +11:00
Iampete1
bf21ce8af6
AP_Compass: add new line after old param metadata
2021-12-02 12:27:09 +11:00
Iampete1
e24c90a871
AP_Compass: reinstate old param descriptions
2021-11-30 08:14:43 +09:00
Iampete1
6ba87dfe9a
AP_Compass: add param conversion
2021-11-30 08:14:43 +09:00
Iampete1
2fa2e70e7e
AP_Compass: SITL: use new scale param
2021-11-30 08:14:43 +09:00
Iampete1
071ff39ff8
AP_Compass: move instance params to shared table
2021-11-30 08:14:43 +09:00
Andrew Tridgell
a4a0607160
AP_Compass: added AP_RM3100_REVERSAL_MASK
...
this allows for fixing setups where the RM3100 has been installed on a
board with one or more axes reversed
2021-11-24 07:17:13 +11:00
Patrick José Pereira
91ea129be3
AP_Compass: Add support to AK09915
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-11-10 18:11:34 -03:00
Willian Galvani
4c756fd7ef
AP_Compass: update MMMC5XX3 driver to support only mmc5983
...
Registers changed
Product ID changed
Data is now Big endian
Results are now 18 bits instead of 16, but we only consume 16.
Added SPI support
Co-authored-by: Patrick Pereira <patrickelectric@gmail.com>
Co-authored-by: Jacob Walser <jwalser90@gmail.com>
2021-11-10 11:38:25 +11:00
Iampete1
1771481779
AP_Compass: never override custom orentation in calabration
2021-11-10 09:28:54 +11:00
Peter Barker
0627ee66c5
AP_Compass: clarify all_configured calculations
2021-11-01 21:28:17 +11:00
Buzz
8d9f161b40
AP_Compass: add support for ICM20948 I2C variant and rename existing one as SPI variant
...
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Andrew Tridgell
2b19b8a988
AP_Compass: switched to GSF based compass learning
...
this makes inflight compass learning faster, more accurate and much
simpler
2021-11-01 09:00:27 +11:00
Andrew Tridgell
b0674a2b35
AP_Compass: support 2nd address for ICM20948 compass
2021-10-18 08:29:29 +11:00
Pierre Kancir
12e1f67326
AP_Compass: only update last_update_ms on raw_field update if on calibration
2021-10-13 19:45:03 +11:00
Andrew Tridgell
613f970870
AP_Compass: added AK09918 support
...
minor update over AK09916
2021-10-06 18:16:00 +11:00
Hwurzburg
3b543a8ceb
AP_Compass: Change orientation labels to match order of rotation
2021-10-05 11:22:32 +11:00
Tom Pittenger
d45526ff42
AP_Compass: fix periph-heavy compile errors with different things enabled
2021-09-24 10:47:13 -05:00
Peter Barker
224ff97f5c
AP_Compass: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
875b6331a4
AP_Compass: fix examples for AP_AHRS_DCM becoming backend
2021-08-31 14:28:53 +10:00
Pierre Kancir
4481bc6147
AP_Compass: fix externalAHRS detection
...
'A = B >= C' kind. The expression is calculated as following: 'A = (B >= C)'
2021-08-25 16:37:13 +09:00
Peter Barker
62f6a5b033
AP_Compass: fail calibration unless at least 1 compass to cal
2021-08-24 10:18:38 +10:00
Andrew Tridgell
ffe8add56d
AP_Compass: mark logger Write() calls as streaming where appropriate
2021-08-18 10:20:03 +10:00
bugobliterator
33f9c38528
AP_Compass: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Peter Barker
944b82a7be
AP_Compass: make is_calibrating const
2021-07-30 17:37:08 +10:00
Peter Barker
d5ea202c20
AP_Compass: mark COMPASS_ENABLED as @RebootRequired
2021-07-30 12:19:42 +10:00
Peter Barker
c351150a46
AP_Compass: use AP::compass().available in place of enabled()
2021-07-30 12:19:42 +10:00
Peter Barker
1d9bfdf8dd
AP_Compass: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
658c978c9d
AP_Compass: add and use compass.available()
...
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Peter Barker
8bbed968de
AP_Compass: remove unused variable
2021-07-30 12:19:42 +10:00
Iampete1
e5d4620372
AP_Compass: update orientation param values
2021-07-28 18:09:05 +10:00
Iampete1
78e025af39
AP_Compass: add Calibrator index test
2021-07-28 18:09:05 +10:00
Iampete1
36a80d46e3
AP_Compass: support auto orientation for new rotations
2021-07-28 18:09:05 +10:00
Andrew Tridgell
aa0a77049e
AP_Compass: fixed build warning on g++ 10.2
2021-07-27 19:50:21 +10:00
Andrew Tridgell
b6dbc618dc
AP_Compass: replaced Pixhawk with more appropriate wording in docs
2021-07-22 07:48:12 +10:00
Siddharth Purohit
7cbb3d8a3f
AP_Compass: allow compass cal option for AP_Periph if defined
2021-07-02 08:50:16 +10:00
Nicola Grossenbacher
755ca37326
AP_Compass: added probe method for MMC3416 compass
2021-06-22 09:52:49 +10:00
Peter Barker
9791fdeb11
AP_Compass: remove unused setup_earth_field
2021-06-15 09:47:31 +10:00
Peter Barker
a9621ed802
AP_Compass: remove HIL support
2021-06-15 09:47:31 +10:00
Andrew Tridgell
f2b7d44772
AP_Compass: fixed build with AP_Periph compass
2021-06-09 15:09:46 +10:00
Andrew Tridgell
684e32068b
AP_Compass: removed perf counters
2021-06-07 14:29:27 +10:00
Siddharth Purohit
8590bfea63
AP_Compass: use first available compass in priority list
2021-06-02 17:10:19 +10:00
Andrew Tridgell
d5dccaa734
AP_Compass: added heater compensation to internal mag for Pix32v5
2021-06-01 08:07:49 +10:00
bugobliterator
0172b867b7
AP_Compass: fix "no detected backends" error with single compass
2021-05-26 18:30:45 +10:00
murata
072a321a01
AP_Compass: Use the value of pi
2021-05-23 16:58:55 +10:00
Siddharth Purohit
b31a04e52b
AP_Compass: allow single compass configure for autopilot boards
2021-05-19 18:04:20 +10:00
Peter Barker
519a71504f
AP_Compass: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
2021-05-19 17:38:47 +10:00
Andrew Tridgell
60f60356b8
AP_Common: hide unnecessary params on AP_Periph
...
we only use raw compass
2021-05-09 06:44:19 +10:00
Kawamura
b305b3b074
AP_Compass: Send message to gcs for compass learn
2021-05-07 08:43:20 +10:00