Randy Mackay
5a1a8d1c10
AP_Mount: add get_attitude_quaternion method
2024-12-10 19:57:06 +09:00
Thomas Watson
01c6765b6f
AP_Mount: optimize DroneCAN subscription process
...
* remove unnecessary nullptr check, these are always called from an
initialized AP_DroneCAN so if it's nullptr something has gone
horrifically wrong
* pass in driver index instead of repeatedly calling function to get it
* simplify error handling; knowing exactly which allocation failed is not
super helpful and one failing likely means subsequent ones will too,
as it can only fail due to being out of memory
2024-11-18 10:30:29 +11:00
Thomas Watson
2dd98e60ea
AP_Mount: Xacti: drop unused subscription status variable
2024-11-18 10:30:29 +11:00
zhou
3bc0207f22
AP_Mount: topotek: Change the type of gimbal angle acquisition
...
... also convert the lowercase characters in the command to uppercase
2024-11-12 16:56:05 +09:00
Peter Barker
99e314f49a
AP_Mount: tidy header includes
...
our pattern is to include the config file and then use the relevant define, with nothing in between
2024-11-12 13:02:43 +11:00
Peter Barker
dcc04d685f
AP_Mount: factor out update_mnt_target_from_rc_target from servo, use it elsewhere
...
this gives all backends the neutral-on-RC-failsafe behaviour
2024-11-12 11:01:21 +11:00
Hwurzburg
9dfcb487cf
AP_Mount: add RC failsafe action
2024-11-12 11:01:21 +11:00
Peter Barker
decf484702
AP_Mount: use NaN in place of 0 for camera information message
...
Co-authored-by: muramura <ma2maru@gmail.com>
2024-09-26 19:26:59 +10:00
Peter Barker
edc0e46614
AP_Mount: add and use global NaNf float value
2024-09-26 19:26:59 +10:00
Peter Barker
4b1e1871c9
AP_Mount: create and use AP_Terrain_config.h
2024-09-24 11:59:13 +10:00
Randy Mackay
aa65a2ab54
AP_Mount: siyi supports camera-thermal-range
2024-09-10 20:59:49 +09:00
Randy Mackay
1f14c2ca6b
AP_Mount: Siyi implements change_setting
2024-09-03 09:04:39 +09:00
Randy Mackay
5bcbf56a47
AP_Mount: Siyi ZT6 set lens fix
...
ZT6 has RGB and Thermal image sensors only
2024-08-27 10:23:47 +10:00
Randy Mackay
0874202aa1
AP_Mount: Siyi ZT6 hardware id fix
2024-08-27 10:23:47 +10:00
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