APM:Libraries
|
#include <AP_VisualOdom.h>
Classes | |
struct | VisualOdomState |
Public Types | |
enum | AP_VisualOdom_Type { AP_VisualOdom_Type_None = 0, AP_VisualOdom_Type_MAV = 1 } |
Public Member Functions | |
AP_VisualOdom () | |
void | init () |
bool | enabled () const |
bool | healthy () const |
const Vector3f & | get_angle_delta () const |
const Vector3f & | get_position_delta () const |
uint64_t | get_time_delta_usec () const |
float | get_confidence () const |
uint32_t | get_last_update_ms () const |
const Vector3f & | get_pos_offset (void) const |
void | handle_msg (mavlink_message_t *msg) |
Static Public Attributes | |
static const struct AP_Param::GroupInfo | var_info [] |
Private Attributes | |
AP_Int8 | _type |
AP_Vector3f | _pos_offset |
AP_Int8 | _orientation |
AP_VisualOdom_Backend * | _driver |
VisualOdomState | _state |
Friends | |
class | AP_VisualOdom_Backend |
Definition at line 27 of file AP_VisualOdom.h.
Enumerator | |
---|---|
AP_VisualOdom_Type_None | |
AP_VisualOdom_Type_MAV |
Definition at line 35 of file AP_VisualOdom.h.
AP_VisualOdom::AP_VisualOdom | ( | ) |
bool AP_VisualOdom::enabled | ( | void | ) | const |
Definition at line 76 of file AP_VisualOdom.cpp.
Referenced by handle_msg(), and healthy().
|
inline |
Definition at line 59 of file AP_VisualOdom.h.
|
inline |
Definition at line 62 of file AP_VisualOdom.h.
|
inline |
Definition at line 63 of file AP_VisualOdom.h.
|
inline |
|
inline |
Definition at line 60 of file AP_VisualOdom.h.
|
inline |
Definition at line 61 of file AP_VisualOdom.h.
void AP_VisualOdom::handle_msg | ( | mavlink_message_t * | msg | ) |
Definition at line 93 of file AP_VisualOdom.cpp.
Referenced by get_pos_offset(), and GCS_MAVLINK::handle_vision_position_delta().
bool AP_VisualOdom::healthy | ( | void | ) | const |
void AP_VisualOdom::init | ( | void | ) |
Definition at line 67 of file AP_VisualOdom.cpp.
|
friend |
Definition at line 30 of file AP_VisualOdom.h.
|
private |
Definition at line 81 of file AP_VisualOdom.h.
Referenced by enabled(), handle_msg(), and init().
|
private |
Definition at line 78 of file AP_VisualOdom.h.
Referenced by AP_VisualOdom_Backend::set_deltas().
|
private |
Definition at line 77 of file AP_VisualOdom.h.
Referenced by get_pos_offset().
|
private |
Definition at line 84 of file AP_VisualOdom.h.
Referenced by get_angle_delta(), get_confidence(), get_last_update_ms(), get_position_delta(), get_time_delta_usec(), healthy(), and AP_VisualOdom_Backend::set_deltas().
|
private |
Definition at line 76 of file AP_VisualOdom.h.
|
static |
Definition at line 71 of file AP_VisualOdom.h.
Referenced by AP_VisualOdom().