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

Very fast movement of a node upon contact

In my scenario using Veins-4a2 I am interested to calculate the distance between two nodes (in my scenario nodes are bikes) during a contact. I got the coordinates of the two nodes and I calculated the distance between them. I noticed that the…
Joe
  • 85
  • 1
  • 9
0
votes
1 answer

Value of getSpeed() function is different to the calculated value

I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. I am interested to calculate the speed of the vehicle when a message is received. I used getSpeed() function to do it. But the problem is that when I calculated manually the speed basing on the time and…
Joe
  • 85
  • 1
  • 9
0
votes
1 answer

High values of the communication range between two vehicles

I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. I measured the distance between two bikes (in my scenario vehicles are considered as bikes and I modified my rou.xml file by adding vClass="bicycle") during a contact in my simulation and I had very high…
Joe
  • 85
  • 1
  • 9
0
votes
0 answers

'class omnetpp::cOsgCanvas' has no member 'getScene()'

I am trying to install and build the inet framework (veins + simulte integration) in Omnet++. When I build it, I get 'class omnetpp::cOsgCanvas' has no member 'getScene()'. The error is on line 60 of…
user8666366
0
votes
1 answer

Packet Loss ratio in VEINS/Omnet++

I am new to VEINS/Omnet++ and trying various broadcast suppression techniques and would like to calculate the packet loss ratio. I assume I have to use this formula : Packet Loss Ratio = TotalLostPackets / SentPackets But since some nodes send 0…
user629034
  • 659
  • 2
  • 11
  • 30
0
votes
1 answer

Building my own veins scenario

I need to build a scenario from scratch. Two vehicles moving on a straight road. There is a single rsu. The rsu brodcasts the speed value every 10s. Vehicles should slow down to reach that value. My question is can i consider the msg as a beacon? If…
Rehab11
  • 483
  • 2
  • 7
  • 16
0
votes
1 answer

How do i get the position of the nodes that are rebroadcasting the packet in veins/Omnet++?

By using wsm->getSenderPos i could get the position of the node that has generated the message. But when some other node has rebroadcasted the message the senderposition remains the same of the node generating the message. Is there any way i can get…
0
votes
1 answer

I would like to re-enter the vehicles in VEINS after leaving scenario

After the simulation time the vehicles leave the simulation scenario. I would like to re-enter the same vehicles with same previous ID and information in VEINS after leaving scenario. Is there a way to re-use the same vehicle after it exits the…
user6126858
0
votes
1 answer

Output of additional files (detectors, induction loops) are not being generated

Output of additional files (detectors, induction loops) are not being generated. I used a simple scenario, just to see how things work. But I cannot see or maybe these files are not being generated. I added them at launch.xml and sumo.cfg as…
0
votes
2 answers

Getting an error "error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory"

Getting an error "error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory" while running veins simulation in Omnet++ EDIT: I reinstalled the omnet++ and now I am getting this error: JVM…
Jayabalan Bala
  • 997
  • 1
  • 9
  • 16
0
votes
1 answer

OMNET++ tk-gui wrong icon placement

I am working with Artery / VEINS (I do not think this matters) and SUMO and OMNET++ :) As you can see, my OMNET TK-GUI is no longer showing my network correctly, all icons are in the same place! The World.ned TK-GUI showing wrong Two days ago,…
kazola
  • 3
  • 5
0
votes
1 answer

How to give sumo options with sumo-launchd.py?

I am trying to give --max-depart-delay option with sumo but doesn't proceed. How I can pass options to sumo with sumo-launchd.py ? I have tried following command sumo-launchd.py -vv -c sumo --max-depart-delay -1
Sam1324
  • 387
  • 2
  • 13
0
votes
0 answers

Sumo failed to build routes when work with Veins

I have an error when using Veins with Sumo for vehicular network simulation. If I run Sumo alone, the traffic simulation runs well without any error. But when I run Veins simulation together with Sumo, it seems like Sumo have errors with loading the…
Sissi
  • 65
  • 1
  • 10
0
votes
0 answers

How to initiate a message transfer from an External program by sending the Id of the vehicle to veins

I am working on a program where I send the vehicle id from my program and in the TraCIScenarioManager I will be able to get the cModule associated with the vehicle Id if it has been already added in the simulation. I would like to initiate message…
Nithin
  • 1
  • 1
0
votes
1 answer

Can we connect two computers practically using OMNet++?

i have two computers both running OMNet++ separately,and connected via Wi-Fi, can i send message from one computer to another using omnet++ over wifi?
user8269692