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
2
votes
0 answers

Why does the FINISH function run multiple times (in veins)?

I know in veins the FINISH function is done when the car comes out of the simulation. In My simulation, the car travel time is calculated.This parameter is stored in a file when the cars exit the simulation by the FINISH function. But when I check…
rakhsha
  • 99
  • 7
2
votes
2 answers

How can my RSU call a function at periodic time intervals in Veins?

I am currently working on an algorithm on Veins 4.7.1 where many vehicles and a RSU are sending and receiving messages. I would like now my RSU to perform periodic calculations regardless if it sended or received a message. The problem is I don't…
000102
  • 120
  • 1
  • 8
2
votes
0 answers

How to implement RSU to RSU communication in omnet++ Veins?

I'm trying to implement RSU to RSU communication in Veins. To do that, I have added an inout gate into the RSU module (RSU.ned file): module RSU { parameters: string applType; //type of the application layer string nicType =…
2
votes
1 answer

Pedestrian Simulation in veins (omnet++/sumo)

I'm trying to run a pedestrian simulation from sumo in omnet++. To keep it easy (i am a beginner) I decided to use the Erlangen example provided with veins and extend it with a couple of pedestrians. I added the pedestrians in sumo and ran it. It…
nicfel
  • 63
  • 6
2
votes
0 answers

Finish() not being called

I implemented the finish method in my application but it is not being called at the end of the simulation. I tried placing logs and using the debugger, but none of these methods gave me any indication that it was being called Here is the header…
jmantica
  • 41
  • 2
2
votes
1 answer

Using VeinsInetMobility and TraCIMobility

Is that possible for a node to be both VeinsInetMobility and TraCIMobility? If so how?
jmantica
  • 41
  • 2
2
votes
1 answer

How to add more RSU node on Veins

I'm facing some problem when trying to add more RSU node on veins example code. Here's the code I added in RSUExampleScenario.ned rsu[2]: RSU { @display("p=162,140;i=veins/sign/yellowdiamond;is=vs"); } And more codes in…
lu555
  • 43
  • 1
  • 7
2
votes
0 answers

The MAC layer in veins

I am using omnet++-5.4.1, veins-4.7.1 and sumo-0.25.0 to simulate vehicle frame transmission. About the behavior of the EDCA in the mac layer in WAVE, in my understanding the waiting time to send can be obtained by the following calculation. waiting…
7ufi
  • 21
  • 2
2
votes
0 answers

Effect of txPower in beaconing in Veins 4.7.1

I have doubts about the generation of collisions in Veins. I am running the example scenario with only sending beacons, without RSU and without shadowing. I am repeating the simulations varying the beacon interval (from 1 beacon per second (1…
2
votes
0 answers

How to combine veins with my existing SUMO simulation?

I have my own existing SUMO simulation for an intersection traffic control algorithm where I generate vehicles online, get their information, make planning decisions, and control every vehicle. I assumed perfect communication between vehicles and…
Qiang Lu
  • 21
  • 5
2
votes
1 answer

protocol implementation in VEINS

I am successfully able to establish a connection between Omnet++ and SUMO using the sumo-launchd.py and am able to track the vehicles. The main problem is that I am not able to understand which routing protocol is used and where it is written in the…
2
votes
1 answer

Communication between a car and a pedestrian in Veins

I would like to know how could I create a wireless communication between a car and a pedestrian (V2P) in Veins? Thanks a for your attention.
osga
  • 56
  • 3
2
votes
1 answer

How to check for an internal edge via TraCI?

I am trying to figure out whether an edge/lane is internal. When SuMO creates internal edges/lanes, it prefixes them with a colon [1]. Currently, I am exploiting this information, however, it seems that you also can annotate arbitrary other edges as…
Julian Heinovski
  • 1,822
  • 3
  • 16
  • 27
2
votes
0 answers

Different output using SUMO only versus using SUMO, Veins, and OMNeT++ together

In my project, I am trying to make a base case, in which the market penetration is 0.0. In another word, no vehicle is using the application. I tried two ways to do this. First, I use SUMO only to run the simulation, and secondly I use SUMO, Veins…
J.G
  • 190
  • 3
  • 13
2
votes
1 answer

How to enable SUMO TraCI using SimuLTE and Veins?

I am using SimuLTE and Veins simulating sending safety message via LTE. The content of the message depends on the real-time values of the traffic, e.g., mean speed. In order to get such values, I plan to use TraCICommandInterface supported by Veins.…
J.G
  • 190
  • 3
  • 13