ItsRSUsSimulator_Pics.ttcn 321 KB
Newer Older
garciay's avatar
garciay committed
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
                        },
                        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
6158
        
6159
        modulepar IvimParmListRsu PICS_IVIM_PARMS_RSUs := {
6160
            PICS_Z1_I1_POS1,                             // RSU #1
garciay's avatar
garciay committed
6161
            PICS_Z2_I1_POS1,/*{ 
garciay's avatar
garciay committed
6162
6163
6164
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
garciay's avatar
garciay committed
6165
            },*/                                           // RSU #2                             // RSU #3
garciay's avatar
garciay committed
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
            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 
6188
            },                                           // RSU #10            
garciay's avatar
garciay committed
6189
6190
            PICS_Z1_I1_POS1,                             // RSU #11
            PICS_Z3_I1_POS1                              // RSU #12
6191
        } // End of PICS_IVIM_PARMS_RSUs
garciay's avatar
garciay committed
6192
6193
6194
        
    } // End of group ivimEvents 
    
6195
6196
6197
6198
    group ssemEvents {
        
        group ssemCommonParams {
            
6199
            modulepar BtpPortId PICS_SSEM_BTP_DESTINATION_PORT := 2008;
6200
6201
6202
6203
6204
6205
6206
            
            modulepar BtpPortId PICS_SSEM_BTP_SOURCE_PORT      := 0;
            
        } // End of group ssemCommonParams
        
    } // End of group ssemEvents
    
6207
6208
6209
6210
6211
6212
6213
6214
    group sremEvents {
        
        group sremCommonParams {
            
            modulepar BtpPortId PICS_SREM_BTP_DESTINATION_PORT := 2007;
            
            modulepar BtpPortId PICS_SREM_BTP_SOURCE_PORT      := 0;
            
6215
6216
6217
6218
            modulepar UInt32 PICS_SREM_ITS_AID                 := 140;
            
            modulepar UInt32 PICS_SSEM_ITS_AID                 := 140;
            
6219
6220
6221
6222
        } // End of group sremCommonParams
        
    } // End of group sremEvents
    
garciay's avatar
garciay committed
6223
6224
    group generationFrequencies {
        
6225
        modulepar boolean PICS_GENERATE_BEACON   := false;
garciay's avatar
garciay committed
6226
        
garciay's avatar
garciay committed
6227
        modulepar boolean PICS_GENERATE_CAM      := false;
garciay's avatar
garciay committed
6228
        
garciay's avatar
garciay committed
6229
        modulepar boolean PICS_GENERATE_DENM     := true;
garciay's avatar
garciay committed
6230
        
6231
        modulepar boolean PICS_GENERATE_IVIM     := false;
garciay's avatar
garciay committed
6232
        
6233
6234
6235
        modulepar boolean PICS_GENERATE_MAPEM    := false;
        
        modulepar boolean PICS_GENERATE_SPATEM   := false;
garciay's avatar
garciay committed
6236
        
garciay's avatar
garciay committed
6237
        modulepar boolean PICS_GENERATE_SSEM     := true;
garciay's avatar
garciay committed
6238
        
6239
6240
6241
6242
6243
        /**
         * @desc CAM frequency timer
         */
        modulepar float PICS_BEACON_FREQUENCY    := 1.0;
        
garciay's avatar
garciay committed
6244
6245
6246
        /**
         * @desc CAM frequency timer
         */
6247
        modulepar float PICS_CAM_FREQUENCY       := 1.0;
garciay's avatar
garciay committed
6248
6249
6250
6251
        
        /**
         * @desc DENM frequency timer
         */
garciay's avatar
garciay committed
6252
        modulepar float PICS_DENM_FREQUENCY      := int2float(PICS_DENM_REPETITION_INTERVAL) / 1000.0;
garciay's avatar
garciay committed
6253
6254
6255
6256
        
        /**
         * @desc MAPEM frequency timer
         */
garciay's avatar
garciay committed
6257
        modulepar float PICS_MAPEM_FREQUENCY     := 1.0;
garciay's avatar
garciay committed
6258
6259
6260
6261
        
        /**
         * @desc SPATEMM frequency timer
         */
garciay's avatar
garciay committed
6262
        modulepar float PICS_SPATEM_FREQUENCY    := 1.0;
garciay's avatar
garciay committed
6263
6264
6265
6266
        
        /**
         * @desc IVIM frequency timer
         */
garciay's avatar
garciay committed
6267
        modulepar float PICS_IVIM_FREQUENCY      := 1.0;
garciay's avatar
garciay committed
6268
6269
6270
6271
        
    } // End of group generationFrequencies 
    
} // End of module ItsRSUsSimulator_Pics 
For faster browsing, not all history is shown. View entire blame