12.07.2015 Views

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.3.4 TCP-IP/UDPSince the computers are networked together, code had to be written tocommunicate between the two. The goal was to have the I/O computer, Spiegel, computethe aircraft’s position and orientation and send that information to the other three visualcomputers to generate the graphics. A sample program was written in C++ for a UNIXplatform to test the functionality of sending information across the Internet. 8 One side ofthe program acted as the server and the other program played the client. This programthen had to be modified to work under Windows using winsockets. Once the programproved to work, it had to be modified again to work using UDP. UDP is similar to TCPexcept that it allows the communication to be connectionless. Once the program wasworking, the code had to be converted to C then added to a test bed simulation withinSimulink. The program was tested, and it worked perfectly with little lag in the framerate. The final step was to have the test bed simulation work with the graphics since thecommunication barrier had been breached; the next step was to have the model work withthe graphics.2.3.5 OpenGVSOpenGVS offers excellent 3-D rendering scene software that is already set up forflight simulation. 9 OpenGVS already has imbedded functions that allow terrain databases,camera views, vehicles, lighting, etc. to be simply added to the simulation. Includedwithin OpenGVS are demo programs that give a programmer an idea of how to createvisuals. The demos include a Heads-Up-Display (HUD) demo that has an aircraft flythrough a database of Korea in a Mig-29 armed with missiles. Other demos include a16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!