From 6a2daf1a336f6f63f3a5610563e5437d37b1fba5 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 15 Aug 2013 16:04:17 +0900 Subject: [PATCH] Copter: reduce sonar sensitivity to spikes --- ArduCopter/ArduCopter.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index ea4ba1047d..72136630d4 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -327,7 +327,7 @@ static GCS_MAVLINK gcs3; // SONAR selection //////////////////////////////////////////////////////////////////////////////// // -ModeFilterInt16_Size3 sonar_mode_filter(1); +ModeFilterInt16_Size5 sonar_mode_filter(1); #if CONFIG_SONAR == ENABLED static AP_HAL::AnalogSource *sonar_analog_source; static AP_RangeFinder_MaxsonarXL *sonar;