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

Sending messages and roadside to roadside (R2R) communication in Veins

I'm new in Omnet Veins. I try to create my own application. So first of all, I have done this in the existing TraciDemo11p files (I have just kept the files name and modify the code). In the first step, I want to make all nodes sending a HelloMsg…
1
vote
2 answers

Change the transmission signal strength for a specific set of vehicles during the run-time

I started (since about one week) using veins (4.4) under omnet++ (5.0). My current task is to let vehicles adjust their transmission range according to a specific context. I did read a lot of asked questions like these ones (and in other…
MB_7
  • 103
  • 6
1
vote
1 answer

Veins simulation takes long time to start

I am using the virtual machine instant-veins-4-7-1-i1 on VirtualBox with Omnet++-5.3 and Sumo-0.32.0. I have modified the Veins Erlangen example changing the configuration file erlangen.sumo.cfg and introducing my own Sumo scenario. My simulation…
Ricla
  • 105
  • 1
  • 9
1
vote
0 answers

How to get speed from sumo's map.rou.xml file using tracimobility?

I have to get the speed from the map.rou.xml file which used in sumo, i am connecting sumo with omnet using veins_inet, so how can i get the speed from this file to use it in the udpbasicapp using tracimobility.
A.A.
  • 61
  • 4
1
vote
1 answer

Configure RInside with Veins and OMNET++ on Windows

I have been trying to configure RInside with Veins and OMNET++, but finding some issues. After going through the discussion in Is it possible to use RInside in omnet++/Veins project to benefit from rich R features and How to set up Eclipse +…
user8561039
  • 115
  • 10
1
vote
1 answer

How to combine a basic sumo scenario with omnet++ network?

I am using the virtual machine instant-veins-4-7-1-i1.ova on VirtualBox. I have created a sumo scenario with 2 vehicles (my_nodes.nod.xml, my_edge.edg.xml, my_type.type.xml, my_net.net.xml, my_net.rou.xml, my_config_file.sumocfg ). Launching the…
Ricla
  • 105
  • 1
  • 9
1
vote
1 answer

Changing Traffic Light Colour ERROR in Omnet++/Veins, SUMO

I've tried using the solution presented in the following question (How can I get a traffic light that exists in sumo and change its phase in veins?), however, the following error appears about the command "myProgramGreenRed" not existing for tl…
1
vote
1 answer

OMNET++:cannot import openflow extension into veins

i want to import openflow extension into veins, when i run openflow simulation it works correctly, but when start veins simulation I receive the error: Class "Flow_Table" not found -- perhaps its code was not linked in, or the class wasn't…
Baram
  • 19
  • 4
1
vote
1 answer

Error when connect RSU to OpenFlow Switch in OMNeT++

I want to simulate a VANET based SDN, I successfully integrated SUMO with OMNET using VEINS. Then I imported INET, OpenFlow, an error appear when I add gates to the RSU and connected with OpenFlow switch the below error is appear? How can I fix that…
Alia
  • 71
  • 9
1
vote
1 answer

how to record rssi in veins (omnet++)

How can I record statistic of the RSSI value for a communication in veins ?, i'm using 5.1 version. in the previous version it was a function which calculates the rssi in phy802.11 layer but it doesn't exist anymore. thank you.
Amelie
  • 15
  • 4
1
vote
2 answers

Error within Debug UI in debugging (macOS)

I am trying to debug (gdb, 8.1.1) the code which is written in Veins (4.7). To do that I use the OMNeT++ IDE (MacOS) and its debug option. However, the Omnet generates me an error "Errors within Debug UI" Error within Debug UI:…
kingspeech
  • 1,776
  • 2
  • 14
  • 24
1
vote
1 answer

Veins+SUMO Lane Change Behavior

I am using Veins (4.7) and SUMO (0.32) to model the lane change behavior in an accident scenario. I successfully create the accident by using below .ini configuration; #Accident vehciles and details *.node[0].veinsmobility.accidentCount =…
kingspeech
  • 1,776
  • 2
  • 14
  • 24
1
vote
1 answer

Modify beaconing in a VANET project

I am new in Veins simulation and I did the Tic Toc tutorial for the OMNeT++'s work. I need to change the beaconing between nodes and Rsu in a Veins, sumo and OMNeT interaction. I work with OMNeT 5.4.1, SUMO 0.30.0 and Veins 4.7.1. I want to make…
Mario
  • 5
  • 3
1
vote
1 answer

Compilation error when updating to Veins 5

I have installed Veins 5 with Omnet++ 5.4.1. I upgraded my veins 4 project to veins 5 as advised here But, I am facing a new problem where the compiler cannot see Veins library. The error I am getting is as follow: undefined reference to…
Hamzah
  • 120
  • 6
1
vote
1 answer

Real time simulation in Veins

How can I make the one-step simulation time (e.g., 1 second) in veins take one second of real time? I am trying to delay the SUMO update command in TraCI manger td seconds such that: td = updateInterval - (ts + tv). where ts: is the real time SUMO…
Hamzah
  • 120
  • 6