1
0
Fork 0

JSBSim: populate fuel tank cg

This commit is contained in:
Torsten Dreyer 2015-02-04 12:44:20 +01:00
parent fe0015bda0
commit ef2c9b995f

View file

@ -956,6 +956,8 @@ bool FGJSBsim::copy_from_JSBsim()
node->setDoubleValue("density-ppg" , fuelDensity);
node->setDoubleValue("level-lbs", contents);
if (temp != -9999.0) node->setDoubleValue("temperature_degC", temp);
node->setDoubleValue("arm-in", tank->GetXYZ(FGJSBBase::eX ) );
}
}