Explorar o código

change spd panding zhi

yuchuli hai 1 ano
pai
achega
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);
     }