ItsRSUsSimulator_Pics.ttcn 160 KB
Newer Older
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
                               maneuverAssistList           := omit,
                               regional                     := omit
                            }
                        },
                        maneuverAssistList                  := omit,
                        regional                            := omit
                    }
                } // End of field states
            } // End of type PICS_SPATEM_PARMS_SG_1_RS_2
            
            modulepar SignalGroupParmList PICS_SPATEM_PARMS_RSU_2 := {
                PICS_SPATEM_PARMS_SG_1_RS_2
            } // End of type PICS_SPATEM_PARMS_RSU_1_RS_2
            
        }
        
        modulepar SpatemParmRsu PICS_SPATEM_PARMS_RSUs := {
            PICS_SPATEM_PARMS_RSU_1,
            PICS_SPATEM_PARMS_RSU_2
        } // End of PICS_SPATEM_PARMS_RSUs
        
    } // End of group spatemEvents
    
garciay's avatar
garciay committed
3024
3025
3026
3027
    group ivimEvents {
        
        group ivimCommonParams {
            
3028
            modulepar BtpPortId PICS_IVIM_BTP_DESTINATION_PORT := 2006;
garciay's avatar
garciay committed
3029
            
garciay's avatar
garciay committed
3030
            modulepar BtpPortId PICS_IVIM_BTP_SOURCE_PORT      := 0;
garciay's avatar
garciay committed
3031
            
3032
3033
            modulepar UInt32 PICS_IVIM_ITS_AID                 := 139;
            
garciay's avatar
garciay committed
3034
3035
3036
        } // End of group ivimCommonParams
        
        group ivimZone1 {
3037
3038
3039
3040
3041
3042
            
            modulepar IvimParm PICS_IVIM_PARMS_RSU_1 := {
                provider := {
                    countryCode                                := '0000000001'B,
                    providerIdentifier                         := 13
                },
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
                iviIdentificationNumber                        := 12,
                iviContainer := { // FIXME To be enhanced to support different values
                    giv := {
                        {
  	                        detectionZoneIds := {
                                  1
                            },
                            its_Rrid := omit,
	                        relevanceZoneIds := {
                                2
                            }, 
	                        direction := 0, //Direction_sameDirection_,
                            driverAwarenessZoneIds := omit, 
	                        minimumAwarenessTime := omit,
	                        applicableLanes := {
                                1, // LanePosition_outermostDrivingLane_, 
                                2  // LanePosition_secondLaneFromOutside_
                            },
	                        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 := 100,
	                                                    mns := omit,
	                                                    unit := 0
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
	                        extraText := omit
                        },
                        {
  	                        detectionZoneIds := {
                                  1
                            },
                            its_Rrid := omit,
	                        relevanceZoneIds := {
                                2
                            }, 
	                        direction := 0, //Direction_sameDirection_,
                            driverAwarenessZoneIds := omit, 
	                        minimumAwarenessTime := omit,
	                        applicableLanes := {
                                1, // LanePosition_outermostDrivingLane_, 
                                2  // LanePosition_secondLaneFromOutside_
                            },
	                        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 := 44
                                                
                                                }
                                            },
                                            attributes := omit
                                        }
                                    }
                                }
                            },
	                        extraText := omit
                        }
                    }
                }
3146
3147
            } // End of PICS_IVIM_PARMS_RSU_1
            
garciay's avatar
garciay committed
3148
3149
3150
3151
3152
3153
        } // End of group ivimZone1 
        
        group ivimZone2 {
            // TODO To be done
        } // End of group ivimZone2 
        
3154
3155
3156
        modulepar IvimParmListRsu PICS_IVIM_PARMS_RSUs := {
            PICS_IVIM_PARMS_RSU_1
        } // End of PICS_IVIM_PARMS_RSUs
garciay's avatar
garciay committed
3157
3158
3159
        
    } // End of group ivimEvents 
    
3160
3161
3162
3163
    group ssemEvents {
        
        group ssemCommonParams {
            
3164
            modulepar BtpPortId PICS_SSEM_BTP_DESTINATION_PORT := 2008;
3165
3166
3167
3168
3169
3170
3171
            
            modulepar BtpPortId PICS_SSEM_BTP_SOURCE_PORT      := 0;
            
        } // End of group ssemCommonParams
        
    } // End of group ssemEvents
    
3172
3173
3174
3175
3176
3177
3178
3179
    group sremEvents {
        
        group sremCommonParams {
            
            modulepar BtpPortId PICS_SREM_BTP_DESTINATION_PORT := 2007;
            
            modulepar BtpPortId PICS_SREM_BTP_SOURCE_PORT      := 0;
            
3180
3181
3182
3183
            modulepar UInt32 PICS_SREM_ITS_AID                 := 140;
            
            modulepar UInt32 PICS_SSEM_ITS_AID                 := 140;
            
3184
3185
3186
3187
        } // End of group sremCommonParams
        
    } // End of group sremEvents
    
garciay's avatar
garciay committed
3188
3189
    group generationFrequencies {
        
3190
        modulepar boolean PICS_GENERATE_CAM := false;
garciay's avatar
garciay committed
3191
3192
3193
3194
3195
        
        modulepar boolean PICS_GENERATE_DENM := true;
        
        modulepar boolean PICS_GENERATE_IVIM := true;
        
3196
        modulepar boolean PICS_GENERATE_MAPEM := false;
garciay's avatar
garciay committed
3197
        
3198
        modulepar boolean PICS_GENERATE_SPATEM := false;
garciay's avatar
garciay committed
3199
3200
3201
        
        modulepar boolean PICS_GENERATE_SSEM := true;
        
garciay's avatar
garciay committed
3202
3203
3204
3205
3206
3207
3208
3209
        /**
         * @desc CAM frequency timer
         */
        modulepar float PICS_CAM_FREQUENY       := 0.1;
        
        /**
         * @desc DENM frequency timer
         */
3210
        modulepar float PICS_DENM_FREQUENY      := int2float(PICS_DENM_REPETITION_INTERVAL) / 1000.0;
garciay's avatar
garciay committed
3211
3212
3213
3214
        
        /**
         * @desc MAPEM frequency timer
         */
3215
        modulepar float PICS_MAPEM_FREQUENY     := 5.0;
garciay's avatar
garciay committed
3216
3217
3218
3219
        
        /**
         * @desc SPATEMM frequency timer
         */
3220
        modulepar float PICS_SPATEM_FREQUENY    := 5.0;
garciay's avatar
garciay committed
3221
3222
3223
3224
        
        /**
         * @desc IVIM frequency timer
         */
3225
        modulepar float PICS_IVIM_FREQUENY      := 5.0;
garciay's avatar
garciay committed
3226
3227
3228
3229
        
    } // End of group generationFrequencies 
    
} // End of module ItsRSUsSimulator_Pics 
For faster browsing, not all history is shown. View entire blame