Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
bustracker [2016/11/10 20:36] guest-a |
bustracker [2016/11/10 20:40] guest-a [Usage] |
||
---|---|---|---|
Line 22: | Line 22: | ||
* To run the client module, type $java –jar bus-client-node.jar | * To run the client module, type $java –jar bus-client-node.jar | ||
* To run the bus module, type $java –jar bus-node.jar | * To run the bus module, type $java –jar bus-node.jar | ||
+ | |||
+ | The buses locations are in a file called gps.json, in the resources folder. This file consists in a snapshot of all the buses locations in the city, provided by data.rio. | ||
+ | You can change into real time by change the class named GPSBusStream and point directly to the data.rio website. | ||
+ | |||
+ | In this example, the client wants to see the location of the 497’s line buses. When a bus is less than 558 meters from the user (the green point), the bus point turns red, otherwise is shown in blue. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ====== Disclaimer ====== | ||
+ | |||
+ | This work is a task of Introduction to Mobile Computing course, 2016, second semester. Computer Department, PUC-Rio. | ||
+ | |||
+ | ====== Contact ====== | ||
+ | |||
+ | Ruhan dos Reis: rreis@inf.puc-rio.br | ||
+ | |||
+ | |||
+ | |||