#include <simgear/debug/logstream.hxx>
#include <simgear/io/iochannel.hxx>
#include <simgear/math/sg_types.hxx>
-#include <simgear/misc/props.hxx>
#include <simgear/misc/sg_path.hxx>
+#include <simgear/props/props.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
// elevator
tmp = -scale( elevator_center->getIntValue(), elevator_min->getIntValue(),
elevator_max->getIntValue(), analog_in_data[5] );
- fgSetFloat( "/controls/flight/elevator", tmp );
+ fgSetFloat( "/controls/flight/elevator", tmp * 0.5 );
// cout << "trim = " << analog_in_data[4] << " = " << tmp;
// elevator trim
fuel1 = fuel;
if ( fuel1 == fuel2 && fuel2 == fuel3 ) {
fgSetBool( "/controls/fuel/tank[0]/fuel-selector", (fuel & 0x01) > 0 );
- fgSetBool( "/controls/fuel/tabk[1]/fuel-selector", (fuel & 0x02) > 0 );
+ fgSetBool( "/controls/fuel/tank[1]/fuel-selector", (fuel & 0x02) > 0 );
}
// circuit breakers