nixare/TraCI4J
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is TraCI4J, a Java library for high-level interaction with SUMO through its TraCI interface. Copyright (C) 2013 ApPeAL Group, Politecnico di Torino - INSTALLATION 1- With Eclipse, import this package as a project in your workspace. 2- Right-click the "build.xml" file, then do "Run As", then "Ant Build". (it may end with a "build failed" message: it's harmful). The library requires no external dependencies, apart from JUnit 4. It comes with log4j and Xerces libraries built-in. - USAGE Make your project depend on TraCI4J. In your code, declare a variable of the SumoTraciConnection type. This is the main class that runs a SUMO instance, establishes a connection with it and provides methods/objects to issue commands and retrieve information. Some basic usage examples can be found in the "examples" directory. The JUnit tests in the test/ directory can also be a good source of example code. For more information, see the Javadoc. - LICENSE This program is released under the GNU GPL version 3. See the COPYING file for the license.