Procházet zdrojové kódy

jiaotong biaozhi shibie ,change debug1 and print V2X message

Your Name před 1 rokem
rodič
revize
02508ad095

+ 49 - 0
src/decition/decition_brain_sf_changan_shenlan/ADS_decision.xml

@@ -0,0 +1,49 @@
+<xml>	
+	<node name="ADCIntelligentVehicle-Replay">
+		<param name="vin" value="LMWHP1S28J1005878" />
+		<param name="iccid" value="898600MFSSYYG1234018" />
+		<param name="vehType" value="shenlan" />
+		<param name="server" value="60.247.58.116" />
+		<param name="port" value="5600" />
+		<param name="id" value="1" />
+		<param name="group" value="true1" />
+                <param name="speed" value="false" />
+
+		<param name="roadmode0" value="10" />
+		<param name="roadmode5" value="6" />
+		<param name="roadmode11" value="6" />
+		<param name="roadmode13" value="8" />
+		<param name="roadmode14" value="11" />
+		<param name="roadmode15" value="11" />
+		<param name="roadmode16" value="8" />
+		<param name="roadmode17" value="8" />
+		<param name="roadmode18" value="8" />
+		<param name="zhuchetime" value="10" />
+		<param name="epsoff" value="0" />
+                <param name="parklat" value="39.1364494" />
+                <param name="parklng" value="117.0868970" />
+                <param name="parkheading" value="347.6" />
+		<param name="parktype" value="0" />
+		<param name="lightlon" value="118.0866011"/>
+		<param name="lightlat" value="39.1362522" />
+		<param name="LidarRotation" value="95" />
+		<param name="LidarRangeUnit" value="5.0" />
+		
+		<param name="vehWidth" value="3.0" />
+		<param name="avoidObs" value="false" />
+		<param name="avoidInRoad" value="false" />
+
+		<param name="log" value="true2" />
+		<param name="socfDis" value="15" />
+		<param name="aocfDis" value="25" />
+		<param name="aocfTimes" value="3" />
+		<param name="camera_x_adjust" value="-0.4" />
+		<param name="camera_y_adjust" value="6.8" />
+		<param name="laneline_speed" value="7" />
+
+
+		<param name="objectCon" value="0.85" />
+		<param name="objectWidth" value="30" />
+	</node>
+</xml>
+

+ 10 - 3
src/decition/decition_brain_sf_changan_shenlan/decition/brain.cpp

@@ -511,11 +511,18 @@ void iv::decition::BrainDecition::run() {
                     decition_gps->leftlamp = false;
                     decition_gps->rightlamp = false;;
                 }
-                std::cout<<"  left:"<<ServiceCarStatus.itrafficsignTurn<<std::endl;
-                std::cout<<"  right:"<<ServiceCarStatus.itrafficsignTurn<<std::endl;
-                std::cout<<"  dSpeed:"<<ServiceCarStatus.iTrafficsignSpeed<<std::endl;
+                std::cout<<"  TrafficSignleft,2 is turnleft:"<<ServiceCarStatus.itrafficsignTurn<<std::endl;
+                std::cout<<"  TrafficSignright,3 is turnright:"<<ServiceCarStatus.itrafficsignTurn<<std::endl;
+                std::cout<<"  TrafficSigndSpeed:"<<ServiceCarStatus.iTrafficsignSpeed<<std::endl;
                 dSpeed=min(dSpeed,ServiceCarStatus.iTrafficsignSpeed);
                 //20230814,交通标志识别添加 end
+                std::cout<<"===================v2x========================"<<std::endl;
+                //print V2X honglvdeng xinxi
+                std::cout<<"    iTrafficeLightTime:"<<ServiceCarStatus.iTrafficeLightTime
+                         <<"    iTrafficeLightLat:"<<ServiceCarStatus.iTrafficeLightLat
+                         <<"    iTrafficeLightLon:"<<ServiceCarStatus.iTrafficeLightLon
+                         <<"    LightType:"<<ServiceCarStatus.iTrafficeLightColor
+                         <<std::endl;
             }
             else
             {

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

@@ -2817,8 +2817,7 @@ else
     }
     else
     {
-        gps_decition->leftlamp = false;
-        gps_decition->rightlamp = false;;
+        ;
     }
     dSpeed=min(dSpeed,ServiceCarStatus.iTrafficsignSpeed);
     //20230814,交通标志识别添加 end