Author Topic: Flight Physics  (Read 16322 times)

Offline kozloja3

  • byte
  • *
  • Posts: 4
    • View Profile
Flight Physics
« on: May 11, 2013, 11:48:40 pm »
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
« Last Edit: May 20, 2013, 04:57:03 pm by kozloja3 »

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Flight Physics
« Reply #1 on: May 12, 2013, 12:02:22 am »
Nice project, I hope you successfully complete undergraduate exams ;)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12298
    • View Profile
    • http://www.jpct.net
Re: Flight Physics
« Reply #2 on: May 12, 2013, 08:48:34 pm »
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...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12298
    • View Profile
    • http://www.jpct.net
Re: Flight Physics
« Reply #3 on: May 12, 2013, 08:48:59 pm »
BTW: Do you mind if i put this onto the project page?

Offline kozloja3

  • byte
  • *
  • Posts: 4
    • View Profile
Re: Flight Physics
« Reply #4 on: May 12, 2013, 10:37:10 pm »
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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12298
    • View Profile
    • http://www.jpct.net
Re: Flight Physics
« Reply #5 on: May 14, 2013, 08:59:33 pm »
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?

Offline kozloja3

  • byte
  • *
  • Posts: 4
    • View Profile
Re: Flight Physics
« Reply #6 on: May 14, 2013, 09:46:58 pm »
I am sorry I don't have any. Maybe later with the better version :)

Thank You for adding!

Offline generalJ

  • byte
  • *
  • Posts: 6
    • View Profile
Re: Flight Physics
« Reply #7 on: May 20, 2013, 03:10:13 pm »
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?

Offline kozloja3

  • byte
  • *
  • Posts: 4
    • View Profile
Re: Flight Physics
« Reply #8 on: May 20, 2013, 04:55:49 pm »
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!
« Last Edit: May 20, 2013, 04:57:25 pm by kozloja3 »