Changeset 2065 in ntrip
- Timestamp:
- Dec 1, 2009, 2:13:03 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2064 r2065 183 183 satData->rho = (satData->xx - xRec).norm_Frobenius(); 184 184 185 double tropDelay = delay_saast( );185 double tropDelay = delay_saast(satData->eleSat); 186 186 187 187 cout << "tropDelay " << tropDelay << endl; … … 192 192 // Tropospheric Model (Saastamoinen) 193 193 //////////////////////////////////////////////////////////////////////////// 194 double bncModel::delay_saast( ) {194 double bncModel::delay_saast(double Ele) { 195 195 196 196 double height = _ellBanc(3); 197 double Ele = M_PI/2.0;198 197 199 198 double pp = 1013.25 * pow(1.0 - 2.26e-5 * height, 5.225); -
trunk/BNC/bncmodel.h
r2064 r2065 55 55 private: 56 56 double cmpValueP3(t_satData* satData); 57 double delay_saast( );57 double delay_saast(double Ele); 58 58 59 59 QList<bncParam*> _params; -
trunk/BNC/bncpppclient.h
r2060 r2065 52 52 double clk; 53 53 bool clkCorr; 54 double eleSat; 55 double azSat; 54 56 double rho; 55 57 }; -
trunk/BNC/bncutils.cpp
r2063 r2065 222 222 return failure; 223 223 } 224 225 // Rectangular Coordinates -> North, East, Up Components 226 //////////////////////////////////////////////////////////////////////////// 227 void xyz2neu(const double* Ell, const double* xyz, double* neu) { 228 229 double sinPhi = sin(Ell[0]); 230 double cosPhi = cos(Ell[0]); 231 double sinLam = sin(Ell[1]); 232 double cosLam = cos(Ell[1]); 233 234 neu[0] = - sinPhi*cosLam * xyz[0] 235 - sinPhi*sinLam * xyz[1] 236 + cosPhi * xyz[2]; 237 238 neu[1] = - sinLam * xyz[0] 239 + cosLam * xyz[1]; 240 241 neu[2] = + cosPhi*cosLam * xyz[0] 242 + cosPhi*sinLam * xyz[1] 243 + sinPhi * xyz[2]; 244 } -
trunk/BNC/bncutils.h
r2063 r2065 49 49 t_irc xyz2ell(const double* XYZ, double* Ell); 50 50 51 void xyz2neu(const double* Ell, const double* xyz, double* neu); 52 51 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.