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

What calls the initialize method in application CPP file in veins?

void myAPP::initialize(int stage) { .... } I am trying to understand what calls? I have done the tictoc tutorial but the initialize method in there does not have int stage as a parameter. Can someone shine some light?
LionsFan
  • 159
  • 10
-2
votes
1 answer

How to send beacon with viens

I know How to send a message for car a to car b or rsu. but I need to send beacons. what is different between sending a message and sending beacons. I cant see any sendBeacon(). How should I send one?
Naser Hamidi
  • 176
  • 1
  • 11
-2
votes
1 answer

Fading Effect in Veins 4.4 demo example

I wanted to know whether fading effect is already included in the example scenario of veins 4.4?If not how to include different fading models in the simulation ??
-2
votes
1 answer

Regarding RSU address in message

I added the following lines in onData method of my TracIDemoRSU11p.cc file: void TraCIDemoRSU11p::onData(WaveShortMessage* wsm) { findHost()->getDisplayString().updateWith("r=16,green"); annotations->scheduleErase(1,…
Tapu
  • 25
  • 5
-2
votes
1 answer

Change Destination node for Vehicles Dynamically

I am trying to simulate a scenario where after a fixed number of vehicles have reached the destination node, the vehicles after that should go to a different destination.For this I want to have a RSU at the destination that sends message after it…
-2
votes
1 answer

RSU do not receive sent messages in finish() function

I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. In my scenario, I modified the .rou.xml file in order that the path established by every node be from an RSU to another. Nodes create messages and they store them in their buffer according to the…
Fariha
  • 417
  • 1
  • 4
  • 12
-2
votes
1 answer

How to form clusters for VANETs using Sumo+Veins+Omnet++

I am working on a project involving spectrum sensing of VANETs. To do that, i need to specify formation of clusters and cluster heads to coordinate the whole process. My question is, how do i specify cluster formation? is it on the Omnet++ platform…
Rop
  • 3
  • 2
-2
votes
2 answers

veins 4 alpha 2 download

Good morning everybody, I'm working on my thesis according to which I should compare results got with both VANET communications (Veins) and D2D communications (simuLTE). In order to run these simulations I need all the following tools running…
FMA
  • 33
  • 1
  • 5
-2
votes
1 answer

How to determine existing a RSU at a junction?

i want to determine Is there a RSU at a junction? Is a method or a way to achieve my goal? Can any one please helpe me.
cngtwnt
  • 1
  • 1
-2
votes
1 answer

Veins V2V only without RSU

Which of the Veins version uses vehicle to vehicle communication (car) only without RSU. The current veins uses RSU, any way to remove RSU and use V2V (CAR) only. Many thanks
Ezey
  • 1
  • 2
-2
votes
1 answer

veins: Attempted to read past end of byte buffer error

I use sumo 0.21, veins 3.0, OMNet++ 4.6 but when I run simulation without internet connection i get the error Attempted to read past end of byte buffer and even using low speed internet connection make noticeable latency before running simulation…
S.kh
  • 15
  • 7
-3
votes
1 answer

The main function in Omnet++

I'm working in a project that include the interaction of Sumo 0.30.0, veins 4.7.1 and Omnet++ 5.4.1 In a C++ project with object oriented programing is possible to define many classes, some of them can inherit from others, but the order of…
Mario
  • 5
  • 3
-3
votes
1 answer

How can I get info about a vehicle be or not actived in simmulation?

I want to know if a vehicle is still active in simulation. If I want to set some task to some vehicles, I want to choose those who are not going to be offline early. Is there some method isActive() to check the activity of vehicles in veins?
-3
votes
1 answer

OSM Web Wizard usage

Instead of manually counting number of vehicles and entering in OSM Web Wizard is there any possible way to interface it with a python code that run to count number of vehicles from a video clip? Is there a possibility to link the python file of…
skp
  • 21
  • 4
-3
votes
1 answer

Implement a routing protocol in omnet

I am a newbie in Omnet++/inet and trying to write a simple routing algorithm (using C++) and implement it in my Omnet++ Project. any idea on what is the best practice on how to get start with this? any simple examples that can help me would be…
Dalia Adly
  • 53
  • 5
1 2 3
43
44