Commit Graph

515 Commits

Author SHA1 Message Date
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
davidsastresas d242a968f3 AP_Mount: Siyi sends gimbal_device_id in camera_information 2023-08-10 14:37:30 +09:00
davidsastresas 55aa1b5a32 AP_Mount: Backend sends gimbal_device_id in device_attitude_status_send 2023-08-10 14:37:30 +09:00
Asif Khan f26528edba AP_Mount: fix GIMBAL_MANAGER_SET_PITCHYAW not working correctly when using multiple gimbals 2023-08-09 10:03:34 +09:00
Asif Khan ea9f4a79f5 AP_Mount: fix sending camera information and settings for each backend 2023-08-09 10:03:34 +09:00
Randy Mackay 9a29bf3f05 Mount: type param desc gets Viewpro 2023-08-02 17:25:25 +10:00
Peter Barker 117d99045d AP_Mount: correct ViewPro compilation under g++-7.5.0
non-trivial designators not implemented
2023-08-02 11:32:31 +09:00
Randy Mackay 617fb98eb6 AP_Mount: viewpro gets vehicle yaw in 0 to 360 range 2023-07-26 20:20:13 +09:00
Randy Mackay 0ccf41b525 AP_Mount: viewpro formatting fix 2023-07-26 20:20:13 +09:00
Randy Mackay 70cf9de970 AP_Mount: viewpro directly fills in packet structures 2023-07-26 20:20:13 +09:00
Randy Mackay cea0acdb01 AP_Mount: viewpro implements set lens
also reports model, firmware version and zoom to GCS
also gets recording status from gimbal
2023-07-26 20:20:13 +09:00
Randy Mackay 315d972c5d AP_Mount: add set lens support 2023-07-26 20:20:13 +09:00