Peter Barker
4f9201a160
AP_AHRS: move parameters back into AP_AHRS.h
...
metadata collection kind of dies otherwise
4 years ago
Peter Barker
b7d4166b28
AP_AHRS: rename AP_AHRS_NavEKF.* to AP_AHRS.*
4 years ago
Paul Riseborough
8f1b98a0cb
AP_AHRS: Add accessor function for vibration affected status
...
AP_AHRS: fix rebase build error
4 years ago
Peter Barker
a6a18fe193
AP_AHRS: punt to correct parent class when no index for getCorrectedDeltaVelocityNED
4 years ago
Peter Barker
b450a96698
AP_AHRS: shuffle AP_AHRS classes
4 years ago
Peter Barker
0d391533b0
AP_AHRS: remove ability to use DCM as AHRS
4 years ago
Peter Barker
141e2aae91
AP_AHRS: pass NavEKF failures back up to callers
4 years ago
Peter Barker
dc5656d34a
AP_AHRS: remove accessors only used internally
4 years ago
CallanDaniel
396a27b17e
AP_AHRS: add semaphore around set_origin
...
added semaphore around set_origin() to prevent thread racing
4 years ago
Andrew Tridgell
cd3ac639fe
AP_AHRS: added AHRS_GPS_USE=2 for no baro
...
this allows DCM to use the GPS instead of the baro for height
4 years ago
Peter Barker
ee0a373b60
AP_AHRS: remove HIL support
4 years ago
Randy Mackay
ab5d4da776
AP_AHRS: attitudes_consistent fix for roll-pitch difference calc
...
previously yaw difference would appear as roll, pitch differrences
4 years ago
Peter Barker
9eeec61cec
AP_AHRS: new APIs for takeoff/touchdown expected
...
timeout handling now in AP_AHRS, and state stored in AHRS and
requested by AP_DAL
4 years ago
murata
fcba2a6e69
AP_AHRS: Remove unused methods
4 years ago
Peter Barker
ea1884f491
AP_AHRS: remove separate calls to get delta-times for vel and ang
4 years ago
Paul Riseborough
9b53d505ea
AP_AHRS: Handle airspeed estimation with have_inertial_nav() == false
4 years ago
Paul Riseborough
aa49e92edc
AP_AHRS: Remove unused AP_AHRS_NavEKF::yaw_alignment_complete API
4 years ago
Paul Riseborough
1a3258a039
AP_AHRS: Fall back to DCM airspeed estimate if EKF velocity not available
4 years ago
Paul Riseborough
ec401083bf
AP_AHRS: Remove unused variable
4 years ago
Paul Riseborough
af2bf6097b
AP_AHRS: Add accessor function for EKF3 yaw alignment status
4 years ago
Paul Riseborough
a0faa55ef5
AP_AHRS: Fix rebase build error
4 years ago
Andrew Tridgell
6d6ec44d59
AP_AHRS: fixed build on boards without EKF2
4 years ago
Paul Riseborough
d1d790019c
AP_AHRS: Improve use of estimated airspeed
...
Enable default airspeed variance to be specified externally to the EKF
Enable use of EKF airspeed estimates
4 years ago
Randy Mackay
62932f884f
AP_AHRS: pre_arm_check may skip position checks
4 years ago
Randy Mackay
0cc9fd2b5d
AP_AHRS_NavEKF: get_secondary_quat and position may return EKF3 value
4 years ago
Peter Barker
9099a9b622
AP_AHRS: correct names for active EKF type
4 years ago
Andrew Tridgell
b73131cdbc
AP_AHRS: review fixes
4 years ago
Andrew Tridgell
4e33b74d69
AP_AHRS: call external AHRS update
4 years ago
Andrew Tridgell
b5b9b57c9e
AP_AHRS: added external AHRS mavlink status
4 years ago
Andrew Tridgell
75ad1a7d31
AP_AHRS: send a text msg when active EKF changes
4 years ago
Andrew Tridgell
e284c5694d
AP_AHRS: added AHRS_EKF_TYPE=11 for external AHRS
4 years ago
Paul Riseborough
3a0105fcc3
AP_AHRS: Add accessor function for body frame airspeed vector
4 years ago
Peter Barker
ca41a19072
AP_AHRS: AHRS itself must also be healthy to arm, not just the "backend"
4 years ago
Peter Barker
55cb3e8ef0
AP_AHRS: get airspeed sensor from singleton not AHRS object
4 years ago
Andrew Tridgell
0a80fce8b8
AP_AHRS: removed inhibitGps and inhibitGpsVertVel options
...
these were unused
4 years ago
Randy Mackay
8c2688605e
AP_AHRS: active_EKF_type fallback to DCM checks if GPS configured for use
4 years ago
Randy Mackay
4b542aa714
AP_AHRS: add get_vel_innovations_and_variances_for_source
4 years ago
Randy Mackay
dc5d1d099b
AP_AHRS: add set_posvelyaw_source_set
4 years ago
Andrew Tridgell
cb830dcc11
AP_AHRS: added comment from review
4 years ago
Andrew Tridgell
1bc82d3118
AP_AHRS: removed have_ekf_logging()
4 years ago
Andrew Tridgell
9b35bfba55
AP_AHRS: use enum class for takeoff/touchdown states
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
4 years ago
Andrew Tridgell
31fbb59384
AP_AHRS: delay EKF start until logging ready
...
for replay to work reliably we need all the parameters output before
we init the EKF.
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
4 years ago
Peter Barker
814aa4e5ec
AP_AHRS: take secondary attitude from EKF3 if it is configured
4 years ago
Randy Mackay
6a72805f07
AP_AHRS: get_variances does not return offset
...
the offset is not a variance and is not actually used by any callers of this function
4 years ago
Peter Barker
d4cb14b262
AP_AHRS: remove magic resetting of EKF type 1 to 2
...
If EKF2 is not compiled in the current compatability code will not work
so well.
Throw the user over to the config error loop and they can fix it there.
4 years ago
Randy Mackay
1d97416a51
AP_AHRS: replace prearm_healthy with pre_arm_check
...
Also removes prearm_failure_reason
4 years ago
Andrew Tridgell
a4e7c72635
AP_AHRS: removed duplicate implementation of airspeed_estimate()
5 years ago
Harshit Kumar Sankhla
b5b3298f0a
AP_AHRS: get airspeed estimate from non-primary instances too
...
with multiple airspeed sensors and airspeed affinity in EKF3,
it is possible to have switched over to a lane not using the
primary airspeed sensor, so AHRS should know which airspeed
sensor to use, i.e, the one being used by the primary lane.
5 years ago
Andrew Tridgell
e5e092d077
AP_AHRS: check EKF status for having horizontal position estimate
...
this will allow a fixed wing to fall back to DCM if the EKF stops
providing an absolute position while we have 3D GPS lock. The
using_gps flag is not enough, as lagged GPS data can lead to the EKF
stopping fusing when the data is behind the fusion time horizon. In
that case EKF3 gives using_gps=1 but sets horiz_pos_abs=0
5 years ago
Peter Barker
37340b846d
AP_AHRS: correct includes
5 years ago