APM:Libraries
|
#include <AP_IRLock_I2C.h>
Classes | |
struct | frame |
Public Member Functions | |
void | init (int8_t bus) override |
bool | update () override |
Public Member Functions inherited from IRLock | |
bool | healthy () const |
uint32_t | last_update_ms () const |
size_t | num_targets () const |
bool | get_angle_to_target_rad (float &x_angle_rad, float &y_angle_rad) const |
bool | get_unit_vector_body (Vector3f &ret) const |
Private Member Functions | |
bool | timer (void) |
bool | sync_frame_start (void) |
bool | read_block (struct frame &irframe) |
void | read_frames (void) |
void | pixel_to_1M_plane (float pix_x, float pix_y, float &ret_x, float &ret_y) |
Private Attributes | |
AP_HAL::OwnPtr< AP_HAL::Device > | dev |
AP_HAL::Semaphore * | sem |
uint32_t | _last_read_ms |
Additional Inherited Members | |
Protected Attributes inherited from IRLock | |
struct IRLock::AP_IRLock_Flags | _flags |
uint32_t | _last_update_ms |
irlock_target_info | _target_info |
Definition at line 9 of file AP_IRLock_I2C.h.
|
overridevirtual |
Implements IRLock.
Definition at line 35 of file AP_IRLock_I2C.cpp.
Referenced by AC_PrecLand_IRLock::init().
|
private |
Definition at line 86 of file AP_IRLock_I2C.cpp.
Referenced by read_frames().
|
private |
Definition at line 97 of file AP_IRLock_I2C.cpp.
Referenced by read_frames().
|
private |
Definition at line 115 of file AP_IRLock_I2C.cpp.
Referenced by init().
|
private |
Definition at line 58 of file AP_IRLock_I2C.cpp.
Referenced by read_frames().
|
private |
|
overridevirtual |
Implements IRLock.
Definition at line 158 of file AP_IRLock_I2C.cpp.
Referenced by AC_PrecLand_IRLock::update().
|
private |
Definition at line 39 of file AP_IRLock_I2C.h.
Referenced by read_block(), sync_frame_start(), and update().
|
private |
Definition at line 19 of file AP_IRLock_I2C.h.
Referenced by init(), read_block(), sync_frame_start(), and update().
|
private |
Definition at line 38 of file AP_IRLock_I2C.h.
Referenced by init(), read_frames(), and update().