Tag Archive: omnet++

Unfortunately the package on the OMNet++ site you download for Windows (currently, omnetpp_0.2-1.zip) is compiled for an older version of R (2.11.1). In order to get this to load in a newer version of R you will need to recompile the package. Here are some directions in helping you get the omnetpp package for R working on Windows. Tools Needed: OMNet++ R Package Repository: https://github.com/omnetpp/omnetpp-resultfiles OMNet++ R Package Download: https://github.com/omnetpp/omnetpp-resultfiles/downloads R Compiler Environment for Windows: http://cran.r-project.org/bin/windows/Rtools/ Installation Directions: Download and install the latest “Rtools” compiler environment for R. (Update your Windows PATH variables to include the Rtools bin directories and the R bin…Read more

I am currently updating INET and VEINS to their current versions in my VANETSim project. INET updated to Commit b32e1dcf3239a44c23a9920fdc2d877f96a01c83 VEINS updated to Commit fb5c0dbef5c6909722c374a247e98b4eaf15a633 As this will be a major change to the master when completed I created a new branch named oldinet. Please be prepared for any development you make off of the master currently to look at changes in oldinet if there is a bug etc. Again this is a working project. It is directly related to my dissertation and research, I do not guarantee this to be working all the time as it is a resource…Read more

To make road simulations more accurate you may want to set speed limits for your simulations. In order to set the speed limit for roads you can edit the values in you edge file, in the example below the speed is set to 14m/s which is 50km/h. Example in Edge File

XHTML

1

2

3

4

<edges>

<edge id="e1"from="1"to="2"priority="2"numLanes="2"speed="14.0"/>

<edge id="e2"from="2"to="3"priority="2"numLanes="2"speed="14.0"/>

</edges>

In the routing example below the max speed is set to 70 m/s which is 252 km/hr. Example in Route File