Repository navigation
Conversation
Signed-off-by: nflyernz <[email protected]>
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
Resolve ArduPlane Walkthrough Audit 5 finding F31. Step
28_throttle_controller.paramtunes QuadPlane hover and vertical-acceleration controllers, so conventional fixed-wing Plane must not be required to complete it.AMC now uses the connected FC's
Q_ENABLEto determine whether Step 28 is mandatory. Offline projects use an explicitly savedQ_ENABLE; missing or unsupported values are treated conservatively.Q_FRAME_CLASSalone does not establish QuadPlane enablement.For conventional Plane, the displayed mandatory level becomes 0% and simple-mode next/previous navigation skips Step 28. Advanced navigation still permits deliberate inspection of saved project data. Step 28's derived parameters require
Q_ENABLE=1, and the two generic Plane templates no longer preassign hover-controller values.Enabled QuadPlane retains the firmware-dependent gain formulas and uses the connected FC's learned
Q_M_THST_HOVER. Existing user project files are not migrated or deleted. ArduCopter navigation and tuning are unchanged.Checklist
git commit --signoff)Testing
Configuration-step schema validation, Ruff check and format, focused Pylint, targeted
ty, andgit diff --checkpassed.Two selected GUI tests passed. One selected GUI test could not initialize
tk.BooleanVarbecause the test run had no default Tk root; this did not establish an application regression.An offline project with an explicitly saved
Q_ENABLE=1retains mandatory Step 28 review. FC-derived gains remain unavailable until the controller provides the learnedQ_M_THST_HOVERvalue.