ItsRSUsSimulator_Pics.ttcn 292 KB
Newer Older
garciay's avatar
garciay committed
1 2 3 4 5 6 7 8 9 10 11 12
module ItsRSUsSimulator_Pics {
    
    // 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;
garciay's avatar
garciay committed
13
    import from IVI language "ASN.1:1997" all;
garciay's avatar
garciay committed
14
    import from EVCSN_PDU_Descriptions language "ASN.1:1997" all;
garciay's avatar
garciay committed
15 16
    import from SREM_PDU_Descriptions language "ASN.1:1997" all;
    import from SSEM_PDU_Descriptions language "ASN.1:1997" all;
garciay's avatar
garciay committed
17 18
    import from DSRC language "ASN.1:1997" all;
    import from ElectronicRegistrationIdentificationVehicleDataModule language "ASN.1:1997" all;
garciay's avatar
garciay committed
19 20 21 22 23 24 25 26
    
    // LibItsBtp
    import from LibItsBtp_TypesAndValues all;
    import from LibItsBtp_Templates all;
    
    // LibItsGeoNetworking
    import from LibItsGeoNetworking_TypesAndValues all;
    
garciay's avatar
garciay committed
27 28 29
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    
garciay's avatar
garciay committed
30 31
    // ItsRSUsSimulator
    import from ItsRSUsSimulator_TypesAndValues all;
garciay's avatar
garciay committed
32
    import from ItsRSUSimulator_PicsInitConsts all;
garciay's avatar
garciay committed
33
    
34 35 36
    /**
     * @desc This group describes the RSUs installed on the track
     */
garciay's avatar
garciay committed
37
    group rsuParameters {
garciay's avatar
garciay committed
38
    
39
        /**
40 41
         * @desc RSU #1 - RSUs A
         * @remark Zone #1
42
         */
garciay's avatar
garciay committed
43
        group rsu1 {
garciay's avatar
garciay committed
44
        
garciay's avatar
garciay committed
45 46 47 48 49 50 51
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU1 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
52
                mid                   := '001C6B0D0201'O
garciay's avatar
garciay committed
53
            } // End of PICS_RSU_GN_ADDRESS_RSU1
garciay's avatar
garciay committed
54
        
55
            modulepar RsuParm PICS_RSU1 := {
garciay's avatar
garciay committed
56
                longPosVector := {
garciay's avatar
garciay committed
57
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU1,
garciay's avatar
garciay committed
58
                    timestamp_    := 0,
59 60
                    latitude      := 435529150,
                    longitude     := 103010520,
garciay's avatar
garciay committed
61 62 63 64
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
65
                stationID := 1111101,
garciay's avatar
garciay committed
66 67
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
garciay's avatar
garciay committed
68 69
                geoShape := e_geoCircle,
                geoParms := {
70
                    radius := 5000
garciay's avatar
garciay committed
71
                },
garciay's avatar
garciay committed
72
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU1
73
            } // End of PICS_RSU1
garciay's avatar
garciay committed
74
        
garciay's avatar
garciay committed
75 76 77 78 79
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU1 := {};
        
garciay's avatar
garciay committed
80 81
        } // End of group rsu1
    
82
        /**
83 84
         * @desc RSU #2 - RSUs B
         * @remark Zone #2
85
         */
garciay's avatar
garciay committed
86
        group rsu2 {
garciay's avatar
garciay committed
87
        
88 89 90 91 92 93 94
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU2 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
95
                mid                   := '001C6B0D0202'O
96
            } // End of PICS_RSU_GN_ADDRESS_RSU2
garciay's avatar
garciay committed
97
        
98 99
            modulepar RsuParm PICS_RSU2 := {
                longPosVector := {
garciay's avatar
garciay committed
100
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU2,
101
                    timestamp_    := 0,
102 103
                    latitude      := 435512090,
                    longitude     := 103002510,
104 105 106 107 108
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111102,
garciay's avatar
garciay committed
109 110
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
111 112
                geoShape := e_geoCircle,
                geoParms := {
113
                    radius := 5000
114
                },
garciay's avatar
garciay committed
115
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU2
116
            } // End of PICS_RSU2
garciay's avatar
garciay committed
117
        
118 119 120 121 122
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU2 := {};
        
garciay's avatar
garciay committed
123 124
        } // End of group rsu2
    
125
        /**
126 127
         * @desc RSU #3 - RSUs C
         * @remark Zone #3
128 129
         */
        group rsu3 {
garciay's avatar
garciay committed
130
        
131 132 133 134 135 136 137
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU3 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
138
                mid                   := '001C6B0D0203'O
139
            } // End of PICS_RSU_GN_ADDRESS_RSU3
garciay's avatar
garciay committed
140
        
141 142
            modulepar RsuParm PICS_RSU3 := {
                longPosVector := {
garciay's avatar
garciay committed
143
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU3,
144
                    timestamp_    := 0,
145 146
                    latitude      := 435546630,
                    longitude     := 103041900,
147 148 149 150 151
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111103,
garciay's avatar
garciay committed
152 153
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
154 155
                geoShape := e_geoCircle,
                geoParms := {
156
                    radius := 5000
157
                },
garciay's avatar
garciay committed
158
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU3
159
            } // End of PICS_RSU3
garciay's avatar
garciay committed
160
        
161 162 163 164 165
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU3 := {};
        
garciay's avatar
garciay committed
166 167
        } // End of group rsu3
    
168
        /**
169 170
         * @desc RSU #4 - RSUs D
         * @remark Zone #5
171 172
         */
        group rsu4 {
garciay's avatar
garciay committed
173
        
174 175 176 177 178 179 180
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU4 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
181
                mid                   := '001C6B0D0204'O
182
            } // End of PICS_RSU_GN_ADDRESS_RSU4
garciay's avatar
garciay committed
183
        
184 185
            modulepar RsuParm PICS_RSU4 := {
                longPosVector := {
garciay's avatar
garciay committed
186
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU4,
187
                    timestamp_    := 0,
188 189
                    latitude      := 435582150,
                    longitude     := 103065170,
190 191 192 193 194
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111104,
garciay's avatar
garciay committed
195 196
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
197 198
                geoShape := e_geoCircle,
                geoParms := {
199
                    radius := 5000
200
                },
garciay's avatar
garciay committed
201
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU4
202
            } // End of PICS_RSU4
garciay's avatar
garciay committed
203
        
204 205 206 207 208
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU4 := {};
        
garciay's avatar
garciay committed
209 210
        } // End of group rsu4
    
211
        /**
212 213
         * @desc RSU #5 - RSUs E
         * @remark Zone #8
214 215
         */
        group rsu5 {
garciay's avatar
garciay committed
216
        
217 218 219 220 221 222 223
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU5 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
224
                mid                   := '001C6B0D0205'O
225
            } // End of PICS_RSU_GN_ADDRESS_RSU5
garciay's avatar
garciay committed
226
        
227 228
            modulepar RsuParm PICS_RSU5 := {
                longPosVector := {
garciay's avatar
garciay committed
229
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU5,
230
                    timestamp_    := 0,
231 232
                    latitude      := 435838400,
                    longitude     := 103249780,
233 234 235 236 237
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111105,
garciay's avatar
garciay committed
238 239
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
240 241
                geoShape := e_geoCircle,
                geoParms := {
242
                    radius := 5000
243
                },
garciay's avatar
garciay committed
244
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU5
245
            } // End of PICS_RSU5
garciay's avatar
garciay committed
246
        
247 248 249 250 251
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU5 := {};
        
garciay's avatar
garciay committed
252 253
        } // End of group rsu5
    
254
        /**
255 256
         * @desc RSU #6 - RSUs F
         * @remark Zone #8
257 258
         */
        group rsu6 {
garciay's avatar
garciay committed
259
        
260 261 262 263 264 265 266
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU6 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
267
                mid                   := '001C6B0D0206'O
268
            } // End of PICS_RSU_GN_ADDRESS_RSU6
garciay's avatar
garciay committed
269
        
270 271
            modulepar RsuParm PICS_RSU6 := {
                longPosVector := {
garciay's avatar
garciay committed
272
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU6,
273
                    timestamp_    := 0,
274 275
                    latitude      := 435923480,
                    longitude     := 103375540,
276 277 278 279 280
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111106,
garciay's avatar
garciay committed
281 282
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
283 284
                geoShape := e_geoCircle,
                geoParms := {
285
                    radius := 5000
286
                },
garciay's avatar
garciay committed
287
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU6
288
            } // End of PICS_RSU6
garciay's avatar
garciay committed
289
        
290 291 292 293 294
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU6 := {};
        
garciay's avatar
garciay committed
295 296
        } // End of group rsu6
    
297 298 299 300
        /**
         * @desc RSU #7
         */
        group rsu7 {
garciay's avatar
garciay committed
301
        
302 303 304 305 306 307 308
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU7 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
309
                mid                   := '001C6B0D0207'O
310
            } // End of PICS_RSU_GN_ADDRESS_RSU7
garciay's avatar
garciay committed
311
        
312 313
            modulepar RsuParm PICS_RSU7 := {
                longPosVector := {
garciay's avatar
garciay committed
314
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU7,
315
                    timestamp_    := 0,
316 317
                    latitude      := 435550580,
                    longitude     := 103032980,
318 319 320 321 322
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111107,
garciay's avatar
garciay committed
323 324
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
325 326
                geoShape := e_geoCircle,
                geoParms := {
327
                    radius := 5000
328
                },
garciay's avatar
garciay committed
329
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU7
330
            } // End of PICS_RSU7
garciay's avatar
garciay committed
331
        
332 333 334 335 336
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU7 := {};
        
garciay's avatar
garciay committed
337 338
        } // End of group rsu7
    
339 340 341 342
        /**
         * @desc RSU #8
         */
        group rsu8 {
garciay's avatar
garciay committed
343
        
344 345 346 347 348 349 350
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU8 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
351
                mid                   := '001C6B0D0208'O
352
            } // End of PICS_RSU_GN_ADDRESS_RSU8
garciay's avatar
garciay committed
353
        
354 355
            modulepar RsuParm PICS_RSU8 := {
                longPosVector := {
garciay's avatar
garciay committed
356
                    gnAddr        := c_PICS_RSU_GN_ADDRESS_RSU8,
357
                    timestamp_    := 0,
358 359
                    latitude      := 435546630,
                    longitude     := 103041900,
360 361 362 363 364
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
                stationID := 1111108,
garciay's avatar
garciay committed
365 366
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
367 368
                geoShape := e_geoCircle,
                geoParms := {
369
                    radius := 5000
370
                },
garciay's avatar
garciay committed
371
                pathHistory := c_PICS_RSU_PATH_HISTORY_RSU8
372
            } // End of PICS_RSU8
garciay's avatar
garciay committed
373
        
374 375 376 377
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU8 := {};
garciay's avatar
garciay committed
378
        
379
        } // End of group rsu8
garciay's avatar
garciay committed
380
            
garciay's avatar
garciay committed
381
        modulepar RsuParmList PICS_RSU_PARAMS := {
garciay's avatar
garciay committed
382 383 384 385 386 387 388 389
            c_PICS_RSU1,
            c_PICS_RSU2,
            c_PICS_RSU3,
            c_PICS_RSU4,
            c_PICS_RSU5,
            c_PICS_RSU6,
            c_PICS_RSU7,
            c_PICS_RSU8
garciay's avatar
garciay committed
390 391
        } // End of PICS_RSU_PARAMS
    
garciay's avatar
garciay committed
392 393
    } // End of group rsuParameters 

garciay's avatar
garciay committed
394 395 396 397
    /**
     * @desc This group describes the BEACON common settings for the RSUs CAM message broadcast
     */
    group beaconParams {
garciay's avatar
garciay committed
398
    
garciay's avatar
garciay committed
399 400 401 402
        /**
         * @desc Common settings
         */
        group beaconCommonSettings {
garciay's avatar
garciay committed
403
        
garciay's avatar
garciay committed
404
            modulepar UInt32 PICS_BEACON_ITS_AID                 := 141;
garciay's avatar
garciay committed
405
        
garciay's avatar
garciay committed
406
        } // End of group beaconCommonSettings
garciay's avatar
garciay committed
407
    
garciay's avatar
garciay committed
408 409
    } // End of group beaconParams

410 411 412
    /**
     * @desc This group describes the CAM common settings for the RSUs CAM message broadcast
     */
garciay's avatar
garciay committed
413
    group camParams {
garciay's avatar
garciay committed
414
    
415 416 417 418
        /**
         * @desc Common settings
         */
        group camCommonSettings {
garciay's avatar
garciay committed
419
        
garciay's avatar
garciay committed
420
            modulepar BtpPortId PICS_CAM_BTP_DESTINATION_PORT := 2001;
garciay's avatar
garciay committed
421
        
garciay's avatar
garciay committed
422
            modulepar BtpPortId PICS_CAM_BTP_SOURCE_PORT      := 0;
garciay's avatar
garciay committed
423
        
424
            modulepar UInt32 PICS_CAM_ITS_AID                 := 36;
garciay's avatar
garciay committed
425
        
garciay's avatar
garciay committed
426 427
        } // End of group camCommonSettings
    
garciay's avatar
garciay committed
428
        group camUseCase6 {
garciay's avatar
garciay committed
429 430
        
            group camUseCase6VehicleDescription {
431
            
garciay's avatar
garciay committed
432
                
garciay's avatar
garciay committed
433
                
garciay's avatar
garciay committed
434
                modulepar integer SIMULTANEOUS_VEHICLE_NUM        := 10;
garciay's avatar
garciay committed
435
                
garciay's avatar
garciay committed
436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
                group camUseCase6VehicleTemplateDescription {
                    
                    modulepar LongPosVector PICS_UC6_VEHICLE_TEMPLATE_POSITION := {
                        gnAddr := {
                            typeOfAddress         := e_manual,
                            stationType           := e_passengerCar,
                            stationCountryCode    := 33,
                            mid                   := '001C6B0D02FF'O
                        },
                        timestamp_                                    := 0,
                        latitude                                      := 0,
                        longitude                                     := 0,
                        pai                                           := '0'B,
                        speed                                         := 30,
                        heading                                       := 0
                    } // End of PICS_UC6_VEHICLE_POSITION
                    
                    modulepar GeoArea PICS_UC6_VEHICLE_TEMPLATE_GEOAREA := {
                        shape := e_geoElip,
                        area := {
                            geoAreaPosLatitude                        := 0,
                            geoAreaPosLongitude                       := 0,
                            distanceA                                 := 5,
                            distanceB                                 := 3,
                            angle                                     := 0
                        }
                    } // End of PICS_UC6_VEHICLE_GEOAREA
                    
garciay's avatar
garciay committed
464
                    modulepar boolean PICS_USE_LPV := true;
garciay's avatar
garciay committed
465 466
                    
                } // End of group camUseCase6VehicleTemplateDescription 
garciay's avatar
garciay committed
467
                
garciay's avatar
garciay committed
468
            } // End of group camUseCase6VehicleDescription 
garciay's avatar
garciay committed
469
        
garciay's avatar
garciay committed
470
            group camUseCase6SyncLocation {
garciay's avatar
garciay committed
471
            
garciay's avatar
garciay committed
472 473 474
                /**
                 * @desc Coordinates of the collision point
                 */
garciay's avatar
garciay committed
475
                modulepar ThreeDLocation PICS_UC6_COLLISION_POINT_Z1 := {
garciay's avatar
garciay committed
476 477 478
                    latitude                                      := 435522970,
                    longitude                                     := 103000170,
                    elevation                                     := '0000'O
garciay's avatar
garciay committed
479
                } // End of PICS_UC6_COLLISION_POINT
garciay's avatar
garciay committed
480
            
garciay's avatar
garciay committed
481 482 483 484 485 486 487 488 489
                /**
                 * @desc Coordinates of the collision point
                 */
                modulepar ThreeDLocation PICS_UC6_COLLISION_POINT_Z2 := {
                    latitude                                      := 435512220,
                    longitude                                     := 103000290,
                    elevation                                     := '0000'O
                } // End of PICS_UC6_COLLISION_POINT_Z2
                
garciay's avatar
garciay committed
490 491 492
                /**
                 * @desc Vehicle detection area
                 */
garciay's avatar
garciay committed
493
                modulepar RectangularRegion PICS_UC6_CAM_DETECTION_AREA_Z1 := {
garciay's avatar
garciay committed
494
                    northwest := {
garciay's avatar
garciay committed
495 496
                        latitude                                      := 435529170,
                        longitude                                     := 102998330
garciay's avatar
garciay committed
497 498
                    },
                    southeast := {
garciay's avatar
garciay committed
499 500
                        latitude                                      := 435522420,
                        longitude                                     := 103011400
garciay's avatar
garciay committed
501
                    }
garciay's avatar
garciay committed
502
                } // End of PICS_UC6_CAM_DETECTION_AREA_Z1
garciay's avatar
garciay committed
503
            
garciay's avatar
garciay committed
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
                /**
                 * @desc Vehicle detection area
                 */
                modulepar RectangularRegion PICS_UC6_CAM_DETECTION_AREA_Z2 := {
                    northwest := {
                        latitude                                      := 435530140,
                        longitude                                     := 102984290
                    },
                    southeast := {
                        latitude                                      := 435501600,
                        longitude                                     := 103012880
                    }
                } // End of PICS_UC6_CAM_DETECTION_AREA_Z2
                
                modulepar ThreeDLocation PX_UC6_APPROACH_POINT_Z2 := {
                    latitude                                          := 435511100,
                    longitude                                         := 102988040,
                    elevation                                         := '0000'O
                };
garciay's avatar
garciay committed
523 524
                
            } // End of group camUseCase6SyncLocation 
525
        
garciay's avatar
garciay committed
526 527
        } // End of group camUseCase6
    
garciay's avatar
garciay committed
528
        group camUseCase7 {
garciay's avatar
garciay committed
529
        
garciay's avatar
garciay committed
530 531 532 533 534 535 536
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_UC7_GN_ADDRESS := {
                typeOfAddress                               := e_manual,
                stationType                                 := e_bus,
                stationCountryCode                          := 39,
garciay's avatar
garciay committed
537
                mid                                         := '001C6B0DEEEE'O
garciay's avatar
garciay committed
538
            } // End of PICS_UC7_GN_ADDRESS
garciay's avatar
garciay committed
539
        
garciay's avatar
garciay committed
540 541
            modulepar RsuParm PICS_UC7_LPV := {
                longPosVector := {
garciay's avatar
garciay committed
542
                    gnAddr                                  := c_PICS_UC7_GN_ADDRESS,
garciay's avatar
garciay committed
543 544 545 546 547 548 549
                    timestamp_                              := 0,
                    latitude                                := 435582150,
                    longitude                               := 103065170,
                    pai                                     := '0'B,
                    speed                                   := 0,
                    heading                                 := 10
                },
garciay's avatar
garciay committed
550 551 552
                stationID                                   := 7895,
                stationType := StationType_passengerCar_,
                vehicleRole := taxi,
garciay's avatar
garciay committed
553 554 555 556 557 558
                geoShape                                    := e_geoCircle,
                geoParms := {
                    radius                                  := 300
                },
                pathHistory                                 := {}
            } // End of PICS_UC7_LPV
garciay's avatar
garciay committed
559
        
garciay's avatar
garciay committed
560 561 562 563
            modulepar ReferencePosition PICS_UC7_COLLISION_POINT := {
                latitude                                    := 435582150,
                longitude                                   := 103065170,
                positionConfidenceEllipse                   := {
garciay's avatar
garciay committed
564 565
                    semiMajorConfidence   := 100,
                    semiMinorConfidence   := 100,
566
                    semiMajorOrientation  := 0
garciay's avatar
garciay committed
567 568 569
                },
                altitude                                    := {
                    altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
570
                    altitudeConfidence := alt_000_01
garciay's avatar
garciay committed
571
                }
garciay's avatar
garciay committed
572
            } // End of PICS_UC7_COLLISION_POINT
garciay's avatar
garciay committed
573
        
garciay's avatar
garciay committed
574 575
        } // End of group camUseCase7
    
576
        group camUseCase9 {
garciay's avatar
garciay committed
577
        
578
            modulepar ProtectedCommunicationZone PICS_UC9_PCZ_1 := {
579 580
                protectedZoneType        := cenDsrcTolling,
                expiryTime               := omit,
581 582
                protectedZoneLatitude    := 435838400,
                protectedZoneLongitude   := 103249780,
583
                protectedZoneRadius      := 100,
584
                protectedZoneID          := 1
585
            } // End of PICS_UC9_PCZ_1
garciay's avatar
garciay committed
586
        
587 588 589
            modulepar ProtectedCommunicationZonesRSU PICS_UC9_PCZ := {
                PICS_UC9_PCZ_1
            } // End of PICS_UC9_PCZ
590
        
garciay's avatar
garciay committed
591
        } // End of group camUseCase9
garciay's avatar
garciay committed
592
    
garciay's avatar
garciay committed
593 594
    } // End of group camParams 

595 596 597
    /**
     * @desc This group describes the DENM common settings for the each use cases and for each RSU.
     */
garciay's avatar
garciay committed
598
    group denmEvents {
garciay's avatar
garciay committed
599
    
600 601 602 603
        /**
         * @desc Common settings
         */
        group denmCommonSettings {
garciay's avatar
garciay committed
604
        
garciay's avatar
garciay committed
605
            modulepar BtpPortId PICS_DENM_BTP_DESTINATION_PORT := 2002;
garciay's avatar
garciay committed
606
        
garciay's avatar
garciay committed
607
            modulepar BtpPortId PICS_DENM_BTP_SOURCE_PORT      := 0;
garciay's avatar
garciay committed
608
        
609
            modulepar UInt32 PICS_DENM_ITS_AID                 := 37;
garciay's avatar
garciay committed
610
        
garciay's avatar
garciay committed
611
            modulepar PosConfidenceEllipse PICS_DENM_POSITION_CONFIDENCE_ELLIPSE := {
612 613
                semiMajorConfidence   := 100,
                semiMinorConfidence   := 100,
614
                semiMajorOrientation  := 0
garciay's avatar
garciay committed
615
            } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE
garciay's avatar
garciay committed
616
        
garciay's avatar
garciay committed
617 618
            modulepar Altitude PICS_DENM_ALTITUDE := {
                altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
619
                altitudeConfidence := alt_000_01
garciay's avatar
garciay committed
620
            } // End of PICS_DENM_ALTITUDE
garciay's avatar
garciay committed
621
        
622 623 624 625
            /**
             * @desc DENM repetition interval, in ms
             */
            modulepar TransmissionInterval PICS_DENM_REPETITION_INTERVAL := 1000;
garciay's avatar
garciay committed
626
        
627 628 629
            /**
             * @desc DENM RelevanceDistance
             */
630
            modulepar RelevanceDistance PICS_DENM_RELEVANCE_DISTANCE := lessThan200m;
garciay's avatar
garciay committed
631
        
632 633 634 635
            /**
             * @desc DENM ValidityDuration
             */
            modulepar ValidityDuration PICS_DENM_VALIDITY_DURATION := 90 * 60; // 90 minutes
garciay's avatar
garciay committed
636
        
637 638 639 640
            /**
             * @desc DENM RelevanceTrafficDirection
             */
            modulepar RelevanceTrafficDirection PICS_DENM_RELEVANCE_TRAFFIC_DIRECTION := upstreamTraffic;
garciay's avatar
garciay committed
641
        
garciay's avatar
garciay committed
642 643
        } // End of group denmCommonSettings
    
644 645 646 647
        /**
         * @desc Use case #1: Z1-D1-SL/Speed limit
         */
        group denmUseCase1 {
garciay's avatar
garciay committed
648
        
649 650 651 652
            /**
             * @desc Use case #1: Z1-D1-EP/Event position
             */
            group denmZone1 {
garciay's avatar
garciay committed
653
            
654
                modulepar SpeedLimit PICS_SPEED_LIMIT := 30;
garciay's avatar
garciay committed
655
            
656
                group denmZone1_D1 {
garciay's avatar
garciay committed
657
                
658 659 660 661
                    /**
                     * @desc Z1-D1-EP/POS0
                     */
                    modulepar DeltaReferencePosition PICS_Z1_D1_POS0 := {
garciay's avatar
garciay committed
662 663
                        deltaLatitude                       := 2616,
                        deltaLongitude                      := 4067,
664 665
                        deltaAltitude                       := 0
                    }; // End of PICS_Z1_D1_POS0
garciay's avatar
garciay committed
666
                
667 668 669 670 671 672
                    /**
                     * @desc Z1-D1-EP/POS1
                     */
                    modulepar ReferencePosition PICS_Z1_D1_EP := {
                        latitude                                    := 435525352,                               // Z1-D1-EP/latitude
                        longitude                                   := 103003415,                               // Z1-D1-EP/longitude
garciay's avatar
garciay committed
673 674
                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := c_PICS_DENM_ALTITUDE
675
                    }; // End of PICS_Z1_D1_EP
garciay's avatar
garciay committed
676
                
677 678 679 680 681 682 683 684 685 686 687 688
                    /**
                     * @desc Z1-D1-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z1_D1_Hx := { 
                        { // Z1_D1_H1
                            eventPosition := {
                                deltaLatitude                       := -2546,
                                deltaLongitude                      := -3697,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
garciay's avatar
garciay committed
689
                        },
690 691 692 693 694 695 696 697 698 699
                        { // Z1_D1_H2
                            eventPosition := {
                                deltaLatitude                       := -3699,
                                deltaLongitude                      := -5788,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z1_D1_Hx
garciay's avatar
garciay committed
700
                
701 702 703 704 705
                    /**
                     * @desc Z1-D1-Traces/Trace1
                     */
                    modulepar Traces PICS_Z1_D1_Tx := {
                        {
706 707 708 709 710 711 712
                            { // Z1-D1-T1
                                pathPosition := {
                                    deltaLatitude                       := 4659,
                                    deltaLongitude                      := 7205,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
713
                            },
714 715 716 717 718 719 720
                            { // Z1-D1-T2
                                pathPosition := {
                                    deltaLatitude                       := 510,
                                    deltaLongitude                      := 720,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
721
                            },
722 723 724 725 726 727 728
                            { // Z1-D1-T3
                                pathPosition := {
                                    deltaLatitude                       := 208,
                                    deltaLongitude                      := 531,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
729
                            },
730 731 732 733 734 735 736
                            { // Z1-D1-T4
                                pathPosition := {
                                    deltaLatitude                       := 154,
                                    deltaLongitude                      := 409,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
737
                            },
738 739 740 741 742 743 744 745
                            { // Z1-D1-T5
                                pathPosition := {
                                    deltaLatitude                       := 160,
                                    deltaLongitude                      := 1041,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
746 747
                        }
                    }; // End of PICS_Z1_D1_Tx
garciay's avatar
garciay committed
748
                
749
                    modulepar DenmParm PICS_Z1_D1 := {
garciay's avatar
garciay committed
750
                        eventPosition                               := c_PICS_Z1_D1_EP,
751
                        causeCodeType                               := CauseCodeType_roadworks_,
garciay's avatar
garciay committed
752 753
                        eventHistory                                := c_PICS_Z1_D1_Hx,
                        traces                                      := c_PICS_Z1_D1_Tx,
754
                        roadWorksContainerExtended := {
755
                            lightBarSirenInUse                      := omit,
756 757
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
758
                                drivingLaneStatus                   := '0001'B
759 760
                            },
                            restriction                             := omit,
garciay's avatar
garciay committed
761
                            speedLimit                              := c_PICS_SPEED_LIMIT,
762 763
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
garciay's avatar
garciay committed
764
                            startingPointSpeedLimit                 := c_PICS_Z1_D1_POS0,
765
                            trafficFlowRule                         := passToRight,
766 767 768 769
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z1_D1
                
garciay's avatar
garciay committed
770 771
                } // End of group denmZone1_D1
            
772
                group denmZone1_D2 {
garciay's avatar
garciay committed
773
                
774 775 776 777 778 779
                    /**
                     * @desc Z1-D2-EP/POS2
                     */
                    modulepar ReferencePosition PICS_Z1_D2_EP := {
                        latitude                                    := 435519107,                               // Z1-D2-EP/latitude
                        longitude                                   := 102993930,                               // Z1-D2-EP/longitude
garciay's avatar
garciay committed
780 781
                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := c_PICS_DENM_ALTITUDE
782
                    }; // End of PICS_Z1_D2_EP
garciay's avatar
garciay committed
783
                
784 785 786 787 788 789 790 791 792 793 794 795
                    /**
                     * @desc Z1-D2-EP/EventHistory2
                     */
                    modulepar EventHistory PICS_Z1_D2_Hx := { 
                        { // Z1_D2_H1
                            eventPosition := {
                                deltaLatitude                       := -2750,
                                deltaLongitude                      := -4251,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
garciay's avatar
garciay committed
796
                        },
797 798 799 800 801 802 803 804 805 806
                        { // Z1_D2_H2
                            eventPosition := {
                                deltaLatitude                       := -2936,
                                deltaLongitude                      := -3641,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z1_D2_Hx
garciay's avatar
garciay committed
807
                
808 809 810 811 812
                    /**
                     * @desc Z1-D2-Traces/Trace2
                     */
                    modulepar Traces PICS_Z1_D2_Tx := {
                        {
813 814 815 816 817 818 819
                            { // Z1-D2-T1
                                pathPosition := {
                                    deltaLatitude                       := 3699,
                                    deltaLongitude                      := 5788,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
820
                            },
821 822 823 824 825 826 827
                            { // Z1-D2-T2
                                pathPosition := {
                                    deltaLatitude                       := 456,
                                    deltaLongitude                      := 598,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
828
                            },
829 830 831 832 833 834 835
                            { // Z1-D2-T3
                                pathPosition := {
                                    deltaLatitude                       := 450,
                                    deltaLongitude                      := 697,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
836
                            },
837 838 839 840 841 842 843
                            { // Z1-D2-T4
                                pathPosition := {
                                    deltaLatitude                       := 619,
                                    deltaLongitude                      := 963,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
844
                            },
845 846 847 848 849 850 851 852
                            { // Z1-D2-T5
                                pathPosition := {
                                    deltaLatitude                       := 510,
                                    deltaLongitude                      := 719,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
853 854
                        }
                    }; // End of PICS_Z1_D2_Tx
garciay's avatar
garciay committed
855
                
856
                    modulepar DenmParm PICS_Z1_D2 := {
garciay's avatar
garciay committed
857
                        eventPosition                               := c_PICS_Z1_D2_EP,
858
                        causeCodeType                               := CauseCodeType_roadworks_,
garciay's avatar
garciay committed
859 860
                        eventHistory                                := c_PICS_Z1_D2_Hx,
                        traces                                      := c_PICS_Z1_D2_Tx,
861
                        roadWorksContainerExtended := {
862
                            lightBarSirenInUse                      := omit,
863 864
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
865
                                drivingLaneStatus                   := '0011'B
866 867
                            },
                            restriction                             := omit,
garciay's avatar
garciay committed
868
                            speedLimit                              := c_PICS_SPEED_LIMIT,
869 870
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
871
                            startingPointSpeedLimit                 := omit,
872 873 874 875
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                    
garciay's avatar
garciay committed
876
                    } // End of PICS_Z1_D2
877
                
garciay's avatar
garciay committed
878 879
                } // End of group denmZone1_D2
            
880
                group denmZone1_D3 {
garciay's avatar
garciay committed
881
                
882 883 884 885 886 887
                    /**
                     * @desc Z1-D3-EP/POS3
                     */
                    modulepar ReferencePosition PICS_Z1_D3_EP := {
                        latitude                                    := 435513421,                               // Z1-D3-EP/latitude
                        longitude                                   := 102986038,                               // Z1-D3-EP/longitude
garciay's avatar
garciay committed
888 889
                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := c_PICS_DENM_ALTITUDE
890
                    }; // End of PICS_Z1_D3_EP
garciay's avatar
garciay committed
891
                
892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907
                    /**
                     * @desc Z1-D3-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z1_D3_Hx := { 
                        { // Z1_D3_H1
                            eventPosition := {
                                deltaLatitude                       := -1158,
                                deltaLongitude                      := -45,
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z1_D3_H2
                            eventPosition := {
                                deltaLatitude                       := -1299,
908
                                deltaLongitude                      := 819,
909 910 911 912 913 914
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z1_D3_Hx
garciay's avatar
garciay committed
915
                
916 917 918 919 920
                    /**
                     * @desc Z1-D3-Traces/Trace1
                     */
                    modulepar Traces PICS_Z1_D3_Tx := {
                        {
921 922 923 924 925 926 927
                            { // Z1-D3-T1
                                pathPosition := {
                                    deltaLatitude                       := 3435,
                                    deltaLongitude                      := 4483,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
928
                            },
929 930 931 932 933 934 935
                            { // Z1-D3-T2
                                pathPosition := {
                                    deltaLatitude                       := 626,
                                    deltaLongitude                      := 863,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
936
                            },
937 938 939 940 941 942 943
                            { // Z1-D3-T3
                                pathPosition := {
                                    deltaLatitude                       := 500,
                                    deltaLongitude                      := 541,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
944
                            },
945 946 947 948 949 950 951 952
                            { // Z1-D3-T4
                                pathPosition := {
                                    deltaLatitude                       := 564,
                                    deltaLongitude                      := 841,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
953 954
                        }
                    }; // End of PICS_Z1_D3_Tx
garciay's avatar
garciay committed
955
                
956
                    modulepar DenmParm PICS_Z1_D3 := {
garciay's avatar
garciay committed
957
                        eventPosition                               := c_PICS_Z1_D3_EP,
958
                        causeCodeType                               := CauseCodeType_roadworks_,
garciay's avatar
garciay committed
959 960
                        eventHistory                                := c_PICS_Z1_D3_Hx,
                        traces                                      := c_PICS_Z1_D3_Tx,
961 962 963 964
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := closed,
965
                                drivingLaneStatus                   := '0100'B
966 967
                            },
                            restriction                             := omit,
garciay's avatar
garciay committed
968
                            speedLimit                              := c_PICS_SPEED_LIMIT,
969 970 971 972 973 974 975
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
                            startingPointSpeedLimit := {
                                deltaLatitude                       := 0,
                                deltaLongitude                      := 0,
                                deltaAltitude                       := 0
                            },
976 977 978
                            trafficFlowRule                         := passToLeft,
                            referenceDenms                          := {
                            }
979 980
                        }
                    
garciay's avatar
garciay committed
981
                    } // End of PICS_Z1_D3
982
                
garciay's avatar
garciay committed
983
                } // End of denmZone1_D3
garciay's avatar
garciay committed
984
            
garciay's avatar
garciay committed
985 986
            } // End of group denmZone1 
        
987
            group denmZone2 {
garciay's avatar
garciay committed
988
            
989
                group denmZone2_D1 {
garciay's avatar
garciay committed
990
                
991 992 993 994
                    /**
                     * @desc Z2-D1-EP/POS0
                     */
                    modulepar DeltaReferencePosition PICS_Z2_D1_POS0 := {
garciay's avatar
garciay committed
995 996
                        deltaLatitude                       := -676,
                        deltaLongitude                      := -6542,
997 998
                        deltaAltitude                       := 0
                    }; // End of PICS_Z2_D1_POS0
garciay's avatar
garciay committed
999
                
1000 1001 1002 1003
                    /**
                     * @desc Z2-D1-EP/POS1
                     */
                    modulepar ReferencePosition PICS_Z2_D1_EP := {
1004 1005
                        latitude                                    := 435512286,                               // Z2-D1-EP/latitude
                        longitude                                   := 102999675,                               // Z2-D1-EP/longitude
garciay's avatar
garciay committed
1006 1007
                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := c_PICS_DENM_ALTITUDE
1008
                    }; // End of PICS_Z2_D1_EP
garciay's avatar
garciay committed
1009
                
1010 1011 1012 1013 1014 1015
                    /**
                     * @desc Z2-D1-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z2_D1_Hx := { 
                        { // Z2_D1_H1
                            eventPosition := {
1016 1017
                                deltaLatitude                       := 718,
                                deltaLongitude                      := 7406,
1018 1019 1020 1021 1022 1023 1024
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z2_D1_H2
                            eventPosition := {
1025 1026
                                deltaLatitude                       := 577,
                                deltaLongitude                      := 5717,
1027 1028 1029 1030 1031 1032
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z2_D1_Hx
garciay's avatar
garciay committed
1033
                
1034 1035 1036 1037 1038
                    /**
                     * @desc Z2-D1-Traces/Trace1
                     */
                    modulepar Traces PICS_Z2_D1_Tx := {
                        {
1039 1040
                            { // Z2-D1-T1
                                pathPosition := {
1041 1042
                                    deltaLatitude                       := -1377,
                                    deltaLongitude                      := -12164,
1043 1044 1045
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1046
                            },
1047 1048
                            { // Z2-D1-T2
                                pathPosition := {
1049 1050
                                    deltaLatitude                       := 55,
                                    deltaLongitude                      := -609,
1051 1052 1053
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1054
                            },
1055 1056
                            { // Z2-D1-T3
                                pathPosition := {
1057 1058
                                    deltaLatitude                       := 312,
                                    deltaLongitude                      := -587,
1059 1060 1061
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1062
                            },
1063 1064
                            { // Z2-D1-T4
                                pathPosition := {
1065 1066
                                    deltaLatitude                       := 358,
                                    deltaLongitude                      := -421,
1067 1068 1069
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1070
                            },
1071 1072
                            { // Z2-D1-T5
                                pathPosition := {
1073 1074
                                    deltaLatitude                       := 860,
                                    deltaLongitude                      := -254,
1075 1076 1077 1078
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
1079 1080
                        }
                    }; // End of PICS_Z2_D1_Tx
garciay's avatar
garciay committed
1081
                
1082
                    modulepar DenmParm PICS_Z2_D1 := {
garciay's avatar
garciay committed
1083
                        eventPosition                               := c_PICS_Z2_D1_EP,
1084
                        causeCodeType                               := CauseCodeType_roadworks_,
garciay's avatar
garciay committed
1085 1086
                        eventHistory                                := c_PICS_Z2_D1_Hx,
                        traces                                      := c_PICS_Z2_D1_Tx,
1087 1088 1089 1090 1091 1092 1093
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
                                drivingLaneStatus                   := '0001'B
                            },
                            restriction                             := omit,
garciay's avatar
garciay committed
1094
                            speedLimit                              := c_PICS_SPEED_LIMIT,
1095 1096
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
garciay's avatar
garciay committed
1097
                            startingPointSpeedLimit                 := c_PICS_Z2_D1_POS0,
1098
                            trafficFlowRule                         := passToRight,
1099 1100 1101 1102
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z2_D1
                
garciay's avatar
garciay committed
1103 1104
                } // End of group denmZone2_D1
            
1105
                group denmZone2_D2 {
garciay's avatar
garciay committed
1106
                
1107 1108 1109 1110
                    /**
                     * @desc Z2-D2-EP/POS2
                     */
                    modulepar ReferencePosition PICS_Z2_D2_EP := {
1111 1112
                        latitude                                    := 435513581,                               // Z2-D2-EP/latitude
                        longitude                                   := 103012798,                               // Z2-D2-EP/longitude
garciay's avatar
garciay committed
1113 1114
                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := c_PICS_DENM_ALTITUDE
1115
                    }; // End of PICS_Z2_D2_EP
garciay's avatar
garciay committed
1116
                
1117 1118 1119 1120 1121 1122
                    /**
                     * @desc Z2-D2-EP/EventHistory2
                     */
                    modulepar EventHistory PICS_Z2_D2_Hx := { 
                        { // Z2_D2_H1
                            eventPosition := {
1123 1124
                                deltaLatitude                       := 3883,
                                deltaLongitude                      := 5826,
1125 1126 1127 1128 1129 1130 1131
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z2_D2_H2
                            eventPosition := {
1132 1133
                                deltaLatitude                       := 3550,
                                deltaLongitude                      := 1859,
1134 1135 1136 1137 1138 1139
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z2_D2_Hx
garciay's avatar
garciay committed
1140
                
1141 1142 1143 1144 1145
                    /**
                     * @desc Z2-D2-Traces/Trace2
                     */
                    modulepar Traces PICS_Z2_D2_Tx := {
                        {
1146 1147 1148 1149 1150 1151 1152
                            { // Z2-D2-T1
                                pathPosition := {
                                    deltaLatitude                       := -861,
                                    deltaLongitude                      := -8506,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1153
                            },
1154 1155 1156 1157 1158 1159 1160
                            { // Z2-D2-T2
                                pathPosition := {
                                    deltaLatitude                       := -88,
                                    deltaLongitude                      := -949,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1161
                            },
1162 1163 1164 1165 1166 1167 1168
                            { // Z2-D2-T3
                                pathPosition := {
                                    deltaLatitude                       := -97,
                                    deltaLongitude                      := -817,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1169
                            },
1170 1171 1172 1173 1174 1175 1176
                            { // Z2-D2-T4
                                pathPosition := {
                                    deltaLatitude                       := -118,
                                    deltaLongitude                      := -815,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1177
                            },
1178 1179 1180 1181 1182 1183 1184 1185
                            { // Z2-D2-T5
                                pathPosition := {
                                    deltaLatitude                       := -5,
                                    deltaLongitude                      := -631,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
                            }
1186 1187
                        }
                    }; // End of PICS_Z2_D2_Tx
garciay's avatar
garciay committed
1188
                
1189
                    modulepar DenmParm PICS_Z2_D2 := {
garciay's avatar
garciay committed
1190
                        eventPosition                               := c_PICS_Z2_D2_EP,
1191
                        causeCodeType                               := CauseCodeType_roadworks_,
garciay's avatar
garciay committed
1192 1193
                        eventHistory                                := c_PICS_Z2_D2_Hx,
                        traces                                      := c_PICS_Z2_D2_Tx,
1194 1195 1196 1197 1198 1199 1200
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := availableForDriving,
                                drivingLaneStatus                   := '0011'B
                            },
                            restriction                             := omit,
garciay's avatar
garciay committed
1201
                            speedLimit                              := c_PICS_SPEED_LIMIT,
1202 1203
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1204
                            startingPointSpeedLimit                 := omit,
1205 1206 1207 1208
                            trafficFlowRule                         := passToRight,
                            referenceDenms                          := omit
                        }
                    
garciay's avatar
garciay committed
1209
                    } // End of PICS_Z2_D2
1210
                
garciay's avatar
garciay committed
1211 1212
                } // End of group denmZone2_D2
            
1213
                group denmZone2_D3 {
garciay's avatar
garciay committed
1214
                
1215 1216 1217 1218
                    /**
                     * @desc Z2-D3-EP/POS3
                     */
                    modulepar ReferencePosition PICS_Z2_D3_EP := {
1219 1220
                        latitude                                    := 435521014,                               // Z2-D3-EP/latitude
                        longitude                                   := 103020483,                               // Z2-D3-EP/longitude
garciay's avatar
garciay committed
1221 1222
                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := c_PICS_DENM_ALTITUDE
1223
                    }; // End of PICS_Z2_D3_EP
garciay's avatar
garciay committed
1224
                
1225 1226 1227 1228 1229 1230
                    /**
                     * @desc Z2-D3-EP/EventHistory1
                     */
                    modulepar EventHistory PICS_Z2_D3_Hx := { 
                        { // Z2_D3_H1
                            eventPosition := {
1231 1232
                                deltaLatitude                       := 3169,
                                deltaLongitude                      := 1084,
1233 1234 1235 1236 1237 1238 1239
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        },
                        { // Z2_D3_H2
                            eventPosition := {
1240 1241
                                deltaLatitude                       := 2020,
                                deltaLongitude                      := -1029,
1242 1243 1244 1245 1246 1247
                                deltaAltitude                       := 0
                            },
                            eventDeltaTime                          := omit,
                            informationQuality                      := 0
                        }
                    }; // End of PICS_Z2_D3_Hx
garciay's avatar
garciay committed
1248
                
1249 1250 1251 1252 1253
                    /**
                     * @desc Z2-D3-Traces/Trace1
                     */
                    modulepar Traces PICS_Z2_D3_Tx := {
                        {
1254 1255 1256 1257 1258 1259 1260
                            { // Z2-D3-T1
                                pathPosition := {
                                    deltaLatitude                       := -6382,
                                    deltaLongitude                      := -3852,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1261
                            },
1262 1263 1264 1265 1266 1267 1268
                            { // Z2-D3-T2
                                pathPosition := {
                                    deltaLatitude                       := -132,
                                    deltaLongitude                      := -653,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1269
                            },
1270 1271 1272 1273 1274 1275 1276
                            { // Z2-D3-T3
                                pathPosition := {
                                    deltaLatitude                       := -355,
                                    deltaLongitude                      := -1040,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1277
                            },
1278 1279 1280 1281 1282 1283 1284
                            { // Z2-D3-T4
                                pathPosition := {
                                    deltaLatitude                       := -362,
                                    deltaLongitude                      := -941,
                                    deltaAltitude                       := 0
                                },
                                pathDeltaTime                           := omit
1285 1286 1287
                            }
                        }
                    }; // End of PICS_Z2_D3_Tx
garciay's avatar
garciay committed
1288
                
1289
                    modulepar DenmParm PICS_Z2_D3 := {
garciay's avatar
garciay committed
1290
                        eventPosition                               := c_PICS_Z2_D3_EP,
1291
                        causeCodeType                               := CauseCodeType_roadworks_,
garciay's avatar
garciay committed
1292 1293
                        eventHistory                                := c_PICS_Z2_D3_Hx,
                        traces                                      := c_PICS_Z2_D3_Tx,
1294 1295 1296 1297
                        roadWorksContainerExtended := {
                            lightBarSirenInUse                      := omit,
                            closedLanes := {
                                hardShoulderStatus                  := closed,
1298
                                drivingLaneStatus                   := '0100'B
1299 1300
                            },
                            restriction                             := omit,
garciay's avatar
garciay committed
1301
                            speedLimit                              := c_PICS_SPEED_LIMIT,
1302 1303
                            incidentIndication                      := omit,
                            recommendedPath                         := omit,
1304
                            startingPointSpeedLimit                 := omit,
1305
                            trafficFlowRule                         := passToLeft,
1306 1307 1308 1309
                            referenceDenms                          := omit
                        }
                    } // End of PICS_Z2_D3
                
garciay's avatar
garciay committed
1310
                } // group denmZone2_D3
garciay's avatar
garciay committed
1311
            
garciay's avatar
garciay committed
1312 1313
            } // End of group denmZone2
        
1314
            group denmZone3 {
garciay's avatar
garciay committed
1315
            
1316
                group denmZone3_D1 {
garciay's avatar
garciay committed
1317
                    
1318 1319 1320 1321
                    /**
                     * @desc Z3-D1-EP/POS0
                     */
                    modulepar DeltaReferencePosition PICS_Z3_D1_POS0 := {
garciay's avatar
garciay committed
1322 1323
                        deltaLatitude                       := -3495,
                        deltaLongitude                      := -5236,
1324 1325
                        deltaAltitude                       := 0
                    }; // End of PICS_Z3_D1_POS0
garciay's avatar
garciay committed
1326
                
1327 1328 1329 1330 1331 1332
                    /**
                     * @desc Z3-D1-EP/POS1
                     */
                    modulepar ReferencePosition PICS_Z3_D1_EP := {
                        latitude                                    := 435537393,                               // Z3-D1-EP/latitude
                        longitude                                   := 103003415,                               // Z3-D1-EP/longitude
garciay's avatar
garciay committed
1333 1334
                        positionConfidenceEllipse                   := c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE,
                        altitude                                    := c_PICS_DENM_ALTITUDE
1335
                    }; // End of PICS_Z3_D1_EP
garciay's avatar
garciay committed
1336