yuchuli преди 1 година
родител
ревизия
bb913b6bb2
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/tool/adc_cantool/window/ChassisAnalysisWindow/ChassisAnalysisWindow.cpp

+ 2 - 1
src/tool/adc_cantool/window/ChassisAnalysisWindow/ChassisAnalysisWindow.cpp

@@ -178,7 +178,8 @@ void ChassisAnalysisWindow::checkChassisSignal()
        setLED(ui->label_socresult, 1, 10);
     }
     //spd
-    if(fabs(ui->doubleSpinBox_Spd->value()- spd)<=0.0001)
+    if(fabs(ui->doubleSpinBox_Spd->value()- spd)<=0.06)
+    //if(fabs(ui->doubleSpinBox_Spd->value()- spd)<=0.0001)
     {
       setLED(ui->label_spdresult, 2, 10);
     }