Questions tagged [veins]
Veins is an open source framework for running vehicular network simulations.
723
questions
0
votes
0
answers
11
views
Why when setting dataOnSch to ture, the WSM is only sent on the SCH1?
In Veins, before sending a WSM, a WSA service must be started carring the targeted service channel number so that the vehicle tune to after receiving the WSA to receive the WSM.
If the dataOnSch ...
1
vote
1
answer
46
views
If the application has two services to send data messages, How will the messages be casted in onWSM function to obtain message content?
I tried to cast two messages in the onWSM function, one of the message is the accident message from TraCIDemo11p example see link; https://github.com/sommer/veins/blob/master/src/veins/modules/...
0
votes
0
answers
18
views
Veins simulation freezing
I'm running a veins scenario simulating a highway with connected vehicles. The simulation is supposed to be run for 7200 seconds but it halts 500 seconds in (the simulation just freezes and is not ...
0
votes
0
answers
28
views
C++/Omnet++ connect to SUMO via TraCI Interface
I have a question regarding connecting to SUMO as a second client.
I have found the following tutorial from Sep. 2021:
https://www.academia.edu/49581640/...
0
votes
1
answer
14
views
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:...
0
votes
1
answer
30
views
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 ...
-1
votes
0
answers
41
views
what does this error mean? and how I can fix it?
When I run Simu5G, it runs with 3 cars and 6 cars. But when I tried to increase number of cars to 20 it gives the following error.
"
NRPacketFlowManagerGnb::ulMACPduArrived - grant[30] for nodeId[...
0
votes
1
answer
8
views
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 ...
0
votes
0
answers
18
views
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 ...
0
votes
0
answers
25
views
How can the RSU in Veins be aware of the total roads' length covered by its transmission range?
I am using OMNET++ 5.6, Veins-5.2, SUMO-1.8.
Is there a TraCI command that can get the length of covered roads based on the RSU location?
0
votes
0
answers
24
views
Omnet 5.1 IDE error after installing on Mac
I can not open Omnet 5.1 after installation, I got this error(an error has occurred see the log file)enter image description here
0
votes
0
answers
18
views
ASSERT: Condition 'mac' does not hold in function 'initialize' at veins/modules/application/ieee80211p/DemoBaseApplLayer.cc:49
I am implementing a Vehicle-to-Vehicle communication in Veins. Two problematic files are CarAppLayer - Car application layer and TransmissionData - file responsible for the data transmission between ...
0
votes
0
answers
57
views
How to include a vector (container class) in a message file in OMNeT++
I am struggling on how message from a node which is a Cluster head in VANET to contain list of cluster members. I tried to add a vector to contain a cluster table in a message file but am getting ...
0
votes
1
answer
33
views
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 ...
0
votes
1
answer
30
views
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 ...
0
votes
1
answer
41
views
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.
0
votes
1
answer
34
views
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 ...
0
votes
1
answer
29
views
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 ...
0
votes
0
answers
35
views
Problem about transmission channel in omnet++ in a vanet project
I am new to omnet++ version 5.6.2 and I am simulating a project on VANETS unsing veins 5.0 framework, however, when executing the sumulation, an error appears.
Like getTransmission channel(): No ...
0
votes
1
answer
52
views
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
64
views
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 ...
0
votes
1
answer
93
views
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 ...
0
votes
0
answers
66
views
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 ...
0
votes
1
answer
60
views
How can I solve the problem with Sumo in line launchconfig in omnet.ini?
I unpacked OMNeT++ 5.0 and in configure.user I have set:
prefer-clang=no
or
prefer -clang =yes
and execute ./configure and then make, the output gcc-release, gcc-debug.
My microsoft visual studio ...
0
votes
1
answer
30
views
Why SUMO output different using veins_launchd and without veins_launchd?
First, I use veins_launchd to conect omnet and sumo, the command line is "D:/example_project/veins-5.1/veins-veins-5.1/sumo-launchd.py -vv -c 'D:/Program Files (x86)/Eclipse/bin/sumo.exe' "
...
0
votes
1
answer
35
views
Does Veins implements both SNR and SINR calculations in the Veins simulations?
I wonder if in Veins both SNR and SINR is calculated for the received frames?
I see both terms in veins physical layer implementation files.
I am confused if they mean the same thing or they have ...
0
votes
2
answers
45
views
TraciCommandInterface error TraCI server reported status 255 executing command 0xc4 ("Change Vehicle State: unsupported variable 0x72 specified")
I tried to establish a connection through TRACL command in the TRaCICommandInterface.cc and TraciCommandInterface.h (SetAcceleration)
This is my code in the cc file:
void TraCICommandInterface::...
1
vote
1
answer
46
views
Why the getSenderSpeed() is returning zero (always) in onBSM from veins-SUMO-omnet++?
I am using veins version 5.2, omnetpp5.7, Eclipse SUMO Version 1.4.0.
I am trying to implement a simple platooning of 3 vehicles following this tutorial:
http://cse.iitkgp.ac.in/~soumya/micro/t2-4.pdf
...
0
votes
0
answers
50
views
Co-Simulation of Carla SUMO and Veins results in the error "Received unhandled vehicle subscription result --in module (veins::TraCIScenarioManager) "
I am working on the project of V2X communication which involves Co-Simulation of Carla, Sumo, and Veins/Omnet++. While running the simulation I am facing the below error in Omnet++ just after 2s of ...
2
votes
2
answers
68
views
How to include a new message extended from DemoSafetyMessage in the MyVeinsApp application?
I created a new safety messsage that is extended from the DemoSafetyMessage:
import veins.modules.messages.DemoSafetyMessage;
namespace veins;
packet NewSafetyMsg extends DemoSafetyMessage {
double ...
0
votes
1
answer
40
views
Fog computing with veins
Can fog computing be used with veins and inet for an omnet++ project?
I want to build an omnet++ project, in which I can send and receive messages between OBUs and RSUs, but with RSU as a fog node in ...
1
vote
1
answer
57
views
Locate a vehicle using RSSI under veins framework
Using the veins framework and the Omnet++ simulator, how do I get the RSSI value (RSU side) from the message sent from a vehicle? I need to locate this vehicle using this RSSI value.
How to send ...
1
vote
1
answer
115
views
Communication RSU/OBU in veins framework
I need to implement a communication between the RSU and the OBU (the OBU sends a message to the RSU and the RSU does some checks then it will answer the OBU), for that I implemented the handleMessage ...
0
votes
1
answer
54
views
please rebuild precompiled header error when building inet project
I'm working with inet and veins in omnet++, when I build inet project, there is always an error like the following in the console:
please rebuild precompiled header 'inet/common/precompiled_debug.h....
1
vote
1
answer
73
views
SINR and Signal power Pr[dBm] calculations in Veins simulations
I need help in the following,
Question-1: In veins simulations, how the SINR of a signal is calculated and where its implemented in the code?
Question-2: In veins simulations, how the Pr[dBm] of a ...
1
vote
1
answer
90
views
How to use pybind11 in omnet++ projects like veins
please suggest how to use pybind11 in omnet++ projects like veins. I am getting compile time errors. I can see so many posibilities with python being used in omnet++ simulation tool.
I tried this link ...
0
votes
0
answers
15
views
Bug in the Veins-5.2 Version?
I have downloaded a veins 5.2 from here. When trying to run veins_inet example available in the subprojects folder, I receive an error saying ./veins_inet/veins_inet.h:37:2: error: #error Veins ...
0
votes
0
answers
15
views
error after rebuilding net and veins project in omnet++
I'm working with omnet++ in macOS. I tried to delete the veins and inet projects in omnet++ in order to upgrade them to a higher version. However after importing master-inet and master-vein, when I ...
0
votes
1
answer
88
views
How to send the message between two nodes correctly in OMNeT++
I am new to OMNeT++ and I do not have much experience in C++.
In my OMNeT++ scenario I have two nodes (coming from SUMO scenario). I want to send a node_indicator from Python (in this case it is 0), ...
0
votes
1
answer
18
views
WARN: Ignoring UDP error report ERROR when running a code in omnet++
I'm using omnet++ to implement vanet and car communication via veins and inet. A few times when the cars send message to each other the message show error and in the console I see the following:
> *...
0
votes
2
answers
48
views
Is is possible to detect the exact timings of Packet loss in between nodes of Vanet in OMNeT++?
I have established the communication between the nodes in VANET and I have analyzed the vector file in order to detect packet loss. But how can I identify which packet lost at what particular time? I'...
0
votes
1
answer
35
views
How to load multiple ned source paths for opp_run command line execution
I'm trying to run the .ini file from command line with opp_run
the ned source files paths are below (as what can be seen from gui)
Loading NED files from ..: 6
Loading NED files from ../../src: 8
...
0
votes
0
answers
57
views
encountering black screen when running veins-launchd for connecting veins to sumo-gui
I'm trying to use OMNeT++ version omnetpp-6.0pre15 and sumo 1.11.0 and connecting veins to sumo. My system is MacOS Monetrey.When I run the following:
downloads/veins-master/sumo-launchd.py -vv -c ~/...
-1
votes
2
answers
88
views
Use Python Traci From SUMO to run with OMNET++
I'm a beginner in Omnet++ & SUMO. I have successfully created my python script using the Traci library from SUMO. So, now I am currently trying to run my python script inside OMNET++ but I do not ...
0
votes
0
answers
20
views
Problems encountered at integrating veins into simulte
I am following https://simulte.com/add_veins.html to manually integrate veins into simulte. When I was building each one of the four projects:
inet 4.2.5
simulte 1.2.0
veins_inet
veins 4.6
The third ...
-1
votes
1
answer
49
views
Is it worth to develop VANET simulations using Artery or Veins is enough?
*This might not be the usual techincal question but I hope it's accepted.
I'm reading many publications but since now I did not came across any using Artery. The [Artery] tag itself has not been ...
0
votes
0
answers
29
views
Veins with Aodv Protocol gives error for interface table
I'm using veins with Aodv Protocol. I have configured nodes to use UdpBasicBurstAppNotification. I'm continuously getting this error.
L3AddressResolver: IInterfaceTable not found as submodule ...
0
votes
0
answers
96
views
Why am I getting "Simulation terminated with exit code: 127" in Omnet?
In the TicToc tutorial it's stated, talking about statistics generation through signals (and not finish()), that:
"As we do not have to save or store anything manually, the finish() method can be ...
0
votes
1
answer
50
views
What does number of nodes mean in ns3 vanet simulation
I have to compare omnet++ and ns3 on basis of vehicular network simulations.
I have a question. In the example vanet-routing-compare.cc in ns3. What does the number of node means??
As i'm importing my ...
0
votes
1
answer
69
views
Why different packet loss rate result in the same result in Omnet?
In my simulation, I'm trying to use traCI to control vehicle type and traCI is invoked by receiving a beacon message sent by RSU. In addition, I add packet lost probability, as code shown below:
void ...