Developement Of An Instrument Landing Simulation ... - Cal Poly
Developement Of An Instrument Landing Simulation ... - Cal Poly
Developement Of An Instrument Landing Simulation ... - Cal Poly
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Theta2 = pi+Theta1;Theta3 = -((2*pi)-(APpsi*pi/180));Theta4 = atan(z/x);lambda = (90*pi/180)-(Theta1-Theta3);a=cos(lambda)*r;CDVert= 57.3*(sin(a/r));CDI=CDVert;//Same angle, different scale//<strong>Cal</strong>culate CDHorCDHor = 57.3*(Theta4-(GlideSlope*pi/180));return;}/* Function: mdlTerminate =========================================* Abstract:* No termination needed, but we are required to have this routine.*/static void mdlTerminate(SimStruct *S){}92