Commit Graph

497 Commits

Author SHA1 Message Date
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
Randy Mackay 11a505f16f AP_Mount: Gremsy fix for attitude reporting 2023-07-26 17:33:18 +10:00
Randy Mackay 2812b1e8bf AP_Mount: viewpro fix for pitch angle reporting 2023-07-26 17:33:18 +10:00
Asif Khan fd6db1ef45 AP_Mount: add MNT log msg for mount's actual and target angles logging 2023-07-26 17:33:18 +10:00
Randy Mackay ca935ef47e AP_Mount: viewpro and xacti only enabled on boards 2mb flash 2023-07-18 21:02:02 +09:00
Randy Mackay d5977b6d96 AP_Mount: viewpro calc_crc len arg fix
Also remove one unnecessary length check
Also correct length check that meant last byte of buffer was unusable
2023-07-18 21:02:02 +09:00
Randy Mackay a8bb79b9ab AP_Mount: add viewpro cpp driver 2023-07-18 21:02:02 +09:00
Randy Mackay ddb91afdde AP_Mount: add set_tracking accessor 2023-07-18 21:02:02 +09:00
Randy Mackay 471f528233 AP_Mount: Xacti integrates get-date-and-time return of ms 2023-07-18 21:02:02 +09:00
Asif Khan 0c67f20a74 AP_Mount: fix setting default mode redundantly in each backend 2023-07-15 10:46:28 +10:00
Randy Mackay c28e629af3 AP_Mount: Xacti fix for gnss format 2023-07-12 08:18:46 +09:00
Andrew Tridgell 9454b54a1d AP_Mount: prevent SIYI driver crash if serial port not setup
if MNT1_TYPE=8 and no serial protocol set to gimbal then a camera
trigger can crash the vehicle
2023-07-11 20:35:13 +09:00
Peter Barker 485fee36ab AP_Mount: add and use SetFocusResult 2023-07-05 16:28:42 +10:00
Peter Barker c70778e4d4 AP_Mount: correct gimbal manager flags 2023-07-03 08:09:04 +09:00
Randy Mackay 3388e6f25d AP_Mount: remove xacti debug 2023-07-01 18:32:20 +10:00
Randy Mackay bb8319e914 AP_Mount: frontend instantiates Xacti backend 2023-06-27 21:12:20 +10:00
Randy Mackay a4f34811a0 AP_Mount: add Xacti DroneCAN backend 2023-06-27 21:12:20 +10:00
Randy Mackay 2a30bc7ce1 AP_Mount: add devid parameter and setter 2023-06-27 21:12:20 +10:00
Randy Mackay cf77a564fd AP_Mount: minor comment fix 2023-06-27 21:12:20 +10:00