Browse Source

add mpc program from fanya

zhangjia 3 years ago
parent
commit
be39f5166e
1 changed files with 4 additions and 0 deletions
  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);
+        }
     }