1
0
Fork 0

degrade SG_ALERT message about phi/delta3 values to SG_WARN (should

probably be SG_DEBUG!?)
This commit is contained in:
mfranz 2007-05-09 21:01:19 +00:00
parent 16a2bb0118
commit 282156ecf8

View file

@ -939,8 +939,8 @@ void Rotor::compile()
float relamp_theoretical=(omega*omega/(2*delta_theoretical*Math::sqrt(sqr(omega0*omega0-omega*omega)
+4*delta_theoretical*delta_theoretical*omega*omega)))*_cyclic_factor;
_phi=Math::acos(_rel_len_hinge);
SG_LOG(SG_GENERAL, SG_ALERT,
"phi: " << _phi*180/3.14 << " delta3: " << _delta3 << "(" << Math::atan(_delta3)*180/3.14 << ")" <<endl);
SG_LOG(SG_GENERAL, SG_WARN,
"phi: " << _phi*180/3.14 << " delta3: " << _delta3 << "(" << Math::atan(_delta3)*180/3.14 << ")");
_phi-=Math::atan(_delta3);
if (!_no_torque)
{