veins

RSU placement in veins/SUMO

孤者浪人 提交于 2019-12-30 07:32:10
问题 If I know the coordinates at which RSUs will be placed in SUMO, How do I convert it to coordinates of omnet++? I know that SUMO has a different coordinate system than omnet. Should I convert it offline (before starting simulation) using the equations used in the internal function "traci2omnet"? I tried this but seems inaccurate. I tried also to create a junction at the position of the RSU in sumo, retrieve the location of this junction in omnet then place the RSU at the same coordinates. But

RSU placement in veins/SUMO

风格不统一 提交于 2019-12-30 07:31:46
问题 If I know the coordinates at which RSUs will be placed in SUMO, How do I convert it to coordinates of omnet++? I know that SUMO has a different coordinate system than omnet. Should I convert it offline (before starting simulation) using the equations used in the internal function "traci2omnet"? I tried this but seems inaccurate. I tried also to create a junction at the position of the RSU in sumo, retrieve the location of this junction in omnet then place the RSU at the same coordinates. But

How to obtain a graph with the SNR average in Veins

主宰稳场 提交于 2019-12-25 08:35:34
问题 I want to plot a graph with the SNR average in Veins. Is this possible? If so, how could I do it? Thanks in advance. 回答1: Have you thought about recording a vector of the SINR values calculated during frame reception? If you make this an OMNeT++ Signal you could, at the same time, record both the individual samples and the average. 来源: https://stackoverflow.com/questions/39063470/how-to-obtain-a-graph-with-the-snr-average-in-veins

Changing Traffic Light Colour ERROR in Omnet++/Veins, SUMO

混江龙づ霸主 提交于 2019-12-24 15:49:40
问题 I've tried using the solution presented in the following question (How can I get a traffic light that exists in sumo and change its phase in veins?), however, the following error appears about the command "myProgramGreenRed" not existing for tl "n7", when I try to change the program The traffic lights ids are n7, n8, and n9 and the piece of code that gives me trouble is : tl.setProgram("myProgramGreenRed"); tl.setPhaseIndex(1); and the tls.tls.xml file looks like the following <tls> <tlLogic

Which file to extend for customized messages in veins? What is the purpose of AirFrame11p.msg?

大城市里の小女人 提交于 2019-12-24 14:43:00
问题 I'm new to SUMO, Veins, OMNET++ and simulations with a bit background of networks. I have successfully setup environment and run veins 4.6 demo application. On google found that unlike RSU, Car modules are added on the fly. In demo example car nodes send Airframe11p message, i'm not getting where this message is being populated because in TraCIDemo11p.cc methods (onWSA, onWSM, handleSelfMsg, handlePositionUpdate) we are dealing with WSM message types and BaseWaveApplLayer::checkAndTrackPacket

omnet++ veins - asking about the value of RecievedBeacon and sentpacket

核能气质少年 提交于 2019-12-24 06:08:18
问题 I am working with Omnet++, veins. I use the code that exist here: Flooding.ned also flooding.cc exist in same link. I am working with flooding application, and I assigned sentbeacon true, and sent Data to false, to compute the probability of beacon delivery. all statistical are recorded in the mentioned project. for flooding.cc I changed onBeacon function to record the recievedbeacon void Flooding::onBeacon(WaveShortMessage *wsm) { // not used for this algorithm // statistics recording emit

Is it possible to use RInside in omnet++/Veins project to benefit from rich R features

人走茶凉 提交于 2019-12-23 22:37:36
问题 I was learning R and came through this package called RInside which provides c++ classes to call an embedded R interpreter. I am able to run some examples given after configuring as per this blogpost and using provided makefile in Omnet++ eclipse IDE. How can we integrate this with say veins (veins already have auto generated makefiles in top directory and src directory)? Rinside needs GCC toolchain which i think is default in OMNeT++. From what I've learned so far, these are the options:

Veins - INET compatibility

北城以北 提交于 2019-12-23 05:39:27
问题 I’m currently searching for 802.11p simulation feasability and I would like to test IPv6 as well, apart from the WAVE/IEE 802.11p. The INET would be the solution but I’m doubting about the compatibility with the Veins 4 alpha 2 (latest version). What I know is that Veins 3.X was based on MiXiM, but at the same time INET and MiXiM can be compatible and installed together in OmNET, combining them or even with MixNET. I would really like to know if somebody has achieved them work al together

Calculate direction of a vehicle (Veins/Omnet++/Sumo)

可紊 提交于 2019-12-22 00:04:22
问题 Is it possible to calculate(get) direction of vehicle in Veins(via TraCIMobility)? I want to know if two vehicles are traveling in opposing directions or not. I think I can do that via getAngleRad() method (if they are moving in the same direction they fall in the same quadrant and if moving opposite they are in opposite quadrants), but I am not sure if its correct. (Sub-Question: Also, what are the exact values that getAngleRad() would return for each quadrant?) 回答1: You are correct:

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

对着背影说爱祢 提交于 2019-12-21 02:46:09
问题 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