Repository navigation
Conversation
A GCS lists parameters in XML order, which was somewhat arbitrary. Put the live controls first, then thermal, streams, recording, photo and image, overlays, tracking and survey. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
CAM_MODE is listed on every target with photo support, so only the Z1 Mini lacks it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting. Reviewed at head Thanks, this looks good to me. I checked that the reorder only changes order. I exported the camera-definition XML for all five targets at base and at head: every target keeps the same parameter set, with identical per-parameter XML, and all names are within 16 characters. Merging the SURV_* guards into The CAM_MODE assertion fix (https://github.com/ardupilot/ap_cameragimbal/pull/53/files#diff-9df17b86452451a64062886777d468b05ec4ea9dc416b9e42e3312be185566f2R147) is correct. The old assertion already failed on zr10 under SITL, and the new one matches the target flags and the host test. One minor point, not blocking: CI only runs sitl/test_camera_definition.py with Not checked: hardware, and whether QGC or Mission Planner show parameters in XML order. |
This PR makes two relatively minor changes:
My AI has tested this but I have not yet. I think this is an improvement but happy to discuss if another order might be better.
Here's the new order for the MT11