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 protect against extremely low frequency #194

Conversation

loki077
Copy link
Contributor

@loki077 loki077 commented Sep 6, 2024

I tested it too with the behaviour mentioned by tridge it checks out.

@loki077 loki077 requested a review from robertlong13 September 6, 2024 05:45
@loki077 loki077 force-pushed the feature/SW-353-filter-protect-against-extremely-low-frquency branch from 0aec005 to 9a88886 Compare September 6, 2024 05:58
@robertlong13 robertlong13 force-pushed the feature/SW-353-filter-protect-against-extremely-low-frquency branch from 9a88886 to 12fe59f Compare September 8, 2024 22:45
an incorrectly configured ESC telemetry source can lead to a notch
running at very low frequencies. A simple example is a lua script like
this:

function update()
   esc_telem:update_rpm(12, 0, 0)
   return update, 10
end
return update()

where motor 12 is unused.

with that script in place we get a 1.0078 Hz filter which leads to
massive phase lag and a crashed aircraft

this is a safety protection. We should also try to find out why the
INS_HNTCH_FREQ lower limit is not working
@robertlong13 robertlong13 force-pushed the feature/SW-353-filter-protect-against-extremely-low-frquency branch from 12fe59f to a4bf261 Compare September 8, 2024 22:51
@loki077 loki077 merged commit f0b91ff into CxPilot-5.2 Sep 8, 2024
62 checks passed
@loki077 loki077 deleted the feature/SW-353-filter-protect-against-extremely-low-frquency branch September 8, 2024 23:45
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