Commit Graph

585 Commits

Author SHA1 Message Date
Peter Barker 53e9fe0805 AP_Mount: correct compilation with HAL_MOUNT_SET_CAMERA_SOURCE_ENABLED off 2024-08-12 17:50:59 +10:00
Peter Barker 496bbde384 AP_Mount: use GCS_SEND_TEXT rather than gcs().send_text
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-07 18:33:16 +10:00
Peter Barker 16c2e23ee7 AP_Mount: allow AP_MOUNT_BACKEND_DEFAULT_ENABLED to be overridden 2024-07-28 12:00:02 +10:00
Peter Barker 7f97e897e2 AP_Camera: add sanity check for Siyi lens change 2024-07-25 12:18:51 +10:00
muramura f1e67ba747 AP_Mount: SWITCH statement to table reference 2024-07-25 12:18:51 +10:00
mduclehcm 25a406e633 AP_Mount: Conditionally define `serial_instance` to fix unused variable compile error
- Wrapped the definition of `serial_instance` with preprocessor directives to ensure it is only defined when necessary.
- This resolves the compile error caused by the unused variable when no features requiring `serial_instance` are enabled.
2024-07-25 09:35:46 +10:00
Randy Mackay 2b64787099 AP_Mount: topotek spelling fix 2024-07-24 17:28:24 +10:00
Randy Mackay cfd1e98333 AP_Mount: topotek safely parses version 2024-07-24 17:28:24 +10:00
xiaozhou e2cb4ba232 AP_Mount: Topotek image tracking fix
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-07-23 10:51:09 +10:00
xiaozhou 69e4005bb6 AP_Mount: Topotek retrieves model name
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-07-23 10:51:09 +10:00
xiaozhou 858aff5f4f AP_Mount: Topotek handles new version format
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-07-23 10:51:09 +10:00
Peter Barker 16a9e53bdb AP_Mount: tidy Solo defines 2024-07-20 22:44:10 +10:00
muramura 9f6edd8d55 AP_Mount: Increment the serial instance 2024-07-10 08:31:25 +09:00
Andrew Tridgell b19186980a AP_Mount: added sending of position data to Siyi gimbal
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
this will allow for exif tags of position for photos
2024-07-09 11:28:57 +10:00
laozhou 611fb94660 AP_Mount: integrate topotek gimbal driver
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-07-09 09:08:51 +10:00
laozhou d5d1b9885c AP_Mount: add topotek backend
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-07-09 09:08:51 +10:00
Randy Mackay 3439ced236 AP_Mount: add Siyi ZT6 support 2024-06-26 18:37:42 +10:00
Peter Barker 8302e0d1e2 AP_Mount: rename ins get_primary_accel to get_first_usable_accel 2024-06-26 17:12:12 +10:00
MattKear e1a1d15f62 AP_Mount: Alexmos: Improve angle precision and move defines to cpp 2024-06-20 15:13:48 +10:00
Andrew Tridgell 28da263e16 AP_Mount: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Randy Mackay 72b5efd8b3 AP_Mount: serial backends gets instance 2024-05-22 18:00:22 +10:00
Randy Mackay 99626b73ff AP_Mount: SToRM32_serial inherits from serial backend 2024-05-22 18:00:22 +10:00
Randy Mackay 7fc00efe7e AP_Mount: Viewpro inherits from serial backend 2024-05-22 18:00:22 +10:00
Randy Mackay 790b5e8565 AP_Mount: Siyi inherits from serial backend 2024-05-22 18:00:22 +10:00
Randy Mackay 1e777390b2 AP_Mount: add Backend_Serial 2024-05-22 18:00:22 +10:00
James O'Shannessy a5e11911fc AP_Mount: Only save converted mount if mount was previously set in the first place
The mount library force configures the mount type on conversion, even if the mount was never configured in the first place
2024-05-22 17:11:40 +10:00
Nick Exton 0af4649705 AP_Mount: In Servo backend, report attitude as demanded servo angles, not target angles 2024-05-21 14:27:28 +09:00
Nick Exton e17439287b AP_Mount: In Servo backend, add overrides for has_roll_control() and has_tilt_control() 2024-05-21 14:27:28 +09:00
Nick Exton 0e090faf05 AP_Mount: Add roll_range_valid() and pitch_range_valid() functions
Equivalent to yaw_range_valid().
2024-05-21 14:27:28 +09:00
Nick Exton 8b5539c055 AP_Mount: Clarify angle frames of set_angle_target() 2024-05-21 14:28:38 +10:00
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