Loading ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Functions.ttcn +9 −7 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Functions.ttcn: 9 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -142,15 +142,17 @@ module ItsRSUsSimulator_Functions { // DENM if (PICS_GENERATE_DENM) { // Build the list of the DENM events for (v_counter := 0; v_counter < lengthof(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1]); v_counter := v_counter + 1) { // Build DENM with dynamic values for (v_counter := 0; v_counter < lengthof(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][PX_ETSI_ZONE_ID]); v_counter := v_counter + 1) { var DenmEventsParmsPerZone v_denmEventsParmsPerZone := PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][PX_ETSI_ZONE_ID]; v_denmParmContainers := m_denmParmContainers( PICS_RSU_PARAMS[PX_RSU_ID - 1].stationID, f_incDenmSequenceNumber(), PICS_DENM_REPETITION_INTERVAL, PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].eventPosition, PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].causeCodeType, PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].eventHistory v_denmEventsParmsPerZone[v_counter].eventPosition, v_denmEventsParmsPerZone[v_counter].causeCodeType, v_denmEventsParmsPerZone[v_counter].eventHistory, v_denmEventsParmsPerZone[v_counter].traces ); v_denms[v_counter] := valueof( m_denmPdu( Loading @@ -159,8 +161,8 @@ module ItsRSUsSimulator_Functions { v_denmParmContainers.situationContainer, v_denmParmContainers.locationContainer ))); if (ispresent(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].roadWorksContainerExtended)) { v_denms[v_counter].denm.alacarte := m_alacarte(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].roadWorksContainerExtended); if (ispresent(v_denmEventsParmsPerZone[v_counter].roadWorksContainerExtended)) { v_denms[v_counter].denm.alacarte := m_alacarte(v_denmEventsParmsPerZone[v_counter].roadWorksContainerExtended); } } // End of 'for' statement } Loading ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pics.ttcn +1104 −113 File changed.Preview size limit exceeded, changes collapsed. Show changes ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pixits.ttcn +12 −2 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pixits.ttcn: 12 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -19,9 +19,19 @@ module ItsRSUsSimulator_Pixits { import from ItsRSUsSimulator_TypesAndValues all; import from ItsRSUsSimulator_Pics all; modulepar integer PX_ETSI_USE_CASE_ID := 0; /** * @desc Indicate which RSU to simulate */ modulepar integer PX_RSU_ID := 11; modulepar integer PX_RSU_ID := 1; // 1: D1, 2: D2 /** * @desc Indicate which Use Case to simulate */ modulepar integer PX_ETSI_USE_CASE_ID := 1; /** * @desc Indicate which zone to simulate */ modulepar integer PX_ETSI_ZONE_ID := 1; } // End of module ItsRSUsSimulator_Pixits ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Templates.ttcn +2 −12 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Templates.ttcn: 2 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -254,6 +254,7 @@ module ItsRSUsSimulator_Templates { in template (value) ReferencePosition p_eventPosition, in template (value) CauseCodeType p_causeCodeType, in template (value) EventHistory p_eventHistory, in template (value) Traces p_traces, in template (value) ValidityDuration p_validityDuration := 86400, in template (value) RelevanceDistance p_relevanceDistance := lessThan200m ) := { Loading Loading @@ -284,18 +285,7 @@ module ItsRSUsSimulator_Templates { locationContainer := { eventSpeed := omit, eventPositionHeading := omit, traces := { { { pathPosition := { deltaLatitude := 0, deltaLongitude := 0, deltaAltitude := 0 }, pathDeltaTime := 0 } } }, traces := p_traces, roadType := omit } // End of field locationContainer } // End of template m_denmParm Loading ttcn/AtsRSUsSimulator/ItsRSUsSimulator_TestSystem.ttcn +7 −7 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_TestSystem.ttcn: 7 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -17,33 +17,33 @@ module ItsRSUsSimulator_TestSystem { */ type component ItsRSUsSimulator extends ItsGeoNetworking { /** * @dec RSU position * @desc RSU position */ var LongPosVector vc_longPosVectorRsu := {}; /** * @dec RSU Geonetworking area * @desc RSU Geonetworking area */ var GeoArea vc_geoArea := {}; /** * @dec Supported sent messages templates: one or more from CAM, DENM, MAPEM, SPATEM, IVIM, SSEM * @desc Supported sent messages templates: one or more from CAM, DENM, MAPEM, SPATEM, IVIM, SSEM * @see PICS_GENERATE_xxx */ var template (value) RsuMessagesValueList vc_rsuMessagesValueList := {}; /** * @dec DENM event counter: one RSU can send one or mode different DENM * @desc DENM event counter: one RSU can send one or mode different DENM */ var integer vc_denmEventCounter := 0; /** * @dec DENM sequence number index * @desc DENM sequence number index */ var SequenceNumber vc_sequenceNumber := 0; var MsgCount vc_msgIssueRevision := 0; /** * @dec List of MovementState per intersection and per RSU * @desc List of MovementState per intersection and per RSU */ var template (value) MovementListPerIntersectionRsu vc_states; /** * @dec Current SPATEM state * @desc Current SPATEM state */ var integer vc_spatemStatesId := 0; Loading Loading
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Functions.ttcn +9 −7 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Functions.ttcn: 9 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -142,15 +142,17 @@ module ItsRSUsSimulator_Functions { // DENM if (PICS_GENERATE_DENM) { // Build the list of the DENM events for (v_counter := 0; v_counter < lengthof(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1]); v_counter := v_counter + 1) { // Build DENM with dynamic values for (v_counter := 0; v_counter < lengthof(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][PX_ETSI_ZONE_ID]); v_counter := v_counter + 1) { var DenmEventsParmsPerZone v_denmEventsParmsPerZone := PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][PX_ETSI_ZONE_ID]; v_denmParmContainers := m_denmParmContainers( PICS_RSU_PARAMS[PX_RSU_ID - 1].stationID, f_incDenmSequenceNumber(), PICS_DENM_REPETITION_INTERVAL, PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].eventPosition, PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].causeCodeType, PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].eventHistory v_denmEventsParmsPerZone[v_counter].eventPosition, v_denmEventsParmsPerZone[v_counter].causeCodeType, v_denmEventsParmsPerZone[v_counter].eventHistory, v_denmEventsParmsPerZone[v_counter].traces ); v_denms[v_counter] := valueof( m_denmPdu( Loading @@ -159,8 +161,8 @@ module ItsRSUsSimulator_Functions { v_denmParmContainers.situationContainer, v_denmParmContainers.locationContainer ))); if (ispresent(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].roadWorksContainerExtended)) { v_denms[v_counter].denm.alacarte := m_alacarte(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][v_counter].roadWorksContainerExtended); if (ispresent(v_denmEventsParmsPerZone[v_counter].roadWorksContainerExtended)) { v_denms[v_counter].denm.alacarte := m_alacarte(v_denmEventsParmsPerZone[v_counter].roadWorksContainerExtended); } } // End of 'for' statement } Loading
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pics.ttcn +1104 −113 File changed.Preview size limit exceeded, changes collapsed. Show changes
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pixits.ttcn +12 −2 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pixits.ttcn: 12 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -19,9 +19,19 @@ module ItsRSUsSimulator_Pixits { import from ItsRSUsSimulator_TypesAndValues all; import from ItsRSUsSimulator_Pics all; modulepar integer PX_ETSI_USE_CASE_ID := 0; /** * @desc Indicate which RSU to simulate */ modulepar integer PX_RSU_ID := 11; modulepar integer PX_RSU_ID := 1; // 1: D1, 2: D2 /** * @desc Indicate which Use Case to simulate */ modulepar integer PX_ETSI_USE_CASE_ID := 1; /** * @desc Indicate which zone to simulate */ modulepar integer PX_ETSI_ZONE_ID := 1; } // End of module ItsRSUsSimulator_Pixits
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Templates.ttcn +2 −12 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Templates.ttcn: 2 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -254,6 +254,7 @@ module ItsRSUsSimulator_Templates { in template (value) ReferencePosition p_eventPosition, in template (value) CauseCodeType p_causeCodeType, in template (value) EventHistory p_eventHistory, in template (value) Traces p_traces, in template (value) ValidityDuration p_validityDuration := 86400, in template (value) RelevanceDistance p_relevanceDistance := lessThan200m ) := { Loading Loading @@ -284,18 +285,7 @@ module ItsRSUsSimulator_Templates { locationContainer := { eventSpeed := omit, eventPositionHeading := omit, traces := { { { pathPosition := { deltaLatitude := 0, deltaLongitude := 0, deltaAltitude := 0 }, pathDeltaTime := 0 } } }, traces := p_traces, roadType := omit } // End of field locationContainer } // End of template m_denmParm Loading
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_TestSystem.ttcn +7 −7 Changes for ttcn/AtsRSUsSimulator/ItsRSUsSimulator_TestSystem.ttcn: 7 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -17,33 +17,33 @@ module ItsRSUsSimulator_TestSystem { */ type component ItsRSUsSimulator extends ItsGeoNetworking { /** * @dec RSU position * @desc RSU position */ var LongPosVector vc_longPosVectorRsu := {}; /** * @dec RSU Geonetworking area * @desc RSU Geonetworking area */ var GeoArea vc_geoArea := {}; /** * @dec Supported sent messages templates: one or more from CAM, DENM, MAPEM, SPATEM, IVIM, SSEM * @desc Supported sent messages templates: one or more from CAM, DENM, MAPEM, SPATEM, IVIM, SSEM * @see PICS_GENERATE_xxx */ var template (value) RsuMessagesValueList vc_rsuMessagesValueList := {}; /** * @dec DENM event counter: one RSU can send one or mode different DENM * @desc DENM event counter: one RSU can send one or mode different DENM */ var integer vc_denmEventCounter := 0; /** * @dec DENM sequence number index * @desc DENM sequence number index */ var SequenceNumber vc_sequenceNumber := 0; var MsgCount vc_msgIssueRevision := 0; /** * @dec List of MovementState per intersection and per RSU * @desc List of MovementState per intersection and per RSU */ var template (value) MovementListPerIntersectionRsu vc_states; /** * @dec Current SPATEM state * @desc Current SPATEM state */ var integer vc_spatemStatesId := 0; Loading