Skip to content
ItsRSUsSimulator_Pics.ttcn 282 KiB
Newer Older
garciay's avatar
garciay committed
                                {
                                    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
garciay's avatar
garciay committed
                            }
                        },
                        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
garciay's avatar
garciay committed
                            {
                                  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
                            }
garciay's avatar
garciay committed
            } // End of PICS_Z5_I1_POS1
garciay's avatar
garciay committed
        } // End of group ivimZone5 
garciay's avatar
garciay committed
        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 
        modulepar IvimParmListRsu PICS_IVIM_PARMS_RSUs := {
garciay's avatar
garciay committed
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
            },                                           // RSU #1
            { 
                provider := omit, 
                iviIdentificationNumber := omit, 
                iviContainers := omit 
            },                                           // RSU #2
            PICS_Z2_I1_POS1,                             // RSU #3
garciay's avatar
garciay committed
            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
garciay's avatar
garciay committed
        
    } // End of group ivimEvents 
    
    group ssemEvents {
        
        group ssemCommonParams {
            
            modulepar BtpPortId PICS_SSEM_BTP_DESTINATION_PORT := 2008;
            
            modulepar BtpPortId PICS_SSEM_BTP_SOURCE_PORT      := 0;
            
        } // End of group ssemCommonParams
        
    } // End of group ssemEvents
    
    group sremEvents {
        
        group sremCommonParams {
            
            modulepar BtpPortId PICS_SREM_BTP_DESTINATION_PORT := 2007;
            
            modulepar BtpPortId PICS_SREM_BTP_SOURCE_PORT      := 0;
            
            modulepar UInt32 PICS_SREM_ITS_AID                 := 140;
            
            modulepar UInt32 PICS_SSEM_ITS_AID                 := 140;
            
        } // End of group sremCommonParams
        
    } // End of group sremEvents
    
garciay's avatar
garciay committed
    group generationFrequencies {
        
garciay's avatar
garciay committed
        modulepar boolean PICS_GENERATE_CAM      := false;
        modulepar boolean PICS_GENERATE_DENM     := false;
        modulepar boolean PICS_GENERATE_IVIM     := true;
        modulepar boolean PICS_GENERATE_MAPEM    := true;
garciay's avatar
garciay committed
        
garciay's avatar
garciay committed
        modulepar boolean PICS_GENERATE_SPATEM   := true;
garciay's avatar
garciay committed
        modulepar boolean PICS_GENERATE_SSEM     := true;
garciay's avatar
garciay committed
        /**
         * @desc CAM frequency timer
         */
        modulepar float PICS_CAM_FREQUENCY       := 1.0;
garciay's avatar
garciay committed
        
        /**
         * @desc DENM frequency timer
         */
garciay's avatar
garciay committed
        modulepar float PICS_DENM_FREQUENCY      := int2float(PICS_DENM_REPETITION_INTERVAL) / 1000.0;
garciay's avatar
garciay committed
        
        /**
         * @desc MAPEM frequency timer
         */
garciay's avatar
garciay committed
        modulepar float PICS_MAPEM_FREQUENCY     := 1.0;
garciay's avatar
garciay committed
        
        /**
         * @desc SPATEMM frequency timer
         */
garciay's avatar
garciay committed
        modulepar float PICS_SPATEM_FREQUENCY    := 1.0;
garciay's avatar
garciay committed
        
        /**
         * @desc IVIM frequency timer
         */
garciay's avatar
garciay committed
        modulepar float PICS_IVIM_FREQUENCY      := 5.0;
garciay's avatar
garciay committed
        
    } // End of group generationFrequencies 
    
} // End of module ItsRSUsSimulator_Pics