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