Commit Graph

555 Commits

Author SHA1 Message Date
Tim Tuxworth 495726344c AP_Mount: Do not override default mode when first connecting to RC 2024-04-12 12:18:33 +09:00
muramura a9d0bf856e AP_Mount: Do not perform unnecessary processing 2024-04-11 18:35:01 +10:00
davidsastresas 0b7710420b AP_Mount: fix gimbal-device-attitude-status yaw frame flag 2024-03-26 10:49:30 +11:00
Randy Mackay affc1b4eb4 AP_Mount: get-gimbal-device-flags reports lock state 2024-03-26 10:49:30 +11:00
Randy Mackay c392089ae7 AP_Mount: do-gimbal-manager-pitch-yaw can set lock state
Co-authored-by: davidsastresas <davidsastresas@gmail.com>
2024-03-26 10:49:30 +11:00
Randy Mackay d0d33b0b36 AP_Mount: clarify yaw_lock comments 2024-03-26 10:49:30 +11:00
Randy Mackay 4755a60863 AP_Mount: RC targeting mode lock state from previous mode
This leads to smoother transitions between RC and GCS control
2024-03-26 10:49:30 +11:00
Randy Mackay a6a5cde34c AP_Mount: add set_camera_source support 2024-03-25 09:19:18 +09:00
Randy Mackay f9198b7e4e AP_Mount: add set_rangefinder_enable for ViewPro 2024-03-22 14:55:43 +09:00
Randy Mackay 456c1bf39c AP_Mount: viewpro fix for swapped ahrs roll pitch 2024-03-20 17:59:48 +11:00
Peter Barker 64d3897126 AP_Mount: correct compilation when GCS not available 2024-03-09 10:20:03 +11:00
Andy Piper 01d04917cb AP_Mount: squash static_assert warnings 2024-02-22 14:40:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas d6b1644710 AP_Mount: send text feedback when gimbal gets detected 2024-02-14 09:03:46 +09:00
Peter Barker d33cc2847d AP_Mount: correct compilation with GCS disabled 2024-02-13 20:56:09 +11:00
Randy Mackay 0fca670f85 Mount: Siyi waits for non-zero cam firmware version 2024-02-09 17:00:26 +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