Changeset 800 in ntrip for trunk/BNS/bns.cpp


Ignore:
Timestamp:
Apr 8, 2008, 5:56:18 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r799 r800  
    1616
    1717#include <iostream>
     18#include <newmatio.h>
    1819
    1920#include "bns.h"
     
    237238  satellitePosition(GPSweeks, ep, xB(1), xB(2), xB(3), xB(4));
    238239
    239   cout << GPSweek << " " << GPSweeks << " "
    240        << xx(1) << " " << xx(2) << " " << xx(3) << " " <<  xx(4) << " "
    241        << xB(1) << " " << xB(2) << " " << xB(3) << " " <<  xB(4) << endl;
    242 }
     240  ColumnVector dx = xx - xB;
     241  dx(4) *= 299792458.0;
     242
     243  cout << GPSweek << " " << GPSweeks << " " << ep->prn.toAscii().data() << " "
     244       << setprecision(3) << dx.t();
     245}
Note: See TracChangeset for help on using the changeset viewer.