Andy Piper
216905532a
AP_Mount: squash static_assert warnings
2024-08-21 19:33:37 +10:00
Randy Mackay
db22aaad50
AP_Mount: add Siyi ZT6 support
2024-07-03 10:32:59 +09:00
Randy Mackay
18fcc9a4e5
AP_Mount: add set_rangefinder_enable for ViewPro
2024-05-01 08:07:41 +10:00
Tim Tuxworth
9e0ec16b08
AP_Mount: Do not override default mode when first connecting to RC
2024-05-01 08:07:41 +10:00
Randy Mackay
ce747d8314
AP_Mount: add set_camera_source support
2024-05-01 08:07:41 +10:00
davidsastresas
da91f2d263
AP_Mount: fix gimbal-device-attitude-status yaw frame flag
2024-05-01 08:07:41 +10:00
Randy Mackay
d8a948714f
AP_Mount: get-gimbal-device-flags reports lock state
2024-05-01 08:07:41 +10:00
Randy Mackay
cfb042f6c4
AP_Mount: do-gimbal-manager-pitch-yaw can set lock state
...
Co-authored-by: davidsastresas <davidsastresas@gmail.com>
2024-05-01 08:07:41 +10:00
Randy Mackay
ada8cf6758
AP_Mount: clarify yaw_lock comments
2024-05-01 08:07:41 +10:00
Randy Mackay
a5e89c7023
AP_Mount: RC targeting mode lock state from previous mode
...
This leads to smoother transitions between RC and GCS control
2024-05-01 08:07:41 +10:00
Randy Mackay
72374c450a
AP_Mount: viewpro fix for swapped ahrs roll pitch
2024-03-22 17:25:33 +11:00
Randy Mackay
59ce292af5
Mount: Siyi waits for non-zero cam firmware version
2024-02-14 11:20:30 +11:00
Peter Barker
a6db3bd069
AP_Mount: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Peter Barker
49c697221a
AP_Mount: make AHRS attitude member variables private
2024-01-14 12:47:47 +11:00
Peter Barker
2332ea7942
AP_Mount: add missing include
2024-01-11 15:29:54 +11:00
davidsastresas
462eb46c8b
AP_Mount.cpp: send gimbal_manager_status msg when control changes
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
By default we are sending this message at 0.2 Hz. This is totally
fine as no more rate is needed, but whenever control changes it
is interesting to notify as soon as possible, so the rest of the
mavlink network understands the change in control as soon as
possible
2024-01-10 18:26:47 +11:00
Randy Mackay
fa5e58d652
AP_Mount: switch to RC_TARGETING on RC input
2024-01-10 09:48:00 +09:00
Peter Barker
c443d19ab1
AP_Mount: correct compilation when GCS_SEND_TEXT not available
2024-01-04 20:48:23 +11:00
Peter Barker
4f4e6d646c
AP_Mount: validate modes before setting them
2023-11-17 11:45:38 +11:00
Andrew Tridgell
8ff2fa4fd9
AP_Mount: added gimbal rates for SIYI
...
this helps diagnose issues with gyro bias versus control when camera
is spinning
2023-11-16 16:57:49 +11:00
Andrew Tridgell
7472f76336
AP_Mount: set clock on SIYI
...
this means photos on microSD have correct date
2023-11-16 16:57:35 +11:00
Andrew Tridgell
901280902a
AP_Mount: allow for larger SIYI packets
...
needed for attitude packet
2023-11-15 13:17:54 +11:00
Andrew Tridgell
691b23db7d
AP_Mount: added sending of attitude and velocity for SIYI
...
will be used by SIYI for improved gimbal control
2023-11-15 13:17:54 +11:00
Nick Exton
ac313b6d7a
AP_Mount: Add handler for CAMERA_CAPTURE_STATUS request
2023-11-09 13:00:57 +09:00
olliw42
4ffdb65288
AP_Mount: gimbal_manager_set_pitchyaw is not a command
2023-11-06 08:32:04 +09:00
Andrew Tridgell
369f369f1d
AP_Mount: fixed SIYI parser bug
...
this caused lots of lost packets
2023-11-03 22:44:03 +09:00
Asif Khan
eb5ead462b
AP_Mount: add get_poi
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-11-02 15:54:37 +11:00
Randy Mackay
e3e111ae8b
AP_Mount: Servo get_attitude_quat fix
2023-11-01 18:16:55 +11:00
Nick Exton
5b28086131
AP_Mount: Remove handler for DO_SET_ROI_NONE
2023-10-30 08:28:23 +09:00
Peter Barker
48b10a3105
AP_Mount: allow for compilation without AP_RTC_ENABLED
2023-10-11 19:17:27 +11:00
Randy Mackay
8999790ff0
AP_Mount: Xacti digital zoom percentage fix
2023-10-03 13:48:41 +09:00
Randy Mackay
6690b19364
AP_Mount: Xacti supports optical zoom
2023-10-03 13:48:41 +09:00
Randy Mackay
0b18de050a
AP_Mount: Xacti minor format update
2023-10-03 13:48:41 +09:00
Randy Mackay
18bf9669b0
AP_Mount: Xacti get_param_name_str returns empty string on failure
2023-10-03 11:24:10 +11:00
Randy Mackay
046cf5630e
AP_Mount: Xacti uses GCS_SEND_TEXT
2023-10-03 11:24:10 +11:00
Randy Mackay
288f7b5650
AP_Mount: Xacti take pic reliability improved
2023-10-03 11:24:10 +11:00
Randy Mackay
4ba6375d38
AP_Mount: Xacti does not report cannot take pic
2023-10-03 11:24:10 +11:00
Randy Mackay
ee7df6b060
AP_Mount: Xacti sets datetime
2023-09-19 10:58:52 +10:00
Randy Mackay
5e77ca483d
AP_Mount: Xacti slides reduced flash usage
2023-09-19 10:58:52 +10:00
Randy Mackay
b7d44c75a6
AP_Mount: Xacti gets reduced call to AP_HAL::millis()
2023-09-19 10:58:52 +10:00
Randy Mackay
fc24b45d56
AP_Mount: Xacti handles firmware ver and status
2023-09-19 10:58:52 +10:00
Nick Exton
1dd7d7dd7b
AP_Mount: In Siyi, change severity of warnings for Data Loss and No Card
2023-09-19 07:59:15 +09:00
Nick Exton
bad73df582
AP_Mount: In Siyi, clean up toggling of video recording
2023-09-19 07:59:15 +09:00
Nick Exton
a8e10ca59b
AP_Mount: In Siyi, request gimbal config when set_motion_mode() changes mode
2023-09-19 07:59:15 +09:00
Nick Exton
d3358ff3af
AP_Mount: Make Siyi set_motion_mode() only send on change
2023-09-19 07:59:15 +09:00
Nick Exton
62858ff91f
AP_Mount: Siyi set_motion_mode() now returns bool
...
And the mode param is now const.
2023-09-19 07:59:15 +09:00
Nick Exton
9fe5f4151e
AP_Mount: In Siyi, use config info received from gimbal
2023-09-19 07:59:15 +09:00
Nick Exton
188a5654c2
AP_Mount: Siyi set_lock() becomes set_motion_mode()
...
We have three motion modes on the Siyi: Lock, Follow and FPV.
Partially addresses #22900
2023-09-19 07:59:15 +09:00
James O'Shannessy
9b06395573
AP_Mount: Fix brace enclosed initializer list for older compilers
2023-09-16 14:59:00 +09:00
Nick Exton
83636e6ef3
AP_Mount: In Siyi, fix missing braces in process_packet()
2023-09-15 20:13:55 +09:00