veins

Replace RSU with a node based router in Veins

痞子三分冷 提交于 2020-04-17 22:53:42
问题 I want to replace RSU with a node based router. Any direction or procedure that how can i replace the RSU with a router to perform my test-bed. Thank you very much for your help, really I'm stuck here. Note: I'm doing the project referencing of which project I want to use node based rputer by using omnet++. 回答1: Veins_INET makes it possible to use Veins as a mobility model in INET. If your implementation of a wireless router is based on the network stack of INET, node mobility of moving

Separate data received from various senders in Veins/OMNET++

与世无争的帅哥 提交于 2020-03-03 17:01:15
问题 In my scenario, a receiving vehicle gets BSMs from multiple senders. I need the BSM data recorded separately according to their respective senders. Currently, I am achieving this using a custom logging system. However, since OMNET++ has a sophisticated logging system built-in, Is it possible to achieve what I need using OMNET's built-in tools? 回答1: OMNeT++ vectors log 2-tuples (TV: time+value) or 3-tuples (ETV: event+time+value) for each piece of data. You can use this additional information

Veins: Get Tripinfo and emissions in output

爱⌒轻易说出口 提交于 2020-02-06 03:32:23
问题 I'm using veins 4.6 with omnetpp 5.1.1 and trying to output tripinfo of vehicles using following configurations in .sumocfg file: <input> <net-file value="erlangen.net.xml"/> <route-files value="erlangen.rou.xml"/> <additional-files value="erlangen.poly.xml"/> </input> <time> <begin value="0"/> <end value="300"/> <step-length value="0.1"/> </time> <report> <no-step-log value="true"/> </report> <gui_only> <start value="true"/> </gui_only> <emissions> <device.emissions.probability value="1"/> <

Error while running example of the veins in the last step of the installation

女生的网名这么多〃 提交于 2020-01-20 09:33:22
问题 did the installation of the veins according to the tutorial of the site (http://veins.car2x.org/tutorial/) using the operating system windows 10, but in the last step, when executing the omnetpp.ini of the example of the veins the code compiles but the execution in qtnev gives the following error: Help me please Cannot evaluate parameter ‘headerLength’: (omnetpp::cDoubleParlmpl)headerLength: Cannot cast from type double to integer – in module (Mac1609_4) RSUExampleScenario.rsu[0].nic.mac1609

Error while running example of the veins in the last step of the installation

試著忘記壹切 提交于 2020-01-20 09:32:30
问题 did the installation of the veins according to the tutorial of the site (http://veins.car2x.org/tutorial/) using the operating system windows 10, but in the last step, when executing the omnetpp.ini of the example of the veins the code compiles but the execution in qtnev gives the following error: Help me please Cannot evaluate parameter ‘headerLength’: (omnetpp::cDoubleParlmpl)headerLength: Cannot cast from type double to integer – in module (Mac1609_4) RSUExampleScenario.rsu[0].nic.mac1609

How to use ManetRouter.ned with veins

扶醉桌前 提交于 2020-01-03 05:56:01
问题 I want to use ManetRouter.ned(https://github.com/inet-framework/inet/blob/master/src/inet/node/inet/ManetRouter.ned) in veins. How can i use it? I mean is there a way to use inet 4.0.0 files in veins as veins is compatable with inet 3.6.4 only? Please help. 回答1: Veins master @bfdfc10 is compatible with INET 4.0.0. Note, however, that linking against INET 4.0.0 on Windows appears to be impossible. Issue #379 of the INET framework is tracking this bug. You might have to wait for the next INET

How to use ManetRouter.ned with veins

对着背影说爱祢 提交于 2020-01-03 05:55:05
问题 I want to use ManetRouter.ned(https://github.com/inet-framework/inet/blob/master/src/inet/node/inet/ManetRouter.ned) in veins. How can i use it? I mean is there a way to use inet 4.0.0 files in veins as veins is compatable with inet 3.6.4 only? Please help. 回答1: Veins master @bfdfc10 is compatible with INET 4.0.0. Note, however, that linking against INET 4.0.0 on Windows appears to be impossible. Issue #379 of the INET framework is tracking this bug. You might have to wait for the next INET

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

我只是一个虾纸丫 提交于 2020-01-03 05:46:12
问题 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 following error appears: /veins/modules/application/traci/TraCITestApp.h:78:36: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] I am using windows 10 and I could not find solution to it

About vehicle number in VEINS

邮差的信 提交于 2020-01-01 19:51:36
问题 I modified the erlagen.rou.xml using duarouter to get the random routes for the vehicles. It looks like this: <vehicle id="0" depart="0.00"><route edges="31401017#0 4006688#0 4006688#1 4006688#2 4006688#3 4006688#4 29900561#0 29900561#1 32270595 33174302#0 33174302#1 4686970#0 4686970#1 122161381 30350448 30350449 4047309 30751813 -35842306#1 -35842306#0 -4900741 -4900739#2 -4900739#1"/> </vehicle> <vehicle id="1" depart="1.00"> <route edges="19796637 122161381 30350448 8364476 30350450#0

How to get RSU coordinate from TraCIDem11p.cc?

本小妞迷上赌 提交于 2020-01-01 04:01:06
问题 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 = simulation.getModuleByPath("rsu[0]"); c = MobilityAccess().get(module)->getCurrentPosition(); I found this part of code in this thread: Getting the location of two different modules But still have some questions: 1) Module is what kind of object? I would guess TraCIMobility* 2)