Explorar o código

add mpc program from fanya

zhangjia %!s(int64=3) %!d(string=hai) anos
pai
achega
be39f5166e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/decition/decition_brain_sf/decition/decide_gps_00.cpp

+ 4 - 0
src/decition/decition_brain_sf/decition/decide_gps_00.cpp

@@ -1344,6 +1344,10 @@ iv::decition::Decition iv::decition::DecideGps00::getDecideFromGPS(GPS_INS now_g
     if((gpsMapLine[PathPoint]->speed)>0.001)
     {
         dSpeed = min((gpsMapLine[PathPoint]->speed*3.6),dSpeed);
+        if((gpsMapLine[PathPoint]->speed)>7)
+        {
+            dSpeed = min((gpsMapLine[PathPoint]->speed*3.6),dSpeed);
+        }
     }