APM:Libraries
|
#include <AP_Proximity_RangeFinder.h>
Public Member Functions | |
AP_Proximity_RangeFinder (AP_Proximity &_frontend, AP_Proximity::Proximity_State &_state) | |
void | update (void) |
float | distance_max () const |
float | distance_min () const |
bool | get_upward_distance (float &distance) const |
Public Member Functions inherited from AP_Proximity_Backend | |
AP_Proximity_Backend (AP_Proximity &_frontend, AP_Proximity::Proximity_State &_state) | |
virtual | ~AP_Proximity_Backend (void) |
virtual void | handle_msg (mavlink_message_t *msg) |
bool | get_horizontal_distance (float angle_deg, float &distance) const |
const Vector2f * | get_boundary_points (uint16_t &num_points) const |
bool | get_closest_object (float &angle_deg, float &distance) const |
uint8_t | get_object_count () const |
bool | get_object_angle_and_distance (uint8_t object_number, float &angle_deg, float &distance) const |
bool | get_horizontal_distances (AP_Proximity::Proximity_Distance_Array &prx_dist_array) const |
Private Attributes | |
uint32_t | _last_update_ms |
float | _distance_max |
float | _distance_min |
uint32_t | _last_upward_update_ms |
float | _distance_upward |
Definition at line 8 of file AP_Proximity_RangeFinder.h.
AP_Proximity_RangeFinder::AP_Proximity_RangeFinder | ( | AP_Proximity & | _frontend, |
AP_Proximity::Proximity_State & | _state | ||
) |
Definition at line 25 of file AP_Proximity_RangeFinder.cpp.
|
inlinevirtual |
Implements AP_Proximity_Backend.
Definition at line 19 of file AP_Proximity_RangeFinder.h.
|
inlinevirtual |
Implements AP_Proximity_Backend.
Definition at line 20 of file AP_Proximity_RangeFinder.h.
|
virtual |
Reimplemented from AP_Proximity_Backend.
Definition at line 86 of file AP_Proximity_RangeFinder.cpp.
Referenced by distance_min().
|
virtual |
Implements AP_Proximity_Backend.
Definition at line 33 of file AP_Proximity_RangeFinder.cpp.
|
private |
Definition at line 29 of file AP_Proximity_RangeFinder.h.
Referenced by distance_max(), and update().
|
private |
Definition at line 30 of file AP_Proximity_RangeFinder.h.
Referenced by distance_min(), and update().
|
private |
Definition at line 34 of file AP_Proximity_RangeFinder.h.
Referenced by get_upward_distance(), and update().
|
private |
Definition at line 28 of file AP_Proximity_RangeFinder.h.
Referenced by update().
|
private |
Definition at line 33 of file AP_Proximity_RangeFinder.h.
Referenced by get_upward_distance(), and update().