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

Fix incorrect PID filter reset introduced in #803 #843

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

matejkarasek
Copy link
Contributor

@matejkarasek matejkarasek commented Sep 3, 2021

This PR fixes a bug introduced in #803

The function positionControllerResetAllfilters() reinitialized the z velocity filter to ZVELOCITY_LPF_CUTOFF_FREQ even if IMPROVED_BARO_Z_HOLD was not defined. This is now fixed and the filter gets reset to POSITION_LPF_CUTOFF_FREQ by default.

Copy link
Contributor

@jonasdn jonasdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@knmcguire knmcguire merged commit 949d378 into bitcraze:master Sep 3, 2021
@knmcguire knmcguire added this to the next release milestone Dec 16, 2021
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.

3 participants