FG1000: Difference between revisions

298 bytes removed ,  1 January 2019
Line 153: Line 153:
var nasal_dir = getprop("/sim/fg-root") ~ "/Aircraft/Instruments-3d/FG1000/Nasal/";
var nasal_dir = getprop("/sim/fg-root") ~ "/Aircraft/Instruments-3d/FG1000/Nasal/";
io.load_nasal(nasal_dir ~ 'FG1000.nas', "fg1000");
io.load_nasal(nasal_dir ~ 'FG1000.nas', "fg1000");
io.load_nasal(nasal_dir ~ 'Interfaces/GenericInterfaceController.nas', "fg1000");
# Start the interface controller that maps from properties to Emesary messages that are then displayed
var interfaceController = fg1000.GenericInterfaceController.getOrCreateInstance();
interfaceController.start();


# Create the FG1000
# Create the FG1000