Copy of relevant sections of old article for edit
------
FlightGear Flight Simulator (often shortened to FlightGear or FGFS) is a free, open source, and multi-platform flight simulator developed by the FlightGear project since 1997.[1]
David Murr started the project on April 8, 1996. The project had its first release in 1997 and continued in development. It has specific builds for a variety of operating systems including Microsoft Windows, Mac OS X, Linux, IRIX, and Solaris.
FlightGear source code is released under the terms of the GNU General Public License and is free and open-source software.
Some commercial products—Earth Flight Sim, Flight Pro Sim, Flight Simulator Plus, Pro Flight Simulator, Real Flight Simulator, Virtual Pilot 3D, and others—are copies of old versions of the freely distributed FlightGear, see Commercial re-distribution. They are not endorsed by the FlightGear project.[2]
History
editFlightGear started as an online proposal in 1996 by David Murr, in Canada. He was dissatisfied with proprietary, available, simulators like the Microsoft Flight Simulator, citing motivations of companies not aligning with simmers, and proposed a new flight simulator developed by volunteers over the Internet.[3][4] The flight simulator was created using custom 3D graphics code. Development of an OpenGL based version was spearheaded by Curtis Olson starting in 1997. FlightGear incorporated other open-source resources, including the LaRCsim flight dynamics engine from NASA, and freely available elevation data. The first working binaries using OpenGL came out in 1997. By 1999 FlightGear had replaced LaRCsim with JSBSim built to the sims' needs, and in 2015 NASA used JSBSim alongside 6 other space industry standards to create a measuring stick to judge future space industry simulation code.[5] FlightGear reached 1.0 in 2007, 2.0 in 2010, and there were 9 major releases under 2.x and 3.x labels. The project moved to a regular release cadence with 2-4 releases per year since 2016.[6]
In June 2014 Honda lawyers issued a takedown request in which it was claimed that the HondaJet model in the simulator infringes on Honda's trademarks. Subsequently, HondaJet became the first model removed from the simulator due to legal reasons.[7]
The FlightGear project has been nominated by Sourceforge, and subsequently chosen as project of the month by the community, in 2015, 2017, and 2019.[8][9][10]
Design and Key Features
editThe FlightGear wiki organizes tutorials, documentation for the simulation, and the development status of available craft.[11][12]
Physics
editForces experienced by a flying craft depend on the time-varying state of atmospheric fluid flow along the flight path - the atmosphere being a fluid that can exchange energy, exchange moisture or particles, change phase or other state, and exert force with boundaries formed by surfaces. Fluid behaviour is often characterised by eddies(Videos:aircraft , terrain) or vortices on varying scales down to the microscopic, but is harder to observe as the air is clear except for moisture phase changes like condensation trails or clouds. The atmosphere-terrain boundary interaction follows fluid dynamics, just with processes on hugely varying scales and 'weather' is the planetary boundary layer. The aircraft surface interaction works with the same dynamics, but on a limited range of scales. Forces experienced at any point along a flight path, therefore, are the end result of complicated atmospheric processes on varying spatial scales, and complex flow along the craft's surface. Craft also experience varying gravitational force based on the 3d shape of the potential well and the non-spherical shape of the Earth.
[Old short and less explained version:]
Forces experienced by a flying craft depend on the time-varying state of fluid flow in the atmosphere along the flight path, in addition to the turbulent interaction of the boundary formed by the outer surface of the craft with the atmosphere. Atmospheric fluid flow affecting craft at any point along a path is the end result of complicated processes on hugely varying spatial scales. Craft also experience varying gravitational force based on the 3d shape of the potential well and the non-spherical shape of the Earth.
Atmospheric & Environmental Physics
editFlightGear can simulate the atmosphere ranging from energy inputs/outputs to the system, like energy from the sun or volcanic sources, through to fluid flow on various scales and changes of state. FlightGear is able to model different surface characteristics such as heating or cooling, and the exchange of heat and moisture with the atmosphere depending on factors like windflow or dew point. FlightGear models the continuously evolving life-cycle of phenomena on various scales, driven by interaction of fluid with terrain. They range from turbulence on different scales to, individual thermals, thunderstorms, through to moving air layers, and depicting air-masses on the scale of 1000s of Kilometers. Atmospheric water is modeled by FlightGear ranging from state changes such as condensing into cloud or haze layers, along with energy provided from latent heat to drive convective fluid flow, through to precipitation as rain droplets, snow, or hail. [13][14][15][16]
The process of generating lift creates turbulence with vortices, and FlightGear models wake turbulence with shedding of wingtip vortices by flown craft as well as AI craft.[17][18]
FlightGear also has a less physically accurate model that uses METAR weather updates of differing frequency, designed for safe operation of aerodromes,to dis-continuously force atmosphere based on attempted guesses of processes that are fundamentally constrained by the closeness or density of observation stations, as well as the small-scale, limited, rounded off, non-smoothly varying, and need-to-know precision of information.[19] Aloft waypoint settings modelling high altitude behaviors of wind can be synced to updates from Jeppeson.[20]
Flightgear has a simulation of planetary bodies in the solar system which is used for purposes like driving latitude dependent weather from solar radiation, as well as the brightness and position of stars for celestial navigation. There is a model of gravity based on a non-spherical Earth, and craft can even experience differing gravity across their bodies which will exert twisting force.[21] A model of the observed variation in the Earth's complex magnetic field, and the option to simulate, to an extent, the propagation of radio wave signals due to interaction with different types of terrain, also exists in FlightGear.[22][23]
Flight Dynamics
editFlightGear supports multiple flight dynamics engines with differing approaches, and external sources such as MATLAB/Simulink, as well as custom flight models for hot air balloons and spacecraft.[24][25]
JSBSim
editJSBSim is a data driven flight dynamics engine with a C++ core built to the needs of the FlightGear project from 1996 to replace NASA's LaRCSim, and integrated into FlightGear as the default from 1999.[26] Flight characteristics are preserved despite low frame rate, as JSBSim physics are decoupled from rendering and tick at 120 Hz by default.[27] This also supports high time-acceleration as rendering does not have to be done faster causing the GPU to be a bottleneck.
Mass balance, ground reactions, propulsion, aerodynamics, buoyant forces, external forces, atmospheric forces, and gravitational forces can be utilized by JSBSim, the current default flight dynamics engine supported by FlightGear, to determine flight characteristics.[28] JSBSim supports non-terrestrial atmospheres and has been used to model unmanned flight in the Martian atmosphere by NASA.[29][30][26]
Benchmark testing by NASA
editJSBSim was used by NASA in 2015 with other space industry simulation code, both to establish a ruler to judge future code for the requirements and standards of the space industry, as well as check agreement. The verification tested both atmospheric and orbital flight in 6-degrees-of-freedom for simulations like JSBSim[31] that supported both. The results from 6 participants consisting of NASA Ames Research Center (VMSRTE), Armstrong Flight Research Center (Core), Johnson Space Center (JEOD), Langley Research Center (LaSRS++, POST-II), Marshall Space Flight Center (MAVERIC), and JSBSim[32][33] were anonymous[34] as NASA wanted to encourage participation. However, the assessment found agreement for all test cases between the majority of participants, with the differences being explainable and reducible for the rest, and with the orbital tests agreeing "quite well" for all participants.[33][21]
YASim
editYASim's approach to flight dynamics uses the geometry of the aircraft present in the 3d model art at startup, conceptually similar to Blade element theory used by some software, to calculate a rough approximation of fluid dynamics - with the conceptual problems that each "element" is considered in isolation therefore missing affecting fluid flow to other elements, and the approximation breaking down for craft in transonic to hypersonic regimes.[35] By contrast, offline approaches like JSBSim can incorporate windtunnel data. They can also incorporate the results of computational fluid dynamics which can reach computable accuracy only limited by the nature of the problem and present day computational resources.
FlightGear also supports LaRCsim and UIUC.[36][37]
Time acceleration
editFlightGear is able to accelerate and decelerate time, speeding up or slowing down the simulation. Time acceleration is a critical feature for simulating longer flights and space missions. For all interactions with the simulator, it allows people to speed up uneventful parts, and gain more experience (decisions and problem solving). It also means automated simulations used for research finish faster - this is helped by FlightGear's headless mode.
FlightGear is able to support high time accelerations by allowing parts of the simulation to run at different rates. This allows saving of CPU and GPU resources by letting unimportant parts of the simulation, like visuals or less time-sensitive aircraft systems, run at slower rates. It also improves performance. Separate clocks are available for JSBSim physics, different parts of aircraft systems, as well as environment simulations at large scale (celestial simulation) and small scale (weather physics).
Rendering and visual cues
editAtmosphere rendering
editFlightgear's atmospheric rendering is able to provide constantly changing visual cues of processes affecting atmospheric fluid flow and their likely evolution and history - to make prediction of conditions ahead or when returning at a later time possible. Simulation of directional light scattering by the Advanced Light Scattering framework in the atmosphere shows the 3d distribution, layering, geometry, and even statistical orientation of particles in different scattering regimes like Mie or Rayleigh. This ranges from different moisture droplets, to smog, to ice crystals of different geometry in clouds or halos.[14][13][38][39]
Cloud rendering
editThe 3d density distribution of cloud (or condensation trail) moisture rendered by FlightGear acts as a cue to the corresponding 3d structure of fluid flow, such as the up and down draft loop of storm cell, internal gravity waves forming undulating cloud bands signalling a sweeping cold front, or windshear shaping cirrus clouds at higher altitude.[13][14][16][38][39]
Precipitation and accumulation rendering
editFlightGear is able to render rain falling from specific clouds in rain volumes containing the correct droplet size to determine the properties like thickness and intensity of rainbows.[13][40][39] Perceptual phenomena like rain streaks are rendered with streak length shortening as time is slowed. Rain and water spray streaks on canopy glass provides cues to the relative air flow, while frost and fog with correct light scattering provide cues to temperature.[41][38][39]
FlightGear is able to render specified historical accumulation levels of water and snow accounting for flatness on the surfaces of for both terrain and buildings. This provides cues to surface moisture or friction, and weather driven by surface heating that reduces with snow thickness. FlightGear can render gradual snow and ice cover on inland and ocean water.[13][39]
Hazes and Halos
editLayering of hazes is rendered by FlightGear, such as low lying ground haze with 3d structure, smog related to human activity, and dust. FlightGear renders various halos due to ice crystals in the atmosphere, or due to Mie scattering in fog by artificial lights such as landing lights.[14][38]
Orbital rendering
editFlightGear is able to render day/night visuals of Earth from orbit at high detail with scattering due to clouds, dust, and moisture, as well as effects such as lightning illuminating storm cells. Orientation cues in cockpit are provided by changing colour of light from Sun, Earth, and Moon for craft such as the Space Shuttle. The gradual transition in lighting for spacecraft, between upper and and lower atmosphere regimes, is handled by dedicated rendering code. Auroras are simulated with varying intensity and varying penetration of magnetic flux tubes into the atmosphere. They are visible from both space and ground.[21][42][38]
Accurate rendering of planets, moons, and stars with correct phases/brightness based on FlightGear's celestial simulation allows cues or data for celestial navigation - without reliance on vulnerable ground aids, including of pre-GPS era craft. The celestial simulation allows craft such as the Space Shuttle[21][43] to use star tracker instruments.
Environment rendering
editFlightgear's Advanced Light Scattering framework simulates locations in time as well as space. The environment simulation renders seasonal change as leaves of different species of trees, bushes, and grass change colour or fall.[44] Simulated swaying of grass, trees and windsocks provide cues to processes changing the windfield near the ground, while wave simulation provides cues near water.[14][13][39] Cloud shadows and the general state of the atmosphere affect light traveling to each point of the environment and then traveling in the atmosphere to reach the eye - the cloud setup and particle spread in the atmosphere changes the colour of the light cast on the environment.[14] Water colour therefore changes based on atmosphere overhead, and also depends on water impurites in a region. FlightGear is capable of rendering a variety of volcanic activity of different intensity that, from v2019.2, responds to the windfield, as well as smoke.
The combination of rendering of the state of atmospheric processes, Aurora, simulation of celestial bodies, ground accumulation of rain or snow or dust, ice cover of water, and the environment simulation produces visualisations with a vast number of permutations.[14][13] [42][38]
Multiplayer
edit[Unchanged except for correcting referring to the sim as a game]
Several networking options allow FlightGear to communicate with other instances of FlightGear. A multiplayer protocol is available for using FlightGear on a local network in a multi aircraft environment. This can be used for formation flight or air traffic control simulation. Soon after the original Multiplayer Protocol became available, it was expanded to allow playing over the internet. It is possible to see other participants in simulation if they have the same aircraft models and viewing their flight path is possible with FlightGear's online multiplayer map.[45] Several instances of FlightGear can be synchronized to allow for a multi-monitor environment.
- ^ Barr, Joe (December 4, 2006). "FlightGear takes off". linux.com. Archived from the original on September 10, 2007. Retrieved June 25, 2007.
- ^ Flight Pro Sim, FlightGear, archived from the original on November 29, 2010, retrieved December 5, 2010
- ^ "Archive of rec.aviation.simulators at Google Groups". groups.google.com. Archived from the original on 2019-09-05. Retrieved 2019-09-05.
- ^ Perry, Alexander R. (2004-06-27). "The FlightGear flight simulator" (PDF). Proceedings of the annual conference on USENIX Annual Technical Conference. ATEC '04. Boston, MA: USENIX Association: 31. Archived from the original (PDF) on 16 Mar 2021.
- ^ Murri, Daniel G.; E. Bruce Jackson; Shelton, Robert O. (2015), Check-Cases for Verification of 6-DOF Flight Vehicle Simulations - Volume I (PDF), NASA, retrieved 2019-09-03
- ^ "Category:FlightGear changelogs - FlightGear wiki". FlightGear wiki. Retrieved 2019-09-04.
{{cite web}}
: CS1 maint: url-status (link) - ^ Ernesto (June 3, 2014). "Honda Takes Down "Infringing" Jet From FlightGear". TorrentFreak. TorrentFreak. Archived from the original on June 6, 2014. Retrieved June 4, 2014.
- ^ "November 2015, "Community Choice" Project of the Month – FlightGear". SourceForge Community Blog. 2015-11-01. Archived from the original on 2019-09-04. Retrieved 2019-09-04.
- ^ "September 2017, "Community Choice" Project of the Month – FlightGear". SourceForge Community Blog. 2017-09-01. Archived from the original on 2019-09-04. Retrieved 2019-09-04.
- ^ "February 2019, "Community Choice" Project of the Month – FlightGear". SourceForge Community Blog. 2019-02-01. Archived from the original on 2019-09-04. Retrieved 2019-09-04.
- ^ "FlightGear wiki". wiki.flightgear.org. Retrieved 2019-07-23.
- ^ "Aircraft - FlightGear wiki". wiki.flightgear.org. Retrieved 2019-07-23.
- ^ a b c d e f g "The art of cloud and weather rendering – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 31 Oct 2020. Retrieved 2019-07-23.
- ^ a b c d e f g "The magic of light and haze – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 5 Dec 2020. Retrieved 2019-08-31.
- ^ "A preview of features for Flightgear 3.4 – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 19 Jan 2021. Retrieved 2019-08-31.
- ^ a b "Advanced Weather v1.4 in Flightgear 2.6+ – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 31 Aug 2019. Retrieved 2019-08-31.
- ^ "AI wake turbulence - FlightGear wiki". FlightGear wiki. Retrieved 2019-09-04.
{{cite web}}
: CS1 maint: url-status (link) - ^ "Changelog 2017.3 - FlightGear wiki". FlightGear wiki. Archived from the original on 5 Jul 2020. Retrieved 2021-03-15.
- ^ "Weather - FlightGear wiki". FlightGear wiki. Retrieved 2019-09-04.
{{cite web}}
: CS1 maint: url-status (link) - ^ "Weather - FlightGear wiki". FlightGear wiki. Archived from the original on 2019-07-23. Retrieved 2019-07-23.
{{cite web}}
:|archive-date=
/|archive-url=
timestamp mismatch; 2019-09-04 suggested (help) - ^ a b c d "An experience like no other… – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 5 Dec 2020. Retrieved 2019-08-31.
{{cite web}}
:|archive-date=
/|archive-url=
timestamp mismatch; 15 March 2021 suggested (help) - ^ "Avionics and instruments - FlightGear wiki". wiki.flightgear.org. Retrieved 2019-09-05.
- ^ "Radio propagation - FlightGear wiki". wiki.flightgear.org. Retrieved 2019-09-05.
- ^ "Flight Dynamics Model - FlightGear wiki". wiki.flightgear.org. Retrieved 2019-07-23.
- ^ "Flight Simulator Interface - MATLAB & Simulink". Mathworks - Makers of MATLAB and Simulink - MATLAB & Simulink. Retrieved 2021-03-15.
{{cite web}}
: CS1 maint: url-status (link) - ^ a b Berndt, Jon, "JSBSim: An Open Source Flight Dynamics Model in C++", AIAA Modeling and Simulation Technologies Conference and Exhibit, American Institute of Aeronautics and Astronautics, doi:10.2514/6.2004-4923, retrieved 2019-09-01
- ^ "Howto:Methods to replace the NASAL code with JSBSim code - FlightGear wiki". FlightGear wiki. Archived from the original on 2019-09-03. Retrieved 2019-09-03.
- ^ "JSBSim - FlightGear wiki". wiki.flightgear.org. Retrieved 2019-07-23.
- ^ "JSBSim Open Source Flight Dynamics Model". jsbsim.sourceforge.net. Archived from the original on 2019-09-01. Retrieved 2019-09-01.
- ^ Kenney, P. Sean; Croom, Mark, "Simulating The ARES Aircraft In The Mars Environment", 2nd AIAA "Unmanned Unlimited" Conf. and Workshop & Exhibit, American Institute of Aeronautics and Astronautics, doi:10.2514/6.2003-6579, retrieved 2019-09-01
- ^ "Check-Cases for Verification of 6-Degree-of-Freedom Flight Vehicle Simulations - Volume II" (PDF). NASA Technical Reports Server. See Section B.6.7 JSBSim. Archived (PDF) from the original on 2017-02-27.
- ^ Murri, Daniel G.; E. Bruce Jackson; Shelton, Robert O. (2015), Check-Cases for Verification of 6-DOF Flight Vehicle Simulations - Volume I (PDF), NASA, retrieved 2019-09-03
- ^ a b "Check-Cases for Verification of 6-Degree-of-Freedom Flight Vehicle Simulations - Volume I" (PDF). NASA Engineering and Safety Center Academy. See Section 7.4 - Summary of Comparisons (PDF).
{{cite web}}
: Check|archive-url=
value (help)CS1 maint: url-status (link) - ^ "Further Development of Verification Check-cases for Six-Degree-of-Freedom Flight Vehicle Simulations" (PDF). NASA Engineering and Safety Center. 2015. See Section II G. Archived (PDF) from the original on 10 Mar 2021.
- ^ Neely, Gary. "What is YASim?". www.buckarooshangar.com. Archived from the original on 2019-09-02. Retrieved 2019-09-02.
- ^ "Flight Dynamics Model - FlightGear wiki". FligtGear wiki. Retrieved 2019-07-23.
{{cite web}}
: CS1 maint: url-status (link) - ^ Zhang Jingsha; Geng Qingbo; Fei Qing (2012). "UAV Flight Control System Modeling and Simulation Based on FlightGear". International Conference on Automatic Control and Artificial Intelligence (ACAI 2012). Institution of Engineering and Technology. doi:10.1049/cp.2012.1443. ISBN 978-1-84919-537-9.
- ^ a b c d e f "FlightSim.Com - FlightGear's Atmospheric Light Scattering Rendering Framework". FlightSim.Com. See pages 1 to 6. Archived from the original on 15 Mar 2021. Retrieved 2021-03-15.
- ^ a b c d e f "FlightSim.Com - Weather in FlightGear--". www.flightsim.com. See pages 1 to 3. Archived from the original on 15 Mar 2021. Retrieved 2021-03-15.
- ^ "A preview of features for Flightgear 3.4 – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 19 Jan 2021. Retrieved 2019-08-31.
- ^ "The new Cessna 172p – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 5 Dec 2020. Retrieved 2019-08-31.
- ^ a b "The Grand View – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 5 Dec 2020. Retrieved 2019-08-31.
- ^ "FlightSim.Com - FlightGear - Visiting the ISS". FlightSim.Com. Retrieved 2021-03-15.
{{cite web}}
: CS1 maint: url-status (link) - ^ "Simulating the ever-changing scenery – FlightGear Flight Simulator". FlightGear.org. Archived from the original on 5 Dec 2020. Retrieved 2019-08-31.
- ^ "FlightGear μ - The MultiPlayer Map". mpmap03.flightgear.org. Retrieved 2019-07-23.