APM:Libraries
|
#include <AP_OpticalFlow_PX4Flow.h>
Classes | |
struct | i2c_integral_frame |
Public Member Functions | |
AP_OpticalFlow_PX4Flow (OpticalFlow &_frontend) | |
constructor More... | |
void | init () override |
void | update (void) override |
![]() | |
OpticalFlow_backend (OpticalFlow &_frontend) | |
virtual | ~OpticalFlow_backend (void) |
Static Public Member Functions | |
static AP_OpticalFlow_PX4Flow * | detect (OpticalFlow &_frontend) |
Private Member Functions | |
bool | scan_buses (void) |
bool | setup_sensor (void) |
void | timer (void) |
Private Attributes | |
AP_HAL::OwnPtr< AP_HAL::Device > | dev |
Static Private Attributes | |
static const uint8_t | REG_INTEGRAL_FRAME = 0x16 |
Additional Inherited Members | |
![]() | |
void | _update_frontend (const struct OpticalFlow::OpticalFlow_state &state) |
Vector2f | _flowScaler (void) const |
float | _yawAngleRad (void) const |
void | _applyYaw (Vector2f &v) |
AP_AHRS_NavEKF & | get_ahrs (void) |
uint8_t | get_address (void) const |
![]() | |
OpticalFlow & | frontend |
AP_HAL::Semaphore * | _sem |
Definition at line 6 of file AP_OpticalFlow_PX4Flow.h.
AP_OpticalFlow_PX4Flow::AP_OpticalFlow_PX4Flow | ( | OpticalFlow & | _frontend | ) |
constructor
Definition at line 34 of file AP_OpticalFlow_PX4Flow.cpp.
Referenced by detect().
|
static |
Definition at line 41 of file AP_OpticalFlow_PX4Flow.cpp.
Referenced by init(), and OpticalFlow::init().
|
inlineoverridevirtual |
Implements OpticalFlow_backend.
Definition at line 13 of file AP_OpticalFlow_PX4Flow.h.
|
private |
Definition at line 57 of file AP_OpticalFlow_PX4Flow.cpp.
Referenced by setup_sensor().
|
private |
Definition at line 95 of file AP_OpticalFlow_PX4Flow.cpp.
Referenced by detect().
|
private |
Definition at line 112 of file AP_OpticalFlow_PX4Flow.cpp.
Referenced by setup_sensor().
|
overridevirtual |
Implements OpticalFlow_backend.
Definition at line 107 of file AP_OpticalFlow_PX4Flow.cpp.
Referenced by init().
|
private |
Definition at line 22 of file AP_OpticalFlow_PX4Flow.h.
Referenced by scan_buses(), setup_sensor(), and timer().
|
staticprivate |
Definition at line 24 of file AP_OpticalFlow_PX4Flow.h.
Referenced by scan_buses(), and timer().