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

The external ID of wsm message sender

I am using OMNET 5.0, SUMO-0.25.0 and VEINS-4.4. When a vehicle receive a message; onData() is called. I can get external ID of the current vehicle using mobility->getExternalId(); but how I know the the external ID of wsm message sender The code…
Wedadi
  • 33
  • 6
0
votes
0 answers

How to create or send a message after receiving a self message?

I have been trying to create and send a control packet (reply) at a certain calculated time after processing the received request and i have a problem regarding to the code. Here is a part of my code: CBFREP *GPSR::createREP (CBFREQ *req) { …
Dalia Adly
  • 53
  • 6
0
votes
1 answer

How to solve this 'Error Refreshing Makefiles'?

When I click on Run on my VeinsTutorial (the one that Christoph Sommer made and you might be familiar with it), I get error shown below. Do you have any idea? I really need to get over this error. Error refreshing Makefiles Reason: you have both…
0
votes
1 answer

how to get the angle of movement (direction) of a car when using VeinsInetMobility

I need to get the angle of movement (direction) of a node. In TraCIMobility this is done with getHeading() in veins-5 and with getAngleRad() in the previous versions of veins But I can't figure out what is the equivalent of getHeading() when using…
Nina
  • 109
  • 8
0
votes
1 answer

The Veins output file is interrupted

I am using sumo-1.2.0, and veins-5,and omnetpp-5.5.1. The Veins output file is interrupted.Is there a solution for this? Please help me. Thanks. erlangen.sumo.cfg
0
votes
1 answer

Error: undefined reference to `typeinfo for veins::BatteryAccess'

I am getting this error in the Omnet++ project, based on the David Eckhoff Veins/Sumo Project. The error is (maybe) because the version used in that omnet++ is 4.6 and the one I am using is the 5.0. Nevertheless, I have been trying to find a logic…
0
votes
1 answer

how can I calculate SINR between sepecific nodes?

I am using omnetpp 5.4.1, veins 4.7.1 and sumo-0.30.0. I want to calculate SINR between sepecific nodes in veins. How can this be done?
sepideh
  • 61
  • 7
0
votes
1 answer

How to keep the vehicle stopped on the road for 1000 seconds?

In my model, I need a vehicle to stop on the road for 1000 seconds. But after about 240 seconds the vehicle disappears from the road. In the omnetpp.ini file I set the following parameters: *.node[0].veinsmobility.accidentCount =…
campos
  • 153
  • 2
  • 12
0
votes
1 answer

How to get vehicle information in less than one second?

I need to send and receive vehicle updates in less than one second. I have edited the *.sumo.cfg file and defined the following parameters:
campos
  • 153
  • 2
  • 12
0
votes
2 answers

How to add new parameters to be measured in the result file .sca of the OMNET++ simulator?

I'm doing a research for the VANET network for my master thesis. I'm using OMNET++, SUMO and VEINS, for the evaluation of the performance in a scenario of car accident. For the moment I want to generate some results for the received power, signal to…
Albin Zh.
  • 3
  • 2
0
votes
1 answer

Error when building simuLTE with MODE=release

In order to run the simulation faster, I am trying to build simuLTE in release mode as can be achieved for veins. user@user-VirtualBox:~/simulte_veins/simulte$ make MODE=release make[1]: Entering directory…
Aman
  • 25
  • 1
  • 5
0
votes
1 answer

How to implement RSU application in inet project

i'm using inet and veins_inet to implement vanet simulation i need an RSU in my simulation so i added RSU veins module to my network and for the application a created a module that inherits from VeinsInetApplicationBase but when i run the simulation…
Nina
  • 109
  • 8
0
votes
0 answers

Veins : multiple WSMs for different purpose

I want to send two WSMs, one on regular intervals to enable a vehicle (V1) receive the information about vehicle behind them (V2) from the vehicle (V3), which is behind V2. The second WSM is only sent out in certain cases (as a warning message) and…
4dummy
  • 19
  • 3
0
votes
1 answer

What do these gates mean in veins?

Some of the codes in veins are as follows: int upperLayerIn; int upperLayerOut; int lowerLayerIn; int lowerLayerOut; int upperControlIn; int upperControlOut; int lowerControlIn; int lowerControlOut; I want to know what these gates mean? MAC?…
Sun
  • 1
  • 2
0
votes
1 answer

Error in "import org.car2x.veins.subprojects.veins_inet.VeinsInetManager" SimuLTE's Highway.ned file

I tried to install simuLTE and followed the versions according to https://github.com/inet-framework/simulte/releases. After downloading I imported the project in Omnet++(I build the INET3.6.6 before importing simuLTE ) Then I imported veins and…