Thursday 16 January 2014

VANET Installation in Linux

Dowloads


VanetMobiSim 1.1 binaries (234 kB) [download(includes portions of CanuMobiSim 2001-2003, © Universität Stuttgart, Germany)
VanetMobiSim 1.1 sources file (1483 kB) [download]
————————————————————————————————————————————————–
Requirements

VanetMobiSim binaries require the presence of a Java Run Time Environment version 1.5 and higher. If the user downloaded the source files, VanetMobiSim requires the presence of a Java SDK version 1.5 or higer as well as Apache Ant.
We make the user aware that most of the linux and windows systems come with a pre-installed JVM. However, VanetMobiSim will likely not work if the JVM is not the Sun JVM. Check your version with this command:
java -version
Download the latest Sun JVM and Apache Ant.
———————————————————————————————————————————————-
Installation

VanetMobiSim is ready to run and plateform independant. The user can simply download the VanetMobiSim java binaries. No further processing is required.
In order to comply with the copyright of CanuMobiSim framework, we cannot diffuse the full source code of VanetMobiSim, which includes portions of CanuMobiSim.
However, the copyright allows us to diffuse the source code and extensions brought to CanuMobiSim by VanetMobiSim. Therefore, in order to obtain the full source code of the VanetMobiSim simulator, we let the user patch CanuMobiSim source code with VanetMobiSim source code and finally compile the project.
The procedure is totally automatic and uses the power of Apache Ant.
    • Download the source code of VanetMobiSim and expand it in a base directory of your choice. You should get the following subdirectories and files:jar/
      build.xml
      VanetMobiSim-src.jar
      VanetMobiSim-samples.jar
      mypackages.lst
      READ_ME
    • Download the source code of CanuMobiSim Expand it in the same directory. You should get a subdirectoy named “src/”. At this time, your current directory should contains:jar/
      src/
      build.xml
      VanetMobiSim-src.jar
      VanetMobiSim-samples.jar
      mypackages.lst
      READ_ME
    • Open a terminal and go to your directory. Be sure that you have a working and well configured version of Apache Ant and that the build.xml file is in the base directory you will launch ant.
      Type:”ant patch”The program will patch the src/ directory with VanetMobiSim source files.
    • Finally, in order to build the simulator and create the javadocs
      Type:”ant all”Warnings generated by javadoc are not important. They are created because we do not distribute the source code of the geotransform java library (It may be found here: GeoTransform)The binary .jar file of VanetMobiSim will be place in the jar/ subdirectory.
  • You can now use VanetMobiSim according to the user manual.