|
@@ -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((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;
|
|
if(acc_end<0)minDecelerate = acc_end;
|