Commit Graph

14 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 988aa992bf AP_OpticalFlow: add and use a "bool read(c)" method to AP_HAL
this is much less likely to not work vs the int16_t equivalent
2023-03-22 17:59:11 +11: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
Peter Barker ed5303d1b8 AP_OpticalFlow: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
zhouzhiwen2000 7c6d5d9bf4 AP_OpticalFlow:add UPFLOW sensor 2021-03-24 08:42:14 +09:00
yaapu 5b2d430a2a AP_OpticalFlow: fix CXOF opflow driver, only apply yaw to flowRate as body rate comes from AHRS 2021-01-13 17:56:27 +11:00
斯东Stone c0e8a443af AP_OpticalFlow: Correct CX-OF Data Format Sequence
Correct CX-OF (a.k.a. UART Version PMW3901) Data Format Sequence
2019-05-29 10:22:51 +09:00
murata 9ed38eaf7b AP_OpticalFlow: Change to collected CRC header 2019-05-21 09:19:19 +10:00
Michael du Breuil b1bc4268a9 AP_OpticalFlow: Remove unused device ID tracking 2019-04-26 20:10:56 +09:00
Tom Pittenger 699b7b9788 AP_OpticalFlow: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07: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