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

[ins] prevent propagation if there are no measurement updates #1241

Merged
merged 0 commits into from
Jul 15, 2015

Conversation

flixr
Copy link
Member

@flixr flixr commented Jul 15, 2015

To prevent the position and velocity estimation from running away while you only have accel measurements (done in the propagation),
Propagate only if we got any measurement during the last INS_MAX_PROPAGATION_STEPS.
Otherwise halt the propagation to not diverge and only set the acceleration.
This should only be relevant in the startup phase when the baro is not yet initialized
and there is no gps fix yet...

Should fix the last remaining part of #1237 in a more generic and robust way.

@flixr
Copy link
Member Author

flixr commented Jul 15, 2015

@kevindehecker would be great if you could test this with your optitrack setup.

@kevindehecker
Copy link
Contributor

Yep, seems to work and fly. Optitrack gps gets propagated properly.

@flixr flixr merged commit 0a46a0a into master Jul 15, 2015
@flixr flixr modified the milestones: v5.8, v5.6 Jul 15, 2015
@flixr flixr deleted the ins_propagation_timeout branch July 15, 2015 19:26
@flixr flixr mentioned this pull request Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants