-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[filters] delayed first order filter int #1736
Conversation
Since this seems to be useful for other things as well, it would make sense to choose a more generic name than "heli_rate_filter"... Out of curiosity: why do you want the delay? |
Do you have a suggestion for the name? I can change the frequency to parameter if you like. I need delay because I use this filter also to make a model of the actuator, which responds +- 18ms after a command is applied. This gives me the estimated position of the actuator. |
Puh... maybe something like |
What do you think of |
lol, then probably rather |
Ok I'll go for that |
Done. Oh wait the heli rate filter thing is still there. |
Done? :-p |
looks good to me |
@bartslinger We could still give the struct and functions shorter (e.g. abbreviated) names if you want... |
I'll leave it like this for now. Then I continue with my next PR ;-) |
This is a integer implementation of a first-order filter, with some extras: - saturation on increment rate - delay using a buffer
This is a integer implementation of a first-order filter, with some extra's:
I use this for an INDI implementation for a helicopter, which will follow later in a pull-request.