GithubHelp home page GithubHelp logo

joahannes / veins_hetvnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from veins/veins_hetvnet

1.0 0.0 0.0 79 KB

Sample combination of Veins, INET, and SimuLTE

License: GNU General Public License v2.0

Shell 13.68% C++ 34.61% Python 29.37% C 7.91% Makefile 14.43%

veins_hetvnet's Introduction

veins_hetvnet

Sample combination of Veins, INET, and SimuLTE.

Integrates code from the SimuLTE cars simulation as well as AlertSender and AlertReceiver code into a simulation that sends packets via both WLAN and LTE.

Supported program versions

Supported platforms

  • Debian 9

Setup

To quickly set things up, download "Instant Veins 5.0-alpha2-i1 with SimuLTE". Or, follow below instructions.

First, make sure that you are using compatible program versions (see above) on a compatible platform (see above). Store the above-mentioned software in the following paths:

  • ~/src/veins
  • ~/src/omnetpp
  • ~/src/inet
  • ~/src/simulte
  • ~/src/veins_hetvnet (this software)

Import all projects into the OMNeT++ IDE, making sure to also import the veins_inet3 subproject stored in the subprojects/veins_inet3 subfolder of the veins project. Enable the SimuLTE_Cars feature of the SimuLTE OMNeT++ project.

Build all projects in both debug and release mode.

Running

Try out veins_hetvnet by running the example in examples/veins_hetvnet/omnetpp.ini.

If you built the project on the command line (by running ./configure followed by make) you can also run it as follows:

cd examples/veins_hetvnet
./run -d -u Cmdenv | grep "HetVNetDemoApp::handleMessage"

You should see the following output:

...
[TRACE] General:0 Highway.car[2].udpApp[0] HetVNetDemoApp::handleMessage - Packet received from WLAN interface: SeqNo[255] Delay[0.0001300217]
[TRACE] General:0 Highway.car[1].udpApp[0] HetVNetDemoApp::handleMessage - Packet received from WLAN interface: SeqNo[255] Delay[0.000130872022]
[TRACE] General:0 Highway.car[2].udpApp[0] HetVNetDemoApp::handleMessage - Packet received from LTE! interface: SeqNo[255] Delay[0.014]
...

That's it!

License

Veins is composed of many parts. See the version control log for a full list of contributors and modifications. Each part is protected by its own, individual copyright(s), but can be redistributed and/or modified under an open source license. License terms are available at the top of each file. Parts that do not explicitly include license text shall be assumed to be governed by the "GNU General Public License" as published by the Free Software Foundation -- either version 2 of the License, or (at your option) any later version (SPDX-License-Identifier: GPL-2.0-or-later). Parts that are not source code and do not include license text shall be assumed to allow the Creative Commons "Attribution-ShareAlike 4.0 International License" as an additional option (SPDX-License-Identifier: GPL-2.0-or-later OR CC-BY-SA-4.0). Full license texts are available with the source distribution.

veins_hetvnet's People

Contributors

sommer avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.