mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-26 16:28:06 +08:00
* feat(camera_feedback): gate CAMERA_IMAGE_CAPTURED by param Some cameras implementing the MAVLink Camera Protocol (e.g. reached via TRIG_INTERFACE=MAVLink) report CAMERA_IMAGE_CAPTURED themselves. The autopilot's camera_feedback also emitted this message, so the ground station saw duplicate capture messages for every shot. Add a bool 'report' field to the camera_capture message, set from the new CAM_CAP_REPORT parameter, and gate the CAMERA_IMAGE_CAPTURED stream on it. When reporting is disabled the capture is still published and logged for geotagging; only the MAVLink message to the ground station is suppressed. CAM_CAP_REPORT applies live (no reboot); it only gates a MAVLink message, unlike CAM_CAP_FBACK which reconfigures the capture pin. * fix(camera_feedback): update docs