Changeset 5877 in ntrip
- Timestamp:
- Aug 8, 2014, 12:11:00 PM (11 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/PPP/pppClient.cpp ¶
r5858 r5877 352 352 _output->_xyzRover[1] = _staRover->xyzApr()[1] + _filter->x()[1]; 353 353 _output->_xyzRover[2] = _staRover->xyzApr()[2] + _filter->x()[2]; 354 355 xyz2neu(_staRover->ellApr().data(), _filter->x().data(), _output->_neu); 356 354 357 copy(&_filter->Q().data()[0], &_filter->Q().data()[6], _output->_covMatrix); 358 355 359 _output->_numSat = _filter->numSat(); 356 360 _output->_pDop = _filter->PDOP(); -
TabularUnified trunk/BNC/src/PPP/pppFilter.cpp ¶
r5866 r5877 160 160 } 161 161 162 _parlist->printResult(_epoTime, _QFlt, _xFlt , 0);162 _parlist->printResult(_epoTime, _QFlt, _xFlt); 163 163 164 164 return success; -
TabularUnified trunk/BNC/src/PPP/pppInclude.h ¶
r5849 r5877 28 28 double _xyzRover[3]; 29 29 double _covMatrix[6]; 30 double _neu[3]; 30 31 int _numSat; 31 32 double _pDop; -
TabularUnified trunk/BNC/src/PPP/pppParlist.cpp ¶
r5828 r5877 382 382 //////////////////////////////////////////////////////////////////////////// 383 383 void t_pppParlist::printResult(const bncTime& epoTime, const SymmetricMatrix& QQ, 384 const ColumnVector& xx , double ambFixRate) const {384 const ColumnVector& xx) const { 385 385 386 386 string epoTimeStr = string(epoTime); … … 450 450 << " dU = " << setprecision(4) << neu[2] << " +- " 451 451 << setprecision(4) << sqrt(QQneu[2][2]); 452 if (ambFixRate > 0.0) { 453 LOG << " fix "; 454 } 455 else { 456 LOG << " flt "; 457 } 458 LOG << int(100*ambFixRate) << " %\n"; 459 } 460 } 461 452 LOG << endl; 453 } 454 } 455 -
TabularUnified trunk/BNC/src/PPP/pppParlist.h ¶
r5819 r5877 104 104 std::vector<t_pppParam*>& params() {return _params;} 105 105 void printResult(const bncTime& epoTime, const SymmetricMatrix& QQ, 106 const ColumnVector& xx , double ambFixRate) const;106 const ColumnVector& xx) const; 107 107 private: 108 108 std::vector<t_pppParam*> _params; -
TabularUnified trunk/BNC/src/PPP/pppRunRealTime.cpp ¶
r5876 r5877 204 204 205 205 if (!output._error && _opt->xyzAprRoverSet()) { 206 ColumnVector dx(3); 207 dx[0] = _opt->_xyzAprRover[0] - output._xyzRover[0]; 208 dx[1] = _opt->_xyzAprRover[1] - output._xyzRover[1]; 209 dx[2] = _opt->_xyzAprRover[2] - output._xyzRover[2]; 210 emit newPosition (output._epoTime, dx[0], dx[1], dx[2]); 206 emit newPosition (output._epoTime, output._neu[0], output._neu[1], output._neu[2]); 211 207 } 212 208
Note:
See TracChangeset
for help on using the changeset viewer.