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

Fixed estimator position stuck when no connection to client #1089

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

marios-stam
Copy link
Contributor

Calling paramSetInt() and paramSetFloat() while having no connection to the client established leads to the output queue being filled up and the position being stuck after the resetting of the Kalman estimator. This can be handled by setting the CONFIG_PARAM_SILENT_UPDATES flag and the user should be careful when using these functions.

@krichardsson
Copy link
Contributor

This PR addresses the problem of locking the kalman estimator if the estimator is reset multiple times when not connected to a client. This could, for instance happen if no positioning system was present which let to the kalman supervisor resetting the kalman filter repeatedly.

@krichardsson krichardsson merged commit 59044ce into bitcraze:master Aug 2, 2022
@krichardsson krichardsson added this to the 2022.09 milestone Sep 7, 2022
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.

2 participants