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
Nick Exton
cc25f2915a
AP_Mount: In Siyi, fix calculation of attitude quaternion
...
Order of rotation for Siyi gimbals is (yaw, roll, pitch), which is 312
order. Quaternion::from_euler() function assumes a 321 order of
rotation (yaw, pitch, roll).
2023-09-13 11:48:47 +10:00
Nick Exton
ac96365a61
AP_Mount: In Siyi, add check for minimum supported firmware version
2023-09-12 08:36:29 +09:00
Nick Exton
fd6242964a
AP_Mount: In Siyi, rename _firmware_version member to _fw_version (NFC)
2023-09-12 08:36:29 +09:00
Nick Exton
8b7b265e9f
AP_Mount: In Siyi, store full firmware version info
2023-09-12 08:36:29 +09:00
Nick Exton
d99b5c173a
AP_Mount: In Siyi, fix zoom percentage in CAMERA_SETTINGS
2023-09-11 09:48:57 +10:00
Peter Barker
d1bcd2c5e1
AP_Mount: allow more libraries to compile with no HAL_GCS_ENABLED
2023-09-05 22:23:51 +10:00
Randy Mackay
820d00dfcd
AP_Mount: xacti supports set lens and zoom
2023-09-05 10:19:08 +10:00
Randy Mackay
9bb8df7b70
AP_Mount: Siyi supports rangefinder distance
2023-09-01 10:35:12 +10:00
Randy Mackay
d5772774d1
AP_Mount: Siyi timeout moved to definition
2023-09-01 10:35:12 +10:00
Randy Mackay
23deeb3a00
AP_Mount: Siyi supports set_lens
2023-09-01 10:35:12 +10:00
Randy Mackay
74fa07ae13
AP_Mount: Siyi displays zoom version
2023-09-01 10:35:12 +10:00
Randy Mackay
9a5acec243
AP_Mount: Siyi gets improved model detection
...
# Conflicts:
# libraries/AP_Mount/AP_Mount_Siyi.cpp
2023-09-01 10:35:12 +10:00
Randy Mackay
d59ff8501c
AP_Mount: Siyi loses unused definitions
2023-08-30 16:00:47 +09:00