Update of /cvsroot/jsbsim/JSBSim/src/models
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5685
Modified Files:
FGLGear.cpp
Log Message:
Display the simulation time at which a crash has been detected.
Index: FGLGear.cpp
===================================================================
RCS file: /cvsroot/jsbsim/JSBSim/src/models/FGLGear.cpp,v
retrieving revision 1.123
retrieving revision 1.124
diff -C2 -r1.123 -r1.124
*** FGLGear.cpp 16 May 2016 18:19:57 -0000 1.123
--- FGLGear.cpp 25 Jun 2016 17:48:02 -0000 1.124
***************
*** 556,560 ****
SinkRate > 1.4666*30 ) && !fdmex->IntegrationSuspended())
{
! PutMessage("Crash Detected: Simulation FREEZE.");
// fdmex->SuspendIntegration();
}
--- 556,562 ----
SinkRate > 1.4666*30 ) && !fdmex->IntegrationSuspended())
{
! ostringstream buf;
! buf << "*CRASH DETECTED* " << fdmex->GetSimTime() << " seconds: " << name;
! PutMessage(buf.str());
// fdmex->SuspendIntegration();
}
|