|
@@ -1207,7 +1207,12 @@ void iv::decition::BrainDecition::UpdateV2r(const char *pdata, const int ndatasi
|
|
|
if(group_message.has_radiolightremain())
|
|
|
{
|
|
|
ServiceCarStatus.iTrafficeLightTime = group_message.radiolightremain();
|
|
|
+ if(group_message.has_trafficlightstoplat())
|
|
|
+ ServiceCarStatus.iTrafficeLightLat = group_message.trafficlightstoplat();
|
|
|
+ if(group_message.has_trafficlightstoplon())
|
|
|
+ ServiceCarStatus.iTrafficeLightLon = group_message.trafficlightstoplon();
|
|
|
ServiceCarStatus.milightCheckTimer.start();
|
|
|
+
|
|
|
}
|
|
|
if(group_message.has_radiobroadcastrange())
|
|
|
{
|
|
@@ -1216,10 +1221,7 @@ void iv::decition::BrainDecition::UpdateV2r(const char *pdata, const int ndatasi
|
|
|
if(group_message.has_radiobroadcasttraffictype())
|
|
|
{
|
|
|
ServiceCarStatus.rsu_traffic_type = group_message.radiobroadcasttraffictype();
|
|
|
- if(group_message.has_trafficlightstoplat())
|
|
|
- ServiceCarStatus.iTrafficeLightLat = group_message.trafficlightstoplat();
|
|
|
- if(group_message.has_trafficlightstoplon())
|
|
|
- ServiceCarStatus.iTrafficeLightLon = group_message.trafficlightstoplon();
|
|
|
+
|
|
|
ServiceCarStatus.mRSUTrafficUpdateTimer.start();
|
|
|
}
|
|
|
if(group_message.has_radiobroadcastspeedlimit())
|