Skip to content

Releases: jreed1701/f16simulator

Original F-16 C++ Flight Dynamics Simulator

07 Apr 19:02
Compare
Choose a tag to compare

Features

The simulator iteself is written in C++ and is verified to compile on Ubuntu 18.04 with gcc version 7.5 using the C++11 standard.

The original simulator had the following features that are no longer supported but are avaialable for those interested as a reference.

  • The "jprsim" binary executable to simulate an F-16 aircraft.
  • Logging Ability for aircraft state data.
  • Ability to read an configuration input file.
  • A UDP socket output to a FlightGear display port for visuals.
  • A UDP socket input for flight inceptor (joystick/throttle/rudder) pedals.
  • A Matlab User Interface to serve as a simulator interface.
  • A Matlab tool that has the ability to compute trim conditions to later be used as initial conditions.
  • A LabView Component to operate a National Instruments data collection for joystick inputs.

Limitations

  • This simulation is a rigid body dynamics simulator so it does not model changes in moments due to inertia. For example, fuel burn.
  • The lattitude/longitude computations assume a flat earth model, therefore simulations where the aircraft travels 50+ nautical miles away from start will deviate.
  • The zero foot altitude is not aligned with any visual database, so it is possible to go "underground" when using visuals.