#include <simgear/compiler.h>
#include <math.h>
-#include <iostream>
+#include STL_IOSTREAM
#include "FDM/LaRCsimIC.hxx"
#include <FDM/LaRCsim/ls_cockpit.h>
void LaRCsimIC::SetClimbRateFpsIC( SCALAR tt) {
vtg=vt+vw;
- cout << "vtg: " << vtg << endl;
if(vtg > 0.1) {
hdot = tt - vdownwind;
gamma=asin(hdot/vtg);
getTheta();
vdown=-1*hdot;
- cout << "hdot: " << hdot << endl;
- cout << "gamma: " << gamma*SGD_RADIANS_TO_DEGREES << endl;
- cout << "vdown: " << vdown << endl;
}
}
getTheta();
vtg=vt+vw;
hdot=vtg*sin(tt);
- cout << "hdot: " << hdot << endl;
vdown=-1*hdot;
}