Peter Barker
578facc9ad
AP_NavEKF2: do not pass GPS into Log_Write_GPS; it uses singleton
7 years ago
Peter Barker
81044760c7
AP_NavEKF2: const accessors
7 years ago
Paul Riseborough
c680b931dc
AP_NavEKF2: Enable fusion of external nav position data
7 years ago
Peter Barker
40957ec430
AP_NavEKF2: use ins singleton
7 years ago
Peter Barker
5ab89324b2
AP_NavEKF2: use baro singleton
7 years ago
Peter Barker
5b7d5a9757
AP_NavEKF2: mark getEulerAngles as const
7 years ago
Peter Barker
3a99b2bce1
AP_NavEKF: move initialisation of EKF constants into header file
...
Various comments where getting out of sync with one-another, and
having everything in one place lets you match values against types.
7 years ago
bugobliterator
b1213a522d
AP_NavEKF2: allocate NavEKF core from MEM_FAST region
7 years ago
Peter Barker
9c8466dc03
AP_NavEKF2: use GPS singleton
7 years ago
priseborough
efdc651d1a
AP_NavEKF2: Require reboot after changing ALT_SOURCE parameter
...
Toggling between alt sources in flight using the parameter can have unpredictable effects due to the various height offsets and the possibility that the data source may be unavailable.
7 years ago
priseborough
f2f3067326
AP_NavEKF2: Add interface to control GPS vertical velocity use
8 years ago
priseborough
027552ef44
AP_NavEKF2: Fix default behaviour for height origin corrections
...
Previous default was to apply in-flight height origin changes to local position instead of to reported origin height. This caused problems with copters that took off before getting GPS lock.
8 years ago
Peter Barker
5da3759ff4
AP_NavEKF2: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
7426bdb9b7
AP_NavEKF2: Fix long description of EK2_OGN_HGT_MASK parameter
8 years ago
priseborough
b42fb31d7d
AP_NavEKF2: Change default value of EK2_OGN_HGT_MASK
...
Turn off by default.
Update parameter description
8 years ago
priseborough
77d21f72d4
AP_NavEKF2: Allow reporting of origin height for specified instance
8 years ago
priseborough
36e7dfb5f6
AP_NavEKF2: Improve GPS reference height estimator
...
Fix rounding error bug preventing state from updating after initial convergence.
Decouple GPS reference height from published EKf origin height.
Add bitmask parameter to control update and publishing of GPS reference height.
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
3f6059397c
AP_NavEKF2: Add missing @RebootRequired : True
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
38b19b9eee
AP_NavEKF2: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
ce37517268
AP_NavEKF2: Improve comments, typos
8 years ago
Andrew Tridgell
2de8777669
AP_NavEKF2: added inter-EKF scheduling cooperation
...
this changes the stragegy for load levelling between EKF cores so it
works between EK2 and EK3, and with future estimators as well.
It allows us to run EK3 and EK2 at the same time with good scheduling
performance
8 years ago
Andrew Tridgell
ee5c032f27
AP_NavEKF2: added recording of timing statistics
8 years ago
Randy Mackay
b255c7b370
AP_NavEKF: add setOrigin
8 years ago
Andrew Tridgell
9f3c2cb704
AP_NavEKF2: allow access to quaternion for each instance
8 years ago
Jacob Walser
646d68c76d
AP_NavEKF2: Fix parameter metadata
8 years ago
priseborough
407a60e599
AP_NavEKF2: log correct GPS for replay
8 years ago
Michael du Breuil
8b69f1708e
NavEKF2: Add optional check for GPS vertical accuracy before aligning the EKF
8 years ago
priseborough
1a7b5538e5
AP_NavEKF2: Enable simple heading fusion to be set for specific cores
8 years ago
priseborough
7ea37029b6
AP_NavEKF2: use standard unit descriptor for milliseconds
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
715d094678
AP_NavEKF2: Correct display names, bitmask and units
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
9389ec2274
AP_NavEKF2: fix parameter descriptions
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
d408d25f92
More spelling stuff
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea
Spell in comments
8 years ago
priseborough
76106889d5
AP_NavEKF2: Prevent unwanted core switch on startup
...
Require primary core to be healthy for 10 seconds before starting selection logic
8 years ago
priseborough
14a0155f5e
AP_NavEKF2: Allow threshold speed for range finder use to be adjusted
8 years ago
priseborough
665ba1c009
AP_NavEKF2: Fix bug in reporting of vertical position reset
...
Fixes a bug that allows the last reported reset time to to wind back and an out of date reset delta to be reported if a switch to a core that has previously been reset occurs.
Allows multiple consumers provided they access on the same frame.
8 years ago
priseborough
7f347e39dd
AP_NavEKF2: Fix bug in reporting of horizontal position reset
...
Fixes a bug that allows the last reported reset time to to wind back and an out of date reset delta to be reported if a switch to a core that has previously been reset occurs.
Allows multiple consumers provided they access on the same frame.
8 years ago
priseborough
656d9bb2c4
AP_NavEKF2: Fix bug in reporting of yaw reset
...
Fixes a bug that allows the last reported reset time to to wind back and an out of date reset delta to be reported if a switch to a core that has previously been reset occurs.
Allows multiple consumers provided they access on the same frame
8 years ago
Randy Mackay
66a9093cd0
AP_NavEKF2: getRangeBeaconDebug returns false on failure to get beacon data
8 years ago
priseborough
ef03a85cd3
AP_NavEKF2: add range beacon interface and fusion method
8 years ago
priseborough
0a177d04fd
AP_NavEKF2: Simply core switch implementation
...
Functionally equivalent
8 years ago
priseborough
0df45703f1
AP_NavEKF2: Fix errors in position reset delta publishing
8 years ago
priseborough
f6021c959d
AP_NavEKF2: capture and publish vertical position reset deltas
...
Calculate the change in vertical position due to a internal EKF state reset or a EKF core switch
8 years ago
priseborough
e62863f9a1
AP_NavEKF2: Reduce unnecessary EKF core switching
...
1) Do not switch to a core until its states have been updated.
2) Distinguish between mandated switches required for health failure and optional switches required due to innovation checks failing.
3) Apply hyseresis to innovation check levels
8 years ago
Andrew Tridgell
82365f8670
AP_NavEKF2: save some memory in the position offsets in EKF2
...
we don't need to copy that vector3f for every sample. A uint8_t does
the job
8 years ago
priseborough
fd905c23e1
AP_NavEKF2: Add body position offset to optical flow interface
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
priseborough
e0b8c54194
AP_NavEKF: Update GPS type parameter description
8 years ago
priseborough
ab55991b33
AP_NavEKF2: Report position jumps due to lane switches
...
Also moves code required to update reset data due to lane switches into separate functionscto improve readability.
8 years ago
Francisco Ferreira
42cd8e9721
AP_NavEKF2: Handle yaw jumps due to core switches
...
Based on work from Paul Riseborough (priseborough)
8 years ago