JSBSim: populate fuel tank cg
This commit is contained in:
parent
fe0015bda0
commit
ef2c9b995f
1 changed files with 2 additions and 0 deletions
|
@ -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 ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue