Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Camera/AP_Mount: status fov should only start when requested, stop when not requested #25074

Open
rmackay9 opened this issue Sep 22, 2023 · 0 comments

Comments

@rmackay9
Copy link
Contributor

PR #24657 adds support for sending the CAMERA_FOV_STATUS message which uses the vehicle's location, gimbal's attitude and the terrain database to calculate the Location what the camera gimbal is looking at.

Also this feature probably doesn't use much CPU, we shouldn't waste CPU unnecessarily. In particular we should only start the calculation of what the gimbal is looking at when the GCS (or someone) requests the CAMERA_FOV_STATUS be sent. We should also stop the calculation perhaps 10 seconds after the GCS stops requesting to message.

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

No branches or pull requests

1 participant