Joshua Henderson
dc8df8f147
AP_Compass: add define for COMPASS_ENABLE
3 years ago
Peter Barker
ef2fd1f4ba
AP_Compass: remove HAL_COMPASS_DEFAULT define
...
this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.
This would have stopped being useful when we did the
compass-prority-table stuff - or before.
3 years ago
Peter Barker
38abec2133
AP_Compass: rename AP_AHRS::get_position to get_location
3 years ago
Peter Barker
ed608d37f6
AP_Compass: add and use AP_SIM_COMPASS_ENABLED
3 years ago
Hwurzburg
8ddb12d9cb
AP_Compass: change UAVCAN in metadata to DroneCAN
3 years ago
Peter Barker
31dd17a743
AP_Compass: avoid loaded-value checks in case of HAL_USE_EMPTY_STORAGE
3 years ago
Andrew Tridgell
8eb40bafc5
AP_Compass: revert compass parameter changes
3 years ago
Iampete1
7ad1886667
AP_Compass: reinstate MOTCT underscore
3 years ago
Iampete1
bf21ce8af6
AP_Compass: add new line after old param metadata
3 years ago
Iampete1
e24c90a871
AP_Compass: reinstate old param descriptions
3 years ago
Iampete1
6ba87dfe9a
AP_Compass: add param conversion
3 years ago
Iampete1
071ff39ff8
AP_Compass: move instance params to shared table
3 years ago
Peter Barker
0627ee66c5
AP_Compass: clarify all_configured calculations
3 years ago
Andrew Tridgell
b0674a2b35
AP_Compass: support 2nd address for ICM20948 compass
3 years ago
Hwurzburg
3b543a8ceb
AP_Compass: Change orientation labels to match order of rotation
3 years ago
Pierre Kancir
4481bc6147
AP_Compass: fix externalAHRS detection
...
'A = B >= C' kind. The expression is calculated as following: 'A = (B >= C)'
4 years ago
Peter Barker
d5ea202c20
AP_Compass: mark COMPASS_ENABLED as @RebootRequired
4 years ago
Peter Barker
c351150a46
AP_Compass: use AP::compass().available in place of enabled()
4 years ago
Peter Barker
1d9bfdf8dd
AP_Compass: stop using AHRS as conduit for Compass pointer
4 years ago
Peter Barker
658c978c9d
AP_Compass: add and use compass.available()
...
Covers both being enabled and initialised
4 years ago
Iampete1
e5d4620372
AP_Compass: update orientation param values
4 years ago
Iampete1
36a80d46e3
AP_Compass: support auto orientation for new rotations
4 years ago
Andrew Tridgell
b6dbc618dc
AP_Compass: replaced Pixhawk with more appropriate wording in docs
4 years ago
Nicola Grossenbacher
755ca37326
AP_Compass: added probe method for MMC3416 compass
4 years ago
Peter Barker
9791fdeb11
AP_Compass: remove unused setup_earth_field
4 years ago
Peter Barker
a9621ed802
AP_Compass: remove HIL support
4 years ago
Andrew Tridgell
f2b7d44772
AP_Compass: fixed build with AP_Periph compass
4 years ago
Siddharth Purohit
8590bfea63
AP_Compass: use first available compass in priority list
4 years ago
bugobliterator
0172b867b7
AP_Compass: fix "no detected backends" error with single compass
4 years ago
murata
072a321a01
AP_Compass: Use the value of pi
4 years ago
Peter Barker
519a71504f
AP_Compass: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
4 years ago
Andrew Tridgell
60f60356b8
AP_Common: hide unnecessary params on AP_Periph
...
we only use raw compass
4 years ago
Andrew Tridgell
9cc883a8c0
AP_Compass: fixed the IST8308 on CubeBlack
...
CubeBlack needs to probe both internal and external buses
4 years ago
Jacob Walser
8defcb9169
AP_Compass: add memsic MMC5883 driver
4 years ago
Randy Mackay
64c4b6a42b
AP_Compass: remove unused set_use_for_yaw
4 years ago
Andrew Tridgell
f8e0227c8c
AP_Compass: added force_save_calibration()
4 years ago
Marko
00d0fe876d
AP_Compass: Added support for internal i2c bus to VRBrain-v51
...
Now the internal compass HMC5883 of the VRBrain-v51 is correctly recognized
Co-authored-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
4 years ago
Andrew Tridgell
a068e95a48
AP_Compass: added ExternalAHRS driver
4 years ago
Andrew Tridgell
09603e29ce
AP_Compass: fixed external handling for BMM150
4 years ago
Andrew Tridgell
3d4a8829f3
AP_Compass: added BMM150 as available external mag
4 years ago
Andrew Tridgell
353ec29ab6
AP_Compass: removed have_ekf_logging()
4 years ago
giacomo892
640990a7c7
AP_Compass: Fix TYPEMASK bitmask
4 years ago
Siddharth Purohit
72cf040f81
AP_Compass: add option to selectively disable Compass I2C backend
4 years ago
yaapu
5e88a856e9
AP_Compass: support for MSP compass
5 years ago
Andrew Tridgell
37866ec3cf
AP_Compass: fixed compass logging when first compass unhealthy
...
keep logging compasses if any are healthy
5 years ago
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