ItsRSUsSimulator_Pics.ttcn 318 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
                                                    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
6105
        
6106
        modulepar IvimParmListRsu PICS_IVIM_PARMS_RSUs := {
6107
            PICS_Z1_I1_POS1,                             // RSU #1
garciay's avatar
garciay committed
6108
6109
6110
6111
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
6112
6113
            },                                           // RSU #2
            PICS_Z2_I1_POS1,                             // RSU #3
garciay's avatar
garciay committed
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
            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 
6136
            },                                           // RSU #10            
garciay's avatar
garciay committed
6137
6138
            PICS_Z1_I1_POS1,                             // RSU #11
            PICS_Z3_I1_POS1                              // RSU #12
6139
        } // End of PICS_IVIM_PARMS_RSUs
garciay's avatar
garciay committed
6140
6141
6142
        
    } // End of group ivimEvents 
    
6143
6144
6145
6146
    group ssemEvents {
        
        group ssemCommonParams {
            
6147
            modulepar BtpPortId PICS_SSEM_BTP_DESTINATION_PORT := 2008;
6148
6149
6150
6151
6152
6153
6154
            
            modulepar BtpPortId PICS_SSEM_BTP_SOURCE_PORT      := 0;
            
        } // End of group ssemCommonParams
        
    } // End of group ssemEvents
    
6155
6156
6157
6158
6159
6160
6161
6162
    group sremEvents {
        
        group sremCommonParams {
            
            modulepar BtpPortId PICS_SREM_BTP_DESTINATION_PORT := 2007;
            
            modulepar BtpPortId PICS_SREM_BTP_SOURCE_PORT      := 0;
            
6163
6164
6165
6166
            modulepar UInt32 PICS_SREM_ITS_AID                 := 140;
            
            modulepar UInt32 PICS_SSEM_ITS_AID                 := 140;
            
6167
6168
6169
6170
        } // End of group sremCommonParams
        
    } // End of group sremEvents
    
garciay's avatar
garciay committed
6171
6172
    group generationFrequencies {
        
6173
        modulepar boolean PICS_GENERATE_BEACON   := false;
garciay's avatar
garciay committed
6174
        
6175
        modulepar boolean PICS_GENERATE_CAM      := true;
garciay's avatar
garciay committed
6176
        
garciay's avatar
garciay committed
6177
        modulepar boolean PICS_GENERATE_DENM     := false;
garciay's avatar
garciay committed
6178
        
6179
        modulepar boolean PICS_GENERATE_IVIM     := false;
garciay's avatar
garciay committed
6180
        
6181
6182
6183
        modulepar boolean PICS_GENERATE_MAPEM    := false;
        
        modulepar boolean PICS_GENERATE_SPATEM   := false;
garciay's avatar
garciay committed
6184
        
garciay's avatar
garciay committed
6185
        modulepar boolean PICS_GENERATE_SSEM     := true;
garciay's avatar
garciay committed
6186
        
6187
6188
6189
6190
6191
        /**
         * @desc CAM frequency timer
         */
        modulepar float PICS_BEACON_FREQUENCY    := 1.0;
        
garciay's avatar
garciay committed
6192
6193
6194
        /**
         * @desc CAM frequency timer
         */
6195
        modulepar float PICS_CAM_FREQUENCY       := 1.0;
6196
        modulepar float PICS_CAM_FREQUENCY_UC6   := 0.001;
garciay's avatar
garciay committed
6197
6198
6199
6200
        
        /**
         * @desc DENM frequency timer
         */
garciay's avatar
garciay committed
6201
        modulepar float PICS_DENM_FREQUENCY      := int2float(PICS_DENM_REPETITION_INTERVAL) / 1000.0;
garciay's avatar
garciay committed
6202
6203
6204
6205
        
        /**
         * @desc MAPEM frequency timer
         */
garciay's avatar
garciay committed
6206
        modulepar float PICS_MAPEM_FREQUENCY     := 1.0;
garciay's avatar
garciay committed
6207
6208
6209
6210
        
        /**
         * @desc SPATEMM frequency timer
         */
garciay's avatar
garciay committed
6211
        modulepar float PICS_SPATEM_FREQUENCY    := 1.0;
garciay's avatar
garciay committed
6212
6213
6214
6215
        
        /**
         * @desc IVIM frequency timer
         */
garciay's avatar
garciay committed
6216
        modulepar float PICS_IVIM_FREQUENCY      := 5.0;
garciay's avatar
garciay committed
6217
6218
6219
6220
        
    } // End of group generationFrequencies 
    
} // End of module ItsRSUsSimulator_Pics 
For faster browsing, not all history is shown. View entire blame