Repository navigation
Conversation
5 of 10 tasks
Signed-off-by: nflyernz <319460892+nflyernz@users.noreply.github.com>
amilcarlucas
force-pushed
the
fix/arduplane-motor-test-gating
branch
from
November 22, 2026 21:46
12d8eb2 to
8c46efd
Compare
Collaborator
|
I think this is a nice fix. Is it still a draft or can it be reviewed? |
6 of 10 tasks
This branch has not been deployed
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.
Description
Fix ArduPlane Walkthrough Audit 5 finding F14: the conventional fixed-wing Plane configuration workflow displays a multicopter motor-test interface in Step 14 (
14_esc.param), including a Quad X motor diagram and motor-test controls.The motor-test plugin should only appear for ArduPlane when QuadPlane is enabled.
Changes
ifexpression to the existing Step 14motor_testplugin registration.Q_ENABLE=1.Q_FRAME_CLASSor otherQ_*parameters.Q_ENABLEis zero, unsupported, or unavailable.This uses AMC's existing conditional plugin mechanism without introducing new GUI infrastructure or changing flight-controller parameters.
Regression coverage
Added focused tests using the real
ParameterEditor.get_plugin()processing path, covering:Q_ENABLE=0.Q_ENABLE=1.Q_ENABLE.Q_FRAME_CLASSwithout QuadPlane enablement.Q_ENABLEvalue.Checklist
git commit --signoff)Testing
Local validation reported by Codex:
typassed.git diff --checkpassed.GUI test limitation: The macOS Tkinter GUI suite could not run because Tk aborted while creating the root window, before the plugin tests executed. The focused Parameter Editor tests passed, but end-to-end GUI behaviour has not been manually verified.
This PR is intentionally limited to Step 14 plugin availability. Other conventional Plane / QuadPlane workflow findings remain separate.