Commit Graph

14 Commits

Author SHA1 Message Date
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
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
Randy Mackay a6a5cde34c AP_Mount: add set_camera_source support 2024-03-25 09:19:18 +09:00
Andy Piper 01d04917cb AP_Mount: squash static_assert warnings 2024-02-22 14:40:55 +11:00
Randy Mackay 6690b19364 AP_Mount: Xacti supports optical zoom 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 288f7b5650 AP_Mount: Xacti take pic reliability improved 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 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
Randy Mackay 820d00dfcd AP_Mount: xacti supports set lens and zoom 2023-09-05 10:19:08 +10:00
Peter Barker 485fee36ab AP_Mount: add and use SetFocusResult 2023-07-05 16:28:42 +10:00
Randy Mackay a4f34811a0 AP_Mount: add Xacti DroneCAN backend 2023-06-27 21:12:20 +10:00