浏览代码

change decition_brain_sf_changan_shenlan.

yuchuli 1 年之前
父节点
当前提交
a339441d20
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/decition/decition_brain_sf_changan_shenlan/decition/decide_gps_00.cpp

+ 1 - 1
src/decition/decition_brain_sf_changan_shenlan/decition/decide_gps_00.cpp

@@ -1051,7 +1051,7 @@ iv::decition::Decition iv::decition::DecideGps00::getDecideFromGPS(GPS_INS now_g
                             if((acc_end<(-3.0))&&(nowspeed<10))acc_end = -3.0;
                         }
 
-                        if((distoend < 0.3)||(PathPoint>=gpsMapLine.size()-2))acc_end = (stopbrake + 0.1)*(-1.0);
+                        if((distoend <= 0.1)||(PathPoint>=gpsMapLine.size()-2))acc_end = (stopbrake + 0.1)*(-1.0);
 
 
                         if(acc_end<0)minDecelerate = acc_end;