How to use the jsbsim.FGJSBBase function in JSBSim

To help you get started, we’ve selected a few JSBSim examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JSBSim-Team / jsbsim / python / JSBSim.py View on Github external
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, see 
#

import xml.etree.ElementTree as et
import argparse, sys, os
import jsbsim

parser = argparse.ArgumentParser()
parser.add_argument("input", nargs='?', help="script file name")
parser.add_argument("--version", action="version",
                    version="%(prog)s {}".format(jsbsim.FGJSBBase().get_version()))
parser.add_argument("--outputlogfile", action="append", metavar="",
                    help="sets (overrides) the name of a data output file")
parser.add_argument("--logdirectivefile", action="append", metavar="",
                    help="specifies the name of a data logging directives file")
parser.add_argument("--root", default='.', metavar="

JSBSim

An open source flight dynamics & control software library

LGPL-2.1
Latest version published 3 months ago

Package Health Score

81 / 100
Full package analysis

Popular JSBSim functions