#include <simgear/structure/exception.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/debug/logstream.hxx>
_volts_out = fgGetNode( "/systems/electrical/volts", true );
_amps_out = fgGetNode( "/systems/electrical/amps", true );
_volts_out = fgGetNode( "/systems/electrical/volts", true );
_amps_out = fgGetNode( "/systems/electrical/amps", true );
"NOTICE: System manager configuration specifies an " <<
"electrical system: " << path << " but it is " <<
"being overridden by the one specified in the -set.xml " <<
"NOTICE: System manager configuration specifies an " <<
"electrical system: " << path << " but it is " <<
"being overridden by the one specified in the -set.xml " <<
"Reading deprecated xml electrical system model from\n "
<< config.str() );
try {
readProperties( config.str(), config_props );
"Reading deprecated xml electrical system model from\n "
<< config.str() );
try {
readProperties( config.str(), config_props );
- } catch (const sg_exception& exc) {
- SG_LOG( SG_ALL, SG_ALERT,
+ } catch (const sg_exception&) {
+ SG_LOG( SG_SYSTEMS, SG_ALERT,
// cout << "battery load = " << load << endl;
if ( node->apply_load( load, dt ) < 0.0 ) {
// cout << "battery load = " << load << endl;
if ( node->apply_load( load, dt ) < 0.0 ) {
new FGElectricalConnector( node, this );
connectors.push_back( c );
} else {
new FGElectricalConnector( node, this );
connectors.push_back( c );
} else {