Global Positioning System Reference
In-Depth Information
+--- gps
~47 MB !
+--- london.roa
~12 MB
+--- OSM.compiler
~33 MB !
A.1
Source Code for the Exploration Phase
The
book
folder should be your first download:
book.src.zip
The archive holds the code developed in Chapters 1 and 4{10. The entire
folder can be checked into your IDE as one project and the compilation (and
Java documentation) with the Standard Java tools should add
bin
and
doc
folders automatically.
../book
+---bin
+---doc
first occurrence in
+---src
chapter.section
| LinkCompiler.java
8.3.2
| NMEAconverter.java
4.12
| OSMparser.java
7.8
+---roaf
|
+---book
4.2
|
+---gps
4.2
|
+---intro
1.4.1
|
+---map
|
|
+---gui
5.4
|
|
+---osm
7.10
|
+---navigation
8.4 + 9.4
|
+---rmi
10.2.1
|
+---ro
6.2
+---roafx
+---gui\map
5.5
In order to test the compilation, you can run the
main(String[]args)
method of the
MassObject
class in the
roaf.book.intro
. This is the first
method to be executed in the course of the topic in Section 1.4.1. The simu-
lation
should
print
these
(and
more)
lines
to
the
system
output
(
System.out.println
):
moon is at position 382679989
earth is at position 0
:
simulationtime: 41 seconds
:
Since the reader is expected to be familiar with the basic concepts of
the Java Language and Java tools, the topic will refer to methods in a brief
format: \Please execute the method
roaf.book.intro.MassObject.main
."
The
MassObject
class does not have any dependencies to other classes
and should run as is.
Nevertheless, the dependencies of other packages
Search WWH ::
Custom Search