Skip to content

Munition on Aircraft #1273

Answered by seanmcleod70
Omer-Gino asked this question in Q&A
May 6, 2025 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

I took a brief look at FlightGear in terms of how they handle munitions, for example see -https://wiki.flightgear.org/Scripted_AI_Objects#Missiles. So they don't spawn another JSBSim FDM, rather it looks like they run Nasal based FDMs for the missiles.

There are some references to ChildFDM in the current JSBSim source code:

https://github.com/search?q=repo%3AJSBSim-Team%2Fjsbsim+ChildFDM&type=code

But also this comment saying it's not yet supported.

jsbsim/src/FGFDMExec.cpp

Lines 1039 to 1042 in f794e04

// Lastly, process the child element. This element is OPTIONAL - and NOT YET SUPPORTED.
element = document->FindElement("child");
if (element) {
result = ReadChild

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@omergino
Comment options

Comment options

You must be logged in to vote
1 reply
@Omer-Gino
Comment options

Answer selected by Omer-Gino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants