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
Peter Barker
020ef6d33a
AP_Camera: add and use AP_CAMERA_MAVLINK_ENABLED
2023-03-08 19:11:30 +11:00
Peter Barker
a0d4706643
AP_Camera: add and use AP_CAMERA_MOUNT_ENABLED
2023-03-08 19:11:30 +11:00
Randy Mackay
1977005bd9
AP_Camera: log image number
2023-03-01 18:18:51 +11: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
Andrew Tridgell
28690d66b2
AP_Camera: make trigger dist a float
...
the parameters and the callers all use float, we unnecessarily lose
precision here
thanks to D Przybysz for finding the issue
2023-02-08 16:59:45 +11:00
Peter Barker
d13a4579e3
AP_Camera: avoid using struct Location
...
clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Cam84Fr
de8fa1a31a
AP_Camera: add support for Runcam 2 4k
2023-01-31 17:57:40 +11:00
Andrew Tridgell
3c9452621b
AP_Camera: fixed CAM_MIN_INTERVAL
...
delay the next photo until minimum interval is met, which is what the
documentation says. This fixes a nasty bug with mission plans where an
extra photo can be triggered by a camera trigger in a mission which
results in the number of CAM msgs being more than the number of images
on the microSD, which makes the mapping run unusable
2022-12-05 07:48:39 +11:00
Andy Piper
de076ff259
AP_Camera: retry RunCam device info maximum number of times
2022-11-22 10:54:56 +11:00
Andy Piper
537eea76c8
AP_Camera: fix parameter caching with RunCam enablement and setup on 3-pos switch
2022-11-09 18:34:37 +11:00
Peter Barker
9d517f86f5
AP_Camera: set HAL_RUNCAM_ENABLED in minimize_features.inc
2022-11-02 18:40:09 +11:00
Peter Barker
0e0e2b19e5
AP_Camera: remove unneccesary includes of AP_Vehicle_Type.h
2022-11-02 18:35:48 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Randy Mackay
2ffe692706
AP_Camera: add record video zoom and focus
2022-09-30 15:17:29 +09:00
Peter Barker
9b2b21e531
AP_Camera: correct compilation for header changes
2022-09-27 09:26:45 +10:00
Peter Barker
a18c87a120
AP_Camera: add and use AP_CAMERA_ENABLED
2022-09-21 11:58:38 +10:00
Iampete1
f3b2de9c15
AP_Camera: params always use set method
2022-08-03 13:43:48 +01:00
Henry Wurzburg
1e7fc17af3
AP_Camera: add note to desc's on how to determine GPIO pin numbers
2022-04-24 08:21:01 +09:00