diff --git a/libraries/AP_RangeFinder/RangeFinder.cpp b/libraries/AP_RangeFinder/RangeFinder.cpp index c47edde95a..921c4f12ba 100644 --- a/libraries/AP_RangeFinder/RangeFinder.cpp +++ b/libraries/AP_RangeFinder/RangeFinder.cpp @@ -88,9 +88,9 @@ int RangeFinder::read() // slew rate if(raw_value > distance){ - temp_dist = min(distance + 10, raw_value); + temp_dist = min(distance + 20, raw_value); }else{ - temp_dist = max(distance - 10, raw_value); + temp_dist = max(distance - 20, raw_value); } if(_num_averages > 0){