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
0
votes
1 answer

how can I find count of lanes in a road on veins?

For my simulation I want to find out the count of lines in a single road. I search sumo and viens and there is nothing there. I can retrieves all lanes count in map but what about lanes(lines) in a single road?
Naser Hamidi
  • 176
  • 1
  • 11
0
votes
2 answers

Getting the shortest path from a vehicle to a RSU (Like a GPS)

I am working on Veins framework, inside OMNET++ using SUMO to simulate my traffic based on the Bologna joined dataset (available at http://sumo.dlr.de/wiki/Data/Scenarios). The idea at first is to forward messages towards its destinations (a…
W.Junior
  • 13
  • 5
0
votes
1 answer

No declaration found for element 'location'

I have generated the .net.xml, .poly.xml and .rou.xml from sumo. I use Veina-4a2, when I imported them on my machine which its operating system is Windows, I got this error when I executed the simulation: 1
Myriam
  • 11
  • 4
0
votes
1 answer

How to get the speed of the sender with veins

in the file TraCIDemo11p.cc, I want to get the speed of the sender, but when i call traci->getSpeed() I obtien the distinataire speed. can you help me to do this thank you very much in advance
0
votes
1 answer

How to recover the content of the show log module of Omnet++/Tkenv?

I want to recover the content of the show log module of Omnet++/Tkenv (see picture attached here) into a file in order to analyze the traffic happened between nodes and RSU at each time after the end of the simulation. How can I do this please?
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
1 answer

Disable/remove the NIC module of some vehicle in Veins

Dear OMNeT++/SUMO/Veins community, There is a correct way to disable/remove the NIC module for some vehicle in the Veins? I have lot of vehicles in my scenario and I want set only one part them with communication module, for example 50 %. For this I…
0
votes
2 answers

Display issue in the log module of Omnet++ simulator

I use veins-4a2. First, I have executed a scnario with only vehicles. Now I have added RSU in my example. I need that every RSU receives data, displays a message in the module log of Omnet++. Like I did for nodes when they receives data, I have add…
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
1 answer

omnet++/veins : how to register interface entry for nic 80211p

while trying to connect veins and inet, I've noticed my cars don't register the nic80211p interfaceEntry in the InterfaceTable. Indeed, the interfacetable contains only loopback l0 for every node. In the omnet/inet manual it is written :…
cnvp
  • 31
  • 5
0
votes
1 answer

Artery( Veins extension ) example is not working

I do not have much experience with Omnet,I would like to know if I correctly running the command to run the example. First when I type make Vanetza, I realized that COHDA_MK2_ROOT is missing, however, the Vanetza compiles without error: mkdir…
Rhu
  • 3
  • 1
0
votes
0 answers

end-to-end delay doesn't change with the number of nodes (cars) in veins

I changed the number of nodes (cars) in erlangen.rou.xml : I used getCreationTime() and simTime to calculate the message delay (end-to-end delay) in TraCIDemo11p and…
0
votes
2 answers

How can access to RSUs in TraCIDemo11p?

i want to send a Request for the shortest path from nodes to RSUs, but i dont know how to access to my RSUs in TraCIDemo11p? Coordination of RSUs exist in omnet.ini with these names, rsu[0],rsu[1],... thanks for help.
cngtwnt
  • 1
  • 1
0
votes
1 answer

Adding processing delay in VEINS app layer

How can I add a processing delay into an app layer module such as TraCIDemo11p? For example, when a beacon arrives, the module should virtually do some processing and then perform some action (sending back a beacon). Also, should I worry about…
Rao U
  • 27
  • 5
0
votes
1 answer

How to obtain a graph with the SNR average in Veins

I want to plot a graph with the SNR average in Veins. Is this possible? If so, how could I do it? Thanks in advance.
Brais Couce
  • 45
  • 1
  • 8
0
votes
1 answer

Dynamical transmission range in the ieee802.11p module

I'm a MRs student , i use sumo 0.25.0 and veins 4.4 within omnet++ 5.0 .I'm working in the IEEE0802.11p module. Including my proposition i will use a formula that change the transmission range calculator into dynamical calculator which communicate…
0
votes
2 answers

How to simulate 1000 vehicles in veins/omnet?

I tried to simulate 1000 vehicles on the Veins erlangen example. But the simulator always stop around 700 vehicles and displays error messages. I can simulate 500 vehicles. Why I can't simulate 1000 vehicles? RUNTIME ERROR. A cRuntimeError…
Ezey
  • 1
  • 2