degrade SG_ALERT message about phi/delta3 values to SG_WARN (should
probably be SG_DEBUG!?)
This commit is contained in:
parent
16a2bb0118
commit
282156ecf8
1 changed files with 2 additions and 2 deletions
|
@ -939,8 +939,8 @@ void Rotor::compile()
|
||||||
float relamp_theoretical=(omega*omega/(2*delta_theoretical*Math::sqrt(sqr(omega0*omega0-omega*omega)
|
float relamp_theoretical=(omega*omega/(2*delta_theoretical*Math::sqrt(sqr(omega0*omega0-omega*omega)
|
||||||
+4*delta_theoretical*delta_theoretical*omega*omega)))*_cyclic_factor;
|
+4*delta_theoretical*delta_theoretical*omega*omega)))*_cyclic_factor;
|
||||||
_phi=Math::acos(_rel_len_hinge);
|
_phi=Math::acos(_rel_len_hinge);
|
||||||
SG_LOG(SG_GENERAL, SG_ALERT,
|
SG_LOG(SG_GENERAL, SG_WARN,
|
||||||
"phi: " << _phi*180/3.14 << " delta3: " << _delta3 << "(" << Math::atan(_delta3)*180/3.14 << ")" <<endl);
|
"phi: " << _phi*180/3.14 << " delta3: " << _delta3 << "(" << Math::atan(_delta3)*180/3.14 << ")");
|
||||||
_phi-=Math::atan(_delta3);
|
_phi-=Math::atan(_delta3);
|
||||||
if (!_no_torque)
|
if (!_no_torque)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue