Global Positioning System Reference
In-Depth Information
be used to observe the recorded traces of a motorcycle, the
Navigator
can
be used to create and observe navigating objects.
Please go through the quick start instructions:
../deployed/Navigator.txt
. The
Navigator.jar
can be launched
without a predefined area and directed to
../resources/gps/GER/
while the files are hard-coded in
Navigator.java
with the variables:
pathgpxFilesmallFilebigFile
.
Both applications are basically designed in the same way, and the reader
should be able to identify the major application classes developed in this
chapter. A closer look at the
NavigatedObject
reveals that it is actu-
ally not a navigating object. While the motorcycle
BuellXB12Ss
is using
replayGPStrace
to replay a recorded trace, the
NavigatedObject
is replay-
ing a calculated route with calculated speeds. It is actually not aware of a
digital map and relies on the routes provided by a navigation system from
a navigable map.
Nevertheless, the external observer can not tell the difference and the
next chapter will move the navigation system into the real object. A player
object will be able to use the game map to apply a strategy for dynamic
and intelligent routing|internally.
Search WWH ::
Custom Search