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

Veins/Omnett retrieve Traffic Light information

I am new to Veins and omnett and am working on a project that will use traffic lights to map out intersections. http://www.sumo.dlr.de/wiki/TraCI/Traffic_Lights_Value_Retrieval#Command_0xa2:_Get_Traffic_Lights_Variable shows that ID List can be…
LifeofBob
  • 37
  • 6
1
vote
1 answer

Calculate direction of a vehicle (Veins/Omnet++/Sumo)

Is it possible to calculate(get) direction of vehicle in Veins(via TraCIMobility)? I want to know if two vehicles are traveling in opposing directions or not. I think I can do that via getAngleRad() method (if they are moving in the same direction…
dutu
  • 15
  • 4
1
vote
1 answer

Add a new route list to Vehicles in Veins 4.3 Omnet5

[1] I am trying to assign a new route to a vehicle using TraCE Command Interface::Vehicle::change Vehicle Route(const std::list& edges) but nothing is happening. I am getting the current route and ['6/7to6/6', '6/6to5/6', '5/6to4/6',…
1
vote
1 answer

How to modify BER and FER values at Veins project

For days I have been looking for information on how to modify two channel's parameters in Veins. I want to modify the bit error rate and the frame error rate. I have not found how to do this. Please, can anyone help me? Thanks.
Brais Couce
  • 45
  • 1
  • 8
1
vote
1 answer

Veins Framework Tutorial Accident rate

Currently, I am doing some research scenarios with Veins framework. I modified the Veins example (which is in the tutorial) and made it use my network file and ran the simulation for 3000 step. From the OMNeT++ console, I can see that there are lot…
1
vote
1 answer

omnet++ veins - asking about the value of RecievedBeacon and sentpacket

I am working with Omnet++, veins. I use the code that exist here: Flooding.ned also flooding.cc exist in same link. I am working with flooding application, and I assigned sentbeacon true, and sent Data to false, to compute the probability of beacon…
phdstudent
  • 41
  • 6
1
vote
1 answer

How to invoke Sumo from Omnet++

I'm new with OMNet++ and Sumo I followed the steps described in this tutorial but when I try to run the veins demo scenario at the final step I only get the OMNet++ simulation working without the Sumo one while it is supposed to be running in…
LaMorena
  • 311
  • 5
  • 8
  • 15
1
vote
1 answer

omnet++/veins : some sumo/traci commands seem to be not implemented

I would like to use some sumo/traci commands that seem to be not implemented in omnet++/veins, such as : traffic light commands setRedYellowGreenState(tlsID, state) for example junction command and other commands What is the simplest way to be…
cnvp
  • 31
  • 5
1
vote
2 answers

About assining two different application to 50 nodes randomly in omnetpp.ini

I am using VEINS 4a2 and I have two different application eg. one normal application from TraciDemo11.cc and another one I modified it. Is it possible to assign the two different applications to 50 nodes randomly. Eg. from *.node[5..20].applType…
user6126858
1
vote
1 answer

Artery installation with Veins OMNeT++

I already installed and tested the Veins v4a2 successfully (with the RSUexample included). In order to add the ITS-G5 application layer to the Veins, I tried to use the "Artery" unsuccessfully as when trying to run the example, it throws an error…
1
vote
2 answers

DSRC Implementation in Veins

I was wondering how Veins framework has implemented DSRC protocol. Are 1609.2, 1609.3 and 1609.4 standards fully implemented? If not, is there any resources to get their implementation code?
ManiAm
  • 1,759
  • 5
  • 24
  • 43
1
vote
1 answer

Veins - INET compatibility

I’m currently searching for 802.11p simulation feasability and I would like to test IPv6 as well, apart from the WAVE/IEE 802.11p. The INET would be the solution but I’m doubting about the compatibility with the Veins 4 alpha 2 (latest…
Jack
  • 13
  • 3
1
vote
1 answer

Converting Veins Coordinates to GPS

I am using realistic street networks imported from OpenStreetMap for simulations with Veins, for example the Luxembourg scenario from Lara Codeca. Now, to prepare a visualisation (using Google Earth), I want to export the vehicle positions in the…
mwil.me
  • 1,134
  • 1
  • 19
  • 33
1
vote
2 answers

How insert the vehicles/nodes in the scenario by *.car[*].appl.numVehicles at the timestamp zero?

On Veins, when I create routes and set the number of vehicles/nodes in the scenario by the ini file (see below), they are insert in the simulation at the timestamp 1.2 s. *.car[*].appl.numVehicles = 52 There is a way to insert the vehicles using…
1
vote
2 answers

On Veins, how to get some values from ini file?

On Veins applications (veins/src/modules/application/app_name.(cc, h), how to get values like *.car[*].appl.numVehicles from theini file? I can get values like sim-time-limit (see below) and anothers createad by me one, by I can't acess values on…