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.

651 questions
2
votes
2 answers

Omnet++5.0: Simulation terminated with exit code: -1073741819

I'm beginner at omnet++ and veins, I have just installed Omnet++ 5.0 (on Windows 10) and installed INET with it as well. I've added a new application traci named "obstacle" to block véhicules, I've changed the files erlangen.launchd.xml and…
2
votes
1 answer

Is there any DCC algorithm implemented in Veins?

I learned from the Veins website that Veins relies on IEEE 802.11p and 1609.4 which does not mandate a DCC mechanism. I am wondering if any DCC algorithm is still implemented in Veins except using 3rd party models?
Cong Chen
  • 51
  • 2
2
votes
0 answers

Error : TraCIMobility::getExternalId called with no external_id set yet

I tried to import DSRC vehicles from veins and veins_inet wireless hosts into the same environment. I modified the existing veins_inet3 subproject with contents of the veins modules and defined two vehicle types in SUMO. I tried to import it in .ini…
2
votes
1 answer

Cannot create medium visualization for X.radio because network node visualization is not found- Omnet++

I am attempting to add the communication ranges of the cars in the Veins_Inet example. I included a visualizer in the network NED file: visualizer: IntegratedVisualizer {} I also the following line to the ini…
Riley K
  • 160
  • 13
2
votes
1 answer

How to launch artery example without graphical user interface

I have a question about artery (the veins extension): If you launch the example with the command cmake --build build --target run_example the framework will launch omnet++ for graphical debugging. Is it possible to run this example without a…
elvenking
  • 35
  • 5
2
votes
0 answers

veins examples cannot load library

I'm a master student beginner in simulations with omnet++. It's my first installation of omnet + veins + sumo for IVC simulations. I follow the veins tutorial I have omnet 5.5.1 sumo 1.3.1 veins 5.0 When I want to run veins examples I have this…
2
votes
1 answer

missed files while building veins_inet

I'm using inet4 omnet5.5.1 veins5 I imported veins_inet in the workspace but it doesn't build successfully even though I added the paths to inet and veins src files in project properties I got the following error: 15:29:41 **** Incremental Build of…
Nina
  • 129
  • 6
2
votes
1 answer

Why is the value of CO2 emission calculated in the simulation different from the value stored in the .sca file?

In my simulation, I calculated the travel time and CO2 emission.I calculated CO2 emission using the following functions: double TraCICommandInterface::Vehicle::getCO2(std::string vehicle, std::string lane, std::string edge) { return…
rakhsha
  • 99
  • 7
2
votes
1 answer

How to differentiate RSU IDs from Node IDs in Veins and Omnet++?

We have a problem with our Veins simulation. We are trying to implement an algorithm in the demo scenario (TraCIDemo11p) regarding message diffusion and our problem is with sending WSM messages. We want to send a specific message from a Node (e.g.…
Bokiyz
  • 23
  • 3
2
votes
0 answers

Why does the FINISH function run multiple times (in veins)?

I know in veins the FINISH function is done when the car comes out of the simulation. In My simulation, the car travel time is calculated.This parameter is stored in a file when the cars exit the simulation by the FINISH function. But when I check…
rakhsha
  • 99
  • 7
2
votes
2 answers

How can my RSU call a function at periodic time intervals in Veins?

I am currently working on an algorithm on Veins 4.7.1 where many vehicles and a RSU are sending and receiving messages. I would like now my RSU to perform periodic calculations regardless if it sended or received a message. The problem is I don't…
000102
  • 120
  • 1
  • 8
2
votes
0 answers

How to implement RSU to RSU communication in omnet++ Veins?

I'm trying to implement RSU to RSU communication in Veins. To do that, I have added an inout gate into the RSU module (RSU.ned file): module RSU { parameters: string applType; //type of the application layer string nicType =…
2
votes
1 answer

Pedestrian Simulation in veins (omnet++/sumo)

I'm trying to run a pedestrian simulation from sumo in omnet++. To keep it easy (i am a beginner) I decided to use the Erlangen example provided with veins and extend it with a couple of pedestrians. I added the pedestrians in sumo and ran it. It…
nicfel
  • 43
  • 6
2
votes
0 answers

Finish() not being called

I implemented the finish method in my application but it is not being called at the end of the simulation. I tried placing logs and using the debugger, but none of these methods gave me any indication that it was being called Here is the header…
jmantica
  • 41
  • 2
2
votes
1 answer

how to fix SimpleObstacleShadowing error "No obstacles have been added -- in module (Veins::ObstacleControl)"

I want to simulate a simple scenario in veins when launchd the simulation work for a moment then i have the following error : Unable to use SimpleObstacleShadowing: No obstacles have been added -- in module (Veins::ObstacleControl)…
Nina
  • 129
  • 6
1 2
3
43 44