mirror of https://github.com/ArduPilot/ardupilot
1c08119dd9
* 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 |
||
---|---|---|
.. | ||
examples/AP_OpticalFlow_test | ||
AP_OpticalFlow.cpp | ||
AP_OpticalFlow.h | ||
AP_OpticalFlow_Backend.cpp | ||
AP_OpticalFlow_Backend.h | ||
AP_OpticalFlow_CXOF.cpp | ||
AP_OpticalFlow_CXOF.h | ||
AP_OpticalFlow_Calibrator.cpp | ||
AP_OpticalFlow_Calibrator.h | ||
AP_OpticalFlow_HereFlow.cpp | ||
AP_OpticalFlow_HereFlow.h | ||
AP_OpticalFlow_MAV.cpp | ||
AP_OpticalFlow_MAV.h | ||
AP_OpticalFlow_MSP.cpp | ||
AP_OpticalFlow_MSP.h | ||
AP_OpticalFlow_Onboard.cpp | ||
AP_OpticalFlow_Onboard.h | ||
AP_OpticalFlow_PX4Flow.cpp | ||
AP_OpticalFlow_PX4Flow.h | ||
AP_OpticalFlow_Pixart.cpp | ||
AP_OpticalFlow_Pixart.h | ||
AP_OpticalFlow_Pixart_SROM.h | ||
AP_OpticalFlow_SITL.cpp | ||
AP_OpticalFlow_SITL.h | ||
AP_OpticalFlow_UPFLOW.cpp | ||
AP_OpticalFlow_UPFLOW.h | ||
AP_OpticalFlow_config.h |