#include <AP_Proximity_TeraRangerTower.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] |
| |
◆ AP_Proximity_TeraRangerTower()
◆ detect()
◆ distance_max()
| float AP_Proximity_TeraRangerTower::distance_max |
( |
| ) |
const |
|
virtual |
◆ distance_min()
| float AP_Proximity_TeraRangerTower::distance_min |
( |
| ) |
const |
|
virtual |
◆ process_distance()
| uint16_t AP_Proximity_TeraRangerTower::process_distance |
( |
uint8_t |
buf1, |
|
|
uint8_t |
buf2 |
|
) |
| |
|
private |
◆ read_sensor_data()
| bool AP_Proximity_TeraRangerTower::read_sensor_data |
( |
| ) |
|
|
private |
◆ update()
| void AP_Proximity_TeraRangerTower::update |
( |
void |
| ) |
|
|
virtual |
◆ update_sector_data()
| void AP_Proximity_TeraRangerTower::update_sector_data |
( |
int16_t |
angle_deg, |
|
|
uint16_t |
distance_cm |
|
) |
| |
|
private |
◆ _last_distance_received_ms
| uint32_t AP_Proximity_TeraRangerTower::_last_distance_received_ms |
|
private |
◆ buffer
| uint8_t AP_Proximity_TeraRangerTower::buffer[20] |
|
private |
◆ buffer_count
| uint8_t AP_Proximity_TeraRangerTower::buffer_count |
|
private |
◆ uart
The documentation for this class was generated from the following files: