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
3 years ago
Peter Barker
99ccbee474
AP_OpticalFlow: create and use AP_OPTICALFLOW_ENABLED
...
Including a define for each backend.
3 years ago
Peter Barker
3030c0b4f8
AP_OpticalFlow: adjust for rename of OpticalFlow.h to AP_OpticalFlow.h
3 years ago
Andrew Tridgell
b47181a86f
AP_OpticalFlow: probe all I2C buses for px4flow on Hex Cubes
5 years ago
Stone white
8b7b5f0db9
AP_OpticalFlow: Make PX4FLOW work on all external I2C buses
6 years ago
murata
9ed38eaf7b
AP_OpticalFlow: Change to collected CRC header
6 years ago
Michael du Breuil
b1bc4268a9
AP_OpticalFlow: Remove unused device ID tracking
6 years ago
Andrew Tridgell
a1f1e7e435
AP_OpticalFlow: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Randy Mackay
bc38affcb1
AP_OpticalFlow: px4flow retries init 10 times at startup
...
This resolves an issue in which some px4flow sensors are slow to startup
8 years ago
Randy Mackay
a7afffe14a
AP_OpticalFlow: rename BUS_ID parameter to ADDR
...
This makes the parameter more consistent with RangeFinder
8 years ago
mirkix
ac60ddfdde
AP_OpticalFlow: allow to search on I2C bus 2
8 years ago
murata
d9dbf6e1eb
AP_OpticalFlow: Change from magic number 0 to definition name.
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Andrew Tridgell
bdc41446ae
AP_OpticalFlow: fixed build
8 years ago
Andrew Tridgell
06dfbc3e09
AP_OpticalFlow: added common driver for PX4Flow
...
used on Linux and NuttX boards
8 years ago