mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Sync the camera device ID fields and the camera/gimbal selector parameters from upstream common and development definitions. The upstream sentence saying DO_SET_ROI_LOCATION and DO_SET_ROI_NONE must not be sent to a gimbal device is omitted from the fork. The gimbal protocol v2 device interface has no location setpoint, and AP_Mount sends those two commands to a device that advertises GIMBAL_DEVICE_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL so it can track the location from its own position telemetry. DO_SET_ROI_WPNEXT_OFFSET and DO_SET_ROI_SYSID keep the restriction.