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

Copter: remove unused hgt_variance_filt #29168

Merged

Conversation

peterbarker
Copy link
Contributor

this filter is populated but never checked when checking variances

../../ArduCopter/ekf_check.cpp:131:5: warning: Value stored to 'height_var' is never read [deadcode.DeadStores]
    height_var = hgt_variance_filt.apply(height_var, dt);
    ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

this filter is populated but never checked when checking variances
@rmackay9 rmackay9 requested a review from andyp1per January 29, 2025 02:31
@rmackay9
Copy link
Contributor

Just for reference, here's the PR that added the filter

@peterbarker peterbarker merged commit 8425bf4 into ArduPilot:master Jan 29, 2025
79 checks passed
@peterbarker peterbarker deleted the pr/remove-unused-hgt-variance-filter branch January 29, 2025 10:57
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.

3 participants