FlightMechanics.jl
FlightMechanics.jl copied to clipboard
Flight mechanics utils
FlightMechanics
.. |no_maint| image:: http://unmaintained.tech/badge.svg :target: http://unmaintained.tech
.. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square :target: https://github.com/AlexS12/FlightMechanics.jl/blob/master/LICENSE.md
.. |codecov| image:: https://codecov.io/gh/AlexS12/FlightMechanics.jl/branch/master/graph/badge.svg :target: https://codecov.io/gh/AlexS12/FlightMechanics.jl
.. |docs| image:: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat-square :target: https://alexs12.github.io/FlightMechanics.jl/latest/
.. |logo| image:: https://github.com/AlexS12/FlightMechanics.jl/blob/master/docs/src/logo.png :target: https://github.com/AlexS12/FlightMechanics.jl/blob/master/docs/src/logo.png
|license| |docs|
|no_maint|
:warning: This package has been deprecated in favor of:
FlightMechanicsUtils.jl_: core functionalityFlightMechanicsSimulator.jl_: simulation
.. _FlightMechanicsUtils.jl: https://github.com/AlexS12/FlightMechanicsUtils.jl .. _FlightMechanicsSimulator.jl: https://github.com/AlexS12/FlightMechanicsSimulator.jl
|logo|
Flight Mechanics utils :airplane:
This package is intended to provide utils for Flight Mechanics computations. It runs on julia ≥ 1.0
-
International Standard Atmosphere: get pressure, temperature, density, sound velocity for a given altitude.
-
Conversion between different coordinate systems:
- body
- horizon
- wind
- ECEF
- llh (latitude, longitude, height) over various ellipsoid models
-
Quaternion and euler angles conversions
-
Anemometry:
- conversion between tas, cas, eas.
- velocity calculation from airspeed indicator (ASI) pressure difference
- dynamic pressure calculation (compressible and incompressible cases)
- tas, alpha, beta from body velocity
-
6 DOF Dynamic fixed mass models:
- Flat Earth Euler angles
- Flat Earth quaternions
- Ellipsoidal Earth ECEF model quaternion
-
An experimental version of the simulator has been started. At the moment it comprises:
- C310 aerodynamics model obtained from JSBSim with an oversimplified engine model.
- F16 aerodynamics and engine (except for engine lag) model from ([1]).
- A preliminary version of the trimmer able to trim both aircrafts and validated for F16 with text book examples.
- Some base models serving as a for the development of the simulator: state, position, attitude, aerostate, mass, propulsion...
[1] Stevens, B. L., Lewis, F. L., & Johnson, E. N. (2015). Aircraft control and simulation: dynamics, controls design, and autonomous systems. John Wiley & Sons. (page 715)
Install :rocket:
You can install this package cloning it::
Pkg> add [email protected]:AlexS12/FlightMechanics.jl.git
or if you want the dev version::
Pkg> dev [email protected]:AlexS12/FlightMechanics.jl.git
and run the tests::
Pkg> test FlightMechanics
If this package is useful for you and want to join efforts don't hesitate to let me know_.
.. _let me know: https://github.com/AlexS12
|Ask Me Anything !| |Open Source Love svg2|
.. |Open Source Love svg2| image:: https://badges.frapsoft.com/os/v2/open-source.svg?v=103 :target: https://github.com/ellerbrock/open-source-badges/
.. |Ask Me Anything !| image:: https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg :target: https://github.com/AlexS12