- Timestamp:
- Aug 12, 2014, 3:34:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppMain.cpp
r5906 r5911 43 43 44 44 #include "pppMain.h" 45 #include "pppCrdFile.h" 45 46 #include "bncsettings.h" 46 47 … … 211 212 } 212 213 214 // Information from the coordinate file 215 // ------------------------------------ 216 string crdFileName(settings.value("PPP/crdFile").toString().toAscii().data()); 217 if (!crdFileName.empty()) { 218 vector<t_pppCrdFile::t_staInfo> staInfoVec; 219 t_pppCrdFile::readCrdFile(crdFileName, staInfoVec); 220 for (unsigned ii = 0; ii < staInfoVec.size(); ii++) { 221 const t_pppCrdFile::t_staInfo& staInfo = staInfoVec[ii]; 222 if (staInfo._name == opt->_roverName) { 223 opt->_xyzAprRover[0] = staInfo._xyz[0]; 224 opt->_xyzAprRover[1] = staInfo._xyz[1]; 225 opt->_xyzAprRover[2] = staInfo._xyz[2]; 226 opt->_neuEccRover[0] = staInfo._neuAnt[0]; 227 opt->_neuEccRover[1] = staInfo._neuAnt[1]; 228 opt->_neuEccRover[2] = staInfo._neuAnt[2]; 229 opt->_antNameRover = staInfo._antenna; 230 break; 231 } 232 } 233 } 234 213 235 // Some default values 214 236 // ------------------- … … 220 242 opt->_eleWgtPhase = false; 221 243 222 //// beg test223 if (opt->_roverName == "FFMJ1") {224 opt->_xyzAprRover[0] = 4053455.76;225 opt->_xyzAprRover[1] = 617729.79;226 opt->_xyzAprRover[2] = 4869395.80;227 opt->_antNameRover = "LEIAR25.R4 LEIT";228 }229 //// end test230 231 244 _options << opt; 232 245 }
Note:
See TracChangeset
for help on using the changeset viewer.