- Timestamp:
- Jan 12, 2010, 9:10:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r2222 r2223 247 247 void t_ephGlo::set(const glonassephemeris* ee) { 248 248 249 } 249 ostringstream prn; 250 prn << 'R' << setfill('0') << setw(2) << ee->almanac_number; 251 _prn = prn.str(); 252 253 _GPSweek = ee->GPSWeek; 254 _GPSweeks = ee->GPSTOW; 255 256 _gps_utc = 0.0; 257 _E = ee->E; 258 _tau = ee->tau; 259 _gamma = ee->gamma; 260 _x_pos = ee->x_pos; 261 _x_velocity = ee->x_velocity; 262 _x_acceleration = ee->x_acceleration; 263 _y_pos = ee->y_pos; 264 _y_velocity = ee->y_velocity; 265 _y_acceleration = ee->y_acceleration; 266 _z_pos = ee->z_pos; 267 _z_velocity = ee->z_velocity; 268 _z_acceleration = ee->z_acceleration; 269 _health = 0; 270 _frequency_number = ee->frequency_number; 271 _tki = ee->tk; 272 273 // Initialize status vector 274 // ------------------------ 275 _tt = _GPSweeks; 276 277 _xv(1) = _x_pos * 1.e3; 278 _xv(2) = _y_pos * 1.e3; 279 _xv(3) = _z_pos * 1.e3; 280 _xv(4) = _x_velocity * 1.e3; 281 _xv(5) = _y_velocity * 1.e3; 282 _xv(6) = _z_velocity * 1.e3; 283 }
Note:
See TracChangeset
for help on using the changeset viewer.