qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

Gimbal speed auto fov

Open Niki-dev12 opened this issue 4 months ago • 3 comments

Auto-adjust gimbal FOV and zoom-dependent control Description

This change requests updated camera field-of-view (FOV) information from the vehicle whenever the gimbal zoom level changes. By using CAMERA_FOV_STATUS, QGC dynamically updates the horizontal and vertical FOV values and adjusts the click-to-point gimbal movement accordingly. When zoomed in, the gimbal motion becomes finer and moves a shorter distance per click, improving precision.

In addition, pitch and yaw rate limits are scaled based on zoom level to maintain smooth and intuitive control.

Test Steps

  1. Connect to a drone equipped with a zoom gimbal.
  2. Enable click-to-point functionality in Gimbal Settings.
  3. Change the zoom level.
  4. Verify that HFOV/VFOV values update automatically.
  5. Click on the video stream and confirm that gimbal motion becomes more precise at higher zoom levels.

Checklist:

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Niki-dev12 avatar Oct 29 '25 10:10 Niki-dev12

Still got some // dev comments to remove

HTRamsey avatar Nov 01 '25 14:11 HTRamsey

Still got some // dev comments to remove

Absolutely, good catch. I will clean up the remaining // dev comments

Niki-dev12 avatar Nov 03 '25 06:11 Niki-dev12

@Niki-dev12 Form looking at the Copilot review it seems to me that most of what it says is valid. Can you address those and then squash to a single commit. Then we can look again.

DonLakeFlyer avatar Dec 04 '25 18:12 DonLakeFlyer

@Niki-dev12 Form looking at the Copilot review it seems to me that most of what it says is valid. Can you address those and then squash to a single commit. Then we can look again.

Thanks for the feedback. I will review and address the Copilot suggestions. I will update the MR once it is prepared for the next review.

Niki-dev12 avatar Dec 11 '25 13:12 Niki-dev12