Could I add more than one aircraft into a JSBSim instance? #426
Unanswered
xiaodao2049
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You can simulate multiple aircraft within a single JSBSim process, however there will be a separate So for example, something along these lines: import jsbsim
aircraft1 = jsbsim.FGFDMExec('.', None)
aircraft1.load_script('scripts/c1721.xml')
aircraft1.run_ic()
aircraft2 = jsbsim.FGFDMExec('.', None)
aircraft2.load_script('scripts/737cruise.xml')
aircraft2.run_ic()
while True:
aircraft1.run()
aircraft2.run() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Could I add more than one aircraft into a JSBSim instance? for example, 5 aircraft fly in a JSBSim environment.
If JSBSim can add more than one aircraft into a instance , how can I do it ?
Beta Was this translation helpful? Give feedback.
All reactions