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

How does veins calculate RSSI in a Simple Path Loss Model?

We are working on an application based on Veins framework which needs RSSI value of received signal and the distance between sender and receiver. We referred to the VeReMi project which also calculates RSSI value and sends it to upper level. We…
Cong Chen
  • 51
  • 2
3
votes
1 answer

Omnet++ sumo and veins

I'am a beginner in omnetpp . i have to create a vehicle in omnet using inet then to connect it via veins to sumo how could i start my project.
A.A.
  • 61
  • 4
3
votes
2 answers

How to disable lane changes in SuMO?

I am using a TraCI call to set the lane change mode of a vehicle to 0 to disable all lane changing: TraCICommandInterface::setLaneChangeMode(0b000000000000); However, the vehicle still does a lane change afterwards. I also tried 256 (i.e.…
Julian Heinovski
  • 1,768
  • 3
  • 14
  • 25
3
votes
1 answer

Error during initialization of TrafficLight node in Veins 4.7.1

How can I use the TrafficLight node in Veins 4.7.1 with a custom app? I tried to add a trafficlight node the same way we add RSU nodes, i.e.: import org.car2x.veins.nodes.Scenario; import org.car2x.veins.nodes.TrafficLight; network EV_Scenario3…
Hamzah
  • 120
  • 5
3
votes
1 answer

How to begin a veins simulation at t > 0

I am working on veins simulation with LuST scenario. My goal is to choose a time period and begin my veins simulation at a certain moment, e.g. 6:00, of LuST. In SUMO, parameter "begin" can be modified so it's easy to set traffic flow. So I think it…
Jason Song
  • 75
  • 8
3
votes
1 answer

VEINS: Dynamic re-routing algorithm

In SUMO, while converting OSM file to SUMO compatible road network using DUAROUTER we can pass --routing.algorithm parameter to use one of these (default is Dijkstra). In veins demo app there is a logic to simulate accident and vehicles reroute on…
Ahmad Ahsan
  • 179
  • 2
  • 15
3
votes
1 answer

Is it possible to use RInside in omnet++/Veins project to benefit from rich R features

I was learning R and came through this package called RInside which provides c++ classes to call an embedded R interpreter. I am able to run some examples given after configuring as per this blogpost and using provided makefile in Omnet++ eclipse…
rajeswar
  • 77
  • 5
3
votes
0 answers

How can one randomly place RSUs inside a Sumo simulation map during an OMNET++/Veins simulation?

First of all, this question or its variation is probably asked a large number of times. I apologise for the reiteration. Problem statement: I am trying to generate 'n' static RSU nodes with random initial positions. I am using LinearMobilityand…
Anirban Das
  • 93
  • 1
  • 5
3
votes
1 answer

error while building omnet++ veins

I am very new to omnet++ and I need to install Veins. I am following the tutorial on the website but I have some troubles. I am running omnet 5.1.1 and veins 4.6 on windows 8.1, when I build veins i get the following error make MODE=release…
Rehab11
  • 353
  • 2
  • 5
  • 16
3
votes
2 answers

How to get n number of vehicles for x sec of simulation using SUMO randomTrips script?

I am using Veins simulator, for creating cars with path I am using the following commands: python c:/DLR/Sumo/tools/randomTrips.py -n test.net.xml -e 1200 -l python c:/DLR/Sumo/tools/randomTrips.py -n test.net.xml -r test.rou.xml -e 1200 -l This…
Sam1324
  • 347
  • 2
  • 10
3
votes
1 answer

Veins Omnet++ building error

I have followed the tutorial steps for installing Veins 4.5 for Windows with sumo 0.29 and Omnet++ 5.1, and everything went fine until the point I had to built Veins inside Omnet++. The only problem I had was related to some Qt packages, which was…
Nicole
  • 137
  • 1
  • 3
  • 11
3
votes
1 answer

Veins delay does not change with beacon frequency or number of nodes

I'm trying to simulate an imergancy breaking application using veins and analyze its performance. Research papers on 802.11p shows that as beacon frequency and number of vehicles increase delay should increase considerably due to mac layer delay of…
Samodha
  • 31
  • 1
3
votes
1 answer

Checking for duplicates in VEINS

I am new to Veins and trying to implement a mechanism to detect if the WSM packet was received before. I am using the "psid" as the main variable to identify the packet - is it correct? Will this type of code work? : bool…
user629034
  • 659
  • 1
  • 11
  • 27
2
votes
0 answers

Increasing the vehicle communication range by increasing its transmission power in Artery with Veins

I am currently working on evaluating the effects of communication load on generation of Cooperative Awareness Messages. For this, I am using Artery with veins for simulating the 802.11p stack. From my simulation, I observed that I was only getting…
Bas
  • 461
  • 7
  • 22
2
votes
1 answer

Is there a way to connect multiple TraCI modules to the OMNet++/veins simulation?

To launch any veins simulation veins_launchd daemon is used. It basically takes the sumo config file, finds an unused port, starts sumo and bridges the connection between sumo and OMNet++. Now as this is a socket-based communication, I want to…
1
2
3
43 44