Browse Source

change RemoteCtrl_Wide.

yuchuli 2 năm trước cách đây
mục cha
commit
c5d0cbe9e1

+ 1 - 0
src/tool/RemoteCtrl_Wide/grpcpc.cpp

@@ -356,6 +356,7 @@ void grpcpc::run()
                     if(xreply.nres() == 1)
                     {
 
+
                         if(nlasttime != xmsg.xtime())
                         {
                             iv::cloud::cloudmsg xmsg;

+ 3 - 3
src/tool/RemoteCtrl_Wide/mainwindow.cpp

@@ -216,8 +216,8 @@ void MainWindow::CreateView()
 
     mpWheel = new Speed(ui->groupBox_rem);
     mpWheel->settitle(QStringLiteral("方向盘"));
-    mpWheel->setminvalue(550);
-    mpWheel->setmaxvalue(-550);
+    mpWheel->setminvalue(450);
+    mpWheel->setmaxvalue(-450);
 
     mpAcc = new Speed(ui->groupBox_rem);
 
@@ -804,7 +804,7 @@ void MainWindow::onTimerManual()
         }
     }
 
-    if(mfWheel != fOldWheel)mpWheel->updatevalue(mfWheel*5.5);
+    if(mfWheel != fOldWheel)mpWheel->updatevalue(mfWheel*4.5);
     if(mfAcc != fOldAcc)mpAcc->updatevalue(mfAcc);
     if(mfBrake != fOldBrake)mpBrake->updatevalue(mfBrake);
 }