Ignore:
Timestamp:
Sep 8, 2014, 3:49:16 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r5867 r6109  
    412412  ColumnVector oldXC(4);
    413413  ColumnVector oldVV(3);
    414   corr->eph->position(corr->tRao.gpsw(), corr->tRao.gpssec(),
    415                       oldXC.data(), oldVV.data());
     414  corr->eph->getCrd(corr->tRao, oldXC, oldVV, false);
    416415
    417416  ColumnVector newXC(4);
    418417  ColumnVector newVV(3);
    419   lastEph->position(corr->tRao.gpsw(), corr->tRao.gpssec(),
    420                     newXC.data(), newVV.data());
     418  lastEph->getCrd(corr->tRao, newXC, newVV, false);
    421419
    422420  ColumnVector dX = newXC.Rows(1,3) - oldXC.Rows(1,3);
     
    640638    const t_eph* eph = corr->eph;
    641639    if (eph) {
    642       double xx, yy, zz, cc;
    643       eph->position(_resTime.gpsw(), _resTime.gpssec(), xx, yy, zz, cc);
     640      ColumnVector xc(4);
     641      ColumnVector vv(3);
     642      eph->getCrd(_resTime, xc, vv, false);
    644643
    645644      out << _resTime.datestr().c_str() << " "
     
    648647      out << "Full Clock " << corr->prn << " " << corr->iod << " ";
    649648      out.setFieldWidth(14);
    650       out << (cc + corr->dClk) * t_CST::c << endl;
     649      out << (xc(4) + corr->dClk) * t_CST::c << endl;
    651650      out.setFieldWidth(0);
    652651    }
     
    679678    ColumnVector xc(4);
    680679    ColumnVector vv(3);
    681     corr->eph->position(_resTime.gpsw(), _resTime.gpssec(),
    682                         xc.data(), vv.data());
     680    corr->eph->getCrd(_resTime, xc, vv, false);
    683681   
    684682    // Correction Phase Center --> CoM
Note: See TracChangeset for help on using the changeset viewer.