20,741
edits
(→YaSim) |
m (→JSBSim) |
||
| Line 179: | Line 179: | ||
[[JSBSim]] is an open source [[Flight Dynamics Model]] (FDM) software library that models the flight dynamics of an aerospace vehicle. The library has been incorporated into [[FlightGear]] and [http://www.openeaagles.org/ OpenEaagles]. It can also be called from a small standalone program to create a scripted batch simulation tool. JSBSim has been in development and use since 1996, and has been built on all of the most popular platforms in use today including those running Linux, Macintosh, and Microsoft Windows operating systems. JSBSim is written in C++ and uses [[File Formats#|XML]] configuration files. To date, JSBSim is the most mature FDM engine supported by FlightGear, being independently developed and maintained. JSBSim includes extensive support for systems modeling and several building blocks to simulate complex systems, including autoflight/autopilot systems. | [[JSBSim]] is an open source [[Flight Dynamics Model]] (FDM) software library that models the flight dynamics of an aerospace vehicle. The library has been incorporated into [[FlightGear]] and [http://www.openeaagles.org/ OpenEaagles]. It can also be called from a small standalone program to create a scripted batch simulation tool. JSBSim has been in development and use since 1996, and has been built on all of the most popular platforms in use today including those running Linux, Macintosh, and Microsoft Windows operating systems. JSBSim is written in C++ and uses [[File Formats#|XML]] configuration files. To date, JSBSim is the most mature FDM engine supported by FlightGear, being independently developed and maintained. JSBSim includes extensive support for systems modeling and several building blocks to simulate complex systems, including autoflight/autopilot systems. | ||
It is foreseeable that we may need to modify and extend JSBSim, i.e. to add new components - unfortunately, the "Extending JSBSim" chapter in the JSBSim reference manual is still just a placeholder without any content, so here are some stubs to lower the barrier to entry when extending JSBSim. | |||
=== Getting started === | === Getting started === | ||
* git clone git://git.code.sf.net/p/jsbsim/code jsbsim-code | * git clone git://git.code.sf.net/p/jsbsim/code jsbsim-code | ||
| Line 271: | Line 272: | ||
=== Adding new Control System Components === | === Adding new Control System Components === | ||
Here's a stub to add an empty '''FGDummy''' component to JSBSim to help lower the barrier to entry to extending JSBSim: | |||
<syntaxhighlight lang="diff"> | <syntaxhighlight lang="diff"> | ||
diff --git a/src/models/FGFCS.cpp b/src/models/FGFCS.cpp | diff --git a/src/models/FGFCS.cpp b/src/models/FGFCS.cpp | ||