AP_Proximity: Change min and max range to support both 60m and 600Hz

This commit is contained in:
pierre-louis.k 2018-07-25 10:57:14 +02:00 committed by Randy Mackay
parent f6dc6edc04
commit 5a5fdf9c79
1 changed files with 6 additions and 6 deletions

View File

@ -74,11 +74,11 @@ void AP_Proximity_TeraRangerTowerEvo::update(void)
// get maximum and minimum distances (in meters) of primary sensor // get maximum and minimum distances (in meters) of primary sensor
float AP_Proximity_TeraRangerTowerEvo::distance_max() const float AP_Proximity_TeraRangerTowerEvo::distance_max() const
{ {
return 8.0f; return 60.0f;
} }
float AP_Proximity_TeraRangerTowerEvo::distance_min() const float AP_Proximity_TeraRangerTowerEvo::distance_min() const
{ {
return 0.75f; return 0.50f;
} }
void AP_Proximity_TeraRangerTowerEvo::initialise_modes() void AP_Proximity_TeraRangerTowerEvo::initialise_modes()