Lucas De Marchi
996739df12
AP_Compass: Do not panic if compass is not found
...
Copter uses 2 compasses for linux configuration, but one of them may not
be available. Do not panic if a AK8963 isn't found.
10 years ago
Andrew Tridgell
c8b0970e61
AP_Compass: show compass count in example
10 years ago
Andrew Tridgell
f4455d063e
AP_Compass: fixed example
10 years ago
Andrew Tridgell
1962706a33
AP_Compass: fixed last_update, using last_update_usec()
...
this broke use of compass in the EKF
10 years ago
Andrew Tridgell
86fc90f54c
AP_Compass: removed spurious rotation in PX4 backend
...
and cleanup rotation macros
10 years ago
Andrew Tridgell
d7bac39539
AP_Compass: removed two unused functions
10 years ago
Andrew Tridgell
fec2025469
AP_Compass: added set_hil_mode()
10 years ago
Andrew Tridgell
8f6982860f
AP_Compass: fixed devid for 2nd compass
10 years ago
Andrew Tridgell
7b51c907f5
AP_Compass: zero some more variables in constructor and init
10 years ago
Andrew Tridgell
4bc92b6373
AP_Compass: removed _product_id var
10 years ago
Andrew Tridgell
0efd3bacea
AP_Compass: make new backend match old PX4 behaviour
...
when a compass is internal only apply board orientation, not user
specified rotation
10 years ago
Andrew Tridgell
a871c87cad
AP_Compass: use state array for compass variables
10 years ago
Víctor Mayoral Vilches
13f0aa5ecd
AP_Compass: Separate common code into backend
...
_copy_to_frontend function takes care of abstracting
this code from the driver. For now the function takes
care of the offset and rotation that is common.
10 years ago
Víctor Mayoral Vilches
d3b76cd8d3
AP_Compass: split compass into frontend/backend
10 years ago
Andrew Tridgell
99ed508903
AP_Compass: change for new PX4 paths
10 years ago
Grant Morphett
52c5db8440
AP_Compass: Changes to fix the warnings in rover sitl build.
...
We are starting the process of resolving all the warnings in the
ardupilot builds of all vehicles and platforms.
10 years ago
Emile Castelnuovo
5e8c1b61b5
AP_Compass: AP_Compass_VRBRAIN.cpp added _is_external overwrite to deal with external compass attached to internal I2C BUS
10 years ago
Randy Mackay
635ff92d6b
Compass: fix example sketch
10 years ago
mirkix
9a65a8c8fb
AP_Compass: add AK8963 to auto-detect in test suite
10 years ago
mirkix
e9d4165a8d
AP_Compass: add AK8963 support to test suite
10 years ago
Staroselskii Georgii
c16eb5d330
AP_Compass: fixed corrections for AK8963
10 years ago
Staroselskii Georgii
4394f0cf75
AP_Compass: fixed external compass detection for AK8963
10 years ago
Staroselskii Georgii
f0753e965e
AP_Compass: eliminated possible division by zero in AK8963
10 years ago
Staroselskii Georgii
b804430276
AP_Compass: changed default orientation for AK8963 on Navio
10 years ago
Andrew Tridgell
9835544163
AP_Compass: fixed build on non-Linux platforms
10 years ago
Staroselskii Georgii
0d1cf347c7
AP_Compass: added AK8963 support
10 years ago
Randy Mackay
ffbc3862bd
Compass: update compass orient param description
...
Update rotation 38 to Yaw293Pitch68Roll90
10 years ago
Andrew Tridgell
a686494127
AP_Compass: fixed example build
10 years ago
Randy Mackay
20f3f19285
Compass: add new rotation to ORIENT param description
10 years ago
Staroselskii Georgii
7f00dd413f
AP_Compass: fixed HMC5883's initialisation code
10 years ago
Randy Mackay
31087e4f20
Compass: shorten EXTERNAL2/3 to EXTERN2/3
...
Bug discovered by Michael Day
10 years ago
Andrew Tridgell
7db0244dac
AP_Compass: added some comments
10 years ago
Jonathan Challinger
9054dd3f9a
AP_Compass: use apply_correction_function to eliminate duplication
10 years ago
Andrew Tridgell
b437977547
AP_Compass: added set_offsets() interface
...
this will be used by Replay to prevent the need for saving parameters
10 years ago
Randy Mackay
7caa611eb1
Compass_HIL: use instance specific orient and external
11 years ago
Randy Mackay
86aac4f40c
Compass_HMC5843: use instance specific orient and external
11 years ago
Randy Mackay
900896977c
Compass_VRBrain: use instance specific orient and external
11 years ago
Randy Mackay
85e82a0399
Compass_PX4: use instance specific orient and external
11 years ago
Randy Mackay
023b6afe8b
Compass: add ORIENT2 and EXTERNAL2 params
11 years ago
Randy Mackay
16058cb730
Compass_VRBrain: primary compass based on use_for_yaw
11 years ago
Randy Mackay
01fa4ba619
Compass_PX4: primary compass based on use_for_yaw
11 years ago
Randy Mackay
798cc36e64
Compass: use_for_yaw for each compass
11 years ago
Randy Mackay
84d792216e
Compass: use_for_yaw to use primary compass health
...
This allows the internal compass to be used if the external compass
fails.
11 years ago
Randy Mackay
e14ae0c0b1
Compass: param descriptions for OFS2, MOT2
11 years ago
Randy Mackay
c2c5807ec7
Compass: always default devid to zero
11 years ago
Andrew Tridgell
9f6d1f987b
AP_Compass: removed use of hrt_absolute_time()
11 years ago
Andrew Tridgell
41e65c2415
AP_Compass: fixed default orientation for PXF
11 years ago
Emile Castelnuovo
3b53c167a0
AP_Compass: VRBRAIN. Deal with external mag connected on internal I2C on VRBRAIN 4.5
...
This enables user to set the external parameter to true even if only one compass is connected
11 years ago
Andrew Tridgell
c49981c03d
AP_Compass: fixed example build
11 years ago
Emile Castelnuovo
1092447360
AP_Compass_VRBrain: add support for two compasses
11 years ago