Git Product home page Git Product logo

docs.omnetpp.org's Introduction

About OMNeT++ Documentation and Tutorials

This repository contains a GitHub Pages based web site that contains tutorials for OMNeT++. The site is made available online at https://docs.omnetpp.org.

Web pages in the repo are in Markdown format (.md). One way to view them in the browser is to install a Markdown plugin into the browser; there are such plugins both for Chrome and for Firefox. Another way is to run the Jekyll-based GitHub Pages infrastructure on your local system, and connect to it from your browser -- this is the recommended way if you'd like to contribute.

To install a local GitHub Pages development environment:

First, make sure you have a working Docker environment. If you are on Ubuntu, DO NOT INSTALL Docker from the default repository, as it is out of date. Rather, follow the instructions on docker.com, https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/

Then, add yourself into the docker group. That will allow you to run docker commands without sudo. (Replace YOU with your login name.) Note that you may need to log out and log in again for the changes to take effect.

$ sudo usermod -a -G docker YOU

Then, pull the preconfigured GitHub Pages docker image:

$ docker pull madduci/docker-github-pages

Then run the jekyll server with the following command:

$ ./start_local_server

Open your browser on http://localhost:4000/

In case of problems, contact us.

-- Andras Varga

docs.omnetpp.org's People

Contributors

adamgeorge309 avatar avarga avatar bdvd avatar enough7 avatar jdede avatar mhchia avatar rhornig avatar sippal avatar torokati44 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs.omnetpp.org's Issues

Error in Part 7 of tictoc tutorial

Part 7 of tictoc tutorial creates a parametrized network with a given number of central nodes.
In the .ned file, there is an error in the connections.
It is currently written:

        for i=2..numCentralNodes+1 {
            tic[i].gate++ <--> Channel <--> tic[i+1].gate++;
        }

The for-loop should stop at numCentralNodes instead of numCentralNodes+1.
The connection created for i = num+1 is not part of the central path,
and is already created in the next lines:

        // connect the 2 nodes on the other side to the central nodes
        tic[numCentralNodes+2].gate++ <--> Channel <--> tic[numCentralNodes+1].gate++;
        tic[numCentralNodes+3].gate++ <--> Channel <--> tic[numCentralNodes+1].gate++;

With current code, the node tic[numCentralNodes+1] is connected twice with tic[numCentralNodes+2].
For example, see attached screenshot with numCentralNodes=2, node 3 is connected twice to node 4.
If you want me to make a PR or if you need more info, let me know.

ScreenshotWithNum=2

Iso line is a confusing term

to form iso lines. Packet generation frequency and the number of hosts are
and
be connected with iso lines.

Personally I had never heard of it and had to look it up. "Series" would be a much better term (as used in ms excel) in the first instance and just saying connected is enough in the second.

If it is used although I think "contour line" would be more easily understood, it should definitely be without the space given google ngram usage.

This is also the case for the omnet6 configure chart window which uses the term iso line without explanation.

Broken links

I have noticed a few broken links in the tutorials:

[Wrong design output of ned file] Tutorials->Turn it Into a Real Network->tictoc10.ned

First of all, I'd like to thank the contributors of this document. Because of this document, I can quickly start Omnetpp. Here is my running environment. I hope it can help you solve my problem.

  • OperationSystem: Windows 10
  • Omnetpp: 6.0.1 (MD5: 85015db4715e8ca4c4d7deb72c133edc)

During my study, I encountered a problem: when I used the following code to construct a network, I could not achieve the expected effect shown in the tutorial.

// file: tictoc10.ned

simple Txc10 
{ 
  parameters: 
  @display("i=block/routing"); 
  gates: 
    input in[]; // declare in[] and out[] to be vector gates 
    output out[]; 
} 

network Tictoc10 
 { 

  submodules: 
    tic[6]: Txc10; 

  connections: 
    tic[0].out++ --> { delay = 100ms; } --> tic[1].in++; 
    tic[0].in++ <-- { delay = 100ms; } <-- tic[1].out++; 

    tic[1].out++ --> { delay = 100ms; } --> tic[2].in++; 
    tic[1].in++ <-- { delay = 100ms; } <-- tic[2].out++; 

    tic[1].out++ --> { delay = 100ms; } --> tic[4].in++; 
    tic[1].in++ <-- { delay = 100ms; } <-- tic[4].out++; 

    tic[3].out++ --> { delay = 100ms; } --> tic[4].in++; 
    tic[3].in++ <-- { delay = 100ms; } <-- tic[4].out++; 

    tic[4].out++ --> { delay = 100ms; } --> tic[5].in++; 
    tic[4].in++ <-- { delay = 100ms; } <-- tic[5].out++; 
 } 

The following is the network structure built on my computer.
image

I don't know why I can't parse the module of array type, so I need some help, thank you.

Tutorial tictoc-15 outdated: cLongHistogram and setRangeAutoUpper not available in OMNeT++ 6.0.1

Platform

  • OMNeT++ version: 6.0.1
  • OS: Linux Mint 20.2 MATE 64 bit

Describe the bug

API has changed

(-)     Remove cHistogram deprecated methods: setRangeAuto(), setRangeAutoLower(),
        setRangeAutoUpper(), setNumCells(), setCellSize(). Replacements:
        setNumPrecollectedValues()+setRangeExtensionFactor()+setRange(),
        setNumBins(), setBinSize().

(-)     Removed obsolete histogram classes: cVarHistogram, cLegacyHistogram,
        cLongHistogram, cDoubleHistogram. Use cHistogram with the appropriate
        histogram strategy instead.

but cLongHistogram and setRangeAutoUpper are stilled used in tictoc-15 in the tutorial.

To Reproduce
Copy related files from https://docs.omnetpp.org/tutorials/tictoc/part5/#52-adding-statistics-collection (tictoc-15) to and click "run":

txc15.cc:32:5: error: unknown type name 'cLongHistogram'; did you mean 'cHistogram'?

After changing cLongHistogram to cHistogram:

txc15.cc:56:19: error: no member named 'setRangeAutoUpper' in 'omnetpp::cHistogram'

Broken snippet include in TicToc tutorial

I'm not sure why, but this include doesn't appear to be working in the Tic Toc tutorial launched from the OMNeT++ IDE in the Instant Veins (version 4.7.1-i1) virtual appliance:

<pre class="snippet" src="../code/tictoc1.ned" from="simple Txc1" upto="toc\.out;\n}"></pre>

It looks like this:

VirtualBox_instant-veins-4 7 1-i1_06_04_2019_13_52_56

Edit: the code itself is present, so I'm not sure why it isn't rendering:

simple Txc1
{
gates:
input in;
output out;
}
//
// Two instances (tic and toc) of Txc1 connected both ways.
// Tic and toc will pass messages to one another.
//
network Tictoc1
{
submodules:
tic: Txc1;
toc: Txc1;
connections:
tic.out --> { delay = 100ms; } --> toc.in;
tic.in <-- { delay = 100ms; } <-- toc.out;
}

Running INET Simulation Campaigns on AWS - Tutorial Discussion

Please enter feedback about the "Running INET Simulation Campaigns on AWS" tutorial here. We'd love to hear if you were able to use it successfully, and also if you had any problems with it. Even if you were interested, but something made you not want to try it out, or you were not able for some reason.

Since it is highly experimental, we are especially looking for suggestions for improvement, on both the technical implementation (what failed, how the failure could have been avoided, and so on), and the wording side (not clear enough instructions, spelling mistakes, etc.).

Pull requests are welcome!

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.