Questions tagged [veins]

Veins is an open source framework for running vehicular network simulations.

Veins is an open source framework for running vehicular network simulations. It is based on two well-established simulators: OMNeT++, an event-based network simulator, and SUMO, a road traffic simulator. It extends these to offer a comprehensive suite of models for IVC simulation. See the official website for further information.

786 questions
1
vote
1 answer

Error while changing the name of RSU

I have one error when i changed the name of the default eNodeB (RSU) in veins-lte. Error in module (Veins::TraCIScenarioManagerForker) scenario.manager (id=6) at event #105, t=0.1: check_and_cast(): cannot cast NULL pointer to type 'LteMacEnb…
1
vote
1 answer

How to add a text box and show data on Veins Qtenv?

I am using Veins to do some Mobile Edge Computing simulations. To improve the visual effect, I am trying to show real time data of some nodes. For example, my application will return the communication delay in real time. In the Qtenv of Veins, I…
Jason Song
  • 145
  • 1
  • 9
1
vote
1 answer

Explanation of Mapping structure in Veins

I try to understand and implement modifications to the Veins framework. Right now, I have some difficulties figuring out how the "Mapping" structure works. It is used to set the transmission power in "Mac1609_4.cc" ConstMapping* txPowerMapping =…
1
vote
1 answer

SUMO: Variable Dijkstra Routing Algorithm

SUMO provides four routing algorithms including Dijkstra. Does it uses variable Dijkstra to avoid congestion on new route? Means whenever a vehicle is rerouted, whole network is investigated again to find shortest / fastest path?
Ahmad Ahsan
  • 187
  • 3
  • 18
1
vote
2 answers

OMNeT++ - Veins - Create a scenario of 2 vehicules with a starting position defined

I'm working on Veins | OMNeT++ | SUMO. Is it possible to select the starting position of our cars and the destination? I only see spawn of vehicules at the exact same position and don't know how to adapt them. I've already read some topics…
1
vote
2 answers

How to change node icon in veins

i am trying to simulate some of congestion avoidance techniques in omnet++, one of those techniques are basing on special vehicles called super vehicles, so i have to make those nodes (vehicles) during simulation with a different icons , the default…
siseddik
  • 23
  • 4
1
vote
1 answer

Error in Veins tutorial simulation

I am starting to use Omnet++ with veins for VANET simulations, but at the end of the tutorial (http://veins.car2x.org/tutorial/), where it says to go into the IDE and click "Run As > OMNeT++ simulation", an error occured : Cannot evaluate…
1
vote
1 answer

Separate data received from various senders in Veins/OMNET++

In my scenario, a receiving vehicle gets BSMs from multiple senders. I need the BSM data recorded separately according to their respective senders. Currently, I am achieving this using a custom logging system. However, since OMNET++ has a…
Raashid
  • 149
  • 9
1
vote
1 answer

Veins: Get Tripinfo and emissions in output

I'm using veins 4.6 with omnetpp 5.1.1 and trying to output tripinfo of vehicles using following configurations in .sumocfg file:
Ahmad Ahsan
  • 187
  • 3
  • 18
1
vote
1 answer

Error while running example of the veins in the last step of the installation

did the installation of the veins according to the tutorial of the site (http://veins.car2x.org/tutorial/) using the operating system windows 10, but in the last step, when executing the omnetpp.ini of the example of the veins the code compiles but…
1
vote
1 answer

Is it possible to use SUMO TraCI get the density of the edge?

In order to monitor the LOS (Level of Service) of the edge, I need to know the density of the edge/road. I know the SUMO Edge-based Traffic Measure Output contains the attribute density. But I need to get it during the simulation. So, is it possible…
J.G
  • 190
  • 3
  • 13
1
vote
1 answer

How to randomly generate flow in SUMO simulation given a fixed vehicle number?

In my traffic simulation network, I have a several segments of highway consisting of ten connected roads (e.g., id from 1 to 10). I want to randomly generate a flow satisfying the following requirement as many as possible: The total number of…
J.G
  • 190
  • 3
  • 13
1
vote
1 answer

Probability of successful reception in VEINS

I am doing research around evaluation routing protocols in Veins 4.4 and was wondering how can I find the probability of successful reception in VEINS without major modifications to the code to trace the messages. Assuming we cannot have ACK as…
user629034
  • 659
  • 2
  • 11
  • 30
1
vote
1 answer

How to get lane statistics (Scalars or Vectors) using Veins

I am trying to collect the following data using Veins towards each single lane, including throughput, density, mean speed, delay and collision. I know TraCI has the Simulation Value Retrieval, which can provide some information that I need. Also,…
J.G
  • 190
  • 3
  • 13
1
vote
1 answer

Calculate time delay due to back-off process in VEINS

I am interested in the delay each packet experiences due to the back-off process in VEINS. For example, during the emergency broadcast. Is there any built-in mechanism to get the back-off delay for each packet or vehicle or do I have to build…
user629034
  • 659
  • 2
  • 11
  • 30