Repository navigation
Conversation
Signed-off-by: nflyernz <[email protected]>
|
Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting. Reviewed at head This draft correctly stops the generic Plane telemetry step from clobbering the RC receiver port and from inventing baud and flow-control values. The new tests pass, and the red Windows CI is the same 3 GUI-layout failures seen on master. Should fix
Minor (1)
An earlier concern about the use of protected members in the tests was withdrawn, since it matches existing editor tests. |
|
I checked whether any step after 07 sets SERIAL1 again. In empty_4.7.x, step 62 (62_range_finder.param) does: SERIAL1_PROTOCOL,2 and SERIAL1_BAUD,57 are still present in the param file although RNGFND1_TYPE is 0 there. The values are uploaded as they are (no derived or forced rules), so a component put on SERIAL1 in the component editor gets reset at step 62. In normal_plane, step 62 sets SERIAL1 to a rangefinder. It looked like it was intended for that vehicle, so I left it alone. I have a small fix with a test. Should I send it as a follow-up PR after this one, or would you rather fold it into this series? |
Summary
Addresses F06 from the AMC 5.0.0 ArduPlane Basic Mandatory Configuration walkthrough. Both generic Plane telemetry templates contained unconditional serial protocol, baud, and flow-control values that could configure unrelated ports when telemetry was absent or elsewhere. Remove those assignments and leave the step files empty. The existing Component Editor rules still derive the selected SERIAL1–9 protocol, and existing serial rename behavior remains intact.
Testing
ty check, andgit diff --checkpass.No automatic baud-rate derivation is added. Users with a physical telemetry radio must verify its appropriate baud rate. The commit is signed off. No other vehicle templates or component rules changed.