//
// This file is in the Public Domain and comes with no warranty.
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <iostream>
#include <string>
#include <sstream>
#include "transponder.hxx"
#include "turn_indicator.hxx"
#include "vertical_speed_indicator.hxx"
+#include "inst_vertical_speed_indicator.hxx" // (TJ)
+#include "od_gauge.hxx"
+#include "wxradar.hxx"
+#include "tacan.hxx"
FGInstrumentMgr::FGInstrumentMgr ()
{
set_subsystem("annunciator", new Annunciator);
+ set_subsystem("od_gauge", new FGODGauge, 1.0);
config_props = new SGPropertyNode;
enabled = true;
} else {
SG_LOG( SG_ALL, SG_ALERT,
- "Detected an internal inconsistancy in the instrumentation");
+ "Detected an internal inconsistency in the instrumentation");
SG_LOG( SG_ALL, SG_ALERT,
" system specification file. See earlier errors for" );
SG_LOG( SG_ALL, SG_ALERT,
" details.");
exit(-1);
- }
+ }
} catch (const sg_exception& exc) {
SG_LOG( SG_ALL, SG_ALERT, "Failed to load instrumentation system model: "
<< config.str() );
} else if ( name == "vertical-speed-indicator" ) {
set_subsystem( "instrument" + temp.str(),
new VerticalSpeedIndicator( node ) );
+ } else if ( name == "wxradar" ) {
+ set_subsystem( "instrument" + temp.str(),
+ new wxRadarBg ( node ), 0.5 );
+ } else if ( name == "inst-vertical-speed-indicator" ) { // (TJ)
+ set_subsystem( "instrument" + temp.str(),
+ new InstVerticalSpeedIndicator( node ) );
+ } else if ( name == "tacan" ) {
+ set_subsystem( "instrument" + temp.str(),
+ new TACAN( node ) );
} else {
SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: "
<< name );