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
2 answers

Compile Veins models with c++14

I want to use PyTorch with Veins due to which I need to compile the code using C++14 standard. I looked up OMNET++ and Veins documentation but found nothing. I am using macOS (11.5) and Ubuntu (18.04 and 20.04). I could install the precxx11 version…
Raashid
  • 149
  • 9
0
votes
1 answer

Sumo polygons not visible in Veins Simulation

I am creating a 'T' intersection, with some buildings surrounding it. The simulation in SUMO-GUI works perfectly fine. When I import the simulation in veins and run it with some custom applications, the buildings doesn't appear in the veins…
Nehal
  • 17
  • 4
0
votes
1 answer

How to get a metric in results for all nodes?

At the end of simulation, the metric results ( such as end-to-end delay) are shown for each node individually , so How can i get the mean value for all nodes or for a certain nodes. I am using instant veins-4.7.1
Dalia Adly
  • 53
  • 6
0
votes
1 answer

Current position of a vehicle?

I am using veins 5.1. I am trying use getCurrentPosition() function present in TraCIMobility. But it says there is no such function like that? How do I get the current position of a node? My application source code: bool…
Nehal
  • 17
  • 4
0
votes
1 answer

How can I get the speed of Vehicle SUMO

I've run SUMO 0.30.0 , with Veins 5.0 and omnetpp 4.7 I was editing in the file veins-5.0\src\veins\modules\application\ieee80211p\DemoBaseAppLayer.cc void DemoBaseApplLayer::handleLowerMsg(cMessage* msg) { BaseFrame1609_4* wsm =…
ELMasry
  • 11
  • 1
0
votes
0 answers

Changing state of Traffic Light in OMNeT++

I am doing a research that includes an intersection. Simulation should be done by SUMO, OMNeT++ and Veins. when an emergency vehicle is approaching to the intersection the state of traffic light should be changed to green for that road after…
Adel
  • 1
  • 1
0
votes
0 answers

How to send a message in broadcast from a simple module to cars moving around in omnet ++?

I want my edge module which is a simple module in my case to send an alert ( a message ) to the cars moving around ( which are compound adhochost modules ) , can you please tell me how to do that ? i have been searching for days with no result !…
Melena
  • 1
  • 1
0
votes
0 answers

Anyone tried to use curl in veins application?

I am asking about veins the vehicle network simulator. In my veins application, I want to fetch some data available on a backend server through an API call. I tried to use curl inside initialize function and I get this…
0
votes
0 answers

Veins_Inet example : omnet ++

In the veins_inet example in omnet ++ , i need to send the message ( accident ) to only some vehicles , not to all of them , which means i don't want to send the message in broadcast but i want to send it to specific vehicles at a simulation time…
Melena
  • 1
  • 1
0
votes
1 answer

How do we check and know if our RSU is receiving WSM(or BSM) in Veins(omnet++)

I am new to using veins and I'm currently trying to exchange messages between RSU and vehicle. However, only my vehicles are communicating with each other. I tried using the following: findHost()->getDisplayString().updateWith("r=16,green"); the…
Dark_Eagle
  • 31
  • 3
0
votes
0 answers

Repeated communication between RSU and vehicle

I encounter some trouble when using VEINS. I want to simulate a comunication between RSU and Vehicle. in the begining of simulation, RSU broadcasts a MsgInit message to all vehicles, after that, the vehicles also broadcasts a Metrics message to…
0
votes
0 answers

Why I'm gettting NED consistency problem during INET installation?

Inet installation OS: Windows 10 OMNET++ 5.6 INET 4.2 'pathLoss.breakpointDistance': no such parameter Ieee802154NarrowbandScalarRadioMedium.ned /inet/src/inet/physicallayer/ieee802154/packetlevel line 32 NED Consistency…
0
votes
1 answer

Sumo/Veins not spawning all vehicles

I am using Omnet, SUmo and Veins to simulate Vanets. The issue I face is that with certain maps, not all cars in the route file are spawned, at least not when they are supposed to. From what I understand it is because there is "not enough space in…
Adam Huk
  • 1
  • 1
0
votes
2 answers

Number of vehicles and messages received

I am using a custom code configuration of veins, namely this branch. However, I have not been able to locate where I can specify the number of vehicles in a simulation, as well as the number of messages a vehicle can receive. The reason I ask this…
Yurroffian
  • 61
  • 2
  • 6
0
votes
1 answer

How to get other BSM measurements

Currently, the omnetpp.ini file in this configuration of veremi gets only position and speed of the BSM messages. How can I obtain and add the other values of a BSM message to this as well (acceleration, heading, and yawrate specifically)? And where…
Yurroffian
  • 61
  • 2
  • 6