Changeset 7251 in ntrip for trunk/BNC/src/pppModel.cpp
- Timestamp:
- Aug 24, 2015, 5:56:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppModel.cpp
r7246 r7251 397 397 // Latitude, longitude, height are defined with respect to a spherical earth model 398 398 // ------------------------------------------------------------------------------- 399 ColumnVector geocSta; 400 xyz2geoc(xyzSta.data(), geocSta.data()); 399 ColumnVector geocSta(3); 400 if (xyz2geoc(xyzSta.data(), geocSta.data()) != success) { 401 return 0.0; 402 } 401 403 402 404 // satellite position rotated to the epoch of signal reception 403 405 // ----------------------------------------------------------- 404 ColumnVector xyzSat ;406 ColumnVector xyzSat(3); 405 407 double omegaZ = t_CST::omega * signalPropagationTime; 406 408 xyzSat[0] = rSat[0] * cos(omegaZ) + rSat[1] * sin(omegaZ);
Note:
See TracChangeset
for help on using the changeset viewer.