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
f361d9b0d0
AP_OpticalFlow: create and use AP_OPTICALFLOW_ENABLED
2021-12-29 18:12:03 +11: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
327ccc8961
AP_OpticalFlow: add override keyword where required
2018-11-08 11:30:12 +11:00
Julien Beraud
677a2f600f
AP_OpticalFlow_Onboard: remove gyro_cb
...
Not needed anymore
2017-01-23 21:23:16 +11:00
Andrew Tridgell
75688c8342
AP_OpticalFlow: Add EKF3 and remove EKF1
2016-12-19 08:07:09 +11:00
Andrew Tridgell
0be1b1aac2
AP_OpticalFlow: give access to AHRS from all backends
2016-11-28 08:26:56 +11:00
Lucas De Marchi
8b21dc9b22
AP_OpticalFlow: follow coding style
...
- use pragma once
- sort headers
- add missing header - always include what you are using in the header
2015-12-18 17:56:05 +11:00
Julien BERAUD
c5cca02bc8
AP_OpticalFlow: Add support for onboard optflow
...
Onboard Optical flow needs to have access to the ahrs to get
correct gyro values.
Therefore the constructor takes the ahrs as a param like it is done
for other classes that need to have access to these datas
2015-12-18 17:56:05 +11:00