Copter: reduce sonar sensitivity to spikes

This commit is contained in:
Randy Mackay 2013-08-15 16:04:17 +09:00
parent 34e874282e
commit 6a2daf1a33
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ static GCS_MAVLINK gcs3;
// SONAR selection // SONAR selection
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// //
ModeFilterInt16_Size3 sonar_mode_filter(1); ModeFilterInt16_Size5 sonar_mode_filter(1);
#if CONFIG_SONAR == ENABLED #if CONFIG_SONAR == ENABLED
static AP_HAL::AnalogSource *sonar_analog_source; static AP_HAL::AnalogSource *sonar_analog_source;
static AP_RangeFinder_MaxsonarXL *sonar; static AP_RangeFinder_MaxsonarXL *sonar;