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

Send a periodically message with TraCIDemo11p

With veins in the example TraCIDemo11p I want to add a method that periodically send (each 1s) a wsm Here is what I modify: I created a method called "sendTrace"that is similar to the one in the example but with the wsm data changed: void…
1
vote
1 answer

Importing external library to Veins

Morning, I would like to import my own library to Veins (v4.4) project. I followed this tutorial to compile a shared library. I've also stripped the shared library with this command: strip --strip-unneeded libfoo.so since I've noticed that system…
moi
  • 13
  • 5
1
vote
1 answer

How can we find the current direction of a node in veins

I would like to implement distance measurements between nodes using spherical coordinates. How do we find the direction of a particular node in veins simulation. Thanks
Pasha M.
  • 340
  • 1
  • 12
1
vote
3 answers

Update number of cars in veins

I was wandering if I can change the number of cars in veins or is fixed? If so, which class in the code I can find the declaration of the number of cars?
1
vote
1 answer

Saving veins data in a SQLite database

Good morning everybody. I'm using Veins 4.4 and Omnet++ v4.6. Is it possible to save data collected through a Veins simulation (i.e. WaveShortMessage fields) in my SQLite DB? thanks in advance BR
FMA
  • 33
  • 1
  • 7
1
vote
1 answer

Understanding visuals in VEINS and Omnet++

I was able to create routing config files for sumo, link them with Omnet++ and VEINS. When I ran the VEINS simulation, I see the movement of the vehicles and exchange of information between them as seen here : Questions: Where can I find more…
user629034
  • 659
  • 2
  • 11
  • 30
1
vote
0 answers

calculate the message delivery ratio

I am trying to calculate the message delivery ratio using TraCIDemo. In sendBeacon I am incrementing messageDeliverySend every time I send a message and in processBeacon I increment the messageDeliveryReceive parameter based on the sending node.…
Sanjeeth
  • 11
  • 2
1
vote
1 answer

Error: Veins:: TraCiScenarioManagerLaunchd

I tried to set up veins on Windows 10 like the official tutorial on http://veins.car2x.org/tutorial/. All steps work fine but if I want to start the last simulation by omnetpp.ini I get this message: Error in module…
ysief-001
  • 69
  • 12
1
vote
1 answer

Model error: ASSERT: condition (intersectAt.size() % 2) == 0 false in function calculateAttenuation, veins/modules/obstacle/Obstacle.cc

I use Veins-4a2 and I have modified the scenario of the demo example. When I executed the simulation, I had this error: Error in module (Veins::ObstacleControl) RSUExampleScenario.obstacles (id=2) at event #22, t=0.037209: Model error: ASSERT:…
Fariha
  • 497
  • 1
  • 5
  • 13
1
vote
0 answers

How to implement two radios in Veins?

I want to implement an protocol with two radios switched on different frequencies. Can I just add an additional PhyLayer80211p module in the Nic80211p module? If so, how do I address them? If I see it correctly, the findModule method used in…
3745
  • 11
  • 3
1
vote
1 answer

omnet++ : what is penguin mode in tkenv, qtenv animation settings?

i noticed the penguin mode in tkenv makes my omnet++ (version 5.0) simulation crash (preferences->animation->messages->penguin mode). This doest not happen with qtenv. I don't know what means this penguin mode : does anyone know? Thank you. Best…
cnvp
  • 31
  • 5
1
vote
2 answers

omnet++/veins : connecting inet and veins : TraCIMobility error in TraCIScenarioManagerLaunchd

I'm trying to connect inet 3.4.0 and veins 4.4 to get Tcp/Ip support. I've followed those instructions ( Veins - INET compatibility ) and even more, but I have this error while trying to run a simulation : I'm not sure to understand the…
cnvp
  • 31
  • 5
1
vote
1 answer

Measure distance by RSSI in veins4.4 Omnet++5 SUMO0.25

I am a master student working with localization in VANEts in this moment I am working on a trilateration method based on RSSI for Cooperative Positioning (CP). I am considering the Analogue Model : Simple Path Loss Model But I have some doubts in…
1
vote
1 answer

using Roiroad function in venis

I have a mobility model created by SUMO with area around 2 KM * 2 Km for real map. I want to compute the results for only part of this model. I read that I can use roiroad or roirect. Roirect take (x1,y1-x2,y2) as Traci coordination, however, I want…
phdstudent
  • 41
  • 6
1
vote
1 answer

Veins can now "simulate cars without network cards" - Documentation?

Dear OMNET/Veins community, I noticed in the Changelog under Veins v4.3 that there is now capability for simulating vehicles without network cards. Would there be any documentation / or instructional material available to help the user take…
Van Wifvat
  • 21
  • 3