Jaaaky
f21e4d833c
AP_NavEKF3: Fix GPS < 3D empty PreArm: msg-as EKF2
6 years ago
Randy Mackay
0a5d6a430a
AP_NavEKF3: accept optical flow data at up to 50hz
6 years ago
Andrew Tridgell
e4f6ffe719
AP_NavEKF3: fixed bug in EKF lane selection
...
this fixes an issue in selecting the best lane to change to when we
have 3 or more EKF cores. The bug is that if the current lane is
unhealthy it would always choose the last healthy lane instead of
choosing the lane with the lowest score
6 years ago
Michael du Breuil
fe3b29a088
AP_NavEKF3: Allow checking all cores for health
6 years ago
Pierre Kancir
b3a1c9c90c
AP_NavEKF3: use get_distance_NE instead of location_diff
6 years ago
Paul Riseborough
9aaa0cd2e0
AP_NavEKF3: Fix typo in comment
6 years ago
Paul Riseborough
b7e0a2345c
AP_NavEKF3: Fix indexing error
...
Caused by copy and paste from AP_NavEKF2 which useds index 5 for vertical velocity. EKF3 should use index 6.
6 years ago
Paul Riseborough
0d3e1a7d23
AP_NavEKF3: flow use parameter improvements
6 years ago
Paul Riseborough
d3e9281846
AP_NavEKF3: Update default plane optical flow param values
...
Reduce time required to form estimate of terrain offset
6 years ago
Paul Riseborough
35c82ef67f
AP_NavEKF3: Improve optical flow height estimation
6 years ago
Paul Riseborough
b848e231c7
AP_NavEKF3: Add parameter to control how optical flow data is used
6 years ago
Mark Whitehorn
3c432cf25c
AP_NavEKF3: add getQuaternionBodyToNED
6 years ago
Tom Pittenger
17ee20af3f
AP_NavEKF3: rename dataflash to logger
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
390e0fa601
AP_NavEKF3: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Arjun Vinod
f382a657bd
AP_NavEKF3: fixed typos
6 years ago
Tom Pittenger
55377b234f
AP_NavEKF3: remove HAL_CPU_CLASS_150 check, 150 is already a minimum requirement
6 years ago
Tom Pittenger
8a6a39b590
AP_NavEKF3: unify singleton naming to _singleton and get_singleton()
6 years ago
Andrew Tridgell
39ffef1f08
AP_NavEKF3: fixed EKF compass switching
...
when we had 3 compasses the lack of the 'break' meant when we switched
compass in flight we would always switch back instantly to the one
that we had just rejected.
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
0d4475f443
AP_NavEKF3: adjust for Location_Class and Location unification
6 years ago
Peter Barker
dd8da7321c
AP_NavEKF3: adjust for location flags being moved out of union
6 years ago
Randy Mackay
c616587b86
AP_NavEKF: increase ABIAS_P_NSE param doc range to 0.005
6 years ago
Pierre Kancir
340429fbbb
AP_NavEKF3: pass by const reference when needed
6 years ago
Michael du Breuil
25ef5fed82
AP_NavEKF3: Suppress clearing non-trival type warning
6 years ago
Andrew Tridgell
de58fb4637
AP_NavEKF3: support in-flight compass learning
6 years ago
Peter Barker
560f17a570
AP_NavEKF3: use union to alias array and struct access to states
...
This avoids creating two pointers of different types to the same memory.
Having two pointers to the same memory can lead to the compiler
optimising code such that a write to one pointer is rearranged to be
either before or after a read from the other pointer depending on
which is deemed faster - not a good outcome.
6 years ago
Peter Barker
27e3a89158
AP_NavEKF3: correct compilation when running MATH_CHECK_INDEXES
6 years ago
Peter Barker
281fad53c2
AP_NavEKF3: always set EKF control limits, even with no cores
6 years ago
Peter Barker
b68a91d171
AP_NavEKF3: remove default clause in setAidingMode
...
All aiding modes should be covered in the switch statement; adding the
default clause squelches a potentially useful compiler warning
6 years ago
Michael du Breuil
1991f223ac
AP_NavEKF3: Fix roundoff, and missing offset handling of getLLH
6 years ago
Peter Barker
be9235a581
AP_NavEKF3: fix writeOptFlowMeas signature
...
const some of the vectors, stop taking references to scalars that aren't
being changed
7 years ago
Randy Mackay
3d72022f6e
EKF: modify ALT_SOURCE param description
...
We regularly find users changing the ALT_SOURCE to 1 (range finder) when trying to implement terrain following which is not the correct way to do it
7 years ago
Andrew Tridgell
ac40a20c02
AP_NavEKF3: fill in gps_quality_good flag
7 years ago
Peter Barker
6bf5ffdb6d
AP_NavEKF3: use compass singleton for logging
7 years ago
murata
4d5e258b19
AP_NavEKF3: Delete unused definitions
7 years ago
murata
f0a6cd5846
AP_NavEKF3: Clarify the message
7 years ago
Andrew Tridgell
553abda91c
AP_NavEKF3: use single precision ceilf()
7 years ago
Andrew Tridgell
4869dd0ae4
AP_NavEKF3: send airspeed variance over mavlink
7 years ago
Peter Barker
901ba0034c
AP_NavEKF3: do not pass GPS into Log_Write_GPS; it uses singleton
7 years ago
Peter Barker
a0d874baa2
AP_NavEKF3: const accessors
7 years ago
Peter Barker
6791808ac6
AP_NavEKF3: remove unneeded initialisations
...
AP_NavEKF3 should never be allocated in uninitialised memory
7 years ago
Peter Barker
d38ff1dd2c
AP_NavEKF3: initialise EKF3 constants in declaration not constructor
7 years ago
Pierre Kancir
2b2c1e2d78
AP_NavEKF3: only use bcn EKF is the alignement as been completed
7 years ago
Pierre Kancir
44a21bc8ac
EKF3: correct acos to acosf
7 years ago
Pierre Kancir
48c5a9b9c5
AP_NavEKF3: style change in BCN mesurements
7 years ago
Pierre Kancir
4d2f2a2aad
AP_NavEKF3: correct flag in case of GPS disable
7 years ago
priseborough
5785523a0d
AP_NavEKF3: Clarify definition for gps_glitching flag
7 years ago
Peter Barker
55b8a2288e
AP_NavEKF3: use ins singleton
7 years ago
Peter Barker
7b1a906c4e
AP_NavEKF3: use baro singleton
7 years ago