Go to the documentation of this file. 1 subroutine ecef(gha,posi,veli,pose,vele)
7 implicit real*8 (a-h,o-z)
8 dimension posi(3),veli(3)
9 dimension pose(3),vele(3)
10 common /gconst/
pi,radeg,
re,rem,
f,
omf2,omegae
17 pose(1) = posi(1)*cosgha + posi(2)*singha
18 pose(2) = -posi(1)*singha + posi(2)*cosgha
22 term1 = veli(1)*cosgha + veli(2)*singha
23 term2 = omegae*(-posi(1)*singha + posi(2)*cosgha)
25 term1 = -veli(1)*singha + veli(2)*cosgha
26 term2 = omegae*(-posi(1)*cosgha - posi(2)*singha)
subroutine ecef(gha, posi, veli, pose, vele)