Peter Barker
c6ec6cb428
AP_NavEKF2: apply -O2 to AP_NavEKFx.h
...
the core.h file adjusts the optimisation level; use it when including the AP_NavEKFx.h header file
2024-12-17 11:18:54 +11:00
Andrew Tridgell
cf45dbf284
AP_NavEKF2: fixed return of common origin
...
when common origin is set we should return that, not backends private
origin
2024-09-10 09:28:50 +10:00
Andrew Tridgell
3444de06b1
AP_NavEKF2: allow setOrigin when using GPS
...
this allows for use of a common origin between backends, and aligns
with EKF3 behaviour
2024-09-10 09:28:50 +10:00
Peter Barker
8b8307c132
AP_NavEKF2: correct includes
2024-09-06 08:52:01 +10:00
Peter Barker
2bb6846d47
AP_NavEKF2: stop including AP_DAL.h in header
...
it's not needed and will slow compilation down
2024-09-06 08:52:01 +10:00
Peter Barker
7d1e1ef924
AP_NavEKF2: use enum class for DAL MemoryType
2024-09-04 09:51:08 +10:00
Andrew Tridgell
1b4fb403f2
AP_NavEKF2: added EK2_OPTIONS
...
this allows for disabling of external navigation data (such as visual
odomotry) in EKF2. This is very useful when using EKF2 as a fallback
and truth reference when testing visual odomotry on EKF3
2024-08-21 06:32:34 +10:00
Iampete1
b95b51f1a1
AP_NavEKF2: use set_and_defualt when changing imu mask
2024-03-26 11:35:36 +11:00
Andrew Tridgell
5a5c9d10a9
AP_NavEKF2: handle core setup failure
...
ensure num_cores is left as zero so that calls such as Log_Write don't
de-reference nullptr
2023-05-08 16:28:08 +10:00
Peter Barker
38c6eb24cd
AP_NavEKF2: avoid using struct Location
...
clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Iampete1
0b8bc4798a
AP_NavEKF2: pre-arm return failure message for correct core
2023-01-31 13:36:56 +11:00
Stephen Dade
c0df999094
AP_NavEKF2: Add support for fixed height optical flow
2022-12-01 08:03:47 +09:00
Peter Barker
c46a50f428
AP_NavEKF2: stop using GCS_MAVLINK.h in header files
...
... by passing through a reference to a link object instead
2022-08-16 09:45:51 +10:00
Peter Barker
04a64a20fa
AP_NavEKF2: remove instance id from EK2 external interface
...
Removes passing of instance id in interfaces where -1 was the only value
ever passed in
2022-04-12 10:25:29 +10:00
Henry Wurzburg
5e6447e893
AP_NavEKF2: update and correct GSF parameter documentation
2022-02-15 10:56:35 +11:00
Peter Barker
1886b2dccd
AP_NavEKF2: fix type, 'willbe' -> 'will be'
2021-12-17 09:44:57 +09:00
Andrew Tridgell
efc78359d7
AP_NavEKF2: revert compass parameter changes
2021-12-04 16:51:53 +11:00
Josh Henderson
9f2082496c
AP_NavEKF2: allow define for IMU_MASK_DEFAULT
2021-11-30 10:20:54 +11:00
Iampete1
4303b61f94
AP_NavEKF2: update compass param discription
2021-11-30 08:14:43 +09:00
Andrew Tridgell
0d8cf00c5a
AP_NavEKF2: add accessor for GSF yaw estimator
2021-11-01 09:00:27 +11:00
Andy Piper
78621668f8
AP_NavEKF2: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
2021-10-26 11:42:12 +11:00
Gone4Dirt
9090cb1271
AP_NavEKF2: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
TunaLobster
7dd40f0cab
AP_NavEKF2: Remove @RebootRequired: False
2021-08-19 10:00:16 +10:00
Randy Mackay
f8399fe3de
AP_NavEKF2: remove unused EK2_GSF_DELAY param
2021-08-06 07:00:46 +09:00
Peter Barker
b5f165ce2e
AP_NavEKF2: pass NavEKF failures back up to callers
2021-07-21 18:02:26 +10:00
Josh Henderson
d7ecd6883d
AP_NavEKF2: non_GPS modes ensure EKF origin set only once and stays in sync
...
ekf2
2021-06-22 12:01:10 +10:00
Andrew Tridgell
32b079911f
AP_NavEKF2: use DAL APIs for takeoff/touchdown expected
2021-06-02 11:13:16 +09:00
murata
24591d68bc
AP_NavEKF2: Change misnomer (NFC)
2021-03-15 18:21:15 +11:00
Paul Riseborough
ac00776184
AP_NavEKF2: DAL interface compatibility change
2021-03-05 12:10:01 +11:00
murata
af639f7812
AP_NavEKF2: Change misnomer (NFC)
2021-03-03 20:49:55 +11:00
Peter Barker
445a461f12
AP_NavEKF2: remove getFilterTimeouts access methods
2021-01-22 13:04:36 +11:00
Peter Barker
dddb285209
AP_NavEKF2: remove internal-only getTiltError method
2021-01-21 21:26:17 +11:00
Peter Barker
6b60bae068
AP_NavEKF2: remove unused getAccelNED method
2021-01-21 21:26:17 +11:00
Randy Mackay
60633f5a7f
AP_NavEKF2: disable ekf2 by default
2021-01-16 08:24:23 +09:00
Andrew Tridgell
b36bfe4206
AP_NavEKF2: fixed init order for scheduler
...
this can impact replay of EKF2
2021-01-02 10:30:26 +11:00
Paul Riseborough
b372d62f35
AP_NavEKF2: Add accessor function for body frame airspeed vector
2020-12-11 15:21:41 +11:00
Peter Barker
d600b87454
AP_NavEKF2: make logging a core concern
2020-12-01 13:06:04 +11:00
Andrew Tridgell
7313e9eb0f
AP_NavEKF2: removed inhibitGps and inhibitGpsVertVel options
...
these were unused
2020-12-01 10:33:50 +11:00
Randy Mackay
4087d7b792
AP_NavEKF2: add configuredToUseGPSForPosXY
2020-11-25 21:00:07 +11:00
Andrew Tridgell
3a4095fc7f
AP_NavEKF2: use common structure names
2020-11-17 13:45:07 +11:00
Andrew Tridgell
7d7031d3d7
AP_NavEKF2: added const (review request)
2020-11-10 16:15:45 +11:00
Andrew Tridgell
8591b31665
AP_NavEKF2: cleanup unused code
2020-11-10 16:15:45 +11:00
Andrew Tridgell
bec095d661
AP_NavEKF2: support replay with external navigation data
2020-11-10 16:15:45 +11:00
Andrew Tridgell
90a8c5cb1a
AP_NavEKF2: use ekf_low_time_remaining for core scheduling
2020-11-10 16:15:45 +11:00
Andrew Tridgell
6be3d19e82
AP_NavEKF2: convert to use AP_DAL for new replay structure
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Peter Barker
84c92b717f
AP_NavEKF2: make coreBetterScore const
2020-11-03 10:39:35 +11:00
Andrew Tridgell
dc32f7a12f
AP_NavEKF2: fixed multi-core yaw reset
...
thanks to Alex Burka for finding this
2020-10-24 19:35:30 +11:00
Randy Mackay
b2d4622320
AP_NavEKF2: replace prearm_healthy with pre_arm_check
2020-10-07 11:53:07 +11:00
Andrew Tridgell
067001bd61
AP_NavEKF2: take into account alignment when comparing cores
...
ensure we don't switch to a lane that does not have yaw or tilt
alignment from a lane that is aligned
2020-09-14 20:29:04 +10:00
Peter Barker
032b7c81e5
AP_NavEKF2: correct includes
2020-08-07 19:20:07 +10:00