View Single Post
  #3  
Old August 12th 05, 09:54 AM
Grandss
external usenet poster
 
Posts: n/a
Default

Lora Lee a écrit :
FMS is one of the freeware high-quality flight simulator for model
airplanes. It is written in Delphi language with some third party
components.
You can download it from http://n.ethz.ch/student/mmoeller/fms/index_e.html

My question is about the "flight dynamic model" of FMS and/or other similar
simulators.
Do you know any Delphi and/or C/C++ flight dynamics model code which takes
the rudder, elevator, throttle, aileron, airplane's position, velocity and
attitude (roll, pitch, yaw angles) as inputs and calculates the airplane's
next position, velocity and attitude?


Flight Dynamics Model :
==================
INPUTS:
Time increment :
dT (delta T in milli second)
Control inputs :
Rudder
Elevator
Throttle
Aileron
Airplane's current state :
Position (in 3D. ie X,Y,Z)
Velocity (in 3D, Vx, Vy,Vz)
Attitude (in 3D, Roll, Pitch, Yaw angles)
Airplane's constants:
Wing span
Weight
????
????
etc..
OUTPUT:
Airplane's next state after dT :
Position (in 3D. ie X,Y,Z)
Velocity (in 3D, Vx, Vy,Vz)
Attitude (in 3D, Roll, Pitch, Yaw angles)



you can look this
http://examples.oreilly.com/physicsgame/flightsim.zip