The distribution of the project

 

 

How to download it

 

            The sources are fully available, so everyone can download them from here. There is an already compiled distribution of the project that contains just the classes for each program of the project. Once downloaded, this archived distribution can be extracted and run the program as indicated below. The other distribution contains just all the needed Java sources for the entire project so as after download  to be able to compile the sources for each program.

 

The Java class distribution: class.zip

 

The Java source distribution: java.zip

 

How to make it run

 

            If  the Java class distribution has been downloaded, the following directory structure exists on the disk:

            class <dir>

-         client

o        back.jpg

o        BB$SymAction.class

o        BB$SymWindow.class

o        BB.class

o        client.bat

o        client.class

o        cv.class

o        direction.class

o        fr$SymAction.class

o        fr$SymWindow.class

o        fr.class          

o        frm$param.class

o        frm$SymAction.class

o        frm$SymWindow.class

o        frm.class

o        intro$SymAction.class

o        intro$SymWindow.class

o        intro.class

o        intro.jpg

o        intro_v.class

o        memory.class

o        out.class

o        parser.class

o        rec.class

o        situation.class

o        stack.class

o        step.class

o        var.class

o       z.class

-         server

o        blackboard.class

o        cl.class

o        command.class

o        fir.class

o        frame$SymAction.class

o        frame$SymWindow.class

o        frame.class

o        get_client.class

o        pl$SymAction.class

o        pl$SymWindow.class

o        pl.class

o        server.bat

o        server.class

o        tunel.class

o        var.class

o       z.class

-         modeler

o        a.jpg

o        dg$p.class

o        dg$SymAction.class

o        dg$SymMouseMotion.class

o        dg$SymWindow.class

o        dg.class

o        direction.class

o        fr$SymAction.class

o        fr$SymWindow.class

o        fr.class

o        memory.class

o        modeler.bat

o        modeler.class

o        node.class

o        out.class

o        param.class

o        parser.class

o        plane.jpg

o        situation.class

o        stack.class

o        step.class

o       terminal.class

-         voice

o        .classpath

o        .project

o        cmukal8.jar

o        cmulex.jar

o        freetts.jar

o        server.class

o        server.java

 

In order to run the programs, the Java[tm] Virtual Machine (JVM) must be installed on the computer. This can be downloaded from: www.sun.com In addition to this the PATH parameter must be set so as to also have the way to the Java distribution directory.

In this case, the following order can be used:

-         Start the Flight Gear Simulator on machine X, having the parameter enabled for the TCP/IP Telnet comunication, for a given port number, for instance 5555

-         to start the Flight Gear Context Modeler, for making a flight context. There are also some already made contexts. The machine on which is running does not matter, because there is no comunication involved at this level

o       switch to the modeler directory

o       start modeler.bat or type java modeler

-         start the Flight Gear Data Server on machine Y; Y can be the same machine as X

o       switch to the server directory

o       start server.bat or type java server

o       set the parameter for the IP machine X on which Flight Gear Simulator is running and the port, for instance 5555

o       click on the button for trying to connect to the Flight Gear Simulator.

-         If the “text-to-speech” module is wanted so as to have speeched notices. This must be started on the machine on which the Flight Gear Client will be started.see below.

o       switch to the voice directory

o       compile server.java file. A new version of JVM is needed for this. If the latest JVM package from www.sun.com has been installed, there will be no problem for that. I used Eclipse utility from www.eclipse.org for that. It’s an open source software development project and it works well. However the JVM is required since Eclipse rely on the existent java distribution

-         start the Flight Gear Client on machine Z. It must be the same with the machine on which Speech Server it was started. Z machine can be also the same with X or/and Y. So it’s possible to start all the programs on the same machine but take care to set the IP and port parameters correctly

o       switch to the client directory

o       start client.bat or type java client

o       click on connect to connect to the Flight Gear Data Server. After this the client will receive parameter packages from time to time

o       click on “Load context” to load an already made context. Take care of the directory where context files are. As soon as the client has loaded a context file, the analyse is done. If the context file has any boolean expresion that contain any parameter that the Client does not receive from the Data Server, the analyse won’t start. A notice will be made.

 

If  the Java class distribution has been downloaded, the following directory structure exists on the disk:

            java

-         client

o       back.jpg

o       bb.java

o       client.java

o       cv.java

o       fr.java

o       Frame1.java

o       Frame2.java

o       frm.java

o       3.519 intro.java

o       intro.jpg

o       intro_v.java

-         server

o       fgfsclient.jar

o       frame.java

o       META-INF <dir>

o       org <dir>

o       pl.java

o       server.java

o       tunel.java

o       w.java

-         modeler

o       a

o       a.jpg

o       b

o       c

o       dg.java

o       diagram.java

o       diagrama.java

o       fr.java

o       modeler.java

o       plane.jpg

o       simple

-         voice

o        .classpath

o        .project

o        cmukal8.jar

o        cmulex.jar

o        freetts.jar

o        server.class

o        server.java

 

Each program has so a distinct directory. Through the work, I used VisualCafe and Eclipse to compile the programs. I recommend Eclipse as a good tool for compiling. It’s an open source software development project and it works well. However the JVM product is required since Eclipse rely on the existent java distribution

 

Back to the index

 

Good luck with handling the project.

Datcu Dragos / 2003, January T.U. Delft, The Nederlands