// Rotation
- double cTht = Propagate->GetCostht();
- double cPhi = Propagate->GetCosphi();
- double sPhi = Propagate->GetSinphi();
+ double cTht = Propagate->GetCosEuler(eTht);
+ double cPhi = Propagate->GetCosEuler(ePhi);
+ double sPhi = Propagate->GetSinEuler(ePhi);
vEulerRates(eTht) = vPQR(eQ)*cPhi - vPQR(eR)*sPhi;
if (cTht != 0.0) {
psiw = Atmosphere->GetWindPsi();
vw = Atmosphere->GetWindNED().Magnitude();
- return vw*cos(psiw - Propagate->Getpsi());
+ return vw*cos(psiw - Propagate->GetEuler(ePsi));
}
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
psiw = Atmosphere->GetWindPsi();
vw = Atmosphere->GetWindNED().Magnitude();
- return vw*sin(psiw - Propagate->Getpsi());
+ return vw*sin(psiw - Propagate->GetEuler(ePsi));
}
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%