35 SGPropertyNode_ptr config_props =
new SGPropertyNode;
37 SGPropertyNode *path_n =
fgGetNode(
"/sim/systems/path");
40 SGPath config =
globals->resolve_aircraft_path(path_n->getStringValue());
41 if (!config.exists()) {
42 SG_LOG( SG_SYSTEMS, SG_DEV_ALERT,
"System model file not found:" << config);
46 SG_LOG( SG_SYSTEMS, SG_INFO,
"Reading systems from "
50 readProperties( config, config_props );
53 catch(
const sg_exception& )
55 SG_LOG( SG_SYSTEMS, SG_ALERT,
"Failed to load systems system model: "
60 SG_LOG( SG_SYSTEMS, SG_WARN,
61 "No systems model specified for this model!");