Repository navigation
Conversation
Signed-off-by: nflyernz <319460892+nflyernz@users.noreply.github.com>
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 F10. In Step
11_servo_outputs.param, the multicopter motor-output assistant is shown only when QuadPlane is explicitly enabled.For a connected ArduPlane, AMC uses the flight controller's
Q_ENABLE. For an offline project, it uses an explicitly savedQ_ENABLE=1from the project's compounded parameter files.Q_FRAME_CLASSor a frame-component label alone does not establish that QuadPlane is enabled. Missing or unknown enablement hides the assistant.The normal Step 11 servo-function and output-limit parameter workflow remains available. This change does not set or invent
SERVOx_FUNCTIONvalues, change the motor-assignment algorithm, or affect ArduCopter's assistant. Step 14 and PR #2296 are untouched.Checklist
git commit --signoff)Testing
Ruff check and format, focused Pylint, targeted
ty, configuration-step schema validation, andgit diff --checkpassed. A targeted Tk GUI test could not execute: macOS Tk aborted while creating the test root window, before application code ran.Offline QuadPlane recommendations remain available when the project explicitly saves
Q_ENABLE=1. When that value is unavailable, AMC conservatively hides the motor-assignment assistant while retaining the Step 11 parameter editor.