feat(dynamic-notch-filter): support for RPM input for notch filter#27861
Draft
antoniomoreirakis wants to merge 6 commits into
Draft
feat(dynamic-notch-filter): support for RPM input for notch filter#27861antoniomoreirakis wants to merge 6 commits into
antoniomoreirakis wants to merge 6 commits into
Conversation
Contributor
🔎 FLASH Analysispx4_fmu-v5x [Total VM Diff: 2136 byte (0.11 %)]px4_fmu-v6x [Total VM Diff: 2160 byte (0.11 %)]Updated: 2026-07-15T07:01:22 |
Signed-off-by: Antonio Moreira <antonio.moreira@auterion.com>
Signed-off-by: Antonio Moreira <antonio.moreira@auterion.com>
…es in loop Signed-off-by: Antonio Moreira <antonio.moreira@auterion.com>
antoniomoreirakis
force-pushed
the
pr-support_rpm_notch_filter
branch
3 times, most recently
from
July 15, 2026 06:53
134d2cf to
6ed1c23
Compare
Contributor
|
Just make sure that the docs https://docs.px4.io/main/en/config_mc/filter_tuning#dynamic-notch-filters are updated if needed when this goes in. Ping me for review please on those. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solved Problem
This PR is a 2nd attempt to implement a dynamic notch filter based on
RPM.msg. A work first started by @mahima-yoga in this PR.Solution
As Mahima stated, this PR adds filters for RPM feedback from
Rpm.msg(applying the change @sfuhrer suggested, to useRpm.msginstead ofInternalCombustionEngineStatus.msg):Changelog Entry
For release notes:
Test coverage
Still to be tested on hardware. Tested with SITL together with rpm_simulator.cpp, verifying that the filters were activated based on the data coming in from the simulator (OFC, when IMU_GYRO_DNF_EN == 4).