NrCar.ned
NED File src/simu5g/nodes/NrCar.ned
| Name | Type | Description |
|---|---|---|
| NrCar | compound module |
Defines a LteCar node as an NR User Equipment (UE) with vehicular-like mobility. The latter is modeled by utilizing the Veins-Inet project. |
Source code
// // Simu5G // // Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa) // Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa) // // This file is part of a software released under the license included in file // "license.pdf". Please read LICENSE and README files before using it. // The above files and the present reference are part of the software itself, // and cannot be removed from it. // package simu5g.nodes; import inet.applications.contract.IApp; import inet.mobility.contract.IMobility; import inet.networklayer.common.InterfaceTable; import inet.networklayer.contract.IRoutingTable; import inet.networklayer.contract.INetworkLayer; import inet.networklayer.configurator.ipv4.HostAutoConfigurator; import inet.transportlayer.tcp.Tcp; import inet.transportlayer.udp.Udp; import inet.common.MessageDispatcher; import simu5g.nodes.LteUe; import simu5g.nodes.NrUe; import org.car2x.veins.base.modules.*; // // Defines a LteCar node as an NR User Equipment (UE) with vehicular-like // mobility. The latter is modeled by utilizing the Veins-Inet project. // // See https://veins.car2x.org/documentation/modules/#veins_inet // module NrCar extends NrUe { parameters: @display("i=device/car"); //# Mobility mobility.typename = default("VeinsInetMobility"); //# Network Layer specs *.routingTableModule = default(absPath(".ipv4.routingTable")); ipv4.configurator.typename = "HostAutoConfigurator"; ipv4.configurator.interfaces = "cellular lo0"; }