APM:Libraries
Public Member Functions | Private Attributes | List of all members
AP_OpticalFlow_Onboard Class Reference

#include <AP_OpticalFlow_Onboard.h>

Inheritance diagram for AP_OpticalFlow_Onboard:
[legend]
Collaboration diagram for AP_OpticalFlow_Onboard:
[legend]

Public Member Functions

 AP_OpticalFlow_Onboard (OpticalFlow &_frontend)
 
void init (void)
 
void update (void)
 
- Public Member Functions inherited from OpticalFlow_backend
 OpticalFlow_backend (OpticalFlow &_frontend)
 
virtual ~OpticalFlow_backend (void)
 

Private Attributes

uint32_t _last_read_ms
 

Additional Inherited Members

- Protected Member Functions inherited from OpticalFlow_backend
void _update_frontend (const struct OpticalFlow::OpticalFlow_state &state)
 
Vector2f _flowScaler (void) const
 
float _yawAngleRad (void) const
 
void _applyYaw (Vector2f &v)
 
AP_AHRS_NavEKFget_ahrs (void)
 
uint8_t get_address (void) const
 
- Protected Attributes inherited from OpticalFlow_backend
OpticalFlowfrontend
 
AP_HAL::Semaphore_sem
 

Detailed Description

Definition at line 24 of file AP_OpticalFlow_Onboard.h.

Constructor & Destructor Documentation

◆ AP_OpticalFlow_Onboard()

AP_OpticalFlow_Onboard::AP_OpticalFlow_Onboard ( OpticalFlow _frontend)

Definition at line 32 of file AP_OpticalFlow_Onboard.cpp.

Member Function Documentation

◆ init()

void AP_OpticalFlow_Onboard::init ( void  )
virtual

Implements OpticalFlow_backend.

Definition at line 36 of file AP_OpticalFlow_Onboard.cpp.

Here is the call graph for this function:

◆ update()

void AP_OpticalFlow_Onboard::update ( void  )
virtual

Implements OpticalFlow_backend.

Definition at line 42 of file AP_OpticalFlow_Onboard.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _last_read_ms

uint32_t AP_OpticalFlow_Onboard::_last_read_ms
private

Definition at line 31 of file AP_OpticalFlow_Onboard.h.

Referenced by update().


The documentation for this class was generated from the following files: