Pārlūkot izejas kodu

change spd panding zhi

yuchuli 1 gadu atpakaļ
vecāks
revīzija
bb913b6bb2

+ 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);
     }