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

Statistics collection related values do not increase in OMNeT++

In order to measure the packet transmission/reception count, I declared a scalar variable and wrote a function related to record. It looks like this: A.h class VEINS_API A : public DemoBaseApplLayer { private: long…
Minwoo Kim
  • 497
  • 1
  • 5
  • 21
0
votes
1 answer

Wireless channel implementation in VEINS

Where the channel is implemented in VEINS? (file names etc) What is the type of the channel that is implemented in VEINS? Are all the channel parameters accessible? Thanks in advance. Best regards,
Mateen
  • 21
  • 2
0
votes
1 answer

Error while converting a VeinsInetCar to an RSU

I tried to use the VeinsInetCar module as an rsu by changing the mobility to stationary mobility # VeinsInetMobility *.node[*].mobility.typename = "VeinsInetMobility" *.wifirsu.mobility.typename = "StationaryMobility" I used the…
0
votes
1 answer

How to change the behavior of nodes (cars), rsu in Omnet++ Veins project

I have setup my environment using omnet++, sumo and veins in ubuntu. I want to reduce packet loss in an emergency situation among vehicles and improve packet delivery time and cost. My project is about choosing the suitable processing position among…
0
votes
1 answer

Packet has bit Errors. Lost. Packet was not received correctly, sending it as control message to upper layer

After configuring the simulation environment in Veins 5.0, different nodes send and receive messages at the same time. However, the following log is output only for specific messages. Packet has bit Errors. Lost Packet was not received correctly,…
Minwoo Kim
  • 497
  • 1
  • 5
  • 21
0
votes
3 answers

How to downgrade version of sumo

I am using instant veins with version 1.8.0 for Sumo. However, I want to use a veins project that was last tested on 0.30 version and I can't run the simulation without that version. How can I downgrade to that version of sumo? More precisely, I am…
Yurroffian
  • 61
  • 2
  • 6
0
votes
1 answer

Unsupported TraCI API version, recommend using Sumo version 1.0.1 or 0.32.0

I'd like to use OMNeT++ along with Veins 5.1, Sumo 1.8 in Ubuntu 20.04 and I keep getting an error involving the setApiVersion that recommends to use Sumo 0.32 or Sumo 1.0.1. Is there any way to overcome that and use a later version of Sumo? void…
Christina
  • 70
  • 7
0
votes
1 answer

Block communication between vehicles and RSU

Is there any way to block the communication between a certain vehicle and the RSU while the vehicle is in range that allows the communication between them? I'm using Veins 5.1 and OMNeT++ 5.6.2 in Ubuntu 20.04.
Christina
  • 70
  • 7
0
votes
1 answer

Run OMNeT++ simulation from terminal using Qtenv

I'm using Veins (v5.1) along with SUMO (v0.32) and OMNeT++ (v5.6.2) in Linux Ubuntu 20.04 and I'm trying to run the Qtenv from the terminal with the opp_run command. When the simulation window opens I still need to click run (F5) in order to start…
Christina
  • 70
  • 7
0
votes
1 answer

The MAC address value isn't recognized by other node messages

I'm using Veins 5.0. Here is the code I've written: NodeMsg.msg cplusplus{{ #import "veins/base/utils/Coord.h" #import "veins/modules/utility/Consts80211p.h" #include "veins/modules/messages/BaseFrame1609_4_m.h" #include…
Minwoo Kim
  • 497
  • 1
  • 5
  • 21
0
votes
0 answers

How to get RSSI value from Veins framework?

I came across some code to get RSSI from this article on stackoverflow. However, only some code is presented, so I wrote the code as follows to check the result. However, it is questionable whether or not this has normally obtained…
Minwoo Kim
  • 497
  • 1
  • 5
  • 21
0
votes
1 answer

how to calculate RSSI in Veins

How to calculate the RSSI value in Veins, the calculation method and theoretical formula look different, find the codes as follows, but did not understand, looking forward to help. double recvPower_dBm = 10 * log10(s.getAtCenterFrequency());
Axida
  • 5
  • 1
0
votes
1 answer

In Oment veins, how to get speed of a vehicle by providing vehicle ID which is not transmitting or receiving any message?

I want to to get vehicle speed by defining a function like getSpeedById(Std::string vid) which will give me the current speed of that vehicle. it doesnot matter the vehicle is receiving/transmitting any message. I am using TraciDemo11p example…
Md Abu Sayed
  • 37
  • 1
  • 4
0
votes
1 answer

How can I perform unicast communication in Veins?

While looking for various information on Stackoverflow, I read that Veins 5.x and above support Unicast communication. I understood that unicast communication is possible through populateWSM(). However, I don't understand which LAddress::L2Type…
Minwoo Kim
  • 497
  • 1
  • 5
  • 21
0
votes
1 answer

Obstacle files (poly.xml) and IEEE802.11p when using veins_inet

I am working on a project using inet 3.6.6 veins 5 with veins_inet3 I need to set a scenario using .poly.xml files generated in SUMO to model the obstacles in a city. I also need to use the IEEE 802.11p protocol available in veins. I'm facing two…