kamilritz
83b2abe434
protect against overflow
5 years ago
kamilritz
4be9ae8029
Compute the timestamp of average sample correctly
5 years ago
kamilritz
29c5954690
Move baro downsampling and dynamic pressure comp to ECL
5 years ago
kamilritz
d7d7b56519
Move mag down sampling to ECL lib
5 years ago
bresch
0f4439d281
optical flow: inhibit flow fusion only when the terrain estimate gets invalid
5 years ago
bresch
d06dc33ded
range_finder_checks: do not override range_hgt_valid flag with rng_stuck flag
...
Thif fixes the issue where the range finder data is always set to valid
if not stuck.
5 years ago
bresch
d0fe1f032a
mag_fusion: re-introduce delay between mag reset and fusion, this was
...
dropped during the mag fusion refactor PR #662
5 years ago
Tom Wang
4044abdd20
fixed output state variable name state_variance to state_variances
5 years ago
kamilritz
cd9e81539c
Expand IMU Down Sampling tests
5 years ago
kamilritz
de58ab9167
inline newly added function save 60Bytes
5 years ago
kamilritz
be11516dd6
Refactor IMU downsampling into its own class
5 years ago
kamilritz
c7e074276f
Save flash space
...
This commit saves roughly 400-500 Bytes in flash space
5 years ago
kamilritz
94484f01ce
save flash space
5 years ago
kamilritz
84dcb32bd8
Extend auxVel interface to support 3d velocity
5 years ago
kamilritz
07e8e88e88
Support full vision variance
5 years ago
kamilritz
4ab3dd50c9
pass Vector by const reference
5 years ago
kamilritz
2657e4fc0c
Improve naming and white space
5 years ago
kamilritz
1fcfd394dd
Various small non-functional improvements
5 years ago
kamilritz
deeac03d6a
Clean up height reset logic booleans
5 years ago
kamilritz
cec6d76577
Raise awareness for drag variance(!=stdDev) bug
5 years ago
kamilritz
0b18143745
Improve readibility
5 years ago
kamilritz
3daf25763e
Remove unnecessary comments
5 years ago
kamilritz
36da8d82c8
Clean up white space
5 years ago
kamilritz
48787c0160
Improve Matrix library usage
5 years ago
kamilritz
a21a7cd5b9
Remove output argument from calcEarthRateNed
5 years ago
kamilritz
9e6d27fafb
Add missing const qualifier
5 years ago
kamilritz
066392ef02
Improve naming
5 years ago
kamilritz
f99dbd8ca3
Improve naming and brackets
5 years ago
kamilritz
1c68709949
Rename mag ambiguous mag abbreviations with magnitude
5 years ago
kamilritz
a24aaad861
CleanUp GPS drift checks
5 years ago
kamilritz
c6e3f389d2
Replace calculation of earth NED rotation vector
5 years ago
kamilritz
9f053cb8c1
Simplify covariance getters
5 years ago
Paul Riseborough
0d0f46ec1c
EKF: Don't run unnecessary makeRowColSymmetric operation
...
This operation is expensive when done to the whole covariance matrix and unnecessary after covariance prediction because we calculate the upper diagonal and copy across so it is already symmetric.
5 years ago
Paul Riseborough
166d260058
EKF: Provide auto-code output that uses (row, col) syntax for covariance matrix
5 years ago
kamilritz
92ba618f57
Improve on flash memory usage
5 years ago
kamilritz
459b76f9fd
Make covariance matrices of type matrix::SquareMatrix
...
and use functions from Matrix to reset covariances.
5 years ago
kamilritz
490c749f80
Revert if statement swap in resetMagHeading
5 years ago
kamilritz
a6bbafc7b0
Remove unnecessary initialiseCovariance
...
It is already called in reset()
5 years ago
kamilritz
ef9f1053d0
Random improvements
5 years ago
kritz
01495ede97
Clean initialiseFilter function ( #687 )
...
* Clean initialiseFilter
* Add const qualifiers
5 years ago
kritz
532c9abd4a
Expand test framework and test cases ( #685 )
...
* Fix comment
* Ekf wrapper for testing
Add utility function for accessing information in the ekf object
* Add step function for Gps sensor
* Add RangeFinder and Flow to simulated sensors
* Add first fusion logic tests
* Add units to function name
* Use EXPECT_TRUE
* Adding missing qualifiers
* Improve EXPECT_ calls
* Improve naming
5 years ago
kritz
6c25ac5731
Tilt Initialisation: Average Filter -> LowPass Filter ( #686 )
...
* Tilt Initialisation: Average Filter -> LowPass Filter
* Add _is_first_imu_sample variable
* Remove not needed comments
5 years ago
Daniel Agar
98a1aae494
EKF: use Matrix cross product
5 years ago
kamilritz
85e0e6e89c
Remove resetStates(AndCovariances) function
5 years ago
kamilritz
64652f523b
Improve quality of comments
5 years ago
kamilritz
1bf09fd370
Remove EKF prefix from logged messages
5 years ago
kamilritz
88c4929c96
Use helper function to switch to gps height
5 years ago
kamilritz
042d9b6615
Remove dangerous _primary_hgt_source variable
5 years ago
kamilritz
66f707ede0
Remove non enterable if statement
5 years ago
kamilritz
cd030e7cd2
Remove switch to ev hgt during filter initialization
5 years ago