Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Tridgell 7235c146fa AP_OpticalFlow: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker e45f938056 AP_OpticalFlow: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker 99ccbee474 AP_OpticalFlow: create and use AP_OPTICALFLOW_ENABLED
Including a define for each backend.
2021-12-29 18:12:03 +11:00
yaapu b84baf06d3 AP_OpticalFlow: fix MAVLink opflow driver, only apply yaw to flowRate as body rate comes from AHRS 2021-01-13 17:56:27 +11:00
Pierre Kancir e7ae1b4fb6 AP_OpticalFlow: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Michael du Breuil b1bc4268a9 AP_OpticalFlow: Remove unused device ID tracking 2019-04-26 20:10:56 +09:00
Randy Mackay 97b5c2b031 OpticalFlow: add MAVLink driver 2019-04-08 11:26:59 +09:00