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 send messages in veins?

I need to send a message only to one vehicle that i want to choose. I am reading the available TraCIDemo11p and the cars are broadcasting the message to all cars. How can change that and make it send the message to only one care for example to car…
Sara Hamad
  • 645
  • 1
  • 6
  • 12
0
votes
1 answer

Error in module (Mac1609_4) Model error: ASSERT: condition useSCH false in function handleUpperMsg

I use Veins-4a2 and I have modified the scenario of the demo example. I have added a new wsm which is ACK when a node reveives a message, it sends an ACK message to the source node. I have add this line in onData()…
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
1 answer

Determining when two vehicles are in contact(Veins, Omnet++)

In Veins/Omnet++ simulation, how can I determine when two vehicles are in range to exchange data? Suppose, I have three vehicles in a simulation (v1, v2, v3). During simulations these vehicles pass each other a few times. Now suppose v1 and v2…
dutu
  • 15
  • 4
0
votes
1 answer

Veins - Unexpected behavior with lost packets in certain vehicles

I'm working with the Veins framework over the OMNeT++ simulator and I'm facing a weird situation where certain few nodes lose all received packets. To put everybody in context, I'm simulating 100 nodes (4 flows of 25 nodes), all under coverage…
Jack
  • 13
  • 3
0
votes
1 answer

No nic with thid ID () is registered with this ConnectionManager, return empty GateList

I use Veins-4a2 and I have changed the car.ned and its nicType by specifying string nicType = default("Nic802154_TI_CC2420"); When I run the simulation, I get this window with the following message "Module RSUExampleScenario.node[0].nic.phy: No nic…
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
1 answer

check module destructor in Omnet++ with Veins

I have a VANETs project, I work with veins-2.0-rc2. In class LinearMobility.cc I have this code, void LinearMobility::initialize(int stage) { BaseMobility::initialize(stage); debugEV << "initializing LinearMobility stage " << stage << endl; …
Nacer
  • 1
  • 5
0
votes
1 answer

Display map in veins

I used veins-4a2. Yesterday, when I launched the simulation as usual my map is not displayed correctly (in the gray area). What should I do to correct the map display please? Here attached the map display
Myriam
  • 11
  • 4
0
votes
1 answer

Wave Short Message content

I used veins 4a2 and OMNET++ (4.6). I like to know the content of messages exchanged between vehicles in the veins example. I have consulted waveshortmessage.msg, WaveShortMessage_m.cc and WaveShortMessage_m.h but I have not found messages…
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
0 answers

Omnet++ , veins , the number of neighbors nodes for Car X in specific time

My question: how can I compute/find the number of neighbors nodes for Car X in specific time (targeted nodes in range of car X), from the results or by updating the code ? In Beacon broadcasting, to compute the ratio of successfully received packet…
phdstudent
  • 41
  • 6
0
votes
0 answers

Exchange messages between nodes with a new map and without accidents

I executed the Veins example with the erlangen map and I put node[*0].veinsmobility.accidentCount = 0, I noticed, during simulation, that there was no exchange of messages between nodes which is logical. I have generated my .rou.xml, .poly.xml and…
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
1 answer

Implementing a new scenario based on Veins example

I am working on the implementation of the following scenario using OMNET++ (4.6), SUMO-0.22.0 and VEINS-4a2 simulators: exchange of messages between cars which are in the same control area where messages represent the quality of the road. So, I…
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
0 answers

working with Region of interest in Omnet++ ( veins)

I am working with simple scenario application using veins. I want to compute different measurements. I used realistic map using SUMO, and the trips of vehicles are generated randomly using randomTrips.py. I think that the results are not accurate…
phdstudent
  • 41
  • 6
0
votes
1 answer

Veins error using mt19937

I'm trying to use mt19937 to generate (good) random numbers on Veins to my node/vehicle class. When I use one mt19937 for each car, he woks, but when I set to be static (one mt19937 to all car) he doesn't work static mt19937 mt; Occurs one error…
0
votes
1 answer

How to increase the vehicle density in Veins-lte during simulation

I would like to increase the number of vehicles per area i.e vehicle density. In case of veins; the number of vehilces as well as speed can be increased or decreased via erlagen.rou.xml. I tried to change the number of vehicles from…
user6126858
0
votes
1 answer

SUMO and OMNeT++ working together with Java

I am currently working on my Bachelor thesis and my purpose is to create a VANET simulator having the traffic simulator, SUMO, and the network simulator, OMNeT++, working together. I know there is already one project called Veins that is doing this.…
Terahertz
  • 64
  • 12