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

Populating messages with data in veins

I am working on a project where an RSU sends beacons to the cars in its range .When this beacon is received by the car it should send its id back to the RSU.I made a custom message file with just the vehicle id in it.This is how i am handling the…
Sreeram M
  • 140
  • 10
0
votes
1 answer

Count of nodes in an specific range

I'm using veins 5 and I am trying to obtain the position of nodes around in a certain distance from a node. More specifically, I'm trying to get a mapping position of all nodes in an instant to work with the positions of the nodes. I read this…
0
votes
1 answer

UnitDiskRadioMedium no power consumption settings? (omnetpp)

Looking at: OMNET++: How to obtain wireless signal power? and https://github.com/inet-framework/inet/blob/master/examples/wireless/scaling/omnetpp.ini there seem to be no power consumption related settings to packets that are sent in a…
Sebi
  • 4,262
  • 13
  • 60
  • 116
0
votes
1 answer

sumo-launchd.py sumo checking

when I execute the command : sumo-launchd.py -vv-c /.../sumo-gui.exe I receive error: Usage: sumo-launchd.py (options) sumo-launchd.py: error: no such option: -- sorry but I'm not very good with these installations some help?
0
votes
1 answer

What does (stage=0) mean in Veins application?

I've been studying TraciDemo11p and couldn't clearly understand what does stage means. void TraCIDemo11p::initialize(int stage) { DemoBaseApplLayer::initialize(stage); if (stage == 0) { sentMessage = false; lastDroveAt =…
0
votes
1 answer

Modules of Veins documentation

Does anyone know how to use the make proxy command from the command line in order to see the documentations of the modules? I have installed Instant Veins 5.0 i2 with SimuLTE. It doesn't work generating from the IDE of OMNeT++, it returns an error…
0
votes
1 answer

Error while Implementing setDisallowed setAllowed for Sumo and Veins?

I am trying to implement a TraCi command for mysumo scenario (traci.lane.setDisallowed) while using veins. I created a new command in the TraciCommandInterface.cpp like: void TraCICommandInterface::Lane::setDisallowed(std::list
TZerK44
  • 28
  • 4
0
votes
1 answer

How to change data rate in veins?

We can adjust the Tx power and Tx rate in Veins, the default data rate is 6Mbps which can be set in .ini, is it possible we adjust the data rate during the simulation? Thank you very much!
0
votes
1 answer

Problem Running Omnet simulation (exit code 1)

I'm trying to run a simulation in OMNeT++. I started my own project which references veins, inet, and lte. I've copied their examples modifying the .ned packages to test the project setting. About four days ago I was able to run all the examples.…
0
votes
4 answers

How to make the vehicles collide in SUMO?

I want to make Collision warning and emergency braking in veins with SUMO, but I find I can't make the two vehicles collide in SUMO. So What should I do to make the two vehicles collide in SUMO? collision.net.xml
666666
  • 37
  • 4
0
votes
1 answer

How to add another RSU submodules?

I want to make some VANET simulation using OMNeT++, Veins, SUMO. I was rewrite some code in Veins example code "RSUExampleScenario". RSUExampleScenario.ned import org.car2x.veins.nodes.RSU; import org.car2x.veins.nodes.Scenario; network…
Minwoo Kim
  • 497
  • 1
  • 5
  • 21
0
votes
1 answer

VEINS building error: too many subdirs for --deep

I have downloaded a framework F2MD from git repository https://github.com/josephkamel/F2MD.git which integrates VEINS framework. I am using Sumo 1.5.0 and Omnet++ 5.6.1 on Ubuntu 18.04. This framework had some submodules. I am getting an error while…
0
votes
1 answer

How am I supposed to use two vehicle types in one simulation?

Veins_inet said it was made on top of veins library. So how can I use the 802.11p vehicle in inet simulation? I've defined two vehicle types in rou.xml file. How can I read them in simulation ? I tried this and so far it seems impossible. most of…
0
votes
0 answers

Error in veins_inet: Mobility position is not a finite number after initialize (x=nan, y=nan, z= nan)

I'm very beginner to veins. I'm building a network in which ther is a standard host and a vehicle communoicate to each other via AccessPoint. I've successful done this simulation with wirelessHost and standard host. but when I used veins_inet to…
Mad
  • 23
  • 3
0
votes
1 answer

How to implement V2I communication in veins omnet++?

I am trying to implement V2I communication in my veins scenario. The RSU sends a message that is a list containing the IDs of certain car nodes and only these cars must respond to the message. However, some of the car nodes are not in the range of…
Unknown
  • 1
  • 1