Эх сурвалжийг харах

change traffic light logic debug

chenxiaowei 2 жил өмнө
parent
commit
b90e0d5ca1

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

@@ -4213,7 +4213,7 @@ float  iv::decition::DecideGps00::ComputeTrafficLightSpeed(int traffic_light_col
     return  traffic_speed;
 }
 
-float  iv::decition::DecideGps00::ComputeTrafficLightSpeed(int traffic_light_color, int traffic_light_time,  const std::vector<GPSData> gpsMapLine,int traffic_light_pathpoint,
+float  iv::decition::DecideGps00:: ComputeTrafficLightSpeed(int traffic_light_color, int traffic_light_time,  const std::vector<GPSData> gpsMapLine,int traffic_light_pathpoint,
                                                            int pathpoint,float secSpeed,float dSpeed){
     float traffic_speed=200;
     float traffic_dis=0;
@@ -4303,6 +4303,7 @@ float  iv::decition::DecideGps00::ComputeTrafficLightSpeed(int traffic_light_col
 
 
     default:
+        passEnable=true; //20230413
         break;
     }