Commit Graph

201 Commits

Author SHA1 Message Date
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
Randy Mackay f357bc53fe AP_Camera: add scripting backend 2023-04-13 07:04:46 +10:00
Randy Mackay 58b73c3613 AP_Camera: constify get_instance 2023-04-13 07:04:46 +10:00
Randy Mackay 335de9cb88 AP_Camera: MAVLinkCamV2 limits vendor name to 32 chars
model name is also limited
2023-04-06 20:58:22 +10:00
Randy Mackay b328f84260 AP_Camera: add AP_CAMERA_MAVLINKCAMV2_ENABLED definition 2023-04-06 20:58:22 +10:00
Randy Mackay a9d271ff6a AP_Camera: MAVLinkCamV2 driver 2023-04-06 20:58:22 +10:00
Peter Barker 48544e3e70 AP_Camera: correct config boards include
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00
Randy Mackay 227daf31f7 AP_Camera: support mav-cmd-set-camera-zoom from GCS
also support focus and image capture commands
2023-03-16 07:47:01 +09:00
Randy Mackay 267f459c7e AP_Camera: remove unnecessary includes 2023-03-16 07:47:01 +09:00
Randy Mackay 9ccf08a0f8 AP_Camera: add handle_command_long 2023-03-16 07:47:01 +09:00
Peter Barker 2f95c5fa29 AP_Camera: save some bytes 2023-03-09 09:28:19 +11:00
Peter Barker 86930592c4 AP_Camera: add and use AP_CAMERA_SERVO_ENABLED 2023-03-08 19:11:30 +11:00
Peter Barker dea34086ac AP_Camera: add and use AP_CAMERA_RELAY_ENABLED 2023-03-08 19:11:30 +11:00
Peter Barker 5afbaea30b AP_Camera: tidy Solo Camera configuration 2023-03-08 19:11:30 +11:00