jsbsim_manager package
Module Contents
-
class
jsbsim_manager.jsbsim_manager.
Case
(run_conditions, init=<jsbsim_manager.jsbsim_manager.InitialConditions object>, output_list=[<jsbsim_manager.jsbsim_manager.Output object at 0x2ba134a2a6a0>]) Information that makes up a JSBSim case. The usual JSBSim runtime directory should look like this:
. ├── aircraft │ └── rocket │ ├── init.xml │ └── rocket.xml ├── engine │ ├── motor_nozzle.xml │ └── motor.xml ├── output.xml └── run.xml
Aircraft and Engine data can either be existing XML files, or an openrocketdoc document. Initial conditions, output file definitions, and the run files are described by this class.
-
jsbsim_manager.jsbsim_manager.
DEFAULT_INIT
= <jsbsim_manager.jsbsim_manager.InitialConditions object> A pre-built default initial conditions:
- Latitude, Longitude = Null Island (00.0, 000.0)
- ECEF velocity: 0
- Altitude: 0
- Attitude: roll/pitch/yaw = 0 (X pointed North)
-
class
jsbsim_manager.jsbsim_manager.
InitialConditions
(ubody=0, vbody=0, wbody=0, phi=0, theta=0, psi=0, altitude=0, latitude=0, longitude=0, elevation=0) Store initial conditions document
-
class
jsbsim_manager.jsbsim_manager.
JSBSimWriter
A Writing class for JSBSim XML
-
document
Return an XML document (str)
-
-
class
jsbsim_manager.jsbsim_manager.
Output
(outtype, destination, datarate, prop_list, port=5123) Store output file
-
class
jsbsim_manager.jsbsim_manager.
RunManager
(case) Run a JSBSim instance for a case
Parameters: case (Case) – A JSBSim Case object to build into a file structure and run.