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

How to establish unicast or multicast communication in veins_inet?

In veins_inet example I need to send accident packets only for some vehicles (nodes), but by default it's taking broadcast in veinsInetApplication.cc so how can I change it to multicast? SendPacket method was derived from…
0
votes
1 answer

How to get Vehicle ID from SUMO in Veins

In my Veins simulation, I want to use SUMO vehicle ID as the ID of the vehicle (instead of using Veins module id). I tried different method but was not successful. I tried to obtain sumo id using mobility -> getExternalId() in DemoBaseApplLayer.cc…
Sohan
  • 1
  • 1
0
votes
2 answers

Running Python Script in Veins

I already have SUMO, OMNET++ and Veins running on my machine, but I am new to Veins. I would like to run Python scripts using Veins framework. Let us say in the Python script we are given two objects object_A and object_B that contain data about the…
Python
  • 359
  • 2
  • 16
0
votes
0 answers

VEINS with AODV doesn't work for higher number of Nodes

I'm using this git repository which has implemented AODV protocol in veins_inet example by including some changes. (VANETTutorials/simulations/routing) https://github.com/chaotictoejam/VANETTutorials (it is quiet popular i guess) However, i need…
0
votes
0 answers

Simulation with Veins_inet example of Veins framework, Omnet++

I'm simulating a scenerio with veins_inet example. I'm using my own map which has 1000 vehicles in it. When i simulate it, it works perfectly fine but there is absolutely no packet exchange after 18 nodes. Even if the simulation time is 500…
0
votes
1 answer

New map in veins example does not start automatically with QTenv launch, how to do that?

I created a map with osmWebWizard.py and that's working well in Sumo. When importing it in veins example and hit "Play/Start" on the simulation nothing happens until I also hit the Start button in Sumo-gui as well. If I never hit it in Sumo, QTenv…
eugene
  • 68
  • 6
0
votes
1 answer

How to configure sumo-launchd.py to get Lanearea Detectors output?

I am learning sumo and Veins, using the F2MD framework for simulation, but I have encountered some problems. I am trying to get Lanearea Detectors output with sumo, when I can use the command:"sumo-gui -a lust.add.xml"(which already set Lanearea…
0
votes
1 answer

Many Senders Sending Multiple Packets to Many Receivers Concurrently

I would like to extend VeinsInetSampleApplication to make node[0] and node[1] send packets to node[2] concurrently. I tried to comment the if-condition at L46. However, this did not work. How to achieve that? I would like to have a scalable solution…
0
votes
1 answer

simulation time limit issue

I am facing a problem with the simulation time limit.When It is reached, a new udp packet is created and the routing protocol is about to send a control packet then the end simulation event appears .so, how to prevent creating this udp packet at the…
Dalia Adly
  • 53
  • 6
0
votes
1 answer

Moving Omnet++ to Windows 10: makefile problems and best framework versions?

I was using Omnet++ in a Linux VM until performance allowed. Now I'd like to install it directly on the host, a Windows 10 machine, but I'm facing some troubles when it comes to run basic veins, inet or veins_inet examples. I've been following this…
eugene
  • 68
  • 6
0
votes
1 answer

Exit code 139 (cannot get the current position)

I have been migrating my routing protocol code from INET 3 to INET 4 and I got An error code 139 and after running the debug mode ,the debug pointer referred to the command : Coord senderPos=mobility->getCurrentPosition(); Note: I am using…
Dalia Adly
  • 53
  • 6
0
votes
0 answers

Erorr: TLVoptions not found in datagram

I have been modifying AODV protocol to add extra information in the data packet.GPSR option is a straightforward example so I created a class inherits from TlvOptionBase , set my variables & inserted it in the ipv4 header as mentioned in GPSR…
Dalia Adly
  • 53
  • 6
0
votes
3 answers

How to limit the time vehicles are in scenario and make vehicles leave automatically?

I'm implementing some attacks in veins and using Sumo I made a map and added all the 120(120 vehicles but during the simulation totally 30 vehicles must be in the map at the same time) vehicles I need, the problem is that all the vehicles are…
h.bahar
  • 1
  • 2
0
votes
2 answers

In Veins, what does "db-per-cut" and "db-per-meter" represent in obstacle

I am working with obstacles in Veins 5.0. I looked into veins example and in config.xml, I found that the obtacle of type 'building' is defined as follows: I am wondering what are the effects…
Yasir Saleem
  • 145
  • 1
  • 1
  • 12
0
votes
1 answer

How can I determine that there is a network congestion or not ? or How to make congestion in a V2V and V2I network?

I've run SUMO 0.30.0 , with Veins 5.0 and OMNET++ 4.7 with the existing example, I want to make sure that the network is congested, or make the network be congested. Then I want to measure bandwidth and total packets (WSMs, WSAs, BSM, ACk., ... etc)…
ELMasry
  • 11
  • 1