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

handlePositionUpdate doesn't work with RSU

I am using sockets for communications in my simulation and for the vehicles, I use the handlePositionUpdate method to check for the received message, since it's a method that it's called a bunch of times. Howerver, once I try to do this in my RSU…
0
votes
3 answers

Getting error "Could not start SUMO" while following Veins tutorial

I'm fairly new to Omnet++ and I'm trying to follow the tutorial (https://veins.car2x.org/tutorial/) to set up Veins. I ran into an error at the final Step "Run the Veins demo scenario". Using SUMO 1.2.0 and Veins 4.7.1 I made sure that the Path…
netbug
  • 47
  • 6
0
votes
1 answer

Having problems making a SUMO simulation work for omnet++

Trying to make my sumo simulation work on OMNeT++, but when modifying .launchd.xml i couldn't give permission to running sumo. I'm currently using Ubuntu 18.04.2 LTS, sumo 0.32.0, Veins 4.7.1 and OMNeT++ 5.3. I've searched for means to make a…
0
votes
0 answers

Error in Module LteMacEndRealisticD2D : out_of_range vector

I am simulating D2D scenario within CAR simulation example of simuLTE. I am trying to explore the CAR example under SIMULATION folder by varying the number of vehicles for VoIP D2D network configuration. The default CAR example works for 10 UEs(or…
Aman
  • 25
  • 1
  • 5
0
votes
1 answer

How can I access all vehicle information in Veins 4.7.1?

I would like to access other vehicles' information (roadId, current position, velocity ...) in my Vehicle Application (MyVeinsApp) during the simulation, and without sending any message. From what I know, vehicles can only get their own information…
000102
  • 120
  • 1
  • 8
0
votes
1 answer

Is it possible to apply computation to RSUs in simulation tools such as Omnet and Veins?

I am researching omnet and veins for a project and i am wondering if computation can be applied to nodes such as RSUs? Can they be configured to aggregate data from multiple vehicles for example? If not, is there any advice on how i could achieve…
Young4844
  • 247
  • 1
  • 4
  • 12
0
votes
1 answer

parkingArea.occupancy in Veins

I am using sumo-0.30.0, and veins-4.7.1. I need to get parking occupancy from sumo. How to add parkingArea.occupancy command in veins? Please help me. Thanks.
Baram
  • 19
  • 4
0
votes
1 answer

Allow the RSU to receive a message from vehicles?

In my VANET simulation, I use (Veins 4.7.1, Inet4 and OMNeT++ 5.4.1) , when starting simulation, each vehicle broadcast a hello message, and while receiving the message from the RSU, during the processing of message, i have a problem that "Packet…
khalil
  • 1
  • 2
0
votes
1 answer

How to send parking information to server in veins?

I am using veins-4.7.1 and sumo-0.30.0. In my simulation i applied an algorithm to find the shortest path from vehicle current road to a parking area. Before applying the algorithm, vehicles need to make sure which park has a free space. I defined…
Baram
  • 19
  • 4
0
votes
0 answers

How can I create a a thread with Veins functionalities?

I'm trying to create a new thread in my Veins simulation that can use the Veins::TraCICommandInterface::Vehicle*, however I'm not able to achieve this goal. I use a class EVData that should be able to use the functionality, however it gives an error…
0
votes
1 answer

Getting vehicle current edge ID

I am trying to get vehicle current edge id as follow: mobility = Veins::TraCIMobilityAccess().get(getParentModule()); assert(mobility); traci = mobility->getCommandInterface(); traciVehicle = mobility->getVehicleCommandInterface(); string…
Baram
  • 19
  • 4
0
votes
1 answer

How can I modify veins source code to build my first VANET simulation trigger by a RSU?

In a section of road (I exported a portion of map from osm), I have already placed a RSU and generate some random trips of some vehicles. I would like now simulate the exchanges of messages as described bellow: - the RSU broadcasts periodically a…
0
votes
1 answer

How to use small numbers for junction names in sumo?

I am trying to apply shortest path algorithm to vehicles in veins. In my algorithm i am using junctions and edges from map.net.xml, but sumo gives large numbers to junction and edge names. Is there any option to start numbers in map from 0?
Baram
  • 19
  • 4
0
votes
1 answer

Omnet++:Get list of neighboring junctions

I am new to OMNeT++. I'm using OMNeT++ 5.1.1, SuMO 0.30.0, and veins 4.7.1. i need to apply the Dijkstra algorithm to vehicles for finding the shortest path to the destination. i can get the list of all junctions from the map.net.xml file using…
Baram
  • 19
  • 4
0
votes
0 answers

Model error: No nic with this ID () is registered

I am new to OMNeT++. I'm using OMNeT++ 5.2.1 and SuMO 0.30, and I'm trying to parked vehicles in specific parking zone using TraCI. When the first car go parked in the parking zone at =114s, i get the following error Model error: No nic with this ID…
Baram
  • 19
  • 4