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

Veins(Omnet++) WAVE packet priority mapping to EDCA(Enhanced Distributed Channel Access)

When creating WaveShortMessage or (wsm) in Veins, there is a priority field that needs to be specified for each packet. The priority levels that can be used are 0-3. Also based on this paper WAVE uses EDCA as MAC layer protocol. EDCA has four…
aaa
  • 435
  • 8
  • 22
1
vote
4 answers

How to get route id / flow id of a vehicle in veins?

omnet++ veins module have a function getRoadId() that returns current "road id" of vehicles but how can I have "route id" or "flow id" of a vehicle.
1
vote
1 answer

How to make RSU as mobile node (car)?

I'm currently using veins to connect my sumo traffic network with omnet++ In my sumo network, I use 2 types of vehicle, bus and car My questions, Does omnet++ support RSU as mobile nodes? what I mean is RSU is not placed in a fix place but can be…
magda
  • 15
  • 4
1
vote
1 answer

How to find the packet lost in veins omnet++

In veins example of omnetpp I changed the value of alpha and tried to analyse the total lost packet, but for the different values of alpha. The packet lost remains zero even the SNIR lost packets remains zero. Can any one help me with that?
0
votes
0 answers

how to make changes in myveinsapp using demomessageapp

omnet++ veins sumo simulators for IOV project hey i am working in omnet sumo veins and i m trying to understand what is happening in the veins example. it will be very helpful if you how to understand the code. and if you have your code please…
0
votes
0 answers

How can I change the veins example code so that the communication happens through VLC using Veins VLC?

I'm new to OMNeT++ and veins, and I have done some projects using veins only. Now I have installed veins-vlc, which I can use to make vehicles communicate through vlc. But I don't know how to start with this. I tried using SimpleVlcApp.cc instead of…
0
votes
0 answers

How to create SUMO output files in OMNET++?

I am trying to generate the raw dump of SUMO (https://sumo.dlr.de/docs/Simulation/Output/RawDump.html) for my simulation that is running with SUMO and OMNET++. I have added the lines:
0
votes
1 answer

TraciCommandInterface StopAt function parameters

I am using Veins, Omnet++ and Simu5G in this project. I am trying to have my vehicle stop in front of a traffic light and for that I want to use the stopAt function in the TraciCommandInterface however I am unsure of some of the arguments. The…
0
votes
0 answers

Unable to use SimpleObstacleShadowing: No obstacles have been detected

I loaded my SUMO files with all the necessary data, including net.xml, rou.xml, especially poly.xml for the buildings as obstacles and the .sumocfg. I used the omnetpp.ini from the example of veins, and adjusted some parameters such as set the…
0
votes
0 answers

Problem with " Import the project into your OMNeT++ IDE workspace"

I am currently installing Veins for my SUMO and OMNet++ and I ran into the issue by import the project into your OMNeT++ IDE workspace. I did as the tutorial told to "clicking File > Import > General: Existing Projects into Workspace and selecting…
0
votes
1 answer

How is communication between the vehicles themselves and the vehicles and RSUs?

I am studying UVCAST protocol for VANET that consists of group of vehicles and RSU. you know ,that communication between vehicles themselves and between vehicles and RSU is done using IEEE 802.11p and MAC 1609_4 Protocols for Physical and MAC…
0
votes
0 answers

How is communication between vehicles and RSUs in VANETs using OMNET++,veins, sumo?

I am studying UVCAST protocol for VANET that consists of group of vehicles and RSU. you know ,that communication between vehicles themselves and between vehicles and RSU is done using IEEE 802.11p and MAC 1609_4 Protocols for Physical and MAC…
0
votes
0 answers

script with fixed Lane ID

how can I fixe the lane ID for vehicles or trucks in my script with VEINS. I want to have vehicles only on lane 1 and trucks travelling only on lane 2. Thanks you for your help. I want to have 20 trucks travelling on Lane 1 and 2 vehicles travelling…
0
votes
1 answer

How can I extract very large results from omnet++ in excel format without problems in loading the csv file?

I am studying UVCAST protocol for Vehicular ad hoc networks using omnet, veins, sumo. When I execute export data of the results for a specific metric from the omnet to a csv file, and I open the csv file in excel format in simulations folder ,then…
0
votes
0 answers

Try to connect Sumo with OMNET++: Could not connect to TraCI server

I've built a network of vehicles using sumo and I'm trying to connect these vehicles to an RSU using venis omnet++ but I'm getting this message: A runtime error occurred: Could not connect to TraCI server; error message: 111: Connection refused --…