Skip to content
ItsRSUsSimulator_Pics.ttcn 287 KiB
Newer Older
garciay's avatar
garciay committed
module ItsRSUsSimulator_Pics {
    
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
    
    // LibIts
    import from ITS_Container language "ASN.1:1997" all;
    import from CAM_PDU_Descriptions language "ASN.1:1997" all;
    import from DENM_PDU_Descriptions language "ASN.1:1997" all;
    import from MAPEM_PDU_Descriptions language "ASN.1:1997" all;
    import from SPATEM_PDU_Descriptions language "ASN.1:1997" all;
    import from IVIM_PDU_Descriptions language "ASN.1:1997" all;
garciay's avatar
garciay committed
    import from IVI language "ASN.1:1997" all;
garciay's avatar
garciay committed
    import from SREM_PDU_Descriptions language "ASN.1:1997" all;
    import from SSEM_PDU_Descriptions language "ASN.1:1997" all;
garciay's avatar
garciay committed
    import from DSRC language "ASN.1:1997" all;
    import from ElectronicRegistrationIdentificationVehicleDataModule language "ASN.1:1997" all;
garciay's avatar
garciay committed
    
    // LibItsBtp
    import from LibItsBtp_TypesAndValues all;
    import from LibItsBtp_Templates all;
    
    // LibItsGeoNetworking
    import from LibItsGeoNetworking_TypesAndValues all;
    
garciay's avatar
garciay committed
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    
garciay's avatar
garciay committed
    // ItsRSUsSimulator
    import from ItsRSUsSimulator_TypesAndValues all;
    
    /**
     * @desc This group describes the RSUs installed on the track
     */
garciay's avatar
garciay committed
    group rsuParameters {
        
         * @desc RSU #1 - RSUs A
         * @remark Zone #1
garciay's avatar
garciay committed
        group rsu1 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU1 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
                mid                   := '000ACCDDEE01'O
garciay's avatar
garciay committed
            } // End of PICS_RSU_GN_ADDRESS_RSU1
            
garciay's avatar
garciay committed
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU1,
                    timestamp_    := 0,
                    latitude      := 435529150,
                    longitude     := 103010520,
garciay's avatar
garciay committed
                    pai           := '0'B,
                    speed         := 0,
                    heading       := 0
                },
garciay's avatar
garciay committed
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
garciay's avatar
garciay committed
                geoShape := e_geoCircle,
                geoParms := {
                    radius := 5000
garciay's avatar
garciay committed
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU1
garciay's avatar
garciay committed
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU1 := {};
            
        } // End of group rsu1
        
         * @desc RSU #2 - RSUs B
         * @remark Zone #2
garciay's avatar
garciay committed
        group rsu2 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU2 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
                mid                   := '000ACCDDEE02'O
            } // End of PICS_RSU_GN_ADDRESS_RSU2
            
            modulepar RsuParm PICS_RSU2 := {
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU2,
                    timestamp_    := 0,
                    latitude      := 435512090,
                    longitude     := 103002510,
garciay's avatar
garciay committed
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
                    radius := 5000
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU2
            } // End of PICS_RSU2
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU2 := {};
            
        } // End of group rsu2
        
        /**
         * @desc RSU #3 - RSUs C
         * @remark Zone #3
         */
        group rsu3 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU3 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
                mid                   := '000ACCDDEE03'O
            } // End of PICS_RSU_GN_ADDRESS_RSU3
            
            modulepar RsuParm PICS_RSU3 := {
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU3,
                    timestamp_    := 0,
                    latitude      := 435546630,
                    longitude     := 103041900,
garciay's avatar
garciay committed
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
                    radius := 5000
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU3
            } // End of PICS_RSU3
            
            /**
             * @desc Path history to approch the RSU
             */
            modulepar PathHistory PICS_RSU_PATH_HISTORY_RSU3 := {};
            
        } // End of group rsu3
        
        /**
         * @desc RSU #4 - RSUs D
         * @remark Zone #5
         */
        group rsu4 {
            
            /**
             * @desc RSU GN address
             */
            modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU4 := {
                typeOfAddress         := e_manual,
                stationType           := e_roadSideUnit,
                stationCountryCode    := 33,
garciay's avatar
garciay committed
                mid                   := '000ACCDDEE04'O
            } // End of PICS_RSU_GN_ADDRESS_RSU4
            
            modulepar RsuParm PICS_RSU4 := {
                longPosVector := {
                    gnAddr        := PICS_RSU_GN_ADDRESS_RSU4,
                    timestamp_    := 0,
                    latitude      := 435582150,
                    longitude     := 103065170,
garciay's avatar
garciay committed
                stationType := StationType_roadSideUnit_,
                vehicleRole := roadOperator,
                    radius := 5000
                },
                pathHistory := PICS_RSU_PATH_HISTORY_RSU4
            } // End of PICS_RSU4
Loading full blame...