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

Is this the correct way to compute distance between two nodes in Omnet++/veins?

I am trying to compute the distance between two mobile nodes in veins and i am using the following method WaveShortMessage * pos = new WaveShortMessage(); Coord senderPosition = pos->getSenderPos(); Coord…
1
vote
0 answers

Simulate video dissemination with different bitrate on the network

I use Veins to simulate video dissemination (omnetpp-4.6, sumo-0.25.0 and veins-4.4). I want to perform video dissemination with different bitrates. For which I use the traces from this website. All the video traces have fields such as: Sequence…
1
vote
0 answers

Compiling error with omnet++5.1.1 and veins4.6

I have an error with omnet++5.1.1 and veins4.6. While build the project, I received error message as below: g++ -c -std=c++11 -g -Wall -MMD -MP -MF out/gcc-debug//Attacker.d -isystem /usr/include -isystem /mingw64/include -fno-stack-protector …
Sissi
  • 65
  • 1
  • 10
1
vote
1 answer

overtaking in VEINS Simulator

I'm using Veins 4.5, OMNeT++ 5.0 and Sumo 0.29. I want to implement a scenario of overtaking in VEINS Simulator. In SUMO, I have a road connected by 3 nodes. The edge 1i is connected to the edge 2i and the edge 2o is connected to the edge 1o, as…
1
vote
1 answer

Messages not received by other vehicles because of building

I'm using veins 4.4, OMNeT++ 5.0 and SuMO 0.25, and my project is about intersection traffic control. I have only one obstacle (building) on my map (by open street map), and my problem is that node 1 is not receiving messages from node 2 and vice…
user12345
  • 55
  • 9
1
vote
2 answers

Running Veins from terminal, Class "Veins::ObstacleControl" not found

Veins works fine from Omnet IDE but while trying to run from terminal I get following error: Error in module (omnetpp::cModule) RSUExampleScenario (id=1) during network setup: Class "Veins::ObstacleControl" not found -- perhaps its code was…
Sam1324
  • 387
  • 2
  • 13
1
vote
1 answer

Cross layer communication via Veins

I am working on SUMO-0.25.0, OMNeT++ 5.0, Veins-4.4 framework for vehicular simulation. I am interested on cross layer routing protocol for vehicular communication. Can anyone able to suggest me how I can retrieve PHY /MAC layer information such as…
Habib
  • 13
  • 3
1
vote
1 answer

Different parameters value in .ini file for different runs

How can I have different parameters value defined in .ini file for each repeat in omnet using cmdenv? I have repeat value as 4 and trying to have different value of accidentStart and accidentDuration.
Sam1324
  • 387
  • 2
  • 13
1
vote
0 answers

Getting started with Omnet++, Veins, and Sumo

I am having trouble getting Omnet++, Veins, and Sumo to work together. I am progressing through this tutorial to get started. I am currently on the Final Step and I am getting some error that I was hoping someone had some insight on. I am…
1
vote
1 answer

How to properly use "moduleDisplayString" in Veins 4.4?

I have used Veins 4.4 and the simulations are executed normally. However, I would like to change the appearance of vehicles in graphic mode. By analyzing the code, I noticed that the "moduleDisplayString" parameter is used to do this, but even using…
1
vote
0 answers

Stopped simulation without error

I simulated a scenario using omnet-4.6, veins-4.6 and sumo-0.22.0. I have decreased the maximum power in the network to 5mW to reduce the communication range. At 575s my simulation stopped and there is no error. The last line in my log file is: **…
Joe
  • 85
  • 1
  • 9
1
vote
0 answers

Error Veins shared libs

I decided to create a new OMNeT++ project to keep my applications separated from the Veins project. However, I am facing problems when I try to execute the appls from my project src folder. I've already configured my project and Veins according to…
1
vote
0 answers

Reduce the simulation time of a large scenario

I simulated a large scenario (using the whole map of a city) with Omnet-5.0 , Veins-4.5 and SUMO-0.29.0. The first scenario simulated took one week. I need to know the computing time used by Veins comparing it to SUMO and Omnet++. I asked for SUMO,…
Joe
  • 85
  • 1
  • 9
1
vote
1 answer

Changing the speeds of vehicles at different times

I'm using Omnet++ 5.0, and SUMO 0.25.0, and I'm trying to change the speed of vehicles at certain times. For example, i'm trying to set the speed of the vehicles near the intersection to 0.0, but then after a while i want to move so I'm changing the…
Hadeel A.
  • 19
  • 8
1
vote
1 answer

Parking Area Definition in Veins

I studied in sumo that we can define a parking area.Can we simulate the same scenario(road network with parking area) in veins as well. I want to simulate a parking area scenario in veins so is veins compatible with the parking area definition of…