#include "groundradar.hxx"
#include "agradar.hxx"
#include "rad_alt.hxx"
+#include "tcas.hxx"
FGInstrumentMgr::FGInstrumentMgr () :
_explicitGps(false)
{
set_subsystem("od_gauge", new FGODGauge);
- set_subsystem("hud", new HUD);
+
+ globals->add_subsystem("hud", new HUD, SGSubsystemMgr::DISPLAY);
}
FGInstrumentMgr::~FGInstrumentMgr ()
} else if ( name == "radar-altimeter" ) {
set_subsystem( id, new radAlt( node ),1);
+ } else if ( name == "tcas" ) {
+ set_subsystem( id, new TCAS( node ) );
+
} else {
SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: "
<< name );