Commit Graph
15 Commits
Author SHA1 Message Date
Andrew Tridgell 6434442671 AP_Camera: relay MAVLink cameras and resolve camera selectors
Cache bounded stream lists and resume replies independently on each
GCS link after transmit backpressure. Expire remote capture status
after three seconds, retain locally scheduled interval capture, and
back off unanswered status requests.

Preserve native camera identity in cached replies and isolated-link
broadcasts, and suppress synthetic FC-owned status for native cameras.
Restore configured mount associations in cached information only when
a same-system camera advertises none.

Add CAMn_COMPID (0 or 7-255) so camera-v2 discovery can use a
non-default component ID. The first slot owns a colliding ID; duplicate
or invalid IDs warn and disable discovery.

Resolve command selectors as component IDs or legacy slots 1-6 with the
same rules for live commands and missions. NaN in formerly reserved
selector fields means unset. Video commands with a nonzero camera
selector treat param1 as a stream ID and pass the status frequency
through; without one they keep the old camera-slot interpretation.

Fill camera_device_id in camera information, settings, capture status,
field of view and stream messages, and document the routing and
selector design.
2026-09-23 08:59:12 +10:00
Peter BarkerandClaude Fable 5 699b63cf53 AP_Camera: mark CAMx_TYPE as requiring a reboot
add @RebootRequired: True to the _TYPE parameter metadata.

The driver backend for this sensor is allocated once during init at
boot; changing the type parameter at runtime has no effect until
reboot.  Annotate it so GCSes prompt the user to reboot.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-26 23:14:36 +10:00
Randy Mackay 451511909c AP_Camera: clarify type for gremsy and avt 2025-12-02 21:43:07 +11:00
Bob Long 27f6e9f20b global: add Range to pin number param doc 2025-10-23 08:13:22 +11:00
Andy Piper 399f9f6f98 AP_Camera: RunCam camera backend
RunCam parameter conversion
add RunCam camera settings and control
2024-12-13 11:07:09 +00:00
Randy Mackay 44b3217178 AP_Camera: type param desc gets topotek 2024-07-26 12:55:24 +10:00
Randy Mackay 62a03f18d8 AP_Camera: type param desc gets viewpro and xacti 2024-07-26 12:55:24 +10:00
Henry Wurzburg e55702fe3c AP_Camera:fix OPTIONS bitmask 2024-01-04 08:25:48 +09:00
Randy Mackay 73589a276e AP_Camera: camera_fov_status includes field-of-view 2023-11-02 21:23:12 +09:00
Asif Khan 47977b1635 AP_Camera: add parameter CAMx_MNT_INST for associating camera with corresponding mount 2023-08-09 10:03:34 +09:00
Randy Mackay 7de2dac9ca AP_Camera: TYPE param desc gets None value 2023-07-26 17:33:18 +10:00
Asif Khan 82b709083c AP_Camera: add CAMx_OPTION support for start/stop recording when arm/Disarm 2023-07-05 09:07:53 +10:00
Randy Mackay f357bc53fe AP_Camera: add scripting backend 2023-04-13 07:04:46 +10:00
Randy Mackay a9d271ff6a AP_Camera: MAVLinkCamV2 driver 2023-04-06 20:58:22 +10:00
Randy Mackay 50bcf1f278 AP_Camera: frontend-backend split
logging gets instance and shorten Pitch field name to Pit
2023-03-01 18:18:51 +11:00