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

C++/Omnet++ Function is ignored in VeinsInetSampleApplication, veins_inet

I don't know whether I don't get the logic behind adding a function to eclipse/omnet++: Tried to simply add a new function "init_func" to the VeinsInetSampleApplication.h Header file #pragma once #include "veins_inet.h" #include…
0
votes
1 answer

how to make that node still moving while sending a Airframe messages in veins example?

I'm working on the veins example in Omnetpp. In the veins Omnetpp example, I amrun the Erlangen simulation. While sending airframe messages, all nodes were stopped and then they continue moving after finishing sending messages to RSU. How to make…
0
votes
1 answer

Adding a POI with TraCI::POIScope

I get this error message when I try to add a POI to a vehicle through TraCI. Error: libsumo::TraCIException: .. Answered with error to command (199), [description: Could not add PoI.] std::string imgFile = "img.png"; poiScope->add("POI1",…
lukne
  • 1
0
votes
1 answer

build a protocol stack for VANET

I want to use OMNet++, VEINS, SUMO, or OpenStreetmap where I can have the protocol stack for VANETs, the interchange of messages, the mobility patterns through a real map. Anyone can recommend me which simulator can use please?
MOBT
  • 312
  • 3
  • 10
0
votes
1 answer

launch ./veins_launchd with sumo option "-scale"

I want launch launch ./veins_launchd with sumo option "-scale". This is my launch command: $ ./veins_launchd -vv --command='sumo --scale 6' This command execute correctly. But as soon as I start running simulation, it pop follow error message: Seed…
謝達永
  • 3
  • 2
0
votes
1 answer

direction of sending message ( veins /omnet++)

Is there a possibility to define the direction of sending a message?? for example, the sender vehicle wants to send a message only to the vehicle behind? I thought of using Directional antennas; I found this function : double Antenna::getGain(Coord…
kenza
  • 7
  • 2
0
votes
1 answer

Simulate a Massive Broadcasting Scenario with a Reasonable Delay and Packet Loss

I was able to complete basic tutorial in Veins. In my simulation, 12 cars broadcast messages to each other. I want to compute the delay associated with every message. I am trying to achieve it in the following manner: Save the time when the…
Python
  • 359
  • 2
  • 16
0
votes
1 answer

Veins and SUMO: assigning multiple module types to a vehicle or including pedestrians inside a vehicle

I am using Veins 5.1 and might be forced to keep it. I would like to have multiple (2) different OMNeT .ned modules to be assigned to a single SUMO vehicle. 2 modules with the exact same mobility pattern and departure time are needed. According to…
0
votes
1 answer

Get Receiver Vehicle Position in BSM

How do I configure Veins to get the receiving vehicle's position (x and y) in a BSM message? I am using this configuration of veins: https://github.com/josephkamel/veins-f2md.
Yurroff
  • 1
  • 2
0
votes
1 answer

How to set antenna gain in Veins-5.x?

I want to implement the formula for Free Space Propagation Model. However, I don't know how to set or get the gain for the transmitter and receiver. Should I just consider it unity? In veins-5.2 the only available antenna parameters…
Fady Samann
  • 115
  • 7
0
votes
1 answer

How to set receiver sensitivity in Veins-5.x?

In Veins-4.x, setting the receiver sensitivity is done through this line *.**.nic.phy80211p.sensitivity = -89dBm However, this parameter disappeared in Veins-5.x. Is there a replacement in the current version of Veins?
Fady Samann
  • 115
  • 7
0
votes
1 answer

how to get the distance from RSSI in veins?

I found how to get the RSSI value in veins in this link: how to record rssi in veins (omnet++) I want to know now how to get the distance between two nodes based on the RSSI value?
0
votes
0 answers

Error in changing Traffic Light State using Veins in OMNET++

I am doing a simulation which when an emergency vehicle is approaching to the intersection the state of traffic light should be changed it phase to green. What I try to do is, EV, will send message to the RSU sending it laneId, then the RSU will…
Daniel
  • 1
  • 2
0
votes
1 answer

SINR and SNR thresholds in Veins

I was trying to find the required SINR and SNR thresholds in order to process the signal in Veins, have searched for that through the .ned and input .xml files but couldn't find them. What are these thresholds and where I should look for them?
eagle
  • 1
0
votes
1 answer

How to run SUMO python traci script on OMNEST using viens

I am working on SUMO VEINS and OMNEST. To run sumo files on OMNEST, the input of sumo files (.xml) are inputted in veins_launchd, which in turn finds an unused port, starts sumo and bridges the connection between sumo and OMNEST. I want to control…
Thilaga
  • 1
  • 1