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 StickAccelerationXY: avoid setpoint oscillations around 0 #16786

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

bkueng
Copy link
Member

@bkueng bkueng commented Feb 8, 2021

With a higher responsiveness, after centering the stick, the velocity and
acceleration setpoints could oscillate around 0 and never reach 0, due to
discretization.
This also prevented position lock engagement.

image

With a higher responsiveness, after centering the stick, the velocity and
acceleration setpoints could oscillate around 0 and never reach 0, due to
discretization.
This also prevented position lock engagement.
@bkueng bkueng requested a review from MaEtUgR February 8, 2021 12:25
@MaEtUgR MaEtUgR added the bug label Feb 8, 2021
Copy link
Member

@MaEtUgR MaEtUgR left a comment

Choose a reason for hiding this comment

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

Good find, as we discussed this is good. Thank you for the fix!

@MaEtUgR MaEtUgR merged commit 76a447e into master Feb 8, 2021
@MaEtUgR MaEtUgR deleted the fix_acceleration_flighttask_oscillations branch February 8, 2021 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants