Changeset 7487 in ntrip for trunk


Ignore:
Timestamp:
Oct 7, 2015, 3:56:55 PM (9 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.cpp

    r7481 r7487  
    15301530    double zz = yp*sini;
    15311531
    1532     Matrix R1 = BNC_PPP::t_astro::rotX(-5.0 / 180.0 * M_PI);
    1533     Matrix R2 = BNC_PPP::t_astro::rotZ(ll);
     1532    Matrix RX = BNC_PPP::t_astro::rotX(-5.0 / 180.0 * M_PI);
     1533    Matrix RZ = BNC_PPP::t_astro::rotZ(ll);
    15341534
    15351535    ColumnVector X1(3); X1 << xx << yy << zz;
    1536     ColumnVector X2 = R2*R1*X1;
     1536    ColumnVector X2 = RZ*RX*X1;
    15371537
    15381538    xc[0] = X2(1);
     
    15531553
    15541554    ColumnVector V(3);
    1555 
    15561555    V[0]   = cosom  *vx     - cosi*sinom   *vy      // dX / dr
    15571556           - xp*sinom*dotom - yp*cosi*cosom*dotom   // dX / dOMEGA
     
    15641563    V[2]   = sini   *vy     + yp*cosi      *doti;
    15651564
    1566     Matrix R3(3,3);
     1565    Matrix RdotZ(3,3);
    15671566    double C = cos(ll);
    15681567    double S = sin(ll);
     
    15711570    UU[1][0] =  -C;  UU[1][1] =  -S;  UU[1][2] = 0.0;
    15721571    UU[2][0] = 0.0;  UU[2][1] = 0.0;  UU[2][2] = 0.0;
    1573     R3 = omegaBDS * UU;
     1572    RdotZ = omegaBDS * UU;
    15741573
    15751574    ColumnVector VV(3);
    1576 
    1577     VV = R2*R1*V + R3*R1*X1;
     1575    VV = RZ*RX*V + RdotZ*RX*X1;
    15781576
    15791577    vv[0] = VV(1);
Note: See TracChangeset for help on using the changeset viewer.