Implementing VNAV support in FlightGear: Difference between revisions

Jump to navigation Jump to search
Line 224: Line 224:


=== 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.  
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.
 
=== Adding new Functions ===
=== Adding new Functions ===
Here's a stub that demonstrates how to add a new mathematical function named '''myFunction''':
Here's a stub that demonstrates how to add a new mathematical function named '''myFunction''':

Navigation menu