+#include <simgear/debug/logstream.hxx>
+
#include "Math.hpp"
#include "Rotorpart.hpp"
#include <stdio.h>
}
void Rotorpart::setAlphaoutput(char *text,int i)
{
- printf("setAlphaoutput rotorpart [%s] typ %i\n",text,i);
+ SG_LOG(SG_FLIGHT, SG_DEBUG, "setAlphaoutput rotorpart ["
+ << text << "] typ" << i);
strncpy(_alphaoutputbuf[i>0],text,255);
float fcw;
if(_c2==0)
- fcw==0;
+ fcw=0;
else
//fcw=vz/_c2*_maxpitchforce*_omega/_omegan;
fcw=vz*(_c2-1)*_maxpitchforce*_omega/(_omegan*_omegan*_len*_maxpitch);