zhangjia 3 роки тому
батько
коміт
5495f58b7e

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

@@ -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++){