Skip to content

Conversation

@Niki-dev12
Copy link
Contributor

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.

@HTRamsey
Copy link
Collaborator

HTRamsey commented Nov 1, 2025

Still got some // dev comments to remove

@Niki-dev12
Copy link
Contributor Author

Still got some // dev comments to remove

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants