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

How to change frequency of messages in Veins-LTE

I want to change the frequency of messages for DSRC and LTE on Veins-LTE framework. Usually in regular Veins is done by changing the beacon interval in omnetpp.ini , but this does not show any changes in Veins-LTE framework. The reason for this is…
Legjion
  • 1
  • 1
0
votes
1 answer

How to send message from RSU periodically In the RSUExampleScenario in Veins 4.6?

In my simulation, I want to make RSU (RoadSide Unit) send message every 30 seconds to the vehicles in the range. In another work, the WSM messages are generated by RSU, and will be received by vehicles. How can I possibly change the provided…
J.G
  • 190
  • 3
  • 13
0
votes
2 answers

How to get Coordinates of each vehicle in VEINS?

I am using Veins 4.6, Sumo 0.25 and Omnet++ 5.2. I need to get the coordinates of two vehicles (nodes) at a given time, to calculate the distance between them. I have tried to modify the TraCIDemo11p.cc file in the function handlePositionUpdate().…
Toothless
  • 41
  • 1
  • 9
0
votes
0 answers

Can't find BaseWaveAppLayer.h: no such file or directory

I have the following includes in TutorialAppl.h: #include "veins/modules/application/ieee80211p/BaseWaveApplLayer.h" #include "veins/modules/mobility/traci/TraCIMobility.h" #include "veins/modules/mobility/traci/TraCICommandInterface.h" When I…
0
votes
1 answer

How to set the vehicle departSpeed in veins/omnet++?

I would like to set the departSpeed of each car (mobility node) in veins/omnet++ to be the max allowed speed of the lane. I've already configured it in the SUMO route as follow:
J.G
  • 190
  • 3
  • 13
0
votes
0 answers

Modify the maximum sending power

I am using Veins-4a2. In my work, I want to simulate a scenario with different maximum sending power for nodes and rsu. Is it possible to do it in Veins-4a2 please since the pmax defined in the omnetpp.ini file is for all the network?
Joe
  • 85
  • 1
  • 9
0
votes
0 answers

VEINS : OMNET :Model error: No nic with this ID () is registered

I am new to OMNeT++. I'm using OMNeT++ 5.2.1 and SuMO 0.30, and I'm trying to parked vehicles in specific parking zone using TraCI and send some WaveShortMessage in my scenario. When I use TraCIDemo11p or MyVeinsApp as application type…
amine
  • 1
  • 3
0
votes
0 answers

To do a call back function in TraCIScenarioManager

I am writing a Server Client Program where omnet/veins is the client. However, omnet doesn't request data but acts on the data sent from the server. I want to keep listening for a message from the server but also allow other events to happen…
Nithin
  • 1
  • 1
0
votes
0 answers

Why do I get different number of vehicles when I alter TX power from one simulation to another

My application file alters the TX power using two different algorithms, will call them algorithm1 and algorithm2. I do four separate runs as follows: 1) Simulate for 400 seconds, alter TXPOWER using algorithm 1. At the end I would have simulated n…
LionsFan
  • 119
  • 1
  • 10
0
votes
0 answers

Veins and Artery throwing errors after downgrading Omnet++ back to 5.1.1

I recently have downgraded Omnet++ from version 5.2 back to version 5.1.1 because of the newer one not working with the Artery Extension for Veins. After a clean make of 5.1.1 and also a clean recompile of Artery both the example scenario of Artery…
M. Hardt
  • 67
  • 7
0
votes
2 answers

Veins_inet: undefined reference to `__imp__ZTVN5Veins17VeinsInetMobilityE' when building in OMNet 5.1.1

I imported veins_inet subproject into OMNet 5.1.1 on Windows-64 machine and tried to build. Everything went okay (building inet and veins) until receiving this error when it starts building veins_inet: veins_inet/VeinsInetMobility.cc:41:1: warning:…
0
votes
1 answer

How to decide priority to a message at application layer in VANETs

In veins there are 4 Access Categories in CCH and 4 AC's in SCH. The static mapping between priority and AC is done in Mac1609_4::mapUserPriority() function. How can we decide which priority to assign to a…
rajeswar
  • 77
  • 5
0
votes
0 answers

can Application Layer send event based emergency messages in SCH interval in VANETs

In Veins, while sending a BSM or WSA a random initial time is chosen to make sure that the transmission time is in CCH. This is implemented in BaseWaveApplLayer::computeAsynchronousSendingTime(). Then based on beaconInterval/wsaInterval they are…
rajeswar
  • 77
  • 5
0
votes
2 answers

When installing Artery on Ubuntu, building INET throws an unusual Error

I am currently setting up a new PC with Omnet++, Veins and Artery for simulating ITS-G5 protocol. After calling make inet in the root directory of Artery I get the following Error Message: $ make inet cd extern/inet; python inet_featuretool disable…
M. Hardt
  • 67
  • 7
0
votes
1 answer

RSU not receiving WSMs in Veins 4.5

I am using the Veins 4.5 framework for a semester project. I am trying to observe the behavior of different functions in the sample codes given. For some reason, the RSU's onWSM function never gets called. I added a message (using the EV command) to…
an4s
  • 161
  • 1
  • 10