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

Custom Module using veins and omnet++

I have installed veins 4.7 and I went through the tutorial. Everything is working. Now I built a new module more like a DemoBaseApplLayer. This module inherits from BaseAppLayer. In the initialize method, I call a dispatchMsg function. which looks…
gmusjha
  • 39
  • 5
3
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
  • 109
  • 8
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,822
  • 3
  • 16
  • 27
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
  • 6
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
  • 145
  • 1
  • 9
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
  • 187
  • 3
  • 18
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
  • 113
  • 2
  • 6
3
votes
1 answer

RSU placement in veins/SUMO

If I know the coordinates at which RSUs will be placed in SUMO, How do I convert it to coordinates of omnet++? I know that SUMO has a different coordinate system than omnet. Should I convert it offline (before starting simulation) using the…
Rehab11
  • 483
  • 2
  • 7
  • 16
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
  • 483
  • 2
  • 7
  • 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
  • 387
  • 2
  • 13
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
  • 2
  • 11
  • 30
1
2
3
52 53