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
2 answers

Error: network 'Scenario' not found

I have installed veins-4.5 and I can run the Erlangen example. However, when I try to run the example in the subprojects/veins_inet folder it gives "Error: Network 'Scenario' not found, check .ini and .ned files" However the Scenario.ned is in the…
osga
  • 56
  • 3
0
votes
3 answers

Create a WSM inherented message

I would like to make a new message type called wsm_info. In this message type, I want to include a vehicle structure, as it follows: struct vehicle{ int vehicle_id; Coord vehicle_pos; float speed; }; In the veins example there is a…
pb772
  • 539
  • 1
  • 3
  • 14
0
votes
2 answers

How to get RSU coordinate from TraCIDem11p.cc?

I was wondering how can I start writing a program able to send message when a vehicle is close to the RSU. First, I still get confused by some definitions, but, little by little, I think I will learn veins. module =…
pb772
  • 539
  • 1
  • 3
  • 14
0
votes
1 answer

Changing veins message

Why this program doesn't work? I just changed the message content. Instead of sending road block id, I want to send a generic message with "MyMessage" string. void TraCIDemoRSU11p::sendMessage(std::string blockedRoadId) { sentMessage = true; …
pb772
  • 539
  • 1
  • 3
  • 14
0
votes
1 answer

How to see message content when simulating in omnet++?

When I exchange messages between the modules I can see information regarding the messages but not their contents. For example, I can see that node[0] sent message to rsu [0], name of the message was data and additional info, such as: "id=25…
pb772
  • 539
  • 1
  • 3
  • 14
0
votes
1 answer

Opening a UDP connection in Veins toward external server

I'm using Veins 4.4 and I need to store some results in an outer server, so I would like to open a UDP connection toward it. I've read several posts about using a TCP connection for the mobility in Veins,and I understood I should resort to the Inet…
moi
  • 13
  • 5
0
votes
1 answer

How to know the leaving time of each car in the simulation?

I use Omnet++-4.6, sumo-0.22.0 and Veins-4a2. In my simulation, I need to know how much time each car takes during the simulation. So, I need to know the time which each car leaves the simulation. How can I do this please?
Fariha
  • 497
  • 1
  • 5
  • 13
0
votes
1 answer

run #0 finished with error in omnet++

I'm running with OMNET 5.0 veins 4.4 and SUMO 0.25.0 ... Everything works fine until the last time when I tried to run my code the simulation window does not appear but its icon exists in the taskbar and the simulation crashes with this error I have…
0
votes
1 answer

VANET simulation

I'm currently learning simulation of vehicular networks using OMNET++, I read about sumo and veins. I added them successfully, I want to simulate a pseudonym changing strategy based on the use of mix-zone at intersections for comparative study…
sosono
  • 13
  • 1
  • 5
0
votes
1 answer

Maximum transmission range with SimpleObstacleShadowing in Veins

I would like to understand which is the maximum transmission range (maximum distance beetween two vehicles exchanging messages) having set the SimpleObstacleShadowing analogue model. So I read this article and I would like to exploit formula (6) to…
moi
  • 13
  • 5
0
votes
0 answers

Information about vehicle speed

I was trying to stop my vehicle through this command in the .rou.xml file: What I've noticed is that the…
moi
  • 13
  • 5
0
votes
1 answer

GettingAltitude (Heading) in Veins simulation

I'm using Veins 4.4 with Omnet 4.6 and Sumo 0.25. I would like to get information about the altitude of the vehicles. I just found the method getLonLat() in TraCICommandInterface class. Is there a method regarding the altitude or some other way…
FMA
  • 33
  • 1
  • 7
0
votes
1 answer

Library support for the ISO c++ 2011 standard in omnet

I am using OMNET 4.4. When OMNET compiles it says that this file requires compiler and library support for the ISO c++ 2011 standard. This support is currently experimental and must be enabled with -std=c++11 or -gnu=c++11 compiler options. Also…
user6126858
0
votes
2 answers

I'm trying to implement GPS data into the waveshortmessage, but i'm having problems implementing omnet2traci function

I'm using omnet5, veins 4.4, and sumo 0.25. I've looked at Converting Veins Coordinates to GPS which didn't help much since i have the updated version. This one…
creepus
  • 23
  • 2
0
votes
2 answers

INET 3.4 cannot open libINET.so

Recently, I downloaded OMNET 5 in Ubuntu 14.04 & automatically downloaded INET 3.4. When I am trying to run any example in INET the follwing error appears: Warning: opp_run: Cannot check library ../../src/INET: ../../src//libINET.so: cannot…
Dalia Adly
  • 53
  • 6