APM:Libraries
|
#include <IRLock.h>
Classes | |
struct | AP_IRLock_Flags |
struct | irlock_target_info |
Public Member Functions | |
virtual void | init (int8_t bus)=0 |
bool | healthy () const |
uint32_t | last_update_ms () const |
size_t | num_targets () const |
virtual bool | update ()=0 |
bool | get_angle_to_target_rad (float &x_angle_rad, float &y_angle_rad) const |
bool | get_unit_vector_body (Vector3f &ret) const |
Protected Attributes | |
struct IRLock::AP_IRLock_Flags | _flags |
uint32_t | _last_update_ms |
irlock_target_info | _target_info |
bool IRLock::get_angle_to_target_rad | ( | float & | x_angle_rad, |
float & | y_angle_rad | ||
) | const |
Definition at line 12 of file IRLock.cpp.
Referenced by num_targets().
bool IRLock::get_unit_vector_body | ( | Vector3f & | ret | ) | const |
Definition at line 27 of file IRLock.cpp.
Referenced by num_targets(), AC_PrecLand_SITL_Gazebo::update(), and AC_PrecLand_IRLock::update().
|
inline |
Definition at line 34 of file IRLock.h.
Referenced by AC_PrecLand_SITL_Gazebo::update(), and AC_PrecLand_IRLock::update().
|
pure virtual |
Implemented in AP_IRLock_SITL, and AP_IRLock_I2C.
|
inline |
Definition at line 37 of file IRLock.h.
Referenced by AC_PrecLand_SITL_Gazebo::update(), and AC_PrecLand_IRLock::update().
|
inline |
Definition at line 40 of file IRLock.h.
Referenced by AC_PrecLand_SITL_Gazebo::update(), and AC_PrecLand_IRLock::update().
|
pure virtual |
Implemented in AP_IRLock_SITL, and AP_IRLock_I2C.
Referenced by num_targets().
|
protected |
|
protected |
Definition at line 60 of file IRLock.h.
Referenced by last_update_ms(), AP_IRLock_I2C::update(), and AP_IRLock_SITL::update().
|
protected |
Definition at line 71 of file IRLock.h.
Referenced by get_angle_to_target_rad(), get_unit_vector_body(), AP_IRLock_I2C::read_frames(), AP_IRLock_I2C::update(), and AP_IRLock_SITL::update().