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 can I define that two vehicles are getting far away in veins?

I want to determine that two vehicles are getting far away. I wrote my codes in handlepositionupdate method of TraCIDemo11p class but only half of my code runs correctly. Coord senderPosition = mobility->getCurrentPosition(); double…
sepideh
  • 61
  • 7
0
votes
1 answer

why do RSU start sending BSM messages to nodes after it receives scheduled self-message even though I didn't implement any BSM sending

I'm trying to learn veins, this is the initialization in the RSU application class : void rsuApp::initialize(int stage) { BaseWaveApplLayer::initialize(stage); if(stage == 0){ event = new cMessage("event"); EV << "Scheduling…
Nina
  • 109
  • 8
0
votes
1 answer

initialize method in TraCIDemoRSU11p

I'm using omnetpp-5.4.1 , veins-4.7.1 , sumo-0.30.0 .I'm going to do fuzzy clustering by RSU in veins.I created a new module called FCM in veins/modules/application/traci and inherited the TraCIDemo11p and wrote the clustering code in it. Because I…
Faezeh
  • 1
  • 4
0
votes
0 answers

clustring by RSU in veins

I'm going to do fuzzy clustering by RSU in veins. For this purpose, I first created a module that inherits TraCIDemo11p and incorporated clustering codes in it. Then I created a method in TraCIDemoRSU11p and I made an object from the clustering…
Faezeh
  • 1
  • 4
0
votes
1 answer

How change vehicle color

How can I change the veins vehicle icon color according to its function? In the tictoc 2 example, this was possible by changing @display ("i =, cyan") from your ned file.
campos
  • 153
  • 2
  • 12
0
votes
0 answers

how to fix makefiles errors on veins project

when I build my veins project I have the following error : make[1]: *** [../out/gcc-release/src/mySimulation] Error 1 Makefile:100: recipe for target '../out/gcc-release/src/mySimulation' failed make[1]: Leaving directory…
Nina
  • 109
  • 8
0
votes
1 answer

How can I get my neighbors in veins and calculate its direction compare to its neighbors?

I am using omnetpp 5.4.1, veins 4.7.1 and sumo-0.30.0. I want to get my neighbors and I also want to calculate (compare) direction of a vehicle with its neighbors. although I read Calculate direction of a vehicle (Veins/Omnet++/Sumo) and I know that…
sepideh
  • 61
  • 7
0
votes
1 answer

How to program a vehicle as an sdn controller?

I want to program a vehicle in OMNET++ as an SDN controller, but I don't know how to get started. I am using SUMO, VEINS and OMNET++.
campos
  • 153
  • 2
  • 12
0
votes
1 answer

Error while running omnet++ after implementing a new physical propagation model

I added new .cc and header files describing a new propagation and fading model on the analoguemodel folder. I also made the changes to PhyLayer80211p files. I run "make -j 4 MODE=release" and it executes without problems. When I try to run veins on…
E_Xh
  • 1
0
votes
1 answer

how to create customized messages in veins

I'm simulating a scenario in veins when I need to use customized messages with specific fields(it's not wsa,wsm or bsm). to achieve this I defined .msg file and the .cc and .h file were generated successfully. I included .h file into the cc+…
Nina
  • 109
  • 8
0
votes
1 answer

where is emergency message in veins?

There are two kind of messages in Vanet that are considered as safety messages.Their name are 1.beacon 2.event driven (emergency message). I am using omnet++ 5.4.1,veins 4.7.1 and sumo-0.30.0. However veins just has BSM(beacon) and WSA and data…
sepideh
  • 61
  • 7
0
votes
0 answers

Routing file does not show EV statement in the logs and not sure if omnetpp.ini even detecting the WaveAppLayer file

I'm trying to create a routing protocol in omnetpp and veins. My problems is that I'm not sure if the omnetpp.ini file under the WaveAppLayer (which is the routing or moving the vehicles or so I think it is) when declaring the file…
Abubakar Saad
  • 202
  • 1
  • 2
  • 13
0
votes
1 answer

Artery (VEINS extension) - LTE and IEEE 802.11p combined

I'm new to Artery, although I have some experience with VEINS. I've been able to run simulations where all nodes have IEEE 802.11p interfaces, or all nodes have LTE interfaces. However, I'm having trouble implementing a combined scenario. Is it…
0
votes
0 answers

BaseApplLayer.h file not found

I am trying to build a veins application. But i am getting the following error: veins/modules/application/ieee80211p/VADDBaseWaveApplLayer.h:25:10: fatal error: 'BaseApplLayer.h' file not found The complete line in VADDBaseWaveApplLayer.h is: …
Young4844
  • 247
  • 1
  • 4
  • 12
0
votes
0 answers

Time to Sucessfull Transmission of a Frame in 802.11p MAC Layer - Veins

I am looking for some model or equation that, given the size of a frame, provide the time (channel access duration) needed to ensure a successfull transmission of this frame in 802.11p in Veins Framework. My idea is use this value to guarantee…