20,741
edits
m (→I/O) |
(→I/O) |
||
Line 231: | Line 231: | ||
=== I/O === | === I/O === | ||
For more sophisticated I/O needs, there's a separate folder in '''src/input_output/''', which contains various examples on implementing '''FGOutput''' based I/O protocols. This is also the place where the FG interfacing machinery is to be found, specifically see FGOutputFG.cxx. | For more sophisticated I/O needs, there's a separate folder in '''src/input_output/''', which contains various examples on implementing '''FGOutput''' based I/O protocols. This is also the place where the FG interfacing machinery is to be found, specifically see FGOutputFG.cxx (basically, FlightGear's NetFDM struct is the transport means for any JSBSim/FG synchronization needs). | ||
To make use of the FlightGear interface, you need to edit your JSBSim/FDM xml file and add an output section to the toplevel '''fdm_config''' node: | To make use of the FlightGear interface, you need to edit your JSBSim/FDM xml file and add an output section to the toplevel '''fdm_config''' node: |