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

How to get sender position at MAC layer

I am working with Veins 4.7.1 to develop a trust model. For that purpose, I need to access the position of the message sender in x and y coordinates at the lower layer. I know, we have a specific field to access sender position in 'WaveShortMessage'…
Farhan
  • 11
  • 2
0
votes
0 answers

How to send UDP packet in a wireless network from multi-host simultaneously in INET/Veins_inet

Greeting all, I am trying to edit Veins_inet (square example)to the following scenario: node#1,2 send UDP packet to node#0 at time 15s and stop sending at 18s. but when I do that the UDP packet not sent simultaneously! How can I make the two node…
Alia
  • 71
  • 9
0
votes
1 answer

Veins simulation terminates calling openssl ECDSA_SIG_get0 function

I am using the virtual machine instant-veins-4-7-1-i1 on VirtualBox with Omnet++-5.3 and Sumo-0.32.0. I have installed the library openssl version 1.1.0. When I try to access to the struct ECDSA_SIG that store the signature with the function…
Ricla
  • 105
  • 1
  • 9
0
votes
0 answers

how to use prepareWSM and sendWsm

I use OMNeT++-5.3 and Veins-4.7.1. this is how I implement my code to send a message in counter mode (I do the same with flooding) void Counter::sendMessage(std::string blockedRoadId) { t_channel channel = dataOnSch ? type_SCH : type_CCH; …
0
votes
1 answer

OMNeT++/Veins problem using cSimpleModule

I'm implementing vanet with OMNeT++ 5.3 and Veins 4.7.1 but I'm experiencing errors that I can't solve. The code: public: SienaStatisticsAccess() { } SienaStatistics* getIfExists() { //Finds a module by its path. return…
0
votes
1 answer

Change specific Traffic Light in Veins/Omnet++/Sumo

I have a doubt that I have yet to find an answer. I need to change a traffic light's, of which I have an id, colour. However, I need to change only a specific part of the traffic light, for example, in an intersection I need to change to green the…
0
votes
1 answer

How to select a proper analogue model in Veins?

Veins supports several analogue models for the wireless channel to address the large-scale, medium-scale and short-scale fading. If I would like to try different models to compare them, which models should I set in the config.xml? For example, can…
Cong Chen
  • 51
  • 2
0
votes
1 answer

Problem with the exemple of veins-lte omnet++ in a runtime

I am using Ubuntu 16.04, sumo 0.21, omnet 4.6 and veins-lte 1.2. When I run the heterogenous exemple in veins, I have the following error: Error in module (LteMacUe) scenario.node[1].nic.mac (id=104) at event #2381, t=0.609: H-ARQ TX: fb is not…
Amelie
  • 15
  • 4
0
votes
1 answer

How to send binary data in Veins

I have a structure struct info{ int id; int color; double speed; } How do I send it using senddown? I am currently using formatted string to send the struct char buff[100]; info inf = {1,1,1.4} snprintf(buff , sizeof(buff), "%d,%d%f" ,inf.id,…
Vishal
  • 145
  • 7
0
votes
1 answer

how to fix "Error refreshing Makefiles" error in veins?

I was using an old version of veins in my work (version 4.5) with omnet++ version 5 and SUMO 0.29.0. It was working without problems. now I want to upgrade to a newer version of veins. I tried both 4.7 and 4.7.1 with the same versions of SUMO and…
Rehab11
  • 483
  • 2
  • 7
  • 16
0
votes
1 answer

Simulation terminated with exit code: 139

I am using OMNeT++ 4.6, SUMO-0.21.0 and Veins-4a2 on Ubuntu-16.0.4. I was able to run this simulation on Windows 10 perfectly. Now, I am trying to run this simulation on Ubuntu, but I am getting an error. The console output is: ... Assigned…
Ricky
  • 13
  • 1
  • 5
0
votes
2 answers

How to park a car in the simulation of vehicular network using omnet++?

in my simulation, I need to park a car in the parking, and when the car is out of the parking, it transfers their information to the rest of the cars inside the parking.Therefore, when the vehicle is parked in the parking ,its communication with the…
rakhsha
  • 99
  • 7
0
votes
1 answer

OMNet++-How to set up the connection between RSU node and Vehicle nodes

I've read through the tictoc example code,and currently trying to manipulate the connection between RSU node and vehicle node using the example code in Veins,which is RSUExampleScenario. After checking the only NED file of this example,there's only…
lu555
  • 43
  • 1
  • 7
0
votes
1 answer

Veins Add Polygon to SUMO GUI

I am simulating a scenario where I want to add and/or delete polygon dynamically. However, when I tried to add a polygon, the system generates me below error; ASSERT: Condition 'result == RTYPE_OK' does not hold in function 'query' at…
kingspeech
  • 1,776
  • 2
  • 14
  • 24
0
votes
0 answers

How to calculate additional statistics in a multihop broadcast protocol (flooding) in OMNeT++, Veins, INET and SUMO?

I am simulating a multihop broadcast protocol based on flooding using OMNeT++-4.6, Veins-4a2, SUMO-0.21.0 and Inet-3.3.0. I am collecting statistics for different parameters, as depicted in image below.Statistics collected for node[41] However, I…
Ricky
  • 13
  • 1
  • 5