Paul Riseborough
eaf94935f0
EKF: Fix bug in initialisation of height and magnetic field
...
This prevents zero data being used to form the initial height and magnetic field.
Do not start sampling initial values until non-zero time values are retrieved from the buffer.
9 years ago
Paul Riseborough
03eac2f25e
EKF: Apply covariance prediction derivation changes
9 years ago
CarlOlsson
8678a939e2
removed reinitialization of intermediate variables
9 years ago
CarlOlsson
ec9902d802
added fault status reporting
9 years ago
CarlOlsson
1ea26b406a
change name to true_airspeed
9 years ago
Roman Bapst
27b894540e
put airspeed fusion logic but don't actually call it yet
9 years ago
Roman Bapst
1b7115dec9
increased airspeed fusion rate to 12.5Hz
9 years ago
CarlOlsson
f5a9afd278
moved init
9 years ago
CarlOlsson
f990d99790
fixed bug
9 years ago
CarlOlsson
4301e1105b
added commas
9 years ago
CarlOlsson
81fc086b76
adopted ekf_interface.h
9 years ago
CarlOlsson
d440c883b5
adopted ekf_interface.cpp
9 years ago
CarlOlsson
f8878d41dc
adopted ekf_helper.cpp
9 years ago
CarlOlsson
6bb2f7638c
adopted ekf.h
9 years ago
CarlOlsson
0918fa04c7
adopted ekf.cpp
9 years ago
CarlOlsson
92abf93c8f
adopted common.h
9 years ago
CarlOlsson
0fb1e0578b
added function for fusing airspeed
9 years ago
Paul Riseborough
400a6e12ba
EKF: Ensure all data in buffers is initialised
...
This is a defensive change to prevent introduction of NaN's into the filter if data is read from the incorrect place in the buffer.
9 years ago
Paul Riseborough
064a0e4dbc
EKF: Don't use GPS to set position noise when not using GPS
9 years ago
Paul Riseborough
c23d72ba29
EKF: Ensure filter control modes are correctly initialised
9 years ago
Paul Riseborough
9f3b1351f7
EKF: Don't initialise velocity to GPS on initial alignment
...
For initial alignment the velocity and position should start at zero
9 years ago
Paul Riseborough
687fcc70be
EKF: Explicitly define type conversion for GPS height
9 years ago
Paul Riseborough
e334a5dc57
EKF: Add check for NaN's on attitude states
9 years ago
Paul Riseborough
6b2e2dba90
EKF: Add GPS height option and improve height recovery
9 years ago
Paul Riseborough
63b0cf4360
EKF: Fix baro height offset bug
9 years ago
Paul Riseborough
49023f3d7e
EKF: fix travis build error
9 years ago
Paul Riseborough
7677a162aa
EKF: Don't start the output observer before the main filter has initialised
...
This prevents the possibility of output transients if alignment is delayed.
9 years ago
Paul Riseborough
d2407c3463
EKF: code style updates
9 years ago
Paul Riseborough
c58ab3e256
EKF: Enable fallback to baro alt when using range finder for height
9 years ago
Paul Riseborough
370f643f42
EKF: Enable use of range finder for primary height source
9 years ago
Paul Riseborough
109e0e6dfc
EKF: When commencing GPS aiding, don't reset local position and velocity if using optical flow
9 years ago
Paul Riseborough
26238bc2f5
EKF: Allow for change in position when defining the WGS-84 origin position
...
This allows GPS aiding to commence later in flight without step changes in local position output
9 years ago
Paul Riseborough
e0fcce1463
EKF: Make position and velocity reset publish success
...
Some users of the position and velocity reset functions will need to know if the reset has been successful.
9 years ago
Paul Riseborough
48f980b054
EKF: Fix syntax causing posix build to fail
9 years ago
Paul Riseborough
eab0ef4266
EKF: Update default process noise for terrain estimator
9 years ago
Paul Riseborough
962fd0aaf2
EKF: Adjust terrain process noise for gradient effect
9 years ago
Paul Riseborough
1a2da887ab
EKF: Fix bug in calculation of terrain estimator Kalman gain
9 years ago
Paul Riseborough
cc5512905a
EKF: prevent optical flow, GPS and baro fusion from blocking each other
9 years ago
Paul Riseborough
ffebaf384f
EKF: Set initial optical flow fusion monitor outputs to zero
9 years ago
Paul Riseborough
5acd1cbac4
EKF: Make definitions of parameters clearer for external use
9 years ago
Paul Riseborough
dd1d58bab5
EKF: Remove unnecessary matrix operations from optical flow fusion
...
The updated formulation means that H_LOS[][8] is always zero, so these operations are no longer required.
9 years ago
Paul Riseborough
b3b0f1347a
EKF: Make normal GPS mode the default
9 years ago
Paul Riseborough
d97d308ca7
EKF: Add control of optical flow and range finder fusion
9 years ago
Paul Riseborough
836fe39070
EKF: Update external interface functions to support optical flow
9 years ago
Paul Riseborough
2ff338048d
EKF: Add support for range-finder fusion as primary height reference
9 years ago
Paul Riseborough
2c2850c0ce
EKF: Add functions to get position and velocity state variance
9 years ago
Paul Riseborough
32b03819ef
EKF: Add function to calculate global position validity
9 years ago
Paul Riseborough
270451e17b
EKF: Update height reset to support range finder height use
9 years ago
Paul Riseborough
dca186c6e8
EKF: Add required declarations for optical flow
9 years ago
Paul Riseborough
122dd9c531
EKF: Add source file for optical flow LOS rate fusion
9 years ago