Flight Physics

Started by kozloja3, May 11, 2013, 11:48:40 PM

Previous topic - Next topic

kozloja3

This application simulates a flight of Cessna 172. For this application I used JPCT library. Creating this application was a part of my bachelor thesis.

The goals of my thesis were:
- to make a flight physics library,
- to make an application that will be using this library for Cessna 172 flight simulation.

The work was not focused on graphics, but was primarily focused on the physics.

Here is the short abstract of my work:
The work describes the basic aerodynamical relationships and the way how they are used in the physics model library simulating a real flight of an aircraft. The implementation of the library in Java language is the other part of the work. The work also describes a way how to use the library and demonstrates its functionality by an application example that simulates a flight of Cessna 172.

Here are some screens of an application that simulates a flight of Cessna 172 and uses the physics library:




Executable JAR of the application for windows is attached here:
1280 x 800:  https://dl.dropboxusercontent.com/u/33989165/Flight%20Physics/FlightSimulator%20-%20windows.zip
1024 x 768:  https://dl.dropboxusercontent.com/u/33989165/Flight%20Physics/FlightSimulator%20-%20windows%20(1024x768).zip

And here the flight physics library itself:
https://dl.dropboxusercontent.com/u/33989165/Flight%20Physics%20Library/FlightPhysics.rar

Thomas.

Nice project, I hope you successfully complete undergraduate exams ;)

EgonOlsen

Very nice. The look reminds me of Flight Unlimited...however, i wasn't able to fly the plane properly... ;) Note to self: Never try to fly a plane in real life...

EgonOlsen

BTW: Do you mind if i put this onto the project page?

kozloja3

Thank You, I do not mind at all!

It is still very far from a simulator like Flight Unlimited :)

The physics is based on basic aerodynamical relationships (it approximately copies the real aircraft behavior during normal flight), but controlling the flight by arrows on keyboard is always difficult.

Manipulating with "elevator trim" (Q, A keys) is very helpful to make the flight stable.

EgonOlsen

I've added it to the projects page: http://www.jpct.net/projects.html. You don't have some webpage for it that i can link to instead of this thread?

kozloja3

I am sorry I don't have any. Maybe later with the better version :)

Thank You for adding!

generalJ

Am I the only one who is getting Exception in thread "main" java.lang.IllegalStateException: Cannot determine close requested state of uncreated window when running the jar?

kozloja3

#8
Maybe it is because the application was exported into the runnable JAR in resolution of 1280 x 800 and you have smaller resolution

Here is the runnable JAR in resolution of 1024 x 768
https://dl.dropboxusercontent.com/u/33989165/Flight%20Physics/FlightSimulator%20-%20windows%20(1024x768).zip

Let me know if it works.

Thank you!