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

the subproject example give me an error the Scenario .Ned file not found

I am trying to work on the subproject example that is exist in the veins. But it give me an error the Scenario .Ned file not found. If there any one can help me please type the steps to me how I can solve this problem Many thanks in advance
Siham
  • 1
-1
votes
1 answer

Runtime Error : Unknown parameter

I have creared a class which is called "AttackInjection". I defined a variable (type bool) in that class that is, "propagationDelay_attackInjection". I called that variable in the ChannelAccess class (ChannelAccess.cc). When i run the simulation, i…
Mateen
  • 21
  • 2
-1
votes
1 answer

Why my system is not able to read src file from inet_veins in OMNET++?

This is the veins inet error Here I first installed omnet++ and then INET Veins now I'm getting the following error while integrating them in VANET: make MODE=release all cd src && /usr/bin/make make[1]: Entering directory '/c/Users/Shriya…
-1
votes
1 answer

Simulate only one vehicle using Veins in omnet++

I'm new to veins although I've already simulated a simple example in omnet++. I want to know how simulate only one vehicle based simulation. I' want to communicate the vehicle with nearby pedestrians. Note: I've been already read and understand the…
Mad
  • 23
  • 3
-1
votes
1 answer

Veins:handleLowerMsg(cMessage* msg) does not get activated

I have to build a bit different message set. Thus I had to drift away from DemoBaseAppLayer and had to use directly BaseApplLayer. My ned files are almost sane, as provided by Vienes. I have to build App ned, used Car and Scenario from Viens. I…
gmusjha
  • 39
  • 5
-1
votes
2 answers

How can a node reach only 50 meters of signal coverage in the veins?

In my work I use a manhattan grid that has 9 frames (3x3). Each frame is 200 meters high and 200 meters wide. In the model used there are no polygons that represent buildings or anything else that may interfere with the signal. I need to reduce the…
campos
  • 153
  • 2
  • 12
-1
votes
1 answer

getting MAC layer data from higher layers (TraciDEMO)

I am using VEINS 4.4 and trying to get/use MAC layer data real-time during the simulation such as from TraciDemo11p.cc? The data can be mac address, average mac delay, etc. Is there any way to do that without changing too much code? Thank you.
user629034
  • 659
  • 2
  • 11
  • 30
-1
votes
1 answer

How to set package name in .ned file?

I'm new to omnet++. How to set the correct package name? I created a new .ned file in omnet++5.4.1, but there was not a package name.And I type a name,the omnetide show me that declared package "org.car2x.veins.base.modules" does not match expected…
bo li
  • 9
-1
votes
2 answers

Omnet++ A cRuntimeError exception is about to be thrown std::length_error: basic_string::_M_create

so I get this error when i run my code Error in module (TraCIDemoRSU11p) RSUExampleScenario.rsu[0].appl (id=8) at event #4000, t=45.40151998544: std::length_error: basic_string::_M_create. TRAPPING on the exception above, due to a…
Hadeel A.
  • 19
  • 8
-1
votes
1 answer

what's the difference between onData() and handleSelfMsg()

I made my own application to implemente a scheduling algorithm instead of traCIDemo11p , and I want to understand what is the differences between these two functions , the onData() and handleSelfMsg(). And also when a WSM message received from…
-1
votes
1 answer

Which scheduling techniques VEINS framework is using ? ( scheduling algorithm)

I am on a graduation project with the title "scheduling techniques in VANET", and I need to know which algorithm is used in VEINS , how messages are scheduled in the queue? using multi level or priority based algorithm or another algorithm , I need…
-1
votes
1 answer

Mac_1609-4::setTxPower() to Set TXPOWER in Application

How do I control Transmission Power based on certain parameters? Do I need to use Mixim? If so, is there any tutorials on it? OR Is the only appropriate place to do it is in the mac1609-4 file in the TXPOWER parameter? If that's the place to do it,…
LionsFan
  • 119
  • 1
  • 10
-1
votes
1 answer

Wait for receiving an ACK in finish() function in Veins

I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. In my simulation, I need that all nodes send their messages when leaving the simulation to their destination which are RSU in my case. The problem that all nodes send their messages in finish() function…
Fariha
  • 497
  • 1
  • 5
  • 13
-1
votes
1 answer

Accident Simulation without IVC

I want to simulate a scenario where accident occurs but no intervehicle communication takes place.The accident occurs after 30 seconds of the entrance of a particular vehicle and the duration is of 30 seconds??
-1
votes
1 answer

Vanet cognitive radio simulation - do i need mixim?

I am implementing spectrum sensing for VANETs using SuMO, OMNeT++ and Veins. With these three, I believe I can simulate traffic scenarios. Is it also possible to perform spectrum sensing within the nodes (secondary users in VANETs) with only those 3…
Rop
  • 3
  • 2