#include "attitude_indicator.hxx"
#include "clock.hxx"
#include "dme.hxx"
-#include "encoder.hxx"
#include "gps.hxx"
#include "gsdi.hxx"
#include "heading_indicator.hxx"
#include "tacan.hxx"
#include "mk_viii.hxx"
#include "mrg.hxx"
-
+#include "groundradar.hxx"
FGInstrumentMgr::FGInstrumentMgr ()
{
- set_subsystem("od_gauge", new FGODGauge, 1.0);
+ set_subsystem("od_gauge", new FGODGauge);
set_subsystem("hud", new HUD);
config_props = new SGPropertyNode;
new DME( node ), 1.0 );
} else if ( name == "encoder" ) {
set_subsystem( "instrument" + temp.str(),
- new Encoder( node ) );
+ new Altimeter( node ) );
} else if ( name == "gps" ) {
set_subsystem( "instrument" + temp.str(),
new GPS( node ), 0.45 );
} else if ( name == "vertical-speed-indicator" ) {
set_subsystem( "instrument" + temp.str(),
new VerticalSpeedIndicator( node ) );
- } else if ( name == "wxradar" ) {
+ } else if ( name == "radar" ) {
set_subsystem( "instrument" + temp.str(),
new wxRadarBg ( node ), 0.5 );
} else if ( name == "inst-vertical-speed-indicator" ) { // (TJ)
} else if ( name == "master-reference-gyro" ) {
set_subsystem( "instrument" + temp.str(),
new MasterReferenceGyro( node ) );
+ } else if ( name == "groundradar" ) {
+ set_subsystem( "instrument" + temp.str(),
+ new GroundRadar( node ), 1 );
} else {
SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: "