Paul Riseborough
2bc50489fd
Merge pull request #210 from PX4/remove_KH
...
EKF: reduce KH to only the elements that are really needed, and merge the loops
8 years ago
Beat Küng
07c6aabd98
EKF: reduce KH to only the elements that are really needed, and merge the loops
8 years ago
Paul Riseborough
1b59a89a18
EKF: save some stack memory
8 years ago
Beat Küng
f472324ae8
DataValidatorGroup: remove the assert
...
(avoid crashes in flight)
8 years ago
Beat Küng
25cb400da9
EKF: remove Ekf::KHP and move KHP to the methods where it's used
...
Everywhere where KHP is used, it is first completely reset, thus making
it unnecessary to keep it as a class member.
This saves 2.3KB RAM.
Stack sizes don't need changing, since there is already a function
Ekf::predictCovariance(), which needs around 3KB of stack and is called
close to where the fuse* functions are called.
8 years ago
Beat Küng
227938d263
DataValidatorGroup: add add_new_validator() to dynamically add new validators
8 years ago
Beat Küng
ded3b1a690
DataValidatorGroup: fix memory leak, delete all DataValidator's in destructor
8 years ago
Beat Küng
b870f92e1c
DataValidator: use 32bit timeout instead of 64bit, saves memory
8 years ago
Paul Riseborough
d07692e87e
Merge pull request #204 from PX4/pr-gpsReset
...
ekf reset: more granular reset / timeout strategy for gps fusion
8 years ago
Paul Riseborough
79df7e8889
EKF: Reduce effect of bad airspeed when other aiding data available
8 years ago
Paul Riseborough
968cfae632
EKF: Fix bug preventing fallback from GPS mode if GPS is lost
8 years ago
Roman
63cf3d50be
ekf gps reset: do not bother checking for need of reset if gps is not
...
available
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Roman
c5f750dcca
ekf reset: more granular reset / timeout strategy for gps fusion
...
- if both gps position and velocity measurements are rejected for 7 seconds
do a reset
- if only gps position measurements are rejected then wait for 14 seconds
as we still have velocity measurements to constrain the drift in position
- introduced ecl internal parameter for the timeout
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Roman Bapst
65de4962b5
Merge pull request #203 from PX4/pr-ekfVibeReporting
...
EKF: Add IMU vibration calculation and reporting
8 years ago
Paul Riseborough
b10b0184c5
EKF: Add IMU vibration calculation and reporting
...
Add calculation and reporting of IMU delta angle and velocity coning and high frequency vibration
8 years ago
Roman
17c195d1cd
ekf2 height reset: do not apply height change to height state twice (bug)
...
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Paul Riseborough
1093e6d789
EKF: fix documentation error
8 years ago
Roman
f80b3481a4
reset the newest output sample for all possible resets
...
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Roman
238d947239
proper handling of position and velocity reset
...
- position reset method was returning before the actual delta values
were written and applied to the output buffer
- apply reset delta also to the output sample which was already taken out
from the output buffer, otherwise the complementary filter solution is
offset from the ekf solution
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Paul Riseborough
79b1d3018d
EKF: Fix magnetometer innovation test ratio reporting bug
8 years ago
Lorenz Meier
394bfdc935
Update README.md
...
Fix prerequisites.
8 years ago
Daniel Agar
0d02bb2612
ecl attitude_fw fix excessive body fixed turn offset
...
-limit body fixed turn offset contrained roll to possible
roll setpoint range
-fixes #181
8 years ago
James Goppert
7dbb43f2cd
Update matrix.
8 years ago
Paul Riseborough
352750e5d1
EKF: publish ekf solution status summary data
8 years ago
Paul Riseborough
007e73379f
EKF: Improve reporting of position error
8 years ago
Paul Riseborough
744b79c1b2
EKF: Publish innovation test ratios
8 years ago
Paul Riseborough
5ab90048e1
Merge pull request #184 from PX4/pr-rngDelayFix
...
fixed computation of range measurement timestamp
8 years ago
Paul Riseborough
b29174d86b
Merge pull request #193 from PX4/pr-haglInit
...
Pr hagl init
8 years ago
Paul Riseborough
5702c2d51b
Merge pull request #186 from priseborough/pr-ekfOutputPredictor
...
EKF: Improve Output Predictor Tracking
8 years ago
Paul Riseborough
b5ba4f280f
EKF: reduce output predictor velocity time constant
8 years ago
Paul Riseborough
65762e5998
EKF: publish output predictor tracking errors
8 years ago
Paul Riseborough
c81f9f1dba
EKF: Reduce output predictor tracking errors
...
Implements a PI tracking loop
8 years ago
Julian Oes
4fefe5c6c6
cmake: stack size args cleanup
8 years ago
Julian Oes
616aeb9ad7
ekf_helper: fix forgotten return value
8 years ago
Julian Oes
fd403b733d
CMakeLists: don't always optimize for size
...
Going forward the optimization flags should be set for a platform,
rather than for each individual module.
8 years ago
Roman
c6e1d97176
terrain estimator: initialise with projection
...
Signed-off-by: Roman <bapstroman@gmail.com>
9 years ago
Roman
cc05db4985
terrain estimator: pass initialisation return value correctly
...
Signed-off-by: Roman <bapstroman@gmail.com>
9 years ago
Roman
d53f532079
fixed computation of range measurement timestamp
...
Signed-off-by: Roman <bapstroman@gmail.com>
9 years ago
Paul Riseborough
7240fc78fe
Merge pull request #183 from CarlOlsson/cont_wind_estimation
...
Fix wind state and wind variance initialization
9 years ago
James Goppert
eab57b0187
Merge pull request #189 from PX4/revert-188-matrix_update
...
Revert "Update matrix."
9 years ago
James Goppert
e5b74f511f
Revert "Update matrix."
9 years ago
James Goppert
90f6bd7f3d
Merge pull request #188 from PX4/matrix_update
...
Update matrix.
9 years ago
James Goppert
1daea6c1a3
Update matrix.
9 years ago
CarlOlsson
8d60da1442
removed old wind initialization
9 years ago
CarlOlsson
51c8715638
fixed issue with airspeed never fused
9 years ago
Paul Riseborough
d1d56d9e5e
EKF: Add logic to to control wind state estimation
9 years ago
Paul Riseborough
75bec44b94
EKF: add function to initialise wind states
9 years ago
Paul Riseborough
6dff2df28e
EKF: Add method to reset wind state covariances
...
Set variances in polar coordinates and rotate into cartesian frame
9 years ago
Paul Riseborough
eff9af549f
scripts: derive conversion from polar to cartesian wind state covariance
9 years ago
Paul Riseborough
a9894d7e8c
EKF: improve efficiency of airspeed fusion
...
Don't compute array entries where the result will be zero
9 years ago