Skip to content

PT1 low pass filter clean up + fixes#11571

Open
breadoven wants to merge 1 commit into
iNavFlight:maintenance-9.xfrom
breadoven:abo_pt1filter_cleanup
Open

PT1 low pass filter clean up + fixes#11571
breadoven wants to merge 1 commit into
iNavFlight:maintenance-9.xfrom
breadoven:abo_pt1filter_cleanup

Conversation

@breadoven
Copy link
Copy Markdown
Collaborator

Attempt at simplifying and cleaning up the PT1 low pass filter code including some fixes found. Changes as follows:

  1. pt1FilterInitRC removed since it's rarely used and tau can be set using pt1FilterSetTimeConstant instead if need be.
  2. pt1FilterApply3 removed since functionality can be achieved with pt1FilterApply4 instead.
  3. pt1FilterApply4 changed so filter RC only pre calculated if non zero f_cut input parameter defined.

HITL tested only so more testing needed.

@qodo-code-review
Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@github-actions
Copy link
Copy Markdown

Test firmware build ready — commit 7e7e17e

Download firmware for PR #11571

234 targets built. Find your board's .hex file by name on that page (e.g. MATEKF405SE.hex). Files are individually downloadable — no GitHub login required.

Development build for testing only. Use Full Chip Erase when flashing.

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.

1 participant