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

error when building veins_inet: unexpected token

I have a Windows 10 PC where I installed Veins 5.0 following the tutorial and therefore I have installed OMNeT++ 5.6.1. I have also INET 4.2.0 that has been installed after opening the OMNeT IDE for the first time. I can open successfully the…
0
votes
1 answer

How to print collisions in real time on the OMNet ++ console?

I am doing the geographic routing in VEINS. However, in a moment the message is not transmitted by a node. I suspect this is caused by a collision. I know that it is possible to take collision statistics at the end of the simulation. But, I was…
campos
  • 153
  • 2
  • 12
0
votes
1 answer

Is there a max number of unicast messages in 802.11p?

How many vehicles could send a unicast message to a road side unit at the same time? Is there a limit? Thank you
Young4844
  • 247
  • 1
  • 4
  • 12
0
votes
1 answer

Where to find the distance between vehicles in Omnett Project?

I am trying to obtain an exact distance between vehicles in the Omnett++ Vehicle Project so I can make a graph but I failed at finding the distance. Is there anywhere I can find/modify the distance between vehicles? or somewhere I can get the…
0
votes
1 answer

omnetpp ,PREXT,and vehicle transmission range

Eavesdropper/RSU is receiving the Beacons messages from the vehicle which is outside. How to fix this such that a given Eavesdropper/RSU receives the data only from the vehicles which are within 300 m of range of eavesdropper/RSU
0
votes
1 answer

How TraCIMobility determine/control behaviors (i.e., stop at a particular time) of vehicles in SUMO

FYI. I know each vehicle in sumo is modeled by a module in OMNET++ that contains a TraCIMobility submodule that includes parameters such as "accidentStart" and "accidentDuration". But it is not clear how TraCIMobility use these parameters to stop…
0
votes
1 answer

"sumo-0.25.0/bin/sumo.exe: error while loading shared libraries: ?" error when running veins example

I am trying to run Veins 4.4 with OMNeT++ 5.0 and Sumo 0.25.0 on Windows 10. From the veins tutorial, when I tried to run the command /c/.../sumo-0.25.0/bin/sumo.exe -c erlangen.sumo.cfg I got the following…
Wedadi
  • 33
  • 6
0
votes
1 answer

How can I insert another model of antenna into the .NED of a traffic simulation?

I would like to introduce a Directional Antenna Model where I can change the gains of them so I can compare the results with the Default Omnidirectional Antenna (Isotropic Antenna) of the program. I am using Veins 5.0, SUMO 0.19 and Omnet++ within…
0
votes
1 answer

How to connect RSUs to Controller node via cable in omnet++ Veins?

I am trying to connect two (or more, in the future) RSUs (one is not in the transmission radius of the other) in the Controller node that will receive the information from the RSUs and build global knowledge of the scenario. I've tried to approach…
0
votes
1 answer

Setting weights for edges in SUMO using Omnet++

I am using Omnet++ 5.3, veins 4.7.1 and Sumo 0.32.0. I want to set weights to the edges in SUMO. Having done some reading, I realise that traci has a function called seteffort in the python version. I am unable to find a similar function to set…
0
votes
1 answer

Sumo Simulator, VEINS

need your help I am new to SUMO. I am using SUMO OMNET++, VEINS and Prext. How to know the boundary of the road on which vehicle moves, is there any function defined which gives the road boundaries. How to send multiple messages from the same…
0
votes
1 answer

when CCH channel encounter with congestion?

I am using OMNeT++ 5.4.1, Veins 4.7.1, and SUMO 0.30.0. I sould solve congestion. How can I understand capacity of CCH channel is more than 0.65% ? Or how can I understand when I should control congestion? I really appreciate any help.
sepideh
  • 61
  • 7
0
votes
1 answer

Is it somehow possible to use current nightly builds of SUMO in Veins?

I would like to use Veins with functionality that was only recently added to SUMO and that is still being further developed. The work that I have in mind is a PhD project that has recently started, and I suppose the simulation part will not start…
0
votes
2 answers

Making DoS attack using veins

I am new to veins and I would like to make DoS attack using flooding technique. I have tried sending a message, that used in case of an accident, say, a million times by a specific car. Is this enough to make a DoS attack? Can I make this code more…
Wedadi
  • 33
  • 6
0
votes
1 answer

Veins getRoadID()

void TraCIDemo11p::onData(WaveShortMessage* wsm) { if (mobility->getRoadId()[0] != ':') traciVehicle->changeRoute(wsm->getWsmData(), 9999); } The above code is getting called when the vehicle receives a message to change its route when an accident…
Wedadi
  • 33
  • 6