Commit Graph

526 Commits

Author SHA1 Message Date
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
Randy Mackay 33542c0c1d AP_Mount: Siyi absolute zoom simplification 2023-08-30 16:00:47 +09:00
Andrew Tridgell 12f5448bf4 AP_Mount: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Randy Mackay a8057f0157 AP_Mount: DEVID made writeable 2023-08-29 11:34:51 +10:00
Randy Mackay 6a14c1f72f AP_Mount: Viewpro fix for date sent from autopilot 2023-08-29 11:34:51 +10:00
Peter Barker 02d0a07083 AP_Mount: add build options for deprecated messages MOUNT_CONTROL/MOUNT_CONFIGURE
these are repalced by the command equivalents
2023-08-29 11:06:13 +10:00
Asif Khan 3927521aa6 AP_Mount: move handling of all do-set-roi to AP_Mount library 2023-08-26 17:55:53 +10:00
Asif Khan dffeaf0897 AP_Mount: Siyi fix for continuous zoom
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-08-26 14:46:31 +09:00
Peter Barker 02d1eca49b AP_Mount: accept mount commands as command_int 2023-08-24 22:07:12 +10:00
Andrew Tridgell 3752750f0a AP_Mount: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Randy Mackay 9d09739044 AP_Mount: Viewpro supports get rangefinder distance 2023-08-23 18:09:56 +10:00
olliw42 e2599252a1 AP_Mount: use backend instead of _backends[instance] 2023-08-11 07:55:05 +09:00
davidsastresas 767710340a AP_Mount: Viewpro sends gimbal_device_id in camera_information 2023-08-10 14:37:30 +09:00
davidsastresas 25e8bd1f42 AP_Mount: Xacti sends gimbal_device_id in camera_information 2023-08-10 14:37:30 +09:00