Skip to main content

BonnMotion: A MOBILITY SCENARIO GENERATION AND ANALYSIS TOOL

 BonnMotion is a Java software which creates and analyzes mobility scenarios and is most commonly used as a tool for the investigation of mobile ad hoc network characteristics. The scenarios can also be exported for several network simulators, such as ns-2, ns-3, GloMoSim/QualNet, COOJA, MiXiM, and ONE. BonnMotion is being jointly developed by the Communication Systems group at the University of Bonn, Germany, the Toilers group at the Colorado School of Mines, Golden, CO, USA, and the Distributed Systems group at the University of Osnabrück, Germany. Several mobility models are supported, namely

  • the Random Waypoint model,
  • the Random Walk model,
  • the Gauss-Markov model,
  • the Manhattan Grid model,
  • the Reference Point Group Mobility model,
  • the Disaster Area model,
  • the Random Street model,
  • and more.

Download

Download BonnMotion v2.1a (2013-09-08)
Download SMOOTH bugfix for v2.1 (2013-09-08)
Download BonnMotion v2.1 (2013-07-08)
Download BonnMotion v2.0 (2011-11-07)
Download BonnMotion v1.5a (2011-03-03)
Download BonnMotion RPGM Bugfix (2011-03-03)
Download BonnMotion v1.5 (2010-12-23)
Download WiseML patch for v1.4 (2010-07-05).
Download BonnMotion v1.4 (2009-10-28).
Download BonnMotion v1.3a (2009-03-11).

Installing BonnMotion

 Just run the "install" script from the BonnMotion directory (since BonnMotion v2.0, "compile" is run automatically at the end of the install script).
On Linux:

  1. BonnMotion requires a Java Runtime Engine (JRE) and a Java Development Kit (JDK).Open the terminal and type

    sudo apt-get install openjdk-7-jre openjdk-7-jdk 


  1. Unzip BonnMotion archive: unzip bonnmotion-2.0.zip
  2. Change directory to BonnMotion directory:such as /usr/local/src unzip bonnmotion-2.0.zip

    cd bonnmotion-2.0/
  3. Run install script:

    ./install
    You will be queried as follows: Please enter your Java binary path [/usr/bin]:

    simply hit return.
  4. Run BonnMotion from "bin" folder: cd bin && ./bm

    You may next see the following: 
 Creating scripts ... bm ... compile ... makedoc ... done.
 Starting compilation ...
 Compiling EdgeList.java ... done.
 Compiling Model.java ... done.
 Compiling CatastropheNode.java ... done.
 Compiling Nomadic.java ... done.
 Compiling RandomWaypoint.java ... done.
 Compiling ChainScenario.java ... done.
 Compiling RandomDirection.java ... done.
 Compiling ClusterMember.java ... done.
 Compiling Cluster.java ... done.
 Compiling SLAWBase.java ... done.
 Compiling RPGM.java ... done.
 Compiling Pursue.java ... done.
 Compiling RandomWaypoint3D.java ... done.
 Compiling Column.java ... done.
 Compiling SLAW.java ... done.
 Compiling ProbRandomWalk.java ... done.
 Compiling Static.java ... done.
 Compiling RandomWalk.java ... done.
 Compiling RandomStreet.java ... done.
 Compiling SteadyStateRandomWaypoint.java ... done.
 Compiling GaussMarkov.java ... done.
 Compiling TIMM.java ... done.
 Compiling OriginalGaussMarkov.java ... done.
 Compiling StaticDrift.java ... done.
 Compiling ManhattanGrid.java ... done.
 Compiling Visplot.java ... done.
 Compiling WiseML.java ... done.
 Compiling GPXImport.java ... done.
 Compiling Cut.java ... done.
 Compiling TheONEFile.java ... done.
 Compiling SPPXml.java ... done.
 Compiling ScenarioConverter.java ... done.
 Compiling LinkDump.java ... done.
 Compiling LongestLink.java ... done.
 Compiling IntervalFormat.java ... done.
 Compiling Dwelltime.java ... done.
 Compiling GlomoFile.java ... done.
 Compiling NSFile.java ... done.
 Compiling Statistics.java ... done.
 Compiling SampleSet.java ... done.
 Compiling Function.java ... done.
 Compiling GeometricMeanCalculator.java ... done.
 done.
 $ ./bin/bm -h
 Exception in thread "main" java.lang.UnsupportedClassVersionError: edu/bonn/cs/iv/bonnmotion/run/BM : Unsupported major.minor version 51.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 Could not find the main class: edu.bonn.cs.iv.bonnmotion.run.BM. Program will exit.

There are two errors above:
  1. The "Unsupported major.minor version 51.0" error is due to using a different version JRE than JDK. You probably installed openjdk-7-jdk but note that it also installs openjdk-6-jre and sets version 6 to the default. You can change this by running 'sudo update-alternatives --config java' and selecting '/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java' which matches your compilation environment.
  2. your system could not find the classes provided by BonnMotion; this is a problem with the Java CLASSPATH.

Comments

Popular posts from this blog

Link State Routing Protocol

Link state routing is a method in which each router shares its neighborhood’s knowledge with every other router on the internetwork. In this algorithm, each router in the network understands the network topology and then makes a routing table depending on this topology. Each router will share data about its connection to its neighbor, who will, consecutively, reproduce the data to its neighbors, etc. This appears just before all routers have constructed a topology of the network. In LSP, each node transmits its IP address and the MAC to its neighbor with its signature. Neighbors determine the signature and maintain a record of the combining IP address and the MAC. The Neighbor Lookup Protocol (NLP) of LSP derives and maintains the MAC and IP address of every network frame accepted by a node. The extracted data can support the mapping of MACs and IP addresses. The link-state flooding algorithm prevents the general issues of broadcast in the existence of loops by having every node mainta...

Matter: A next generation home standard

The smart home is evolving. To date, if you've wanted to get into developing a smart home, you've had to deal with the multitude of smart home ecosystems, and making sure that each device you buy is compatible. That, however, may soon change — thanks to new smart home standard called Matter. Matter isn't available just yet, but when it is finally released, it could completely change how you buy smart home products, for the better. All of the best smart home devices could soon support the standard, helping them all work together nicely, and ensuring that no matter what products you buy, you'll be able to use them. Matter is basically the name of a new smart home connectivity standard . But this standard is a little unlike others. That's because of the fact that it's being developed by the Connectivity Standards Alliance, which counts hundreds of companies as members. That includes the likes of Google, Alexa, and Apple. So, whether you prefer to use Google Assista...

New interactive stickers for Stories

Instagram has introduced several new features to Stories, offering interactive ways to share music, photos, and videos. One of the most interesting additions is a feature called Reveal , which blurs the content of a story post and requires viewers to DM the person who shared it in order to see it. Instagram's head, Adam Mosseri, has emphasized the importance of direct messages on the platform, with stories and DMs driving most of Instagram's growth. Requiring a DM to view content represents the next step in boosting engagement, and creators are likely to use it as a tactic to increase their stories' engagement. Another new feature, Frames, adds a Polaroid overlay to images that initially appear gray. Users can shake their phone to reveal the photo, resembling the process many people associate with Polaroid pictures, despite the fact that shaking Polaroids is not recommended by the company during development. Instagram has also introduced a music-based template feature calle...