nrt
5decc08dd4
AP_NavEKF: added a getter function for active source set
3 years ago
Andrew Tridgell
a941e4cd41
AP_NavEKF: re-implemented EKF ring buffer
...
this fixes a bug where elemnts being pushed into the buffer more
slowly than we recall can be lost
for example, if you push a single element in then try a recall it will
fail
3 years ago
Andrew Tridgell
19da623077
AP_NavEKF: added test suite for EKF ring buffer
3 years ago
Pierre Kancir
83dd5be637
AP_NavEKF: fix line ending
3 years ago
Andrew Tridgell
72470e290c
AP_NavEKF: fixed use of configured() vs configured_in_storage()
3 years ago
Randy Mackay
6553b9145a
AP_NavEKF: filter status gets dead_reckoning bit
3 years ago
Peter Barker
ad4c29748e
AP_NavEKF: getYawData also provides number of clipping models
...
In the case of the compass calibrator we do not want to use the GSF
result if any model is degenerate. We've had a compass calibrate in
flight 180-degrees out from what it should have.
3 years ago
Randy Mackay
291d709409
AP_NavEKF: GSF comment typo fix
3 years ago
Randy Mackay
9d73cfb28f
AP_NavEKF: GSF logging in deg from 0 to 360
3 years ago
RuffaloVM
4d40ef5d0a
AP_NavEKF : remove the space around the operator
3 years ago
Peter Barker
884450868e
AP_NavEKF: use length_squared in place of length
3 years ago
Andy Piper
9084d19273
AP_NavEKF: disable warnings on clang
3 years ago
Andrew Tridgell
a6142fa3dd
AP_NavEKF: added rejecting_airspeed flag in EKF status
3 years ago
Peter Barker
1db7e9e2e2
AP_NavEKF: log EKF data source set changes
4 years ago
Willian Galvani
fe99d3e217
AP_NavEKF_Source: add vertical position to pre_arm_check() description
4 years ago
Andrew Tridgell
b83c7f3025
AP_NavEKF: mark log messages as streaming
4 years ago
Peter Barker
b89824b3ba
AP_NavEKF: log EKF data source set in XKFS
4 years ago
bugobliterator
6988bf862b
AP_NavEKF: fix running out of max stack limit on debug builds
4 years ago
Andrew Tridgell
b11450c18c
AP_NavEKF: review feedback
4 years ago
Andrew Tridgell
338ab28dea
AP_NavEKF: larger frame limit for --enable-math-check-indexes
4 years ago
Andrew Tridgell
3235747ef8
AP_NavEKF: allow for double EKF build
4 years ago
murata
0536be1c88
AP_NavEKF: Change misnomer (NFC)
4 years ago
Paul Riseborough
afb31bc4f5
AP_NavEKF: Add underflow protection to yaw GSF weight normalisation
...
This improves protection against a condition where if all yaw hypothesis filers have very large innovations, the weights of Gaussian densities can underflow leading to failure of the weights to converge.
4 years ago
murata
6e6e807223
AP_NavEKF: Change misnomer (NFC)
4 years ago
Peter Barker
a3dcf5a6ff
AP_NavEKF: move GSF logging from EKF files into GSF files
4 years ago
Randy Mackay
8ecac27777
AP_NavEKF_Source; pre_arm_check may skip position checks
4 years ago
Randy Mackay
77af6df730
AP_NavEKF: rename EXTERNAL to GPS
4 years ago
Randy Mackay
0fb168d6ab
AP_NavEKF: source supports GSF yaw
4 years ago
Randy Mackay
5891c6ace8
AP_NavEKF3: separate GPS yaw from ExtNav yaw
4 years ago
Randy Mackay
fca8eb0778
AP_NavEKF_Source: add ExtNav yaw source
4 years ago
Arsh
3df1bd84e1
AP_NavEKF_Source:Fixed some style issues
4 years ago
Randy Mackay
20f1603b73
AP_NavEKF: source skips compass pre-arm check
4 years ago
Randy Mackay
4998b536b4
AP_NavEKF: source returns YawSource None if COMPASS_USE all zero
4 years ago
Randy Mackay
dfd1c23cd3
AP_NavEKF: source format fix
4 years ago
Andrew Tridgell
218c0e4385
AP_NavEKF: Source's active_source_set becomes index
4 years ago
Andrew Tridgell
89f9b9e9b0
AP_NavEKF3: use AP_Enum to make code clearer
4 years ago
Randy Mackay
754002525e
AP_NavEKF: constify EKFGSF_yaw members
4 years ago
Randy Mackay
000a2b17c3
AP_NavEKF_Source: remove unused setVelZSource
4 years ago
Randy Mackay
7f15b7b126
AP_NavEKF_Source: prearm check of wheelencoders
4 years ago
Andrew Tridgell
4fdbbd8984
AP_NavEKF: added functions to see if a nav source is enabled
...
this allows us to avoid initialising ring buffers when not needed
4 years ago
Andrew Tridgell
ab917ed92e
AP_NavEKF: add more protections on ring buffer code
...
declare an internal error if we try to access an element when not
initialised
4 years ago
Peter Barker
fdbffd19c6
AP_NavEKF_Source: remove defaults for baro and compass
...
This makes all our defaults "NONE", meaning that a user will not see a
prearm failure for any source other than those in the primary set when
using the default configuration.
4 years ago
Peter Barker
8124c3fea8
AP_NavEKF_Source: set compass_required if we require a compass
4 years ago
Randy Mackay
6c3948f417
AP_NavEKF_Source: optimise configured_in_storage
...
This small CPU optimisation takes advantage of the fact that once configured in storage is true it will always remain true
4 years ago
Andrew Tridgell
fe81387433
AP_NavEKF: allow init twice
...
this can happen if setup_core() fails with low mem and is called again
4 years ago
Andrew Tridgell
e4a9497942
AP_NavEKF: added common EKF buffer classes
4 years ago
Randy Mackay
0119c48e1e
AP_NavEKF_Source: add mark_configured_in_storage
4 years ago
Randy Mackay
50b2cf136f
AP_NavEKF_Source: default OPTIONS to 1 (fuse all velocities)
4 years ago
Randy Mackay
9b84abecaa
AP_NavEKF_Source: enables dynamically changing sensor sources
4 years ago
Paul Riseborough
78e10e99f5
AP_NavEKF: Add accessor for yaw estimator velocity innovation length
4 years ago