Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RST-2202] Wait for a valid timestamp #74

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

svwilliams
Copy link
Contributor

Wait for a valid timestamp before loading the plugins. This prevents the ignition sensor from generating an initial state with the wrong stamp.

Previously the ignition sensor was generating a constraint at time 0, before the clock had been initialized. Once the clock was initialized, the motion model would then generate a constraint from 0 to the current time (~4000s in my test). This results in a large uncertainty for the current state, leading to an ill-conditioned jacobian matrix, leading to numerical errors when computing covariances (and probably other things). I note that had this been real data, the delta between 0 and a real stamp would have been much much much worse.

…the ignition sensor from generating an initial state with the wrong stamp.
@svwilliams svwilliams merged commit 9881a41 into devel Jul 9, 2019
@svwilliams svwilliams deleted the RST-2202-underconstrained-error branch July 9, 2019 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants