#include <AP_Proximity_SITL.h>
|
void | set_status (AP_Proximity::Proximity_Status status) |
|
bool | convert_angle_to_sector (float angle_degrees, uint8_t §or) const |
|
void | init_boundary () |
|
void | update_boundary_for_sector (uint8_t sector) |
|
uint8_t | get_ignore_area_count () const |
|
bool | get_ignore_area (uint8_t index, uint16_t &angle_deg, uint8_t &width_deg) const |
|
bool | get_next_ignore_start_or_end (uint8_t start_or_end, int16_t start_angle, int16_t &ignore_start) const |
|
AP_Proximity & | frontend |
|
AP_Proximity::Proximity_State & | state |
|
uint8_t | _num_sectors = PROXIMITY_MAX_DIRECTION |
|
uint16_t | _sector_middle_deg [PROXIMITY_SECTORS_MAX] = {0, 45, 90, 135, 180, 225, 270, 315, 0, 0, 0, 0} |
|
uint8_t | _sector_width_deg [PROXIMITY_SECTORS_MAX] = {45, 45, 45, 45, 45, 45, 45, 45, 0, 0, 0, 0} |
|
float | _angle [PROXIMITY_SECTORS_MAX] |
|
float | _distance [PROXIMITY_SECTORS_MAX] |
|
bool | _distance_valid [PROXIMITY_SECTORS_MAX] |
|
Vector2f | _sector_edge_vector [PROXIMITY_SECTORS_MAX] |
|
Vector2f | _boundary_point [PROXIMITY_SECTORS_MAX] |
|
Definition at line 9 of file AP_Proximity_SITL.h.
◆ AP_Proximity_SITL()
◆ distance_max()
float AP_Proximity_SITL::distance_max |
( |
| ) |
const |
|
virtual |
◆ distance_min()
float AP_Proximity_SITL::distance_min |
( |
| ) |
const |
|
virtual |
◆ get_distance_to_fence()
bool AP_Proximity_SITL::get_distance_to_fence |
( |
float |
angle_deg, |
|
|
float & |
distance |
|
) |
| const |
|
private |
◆ get_upward_distance()
bool AP_Proximity_SITL::get_upward_distance |
( |
float & |
distance | ) |
const |
|
virtual |
◆ load_fence()
void AP_Proximity_SITL::load_fence |
( |
void |
| ) |
|
|
private |
◆ update()
void AP_Proximity_SITL::update |
( |
void |
| ) |
|
|
overridevirtual |
◆ current_loc
◆ fence
◆ fence_alt_max
AP_Float* AP_Proximity_SITL::fence_alt_max |
|
private |
◆ fence_count
AP_Int8* AP_Proximity_SITL::fence_count |
|
private |
◆ fence_loader
◆ last_load_ms
uint32_t AP_Proximity_SITL::last_load_ms |
|
private |
◆ last_sector
uint8_t AP_Proximity_SITL::last_sector |
|
private |
◆ sitl
The documentation for this class was generated from the following files: