bustracker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
bustracker [2016/11/10 20:29]
guest-a [BusTracker]
bustracker [2016/11/10 20:36]
guest-a
Line 1: Line 1:
-====== 474ck ======+====== BusTracker ======
  
 The BusTracker is an SDDL application based on ContextNet to monitor where the buses in a city are.  The BusTracker is an SDDL application based on ContextNet to monitor where the buses in a city are. 
Line 7: Line 7:
 The second module are the buses. A bus consists basically in a line and a unique identifier number. All the buses of the same line sends message to a group with an id that is the line of the bus. For example, all the buses of 497 will send a message to the group with id 497. With this, all the member of that group will receive the messages informing the locations os the buses. The second module are the buses. A bus consists basically in a line and a unique identifier number. All the buses of the same line sends message to a group with an id that is the line of the bus. For example, all the buses of 497 will send a message to the group with id 497. With this, all the member of that group will receive the messages informing the locations os the buses.
  
-==== Compilation ====+====== Compilation ======
  
   * Install maven 3. For download and installation instructions, see: http://maven.apache.org/index.html   * Install maven 3. For download and installation instructions, see: http://maven.apache.org/index.html
Line 14: Line 14:
   * Download JMapViewer at http://wiki.openstreetmap.org/wiki/JMapViewer and install intall into your local maven repository with  groupId = br.com.openstreetmaps, artifactId = mapviewer and version = 2.0   * Download JMapViewer at http://wiki.openstreetmap.org/wiki/JMapViewer and install intall into your local maven repository with  groupId = br.com.openstreetmaps, artifactId = mapviewer and version = 2.0
   * To build, type $mvn clean install in the project’s root folder   * To build, type $mvn clean install in the project’s root folder
 +
 +====== Usage ======
 +
 +  * Download the ContextNet server. It requires an installed OpenSplice server and some environment variables. Check installation and running instructions at http://www.lac-rio.com/dokuwiki/doku.php?id=installingdds. By default choose as gateway 127.0.0.1 and port 5500.
 +  * Change the hosts file and name the gateway host as ubuntu-1
 +  * Start ContextNet: $ java -jar <path to ContextNet>/contextnet-2.5.jar <gateway address> <port> OpenSplice
 +  * To run the client module, type $java –jar bus-client-node.jar
 +  * To run the bus module, type $java –jar bus-node.jar
 +
  
  
  • bustracker.txt
  • Last modified: 2017/07/21 03:08
  • (external edit)