_fdm->getAirplane()->getPilotAccel(v);
_set_Accels_Pilot_Body(M2FT*v[0], M2FT*v[1], -M2FT*v[2]);
+ // There is no property for pilot G's, but I need it for a panel
+ // instrument. Hack this in here, and REMOVE IT WHEN IT FINDS A
+ // REAL HOME!
+ fgSetFloat("/accelerations/pilot-g", -v[2]/9.8);
+
// The one appears (!) to want inverted pilot acceleration
// numbers, in G's...
Math::mul3(1.0/9.8, v, v);
node->setBoolValue("running", t->isRunning());
node->setBoolValue("cranking", t->isCranking());
- // Note: assumes all tanks have the same fuel density!
- node->setDoubleValue("fuel-flow-gph", CM2GALS * t->getFuelFlow()
- / airplane->getFuelDensity(0));
-
float tmp[3];
t->getThrust(tmp);
node->setDoubleValue("prop-thrust", Math::mag3(tmp) * KG2LBS / 9.8);