|
@@ -4308,7 +4308,7 @@ int iv::decition::DecideGps00::computeBackDistance(iv::LidarGridPtr lidarGridPtr
|
|
|
// return 0;
|
|
|
if(front_car_id>0)
|
|
|
{
|
|
|
- if((front_car.avoidX==0)&&(front_car.vehState==0)&&(front_car.front_car_dis<150)&&(vehState==normalRun))
|
|
|
+ if((front_car.avoidX==0)&&(front_car.vehState==0)&&(front_car.front_car_dis<150)&&(vehState==normalRun)&&(obs_cur_distance>15))
|
|
|
{
|
|
|
if(PathPoint+300<gpsMapLine.size()){
|
|
|
for(int k=PathPoint;k<PathPoint+300;k++){
|