ItsRSUsSimulator_Pics.ttcn 282 KB
Newer Older
garciay's avatar
garciay committed
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
                                    deltaLongitude                 := 354
                                },
                                {
                                    deltaLatitude                  := 565,
                                    deltaLongitude                 := -118
                                },
                                {
                                    deltaLatitude                  := 848,
                                    deltaLongitude                 := -39
                                },
                                {
                                    deltaLatitude                  := 570,
                                    deltaLongitude                 := 10
                                },
                                {
                                    deltaLatitude                  := 567,
                                    deltaLongitude                 := -121
                                }
                            }
                        },
                        laneWidth                              := omit
                    }
                }
            } // End of PICS_Z5_I1_POS1_GP_1
            
            modulepar GlcPart PICS_Z5_I1_POS1_GP_2 := {
                zoneId                                         := 2, 
                laneNumber                                     := omit,
                zoneExtension                                  := omit,
                zoneHeading                                    := omit,
                zone := {
                    segment := {
                        line := {
                            deltaPositions := {
                                {
                                    deltaLatitude                  := -866,
                                    deltaLongitude                 := 340
                                },
                                {
                                    deltaLatitude                  := -632,
                                    deltaLongitude                 := -103
                                },
                                {
                                    deltaLatitude                  := -756,
                                    deltaLongitude                 := -132
                                },
                                {
                                    deltaLatitude                  := -648,
                                    deltaLongitude                 := -213
                                },
                                {
                                    deltaLatitude                  := -471,
                                    deltaLongitude                 := -115
5054
                                }
garciay's avatar
garciay committed
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
                            }
                        },
                        laneWidth                              := omit
                    }
                }
            } // End of PICS_Z5_I1_POS1_GP_2
            
            modulepar IvimParm PICS_Z5_I1_POS1 := {
                provider := {
                    countryCode                                := '0000000001'B,
                    providerIdentifier                         := 13
                },
                iviIdentificationNumber                        := 12,
                iviContainers := { 
                    {
                        glc := {
                            referencePosition                      := PICS_Z5_I1_POS1_RP,
                            referencePositionTime                  := omit,
                            referencePositionHeading               := omit, 
                            referencePositionSpeed                 := omit,
                            parts := {
                                PICS_Z5_I1_POS1_GP_1,
                                PICS_Z5_I1_POS1_GP_2
                            } 
                        }
                    },
                    {
                        giv := {
                            {
                                  detectionZoneIds := {
                                      1
                                },
                                its_Rrid                       := omit,
                                relevanceZoneIds := {
                                    2
                                }, 
                                direction                      := 0, //Direction_sameDirection_,
                                driverAwarenessZoneIds         := omit, 
                                minimumAwarenessTime           := 4,
                                applicableLanes                := omit,
                                iviType                        := 1, //IviType_regulatoryMessages_,
                                iviPurpose                     := omit,
                                laneStatus                     := omit,
                                vehicleCharacteristics         := omit,
                                driverCharacteristics          := omit,
                                layoutId                       := omit,
                                preStoredlayoutId              := omit,
                                roadSignCodes := {
                                    {
                                        layoutComponentId      := omit,
                                        code := {
                                            iso14823 := {
                                                pictogramCode := {  
                                                    countryCode := omit, 
                                                    serviceCategoryCode := { 
                                                        trafficSignPictogram := regulatory
                                                    },
                                                    pictogramCategoryCode := {
                                                        nature := 5,
                                                        serialNumber := 57
                                                    
                                                    }
                                                },
                                                attributes := {
                                                    {
                                                        spe := {
                                                            spm := 30,
                                                            mns := omit,
                                                            unit := 0
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                extraText := omit
5132
                            },
garciay's avatar
garciay committed
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
                            {
                                  detectionZoneIds := {
                                      1
                                },
                                its_Rrid                       := omit,
                                relevanceZoneIds := {
                                    2
                                }, 
                                direction                      := 0, //Direction_sameDirection_,
                                driverAwarenessZoneIds         := omit, 
                                minimumAwarenessTime           := 15,
                                applicableLanes                := omit,
                                iviType                        := 1, //IviType_regulatoryMessages_,
                                iviPurpose                     := omit,
                                laneStatus                     := omit,    
                                vehicleCharacteristics := {
                                    {
                                        tractor                := omit,
                                        trailer                := omit,
                                        train := {
                                            equalTo := {
                                                {
                                                    euVehicleCategoryCode := {
                                                        euVehicleCategoryN := n2
                                                    }
                                                },
                                                {
                                                    euVehicleCategoryCode := {
                                                        euVehicleCategoryN := n3
                                                    }
                                                }
                                            },
                                            notEqualTo         := omit, 
                                            ranges := {
                                                {
                                                    comparisonOperator                  := 0, // greaterThan
                                                    limits := {
                                                        vehicleWeightLimits := {
                                                            vehicleMaxLadenWeight       := 0,
                                                            vehicleTrainMaximumWeight   := 750,
                                                            vehicleWeightUnladen        := 0
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                driverCharacteristics          := omit,
                                layoutId                       := omit,
                                preStoredlayoutId              := omit,
                                roadSignCodes := {
                                    {
                                        layoutComponentId := omit,
                                        code := {
                                            iso14823 := {
                                                pictogramCode := {  
                                                    countryCode := omit, 
                                                    serviceCategoryCode := { 
                                                        trafficSignPictogram := regulatory
                                                    },
                                                    pictogramCategoryCode := {
                                                        nature := 5,
                                                        serialNumber := 44
                                                    
                                                    }
                                                },
                                                attributes := omit
                                            }
                                        }
                                    }
                                },
                                extraText := omit
                            }
5207
5208
5209
                        }
                    }
                }
garciay's avatar
garciay committed
5210
            } // End of PICS_Z5_I1_POS1
5211
            
garciay's avatar
garciay committed
5212
        } // End of group ivimZone5 
garciay's avatar
garciay committed
5213
        
garciay's avatar
garciay committed
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
        group ivimZone6 {
            
            modulepar ReferencePosition PICS_Z6_I1_POS1_RP := {
                latitude                                       := 435551186,
                longitude                                      := 103033248,
                positionConfidenceEllipse                      := PICS_IVIM_POSITION_CONFIDENCE_ELLIPSE ,
                altitude                                       := PICS_IVIM_ALTITUDE
            } // End of PICS_Z6_I1_POS1_RP
            
            modulepar GlcPart PICS_Z6_I1_POS1_GP_1 := {
                zoneId                                         := 1, 
                laneNumber                                     := omit,
                zoneExtension                                  := omit,
                zoneHeading                                    := omit,
                zone := {
                    segment := {
                        line := {
                            deltaPositions := {
                                {
                                    deltaLatitude                  := 313,
                                    deltaLongitude                 := 668
                                },
                                {
                                    deltaLatitude                  := 548,
                                    deltaLongitude                 := -879
                                },
                                {
                                    deltaLatitude                  := 545,
                                    deltaLongitude                 := -940
                                },
                                {
                                    deltaLatitude                  := 529,
                                    deltaLongitude                 := -824
                                },
                                {
                                    deltaLatitude                  := 597,
                                    deltaLongitude                 := -992
                                }
                            }
                        },
                        laneWidth                              := omit
                    }
                }
            } // End of PICS_Z6_I1_POS1_GP_1
            
            modulepar GlcPart PICS_Z6_I1_POS1_GP_2 := {
                zoneId                                         := 2, 
                laneNumber                                     := omit,
                zoneExtension                                  := omit,
                zoneHeading                                    := omit,
                zone := {
                    segment := {
                        line := {
                            deltaPositions := {
                                {
                                    deltaLatitude                  := -293,
                                    deltaLongitude                 := 1457
                                },
                                {
                                    deltaLatitude                  := -610,
                                    deltaLongitude                 := 903
                                },
                                {
                                    deltaLatitude                  := -716,
                                    deltaLongitude                 := 1013
                                },
                                {
                                    deltaLatitude                  := -587,
                                    deltaLongitude                 := 945
                                },
                                {
                                    deltaLatitude                  := -585,
                                    deltaLongitude                 := 838
                                }
                            }
                        },
                        laneWidth                              := omit
                    }
                }
            } // End of PICS_Z6_I1_POS1_GP_2
            
            modulepar IvimParm PICS_Z6_I1_POS1 := {
                provider := {
                    countryCode                                := '0000000001'B,
                    providerIdentifier                         := 13
                },
                iviIdentificationNumber                        := 12,
                iviContainers := { 
                    {
                        glc := {
                            referencePosition                      := PICS_Z6_I1_POS1_RP,
                            referencePositionTime                  := omit,
                            referencePositionHeading               := omit, 
                            referencePositionSpeed                 := omit,
                            parts := {
                                PICS_Z6_I1_POS1_GP_1,
                                PICS_Z6_I1_POS1_GP_2
                            } 
                        }
                    },
                    {
                        giv := {
                            {
                                  detectionZoneIds := {
                                      1
                                },
                                its_Rrid                       := omit,
                                relevanceZoneIds := {
                                    2
                                }, 
                                direction                      := 0, //Direction_sameDirection_,
                                driverAwarenessZoneIds         := omit, 
                                minimumAwarenessTime           := 4,
                                applicableLanes                := omit,
                                iviType                        := 1, //IviType_regulatoryMessages_,
                                iviPurpose                     := omit,
                                laneStatus                     := omit,
                                vehicleCharacteristics         := omit,
                                driverCharacteristics          := omit,
                                layoutId                       := omit,
                                preStoredlayoutId              := omit,
                                roadSignCodes := {
                                    {
                                        layoutComponentId      := omit,
                                        code := {
                                            iso14823 := {
                                                pictogramCode := {  
                                                    countryCode := omit, 
                                                    serviceCategoryCode := { 
                                                        trafficSignPictogram := regulatory
                                                    },
                                                    pictogramCategoryCode := {
                                                        nature := 5,
                                                        serialNumber := 57
                                                    
                                                    }
                                                },
                                                attributes := {
                                                    {
                                                        spe := {
                                                            spm := 30,
                                                            mns := omit,
                                                            unit := 0
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                extraText := omit
                            },
                            {
                                  detectionZoneIds := {
                                      1
                                },
                                its_Rrid                       := omit,
                                relevanceZoneIds := {
                                    2
                                }, 
                                direction                      := 0, //Direction_sameDirection_,
                                driverAwarenessZoneIds         := omit, 
                                minimumAwarenessTime           := 15,
                                applicableLanes                := omit,
                                iviType                        := 1, //IviType_regulatoryMessages_,
                                iviPurpose                     := omit,
                                laneStatus                     := omit,    
                                vehicleCharacteristics := {
                                    {
                                        tractor                := omit,
                                        trailer                := omit,
                                        train := {
                                            equalTo := {
                                                {
                                                    euVehicleCategoryCode := {
                                                        euVehicleCategoryN := n2
                                                    }
                                                },
                                                {
                                                    euVehicleCategoryCode := {
                                                        euVehicleCategoryN := n3
                                                    }
                                                }
                                            },
                                            notEqualTo         := omit, 
                                            ranges := {
                                                {
                                                    comparisonOperator                  := 0, // greaterThan
                                                    limits := {
                                                        vehicleWeightLimits := {
                                                            vehicleMaxLadenWeight       := 0,
                                                            vehicleTrainMaximumWeight   := 750,
                                                            vehicleWeightUnladen        := 0
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                driverCharacteristics          := omit,
                                layoutId                       := omit,
                                preStoredlayoutId              := omit,
                                roadSignCodes := {
                                    {
                                        layoutComponentId := omit,
                                        code := {
                                            iso14823 := {
                                                pictogramCode := {  
                                                    countryCode := omit, 
                                                    serviceCategoryCode := { 
                                                        trafficSignPictogram := regulatory
                                                    },
                                                    pictogramCategoryCode := {
                                                        nature := 5,
                                                        serialNumber := 44
                                                    
                                                    }
                                                },
                                                attributes := omit
                                            }
                                        }
                                    }
                                },
                                extraText := omit
                            }
                        }
                    }
                }
            } // End of PICS_Z6_I1_POS1
            
        } // End of group ivimZone6 
garciay's avatar
garciay committed
5446
        
5447
        modulepar IvimParmListRsu PICS_IVIM_PARMS_RSUs := {
garciay's avatar
garciay committed
5448
5449
5450
5451
5452
5453
5454
5455
5456
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
            },                                           // RSU #1
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
5457
5458
            },                                           // RSU #2
            PICS_Z2_I1_POS1,                             // RSU #3
garciay's avatar
garciay committed
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
            PICS_Z5_I1_POS1,                             // RSU #4
            PICS_Z4_I1_POS1,                             // RSU #5
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
            },                                           // RSU #6
            PICS_Z6_I1_POS1,                             // RSU #7
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
            },                                           // RSU #8
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
            },                                           // RSU #9
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
            },                                           // RSU #10
            
            PICS_Z1_I1_POS1,                             // RSU #11
            PICS_Z3_I1_POS1                              // RSU #12
5485
        } // End of PICS_IVIM_PARMS_RSUs
garciay's avatar
garciay committed
5486
5487
5488
        
    } // End of group ivimEvents 
    
5489
5490
5491
5492
    group ssemEvents {
        
        group ssemCommonParams {
            
5493
            modulepar BtpPortId PICS_SSEM_BTP_DESTINATION_PORT := 2008;
5494
5495
5496
5497
5498
5499
5500
            
            modulepar BtpPortId PICS_SSEM_BTP_SOURCE_PORT      := 0;
            
        } // End of group ssemCommonParams
        
    } // End of group ssemEvents
    
5501
5502
5503
5504
5505
5506
5507
5508
    group sremEvents {
        
        group sremCommonParams {
            
            modulepar BtpPortId PICS_SREM_BTP_DESTINATION_PORT := 2007;
            
            modulepar BtpPortId PICS_SREM_BTP_SOURCE_PORT      := 0;
            
5509
5510
5511
5512
            modulepar UInt32 PICS_SREM_ITS_AID                 := 140;
            
            modulepar UInt32 PICS_SSEM_ITS_AID                 := 140;
            
5513
5514
5515
5516
        } // End of group sremCommonParams
        
    } // End of group sremEvents
    
garciay's avatar
garciay committed
5517
5518
    group generationFrequencies {
        
garciay's avatar
garciay committed
5519
        modulepar boolean PICS_GENERATE_CAM      := false;
garciay's avatar
garciay committed
5520
        
5521
        modulepar boolean PICS_GENERATE_DENM     := false;
garciay's avatar
garciay committed
5522
        
5523
        modulepar boolean PICS_GENERATE_IVIM     := false;
garciay's avatar
garciay committed
5524
        
5525
        modulepar boolean PICS_GENERATE_MAPEM    := false;
garciay's avatar
garciay committed
5526
        
garciay's avatar
garciay committed
5527
        modulepar boolean PICS_GENERATE_SPATEM   := true;
garciay's avatar
garciay committed
5528
        
garciay's avatar
garciay committed
5529
        modulepar boolean PICS_GENERATE_SSEM     := true;
garciay's avatar
garciay committed
5530
        
garciay's avatar
garciay committed
5531
5532
5533
        /**
         * @desc CAM frequency timer
         */
garciay's avatar
garciay committed
5534
        modulepar float PICS_CAM_FREQUENCY       := 0.1;
garciay's avatar
garciay committed
5535
5536
5537
5538
        
        /**
         * @desc DENM frequency timer
         */
garciay's avatar
garciay committed
5539
        modulepar float PICS_DENM_FREQUENCY      := int2float(PICS_DENM_REPETITION_INTERVAL) / 1000.0;
garciay's avatar
garciay committed
5540
5541
5542
5543
        
        /**
         * @desc MAPEM frequency timer
         */
garciay's avatar
garciay committed
5544
        modulepar float PICS_MAPEM_FREQUENCY     := 1.0;
garciay's avatar
garciay committed
5545
5546
5547
5548
        
        /**
         * @desc SPATEMM frequency timer
         */
garciay's avatar
garciay committed
5549
        modulepar float PICS_SPATEM_FREQUENCY    := 1.0;
garciay's avatar
garciay committed
5550
5551
5552
5553
        
        /**
         * @desc IVIM frequency timer
         */
garciay's avatar
garciay committed
5554
        modulepar float PICS_IVIM_FREQUENCY      := 5.0;
garciay's avatar
garciay committed
5555
5556
5557
5558
        
    } // End of group generationFrequencies 
    
} // End of module ItsRSUsSimulator_Pics 
For faster browsing, not all history is shown. View entire blame