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

Filter rates indi #2718

Merged
merged 7 commits into from
May 12, 2021
Merged

Conversation

EwoudSmeur
Copy link
Member

This PR makes the filtering of body rates in the INDI controller use the first order filter in the filters folder. Now only the cutoff frequency needs to be specified to activate the filter. I updated all airframe files that I could see were using the filtering.

@gautierhattenberger
Copy link
Member

Why sometimes the FILT_CUTOFF_R is removed and sometimes replaced by FILT_CUTOFF_RDOT ?

@EwoudSmeur
Copy link
Member Author

Why sometimes the FILT_CUTOFF_R is removed and sometimes replaced by FILT_CUTOFF_RDOT ?

The naming before was confusing/incorrect. There are two filters that are used: one for the angular acceleration and one for the angular rates, because of different noise levels due to the derivative. Before we only had the filter for the angular acceleration and then R referred to angular acceleration around body Z.

@fvantienen
Copy link
Member

I can't merge it because of semaphore failing, but for me it is fine to merge

@gautierhattenberger gautierhattenberger merged commit e44277d into paparazzi:master May 12, 2021
@fvantienen fvantienen deleted the filter_rates_indi branch May 14, 2021 18:41
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.

None yet

3 participants