1. Florent Kaisser
  2. TraceExporter

Overview

Description
-----------
TraceExporter allows to add vehicular mobility model for ns-2 and Opnet network simulator. 

sbt (Simple Build Tool) is used as project manager : https://github.com/harrah/xsbt

Licence
-------

GNU General Public License Version 3

(see LICENCE file)

Requierement
------------

Java 1.6

Compilation
-----------

./sbt compile

Run
---

./sbt 

For multiple-scenario : 
> run-main sumo.exporter.Main --help

For simple scenario with Opnet : sumo.exporter.opnet.Main
> run-main sumo.exporter.opnet.Main --help

Scenario file
-------------

Example of a scenario file :
---
<scenarios>	

	<scenario name="hello-n50">
		<input>
			<net-file value="hello.net.xml"/> 		
			<flow-definition value="hello.flow.50.xml"/>	 
		</input>
	
		<time>
			<begin value="80.0"/>
			<end value="140.0"/>
			<step-length value="2.0"/>
		</time>
	
		<random_number>
			<srand value="129"/>
		</random_number>
		
		<network-simulator>
			<simulator value="opnet"/>
			<node-config-file value="hello.node.xml"/>			
		</network-simulator>		
	</scenario>

	<scenario name="hello-n80">
		<input>
			<net-file value="hello.net.xml"/> 		
			<flow-definition value="hello.flow.80.xml"/>	 
		</input>
	
		<time>
			<begin value="80.0"/>
			<end value="140.0"/>
			<step-length value="2.0"/>
		</time>
	
		<random_number>
			<srand value="129"/>
		</random_number>
		
		<network-simulator>
			<simulator value="opnet"/>
			<node-config-file value="hello.node.xml"/>			
		</network-simulator>		
	</scenario>
	
<scenarios>

---

<scenario name="hello-n80"> : scenario name
<input> : input file
<net-file value="hello.net.xml"/> : sumo network file
<flow-definition value="hello.flow.50.xml"/> : sumo flow file
<time> : begin and end times for dump file. step-length is the interval between two position in the dump file. See SUMO documentation.
<srand value="129"/> : seed value
<simulator value="opnet"/> : simulator used
<node-config-file value="hello.node.xml"/> : file contening nodes attributes. For Opnet only.
	

Produce a package "jar"
-----------------------

./sbt package

Author
------

Florent Kaisser <florent.kaisser@free.fr>