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

How to simulate limited RSU capacity in veins?

I have to simulate a scenario with a RSU that has limited processing capacity; it can only process a limited number of messages in a time unit (say 1 second). I tried to set a counter in the RSU application. the counter is incremented each time the…
Rehab11
  • 483
  • 2
  • 7
  • 16
1
vote
2 answers

Add a function to the TraCICommandInterface

I'd like to know if there is the possibility to access the acceleration parameter by adding a function to the TraCICommandInterface. I've seen that the speed value is taken from the Move.h file. I'd like to access to the acceleration computed by…
1
vote
1 answer

Fragmentation of packets in 802.11p MAC layer in VEINS

I am implementing an application aware of the MAC layer in Veins simulator. My question is where I can get the behavior of the 802.11p fragmentation in Veins MAC layer? (It is about 1500 bytes in the Ethernet architecture). My question lies in the…
1
vote
1 answer

SUMO: How to add new routing algorithm

I'm using Veins 4.6, SUMO 0.30.0 and OMNET++ 5.1.1 for performance analysis of multiple routing algorithms. To complete my analysis beside four routing algorithms available in SUMO, I need to add a new one An efficient routing algorithm based on ant…
Ahmad Ahsan
  • 187
  • 3
  • 18
1
vote
1 answer

How do I run sumo-gui on instant-veins-4.7.1-i1.ova

I downloaded instant veins 4.7.1-i1 (a virtual appliance for running Veins) from the link below: https://veins.car2x.org/download/instant-veins-4.7.1-i1.ova But in my simulation, I need to run the sumo-gui, while the connection (sumo-launchd.py) in…
rakhsha
  • 99
  • 7
1
vote
1 answer

Create traffic light in SUMO and OMNeT++

How I can create traffic light in OMNeT++ and SUMO, i have to create the traffic light and configure in XML file from which file using veins example.
A.A.
  • 61
  • 4
1
vote
1 answer

Veins simulation,changing bitrate based on distance

I've been working on omnet++ veins to simulate a highway scenario and the relationship between vehicle and RSU(roadside unit).I'm trying to figure out how to dynamically change the bitrate of my RSU setting *.**.nic.mac1609_4.bitrate = 6Mbps Above…
lu555
  • 43
  • 1
  • 7
1
vote
1 answer

How to set number of nodes in omnet, veins and sumo simulation?

I am simulating a flooding protocol using omnet++, veins and sumo. I want to repeat the simulation with different number of nodes (say 50, 100 and 150). Is there a way to specify that how many (maximum) nodes are created in a particular…
Ricky
  • 13
  • 1
  • 5
1
vote
0 answers

how to synchronize vehicles to the GPS clock

I wanna know how can I add a GPS receiver into vehicles in veins/sumo simulation to be able to synchronize all the cars in my simulation with the 1PPS (one Pulse Per Sencond) signal received from GPS. thank you
imen zidi
  • 11
  • 1
1
vote
1 answer

Omnet++ and veins: assert fail: omnetTimestep == serverTimestep

I am trying to run a minimal project using veins 4.4 in omnet++ 5.0. Using this guide: https://github.com/burtonwilliamt/carlogicapi/tree/master/tutorials/VeinsTutorial I manage to get their example running. I then proceeded to make my own (very…
joakimb
  • 553
  • 1
  • 7
  • 19
1
vote
0 answers

Sumo0.32.0 + veins4.7.1: how to simulate multiple specific accidents in the ini file

I am using omnet++5.4.1 and veins4.7.1 and sumo 0.32.0. I have already gone through the examples given with the packages and everything works well. Now, I would like to schedule many accidents in the ini file in order to measure the impact of…
M M
  • 21
  • 2
1
vote
1 answer

How to configure dual 802.11p radio in Veins 4.7.1

Does Veins support dual radio configuration? And if it does, how should I configure it? I'm working on OMNET++ 5.3, Veins 4.7.1 and SUMO 0.32.0.
phongphu
  • 11
  • 1
1
vote
0 answers

How to add another RSU in the Heterogeneous example of Veins-lte

I'm using Omnet++4.6 and Veins-LTE 1.3. I'm trying to modify the Heterogeneous example by adding another eNobeB (RSU). I added this in Highway.ned: eNodeB2: eNodeB {@display("p=121,177;is=vl");} server.pppg++ <--> Eth10G <--> eNodeB2.ppp; and in…
1
vote
0 answers

Time of Flight of a transmitted message in Veins

I am using veins to simulate localization of vehicle. RSU send a message in a fixed interval (100ms) and the vehicle recieving this wants to estimate the distance from RSU using Time of Arrival technique. I use bsm->getArrivalTime()and…
1
vote
1 answer

How to get collisions in Veins 4.7.1

I want to get the number of collisions in Veins. I am using Instant Veins 4.7.1 and I just modified the scenario to get a high density of vehicles without a RSU. The application only send beacons (BasicSafetyMessages) with an interval and…