Newer
Older
module ItsRSUsSimulator_TypesAndValues {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// LibIts
import from ITS_Container language "ASN.1:1997" all;
import from CAM_PDU_Descriptions language "ASN.1:1997" all;
import from DENM_PDU_Descriptions language "ASN.1:1997" all;
import from MAPEM_PDU_Descriptions language "ASN.1:1997" all;
import from SPATEM_PDU_Descriptions language "ASN.1:1997" all;
import from IVIM_PDU_Descriptions language "ASN.1:1997" all;
import from SSEM_PDU_Descriptions language "ASN.1:1997" all;
// LibItsGeoNetworking
import from LibItsGeoNetworking_TypesAndValues all;
/**
* @desc Data structures used to build IS messages & event for a specific RSU
*/
group rsiSimulatordataStructures {
/**
* @desc This is the list of DENM events hosted by a single RSU
*/
type record of DENM DENMs;
/**
* @desc This is the list of SPATEM events hosted by a single RSU
*/
type record of SPATEM SPATEMs;
/**
* @desc Defines the list of messages to be sent by a single RSU
* @member cam CAM message that a RSU shall send
* @member denms List of DENM events that a RSU shall send
*/
type record RsuMessagesValue {
CAM cam optional,
DENMs denms optional,
SPATEMs spatems optional,
IVIM ivim optional,
SSEM ssem optional
} // End of type RsuMessagesValue
/**
* @desc List of the RSU settings (for future usage (e.g. dynamic change of the RSU ID)
*/
type record of RsuMessagesValue RsuMessagesValueList;
type record DenmParmContainers {
ManagementContainer managementContainer,
SituationContainer situationContainer,
LocationContainer locationContainer
} // End of type DenmParmContainers
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/**
* @desc This is the list of DENM dynamic parameters for the different events hosted by a single RSU
*/
type record of DenmParmContainers DenmParmContainersList;
/**
* @desc This is the list of DENM dynamic parameters for the different events hosted for all RSUs
*/
type record of DenmParmContainersList DenmParmContainersListRsu;
} // End of group rsiSimulatordataStructures
/**
* @desc Data structures used to set up IS messages & event according to the track configuration
*/
group picsDataStructures {
/**
* @desc CAM setup
*/
group camDataStructures {
/**
* @desc Describe the parameter for each CAM event
*/
type record RsuParm {
GN_Address gnAddress,
LongPosVector longPosVector,
StationID stationID,
GeoShape geoShape,
union {
UInt16 radius
} geoParms,
PathHistory pathHistory
} // End of type CamParm
/**
*
* @desc List of CAM parms per RSU
* <pre>
* vc_longPosVectorRsu := PICS_RSU_PARAMS[PX_RSU_ID - 1].longPosVector;
* </pre>
*/
type record of RsuParm RsuParmList;
} // End of group camDataStructures
/**
* @desc MAPEM setup
*/
group mapemDataStructures {
/**
* @desc Describe the parameter for each MAPEM event
*/
type record MapemParm {
IntersectionGeometryList intersections,
RoadSegmentList roadSegments optional
} // End of type MapemParm
/**
*
* @desc List of MAPEM parms per RSU
* <pre>
* v_intersection := PICS_MAPEM_PARMS_RSUs[PX_RSU_ID - 1].intersections[v_idx];
* </pre>
*/
type record of MapemParm MapemParmList;
} // End of group mapemDataStructures
/**
* @desc IVIM setup
*/
group ivimDataStructures {
// TODO To be done
} // End of group ivimDataStructures
/**
* @desc DENM setup
*/
group denmDataStructures {
/**
* @desc Describe the parameter for each DENM event
*/
type record DenmParm {
ReferencePosition eventPosition,
CauseCodeType causeCodeType,
EventHistory eventHistory,
RoadWorksContainerExtended roadWorksContainerExtended optional
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
} // End of type DenmParm
/**
* @desc List of DENM events per use case
* @see <wiki URL>
* <pre>
* v_denmParm := PICS_DENM_PARMS_UC1_RWW[vc_eventId];
* vc_eventId := (vc_eventId + 1) mod lengthof(PICS_DENM_PARMS_UC1_RWW)
* </pre>
*/
type record of DenmParm DenmEventsParmsUseCase;
/**
* @desc List of DENM events per use case and per RSUs
* <pre>
* v_denmParm := PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][PX_ETSI_USE_CASE_ID][vc_eventId];
* vc_eventId := (vc_eventId + 1) mod lengthof(PICS_DENM_EVENTS_RSU[PX_RSU_ID - 1][PX_ETSI_USE_CASE_ID])
* </pre>
*/
type record of DenmEventsParmsUseCase DenmEventsParmsUseCaseRsu;
} // End of group denmDataStructures
} // End of group picsDataStructures
} // End of module ItsRSUsSimulator_TypesAndValues