ardupilot/libraries/AP_OpticalFlow
Thomas Watson 1c08119dd9 AP_OpticalFlow: 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
..
examples/AP_OpticalFlow_test AP_OpticalFlow: include cleanups 2022-11-08 09:49:19 +11:00
AP_OpticalFlow.cpp AP_OpticalFlow: tidy defaulting of Bebop OpticalFlow sensor type 2024-11-12 12:45:29 +11:00
AP_OpticalFlow.h AP_OpticalFlow: correct comments on AP_OpticalFlow methods 2024-01-22 19:14:42 +11:00
AP_OpticalFlow_Backend.cpp AP_OpticalFlow: use vector rotate method 2023-07-18 11:19:57 +10:00
AP_OpticalFlow_Backend.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_CXOF.cpp AP_OpticalFlow: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_OpticalFlow_CXOF.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_Calibrator.cpp AP_OpticalFlow: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
AP_OpticalFlow_Calibrator.h AP_OpticalFlow: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
AP_OpticalFlow_HereFlow.cpp AP_OpticalFlow: optimize DroneCAN subscription process 2024-11-18 10:30:29 +11:00
AP_OpticalFlow_HereFlow.h AP_OpticalFlow: optimize DroneCAN subscription process 2024-11-18 10:30:29 +11:00
AP_OpticalFlow_MAV.cpp AP_OpticalFlow: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_OpticalFlow_MAV.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_MSP.cpp AP_OpticalFlow: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_OpticalFlow_MSP.h AP_OpticalFlow: rename OpticalFlow class to AP_OpticalFlow 2022-08-18 14:24:01 +10:00
AP_OpticalFlow_Onboard.cpp AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_Onboard.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_PX4Flow.cpp AP_OpticalFlow: cleanup printf warnings 2024-07-11 09:34:29 +10:00
AP_OpticalFlow_PX4Flow.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_Pixart.cpp AP_OpticalFlow: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_OpticalFlow_Pixart.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_Pixart_SROM.h
AP_OpticalFlow_SITL.cpp AP_OpticalFlow: move simulated height_agl into fdm structure 2024-01-08 20:00:01 +11:00
AP_OpticalFlow_SITL.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_UPFLOW.cpp AP_OpticalFlow: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_OpticalFlow_UPFLOW.h AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
AP_OpticalFlow_config.h AP_OpticalFlow: add and use AP_OPTICALFLOW_CALIBRATOR_ENABLED 2023-07-12 21:37:24 +10:00