Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

EKF: initialize covariances before we reset the heading in order to p… #552

Merged
merged 2 commits into from
Jan 13, 2019

Conversation

CarlOlsson
Copy link
Contributor

…reserve the yaw uncertainty

During bootup we first reset the heading and initialize the yaw variance. Then directly afterwards we reset the covariance matrix. This PR shifts the order such that the increase in yaw uncertainty during the heading reset is preserved.

Two bootups in sitl with and without the change. (The spike at x=200 is the increase in yaw variance during the heading reset when we get GPS lock)

master
image

PR
image

…reserve the yaw uncertainty

Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants