APM:Libraries
|
#include <OpticalFlow.h>
Classes | |
struct | AP_OpticalFlow_Flags |
struct | OpticalFlow_state |
Public Member Functions | |
OpticalFlow (AP_AHRS_NavEKF &ahrs) | |
OpticalFlow (const OpticalFlow &other)=delete | |
OpticalFlow & | operator= (const OpticalFlow &)=delete |
void | init (void) |
bool | enabled () const |
bool | healthy () const |
void | update (void) |
uint8_t | quality () const |
const Vector2f & | flowRate () const |
const Vector2f & | bodyRate () const |
uint8_t | device_id () const |
uint32_t | last_update () const |
const Vector3f & | get_pos_offset (void) const |
Static Public Attributes | |
static const struct AP_Param::GroupInfo | var_info [] |
Private Attributes | |
AP_AHRS_NavEKF & | _ahrs |
OpticalFlow_backend * | backend |
struct OpticalFlow::AP_OpticalFlow_Flags | _flags |
AP_Int8 | _enabled |
AP_Int16 | _flowScalerX |
AP_Int16 | _flowScalerY |
AP_Int16 | _yawAngle_cd |
AP_Vector3f | _pos_offset |
AP_Int8 | _address |
struct OpticalFlow_state | _state |
uint32_t | _last_update_ms |
Friends | |
class | OpticalFlow_backend |
Definition at line 28 of file OpticalFlow.h.
OpticalFlow::OpticalFlow | ( | AP_AHRS_NavEKF & | ahrs | ) |
|
delete |
|
inline |
Definition at line 58 of file OpticalFlow.h.
Referenced by GCS_MAVLINK::_set_mode_common().
|
inline |
Definition at line 61 of file OpticalFlow.h.
|
inline |
Definition at line 43 of file OpticalFlow.h.
|
inline |
Definition at line 55 of file OpticalFlow.h.
Referenced by GCS_MAVLINK::_set_mode_common().
|
inline |
Definition at line 74 of file OpticalFlow.h.
|
inline |
Definition at line 46 of file OpticalFlow.h.
Referenced by GCS_MAVLINK::_set_mode_common(), and setup().
void OpticalFlow::init | ( | void | ) |
Definition at line 84 of file OpticalFlow.cpp.
Referenced by setup().
|
inline |
Definition at line 64 of file OpticalFlow.h.
|
delete |
|
inline |
Definition at line 52 of file OpticalFlow.h.
Referenced by GCS_MAVLINK::_set_mode_common().
void OpticalFlow::update | ( | void | ) |
Definition at line 122 of file OpticalFlow.cpp.
Referenced by healthy().
|
friend |
Definition at line 30 of file OpticalFlow.h.
|
private |
Definition at line 95 of file OpticalFlow.h.
Referenced by OpticalFlow_backend::get_address().
|
private |
Definition at line 82 of file OpticalFlow.h.
Referenced by OpticalFlow_backend::get_ahrs().
|
private |
Definition at line 90 of file OpticalFlow.h.
|
private |
Referenced by healthy(), OpticalFlow(), and update().
|
private |
Definition at line 91 of file OpticalFlow.h.
Referenced by OpticalFlow_backend::_flowScaler().
|
private |
Definition at line 92 of file OpticalFlow.h.
Referenced by OpticalFlow_backend::_flowScaler().
|
private |
Definition at line 100 of file OpticalFlow.h.
Referenced by OpticalFlow_backend::_update_frontend(), last_update(), and update().
|
private |
Definition at line 94 of file OpticalFlow.h.
Referenced by get_pos_offset().
|
private |
Definition at line 98 of file OpticalFlow.h.
Referenced by OpticalFlow_backend::_update_frontend(), bodyRate(), device_id(), flowRate(), OpticalFlow(), and quality().
|
private |
Definition at line 93 of file OpticalFlow.h.
Referenced by OpticalFlow_backend::_yawAngleRad().
|
private |
Definition at line 83 of file OpticalFlow.h.
|
static |
Definition at line 79 of file OpticalFlow.h.
Referenced by OpticalFlow().