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.

651 questions
5
votes
1 answer

OMNeT++ & Veins steady state vehicle density

I want to keep a constant number of cars in my (long) simulation (OMNeT+Veins). I do not care about mobility that much so i could probably use the Veins in-built function *.manager.numVehicles = 100. The thing is that if i do not specify…
5
votes
2 answers

How to access TraCI command interface from TraCIDemoRSU11p in Veins Car2X simulator?

I want to access the command interface of TraCI from the application layer of RSU model in Veins Source for OMNet++. But I am unable to find so. Can anyone please help me do so? Please note that I am not having TraciMobility as parent module in case…
5
votes
3 answers

Analysing and Plotting OMNET++ results

I have run a VEINS/OMNET++ simulation using Cmdenv. Usually I used OMNET++ IDE to run simulation and would analyze the results within IDE. But now the results are on a server, is there any easier(convenient) way to analyze the results without…
aaa
  • 425
  • 6
  • 21
4
votes
1 answer

How is the number of vehicles determined? In Sumo route file or in omnetpp.ini?

When using veins as the framework coupling SUMO and omnet++, how is the number of vehicles determined? I know in the SUMO route file, we can put the number of vehicles in the flow tag. For example,
J.G
  • 190
  • 2
  • 12
4
votes
2 answers

Veins Multiple Applications in multiples Vehicle types

in my simulation using OMNeT++, Veins, and SUMO i want run multiple applications according to their vehicle type, as specified in the .rou.xml file using type="XXX" For example: runs APP_private (using something…
4
votes
0 answers

RXTXLostPackets count is non zero even when allowTxDuringRx=false

I am using veins4.6 with sumo 0.30 and omnet++5.1.1 in ubuntu 14.04. I have created a custom network with a cross(one intersection with 4 roads) and ran the simulation with 200 vehicles. I did not observe this behaviour for 4vehicles. I have seen it…
rajeswar
  • 77
  • 5
4
votes
2 answers

About vehicle number in VEINS

I modified the erlagen.rou.xml using duarouter to get the random routes for the vehicles. It looks like this:
user6126858
4
votes
1 answer

getSenderPos() function removal from the new versions of VEINS

Maybe I am wrong, but I noticed that the function getSenderPos() was removed/moved from WaveShortMessage to BasicSafetyMessage in versions 4.5+ With version 4.4 - I was using getSenderPos() to calculate the distance between the 2 nodes, but was…
user629034
  • 659
  • 1
  • 11
  • 27
4
votes
1 answer

WSM priority in ECDA implemented in Veins's MAC layer

I am sending four WSM messages at once from the application layer to MAC_11p in veins. WSM messages are sent on CCH channel in the following order (priority is shown in parenthesis). wsm(3), wsm(3), wsm(1), wsm(2) Based on the access category in…
ManiAm
  • 1,597
  • 4
  • 20
  • 41
4
votes
2 answers

Changing WSM(WAVE Short Message) packet size in Veins

Does setting length of WSM via setWsmLength or adding a large payload via setWsmData makes any difference during simulation? I am trying to simulate a heavily used network, but changing any of those two values doesn't seem to make any difference. I…
user5965248
4
votes
1 answer

Using a subset of a SUMO scenario for OMNeT++ network simulation (with VEINS)

I'm trying to evaluate an application that runs on a vehicular network using OMNeT++, Veins and SUMO. Because the application relies on realistic traffic behavior, so I decided to use the LuST Scenario, which seems to be the state of the art for…
3
votes
1 answer

How to use inet modules in veins simulation

I want the nodes in my simulation to use AODV protocol to rout packets to the RSU (i don't want the packets to be broadcasted), I know that AODV is implemented in inet but i can't figure out how to use inet models in veins simulation. I added inet4…
Nina
  • 129
  • 6
3
votes
2 answers

how to cancel a timer when using timerManager in veins omnet

I'm using TimerManager class provided in veins to manage timers in my simulation. I created a recurring timer that fires every 5 seconds and I want to cancel it when a specific msg is received but I don't know how to use the cancel method: void…
Nina
  • 129
  • 6
3
votes
1 answer

write OMNET++ output to a text file

Greeting All, I have two questions regarding OMNET++ output results 1- I have a simulation that uses AODV routing protocol in VANET network, but when I record pcap for this simulation, it's shown as corrupted or damage even when I spill it to multi…
Alia
  • 71
  • 7
3
votes
1 answer

Custom Module using veins and omnet++

I have installed veins 4.7 and I went through the tutorial. Everything is working. Now I built a new module more like a DemoBaseApplLayer. This module inherits from BaseAppLayer. In the initialize method, I call a dispatchMsg function. which looks…
gmusjha
  • 39
  • 5
1
2 3
43 44