veins

Sent acks are received by multiple nodes in Veins-4a2 using prepareWSM method

蓝咒 提交于 2019-12-08 05:01:00
问题 I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. In my scenario, when an RSU receives a message from a node, it sends an ACK using the prepareWSM method: sendWSM(prepareWSM("ack", ackLengthBits, type_SCH, ackPriority, senderId , 2)) So, the RSU sends an ACK to senderID which is the sender node of the message. In my log file, I notice that there are some nodes - not only the original sender node - which receive this ACK. I need to know if prepareWSM method diffuse the ACK to all nodes encountered

Sending a message when a vehicle leaves the simulation

半世苍凉 提交于 2019-12-08 03:52:56
问题 I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. In my simulation, each node creates a message, stores it in its buffer and after some delay it sends all its messages. I did two timers to specify the delay of created and sent messages. So, the message sent may be receive by an other node or by the destination which is the RSU. My simulation ends when all nodes reach their destination according to the indicating path in .rou.xml file. Every node leaves the simulation at a specific time. The goal

How does veins calculate RSSI in a Simple Path Loss Model?

╄→尐↘猪︶ㄣ 提交于 2019-12-08 02:15:31
问题 We are working on an application based on Veins framework which needs RSSI value of received signal and the distance between sender and receiver. We referred to the VeReMi project which also calculates RSSI value and sends it to upper level. We compared our simulation result (RSSI vs Distance) with the VeReMi dataset and they look quite different. Can you help us to explain how RSSI is calculated and whether our result is normal? In our application, we obtain the distance and rssi value by

Sent acks are received by multiple nodes in Veins-4a2 using prepareWSM method

≡放荡痞女 提交于 2019-12-06 16:29:29
I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. In my scenario, when an RSU receives a message from a node, it sends an ACK using the prepareWSM method: sendWSM(prepareWSM("ack", ackLengthBits, type_SCH, ackPriority, senderId , 2)) So, the RSU sends an ACK to senderID which is the sender node of the message. In my log file, I notice that there are some nodes - not only the original sender node - which receive this ACK. I need to know if prepareWSM method diffuse the ACK to all nodes encountered or if what I did to send only the ACK to the sender node is correct? Although you can set the receiver

How does veins calculate RSSI in a Simple Path Loss Model?

核能气质少年 提交于 2019-12-06 06:04:21
We are working on an application based on Veins framework which needs RSSI value of received signal and the distance between sender and receiver. We referred to the VeReMi project which also calculates RSSI value and sends it to upper level. We compared our simulation result (RSSI vs Distance) with the VeReMi dataset and they look quite different. Can you help us to explain how RSSI is calculated and whether our result is normal? In our application, we obtain the distance and rssi value by auto distance = sender.getPosition().distance(receiverPos); auto senderRSSI = sender.getRssi(); In the

How can I get a traffic light that exists in sumo and change its phase in veins?

…衆ロ難τιáo~ 提交于 2019-12-05 08:16:16
问题 In sumo, my simulation has a traffic light called 539320442 . I want that a RSU (that exists in veins) changes this traffic light's phase. So I created a Trafficlight variable in the TraCIDemoRSU11p.h as it follows: TraCICommandInterface::Trafficlight* RSU_traffic_light; Now I would like to get this traffic light that has id: 539320442 and change its phase by using: void TraCICommandInterface::Traffic_light::setPhase(string, integer) The problem is that in the TraCIDemoRSU11p.cc I couldn't

Dynamical transmission range in the ieee802.11p module

旧城冷巷雨未停 提交于 2019-12-04 21:13:45
I'm a MRs student , i use sumo 0.25.0 and veins 4.4 within omnet++ 5.0 .I'm working in the IEEE0802.11p module. Including my proposition i will use a formula that change the transmission range calculator into dynamical calculator which communicate with the simulation to get information from it like (mean speed, average distance from front-bumper to front-bumper between vehicles ...). here is the transmission range formula that I will use and the Article containing the formula my question is where can i find the transmission range calculator and where can I put my code in the application layer

How can I get a traffic light that exists in sumo and change its phase in veins?

我的梦境 提交于 2019-12-03 21:59:53
In sumo, my simulation has a traffic light called 539320442 . I want that a RSU (that exists in veins) changes this traffic light's phase. So I created a Trafficlight variable in the TraCIDemoRSU11p.h as it follows: TraCICommandInterface::Trafficlight* RSU_traffic_light; Now I would like to get this traffic light that has id: 539320442 and change its phase by using: void TraCICommandInterface::Traffic_light::setPhase(string, integer) The problem is that in the TraCIDemoRSU11p.cc I couldn't get the traffic light and save it in: RSU_traffic_light; So I was wondering how can I get this traffic

Using a subset of a SUMO scenario for OMNeT++ network simulation (with VEINS)

守給你的承諾、 提交于 2019-12-03 08:34:11
I'm trying to evaluate an application that runs on a vehicular network using OMNeT++, Veins and SUMO. Because the application relies on realistic traffic behavior, so I decided to use the LuST Scenario , which seems to be the state of the art for such data. However, I'd like to use specific parts of this scenario instead of the entire scenario (e.g., a high and a low traffic load fragment, perhaps others). It'd be nice to keep the bidirectional functionality that VEINS offers, although I'm mostly interested in getting traffic data from SUMO into my simulation. One obvious way to implement this

omnet++/veins : connecting inet and veins : TraCIMobility error in TraCIScenarioManagerLaunchd

久未见 提交于 2019-12-02 19:40:56
问题 I'm trying to connect inet 3.4.0 and veins 4.4 to get Tcp/Ip support. I've followed those instructions ( Veins - INET compatibility ) and even more, but I have this error while trying to run a simulation : I'm not sure to understand the TraCIMobility function. <!> Error in module (Veins::TraCIScenarioManagerLaunchd) simple_junction_noTls_ipv4.manager (id=6) at event #23, t=0.2: ASSERT: condition lastUpdate != simTime() false in function changePosition, veins/modules/mobility/traci