Browse Source

avoiding for two or more obs

chenxiaowei 1 year ago
parent
commit
4794683d8b

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

@@ -2081,7 +2081,7 @@ iv::decition::Decition iv::decition::DecideGps00::getDecideFromGPS(GPS_INS now_g
     }
 
 
-    if((vehState == preAvoid)||(avoidXNew!=0.0))
+    if((vehState == preAvoid)||(avoidXNew!=0.0)||(vehState==avoiding))
     {
         dSpeed = min(6.0,dSpeed);
 //        int avoidLeft_value=0;