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

Port of FIR2 second stage gyro filter from Betaflight #3191

Merged
merged 3 commits into from
May 12, 2018

Conversation

DzikuVx
Copy link
Member

@DzikuVx DzikuVx commented May 9, 2018

Port of famous Stage2 FIR (not) Kalman from Betaflight. I'm not completely sure I got dT right since BF and us use different things in filters, but will test over the weekend in my racer

Copy link
Member

@digitalentity digitalentity left a comment

Choose a reason for hiding this comment

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

Seems ok to me

@DzikuVx
Copy link
Member Author

DzikuVx commented May 10, 2018

Not happy with current results, plus found a bug. But did not smoked the motors, so it's not that bad after all

@DzikuVx
Copy link
Member Author

DzikuVx commented May 11, 2018

Flight tested again after fixes. Quite happy with results. Disabled by default so I assume we can merge it back. Ultimately this might replace Notches and make tuning much simpler

@digitalentity
Copy link
Member

Not sure if it will replace notches - they are better in cutting out a relatively narrow band noise.

@DzikuVx
Copy link
Member Author

DzikuVx commented May 12, 2018

Perhaps, but it does nice job

stage2 raw

stage2 filter 2

stage2 filter 3

@DzikuVx DzikuVx merged commit fd790f1 into development May 12, 2018
@DzikuVx DzikuVx deleted the dzikuvx-stage2-fir2-gyro-filter branch May 12, 2018 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants