Commit Graph

6 Commits

Author SHA1 Message Date
Peter Barker 3e1388b7e6 AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +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
Peter Barker 3030c0b4f8 AP_OpticalFlow: adjust for rename of OpticalFlow.h to AP_OpticalFlow.h 2021-12-28 10:16:20 +11:00
Randy Mackay 671f39c874 AP_OpticalFlow: remove unnecessary init from CSOF and add comments
also replace greater-than-zero with is_positive
2018-11-28 20:38:58 +09:00
Randy Mackay 4f738ca906 AP_OpticalFlow: driver for Cheerson CX-OF 2018-11-28 20:38:58 +09:00