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

Visualize Traffic Light in OMNeT++

I am new to OMNeT++, SUMO and Veins. Going over tutorials I am able to run a simple Veins project integrating Sumo and OMNeT++. I have two cars and 1 traffic light running over a cross section street. When I run my simulations, I can see two nodes…
Kapil
  • 11
0
votes
0 answers

OMNeT++ sumo and veins_inet

I have to create two vehicle to communicate as my first step. I have install veins_inet but how to communicate them in OMNeT++ and then represent them in SUMO.
A.A.
  • 61
  • 4
0
votes
2 answers

Veins: How to verify if rerouting is using user set algorithm

I'm using veins 4.6 and trying to evaluate the change in emissions due to different routing protocols. By exploring SUMO site I have managed to set base for the experiment. For now I'm using veins demo application with minor configurations changes.…
Ahmad Ahsan
  • 187
  • 3
  • 18
0
votes
1 answer

How to change the speed of a road segment after simulation starts?

I want to change the speed of a road section after sometime from the simulation start. For an example, at time step = 50, the speed of a particular road segment should be set to 5 m/s though its original speed has been something else (e.g. 15 m/s)…
user8561039
  • 115
  • 10
0
votes
0 answers

how an RSU can detect a vehicle that enters its transmission range in VEINS

I am new to omnet++ and veins, I want to simulate a simple scenario where an RSU sends a message to every node that enters its transmission range. I know that I have to modify the TraCIDemoRSU11p.cc class to achieve this. But even though I searched…
Nina
  • 109
  • 8
0
votes
1 answer

How to use ManetRouter.ned with veins

I want to use ManetRouter.ned(https://github.com/inet-framework/inet/blob/master/src/inet/node/inet/ManetRouter.ned) in veins. How can i use it? I mean is there a way to use inet 4.0.0 files in veins as veins is compatable with inet 3.6.4…
0
votes
1 answer

build of veins_inet failed

I am using OMNeT++ 5.4.1, Veins 4.7.1 and INET 4.0.0. When I am trying to build the veins_inet subproject it gives the following errors
0
votes
1 answer

Not able to build the veins inet sub project of veins framework using inet

I am using omnet++ 5.4.1, veins latest from github , inet 4.0.0 When I am building veins_inet project, the build fails showing the following error:
0
votes
0 answers

Instant Veins 4.7-i1 Localization Time of Arrival

I am a masters student working on localization, using ranging (time of arrival between vehicle and RSU) and relative location (Using emulated Inertial Navigation System). I have done an implementation of my kalman filter based localization logic on…
0
votes
0 answers

How insert a method of moveToXY() into veins?

At first, I share my action and error reporting. My action: 1. I added the following code to the TraCIDemo11p.cc file: std::string edgeId ="1i"; traciVehicle->moveToXY(edgeId,…
Peter
  • 1
0
votes
0 answers

How to rename each node(vehicle) in veins?

Good morning This is my first time using OMNET++ Veins. I have some questions. I want to name each car(node). So I modify TraCIScenarioManager.ned in line 46. But this will change the name of all vehicles at the same time. Is there any other way to…
0
votes
3 answers

How to change icon in veins

I am trying to simulate V2x networks and i want to change icon for objects that aren't cars. I have tried with @display in .ned file but nothing happend in simulation?
0
votes
0 answers

an internal error occurred during: "Generating NED Documentation..."

When I tried to generate the Veins NED documentation. I got this error "an internal error occurred during: "Generating NED Documentation..."." java.lang.RuntimeException: unknown tag code 43, cannot create object to represent it. Even after I…
0
votes
1 answer

Get the number of lanes for the given edge ID in Veins

I would like to get the number of the lanes for a particle edge in Veins. I implemented the getLaneNumber(EdgeId) TraCI command as illustrated in Edge Value Retrieval. My implementation is: int32_t…
Hamzah
  • 120
  • 6
0
votes
3 answers

Omnet++, A cRuntimeError exception is about to be thrown

I'm currently using Omnet++, and veins, and I have this runtime error appearing suddenly, and I am not able to understand it in order to fix it properly. Error in module (TraCIDemoRSU11p) RSUExampleScenario.rsu[0].appl (id=8) at event #6180,…
Hadeel A.
  • 19
  • 8