Commit Graph

214 Commits

Author SHA1 Message Date
Randy Mackay 5a22fb8da5 AP_Camera: support set-camera-source mavlink command 2024-03-25 09:19:18 +09:00
Peter Barker 3e529a241b AP_Camera: add HAL_GCS_ENABLED to mavlink2 backend dependencies 2024-03-12 09:07:56 +11:00
Randy Mackay a16d71ced4 AP_Camera: fix video recording while armed 2024-02-15 12:17:44 +11:00
Peter Barker 4b30963d1d AP_Camera: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Henry Wurzburg e55702fe3c AP_Camera:fix OPTIONS bitmask 2024-01-04 08:25:48 +09:00
Peter Barker 8fb1f6f02c AP_Camera: correct compilation when AP_CAMERA_RELAY_ENABLED is 0
... like on skyviper-v2450
2024-01-03 18:05:08 +11:00
Iampete1 8292c6ea9f AP_Camera: move to new relay functions 2023-12-19 10:01:01 +11:00
Nick Exton 2f9b9e2452 AP_Camera: Add Camera_Mount handler for CAMERA_CAPTURE_STATUS request 2023-11-09 13:00:57 +09:00
Nick Exton 477534b446 AP_Camera: Add handler for CAMERA_CAPTURE_STATUS request 2023-11-09 13:00:57 +09:00
Randy Mackay 73589a276e AP_Camera: camera_fov_status includes field-of-view 2023-11-02 21:23:12 +09:00
Asif Khan 2235a8e063 AP_Camera: add send_camera_fov_status support 2023-11-02 15:54:37 +11:00
Peter Barker 0e2261832e autotest: more test for emitted digicam command-long messages 2023-11-02 15:54:13 +11:00
Peter Barker 685bdd3d3d AP_Camera: handle camera messages as COMMAND_INT as well as COMMAND_LONG 2023-11-02 15:54:13 +11:00
Mykhailo Kuznietsov 81b4dbcb27 AP_Camera: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Randy Mackay 999a3fe8d9 AP_Camera: image-stop-capture fix for instance 2023-09-26 10:53:22 +10:00
Randy Mackay fb35d97abf AP_Camera: start-image-capture with all zeros takes single pic
returns failed if no cameras configured
2023-09-26 10:53:22 +10:00
Randy Mackay 9e3ab558b3 AP_Camera: take_pic and take_multiple_pic report success
Methods return success if at least one backend succeeds
2023-09-26 10:53:22 +10:00
Randy Mackay 66337af882 AP_Camera: fix reporting of mount take_picture 2023-09-26 10:53:22 +10:00
Asif Khan f30af5e072 AP_Camera: add MAV_CMD_IMAGE_STOP_CAPTURE support
Co-authored-by: Zachary Zalass <zachzalass@gmail.com>
2023-09-21 21:05:01 +10:00
Asif Khan 2cc080620c AP_Camera: fix MAV_CMD_START_CAPTURE handling 2023-09-21 21:05:01 +10:00
Peter Barker ad105614bc AP_Camera: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 9c03685400 AP_Camera: add missing includes 2023-08-30 12:26:14 +10:00
davidsastresas 073e93dfec AP_Camera: MAVLinkCamV2 sends gimbal_device_id in camera_information 2023-08-10 14:37:30 +09:00
davidsastresas 9bca2740b2 AP_Camera: backend sends gimbal_device_id in camera_information 2023-08-10 14:37:30 +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
Asif Khan 09e949173d AP_Camera: fix sending camera information and settings for each backend 2023-08-09 10:03:34 +09:00
Asif Khan 2141f06967 AP_Camera: add time based triggering support 2023-08-05 18:52:57 +10:00
Randy Mackay 1dc1d24f1e AP_Camera: add set lens support 2023-07-26 20:20:13 +09:00
Randy Mackay 7de2dac9ca AP_Camera: TYPE param desc gets None value 2023-07-26 17:33:18 +10:00
Asif Khan a5d4133a2c AP_Camera: add MNT log msg for mount's actual and target angles logging 2023-07-26 17:33:18 +10:00
Randy Mackay 75de6c0398 AP_Camera: mount backend implements set_tracking 2023-07-18 21:02:02 +09:00
Andrew Tridgell 4087e0b215 AP_Camera: removed set_blocking_writes 2023-07-12 17:06:02 +10:00
Peter Barker 82b0630c6a AP_Camera: add and use SetFocusResult 2023-07-05 16:28:42 +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
Peter Barker 2975656be5 AP_Camera: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Randy Mackay 63b4b8b7d3 AP_Camera: support camera info and settings 2023-06-16 14:30:46 +10:00
Peter Barker c30cfb00b6 AP_Camera: remove use of AP_Mount.h from headers 2023-05-29 09:08:55 +10:00
Andrew Tridgell 7175318fbb AP_Camera: fixed build on cygwin with conflicting POINT 2023-05-10 17:10:20 +10:00
Randy Mackay 267cbf9a37 AP_Camera: camera state uses Vector2f 2023-05-08 21:26:35 +10:00
Randy Mackay ae09dc7d43 AP_Camera: remove unused tracking_p2 from camera state 2023-05-08 21:26:35 +10:00
Randy Mackay a6cc9f042a AP_Camera: support image tracking 2023-05-08 21:26:35 +10:00
Randy Mackay b2c31f8ad4 AP_Camera: remove unused auto_focus from camera state 2023-05-08 21:26:35 +10:00
Randy Mackay 8131b5bc3b AP_Camera: add comments clarifying mavlink methods purpose 2023-05-08 21:26:35 +10:00
Randy Mackay 2ff89498c5 AP_Camera: set_focus replaces set_manual/auto_focus 2023-04-26 22:55:47 +10:00
Randy Mackay a1ae189b17 AP_Camera: move ZoomType def to separate .h 2023-04-19 17:31:46 +10:00
Randy Mackay 9c72cf2a1e AP_Camera: move some includes to backend
also remove some redundant includes
2023-04-19 17:31:46 +10:00
Randy Mackay a9cc32d304 AP_Camera: reduce camera_state_t scope 2023-04-19 17:31:46 +10:00
Randy Mackay 6603a6c8c5 AP_Camera: set_zoom replaces set_zoom_step 2023-04-19 17:31:46 +10:00
Peter Barker f6fa509443 AP_Camera: add timestamp on parameter conversion function
...so we can remove this stuff more easily over time
2023-04-17 22:05:08 +01:00
Randy Mackay de4b1890f5 AP_Camera: add semaphore to allow multi-threaded access 2023-04-13 07:04:46 +10:00