GCS_MAVLink: pass image tracking messages to AP_Camera

This commit is contained in:
Randy Mackay 2023-04-29 09:40:15 +09:00
parent b2c31f8ad4
commit 858a1e8b40

View File

@ -4659,6 +4659,9 @@ MAV_RESULT GCS_MAVLINK::handle_command_long_packet(const mavlink_command_long_t
case MAV_CMD_SET_CAMERA_ZOOM:
case MAV_CMD_SET_CAMERA_FOCUS:
case MAV_CMD_IMAGE_START_CAPTURE:
case MAV_CMD_CAMERA_TRACK_POINT:
case MAV_CMD_CAMERA_TRACK_RECTANGLE:
case MAV_CMD_CAMERA_STOP_TRACKING:
case MAV_CMD_VIDEO_START_CAPTURE:
case MAV_CMD_VIDEO_STOP_CAPTURE:
result = handle_command_camera(packet);