- Timestamp:
- Apr 22, 2012, 7:55:12 PM (13 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r4021 r4023 1024 1024 // RINEX Format String 1025 1025 ////////////////////////////////////////////////////////////////////////////// 1026 QString t_ephGlo::toString(double version) const {1027 QString rnxStr = rinexDateStr(version);1028 return rnxStr + "\n";1029 }1030 1031 // RINEX Format String1032 //////////////////////////////////////////////////////////////////////////////1033 QString t_ephGal::toString(double version) const {1034 QString rnxStr = rinexDateStr(version);1035 return rnxStr + "\n";1036 }1037 1038 // RINEX Format String1039 //////////////////////////////////////////////////////////////////////////////1040 1026 QString t_ephGPS::toString(double version) const { 1041 1027 … … 1095 1081 return rnxStr; 1096 1082 } 1083 1084 // RINEX Format String 1085 ////////////////////////////////////////////////////////////////////////////// 1086 QString t_ephGlo::toString(double version) const { 1087 1088 QString rnxStr = rinexDateStr(version); 1089 1090 QTextStream out(&rnxStr); 1091 1092 out << QString("%1%2%3\n") 1093 .arg(-_tau, 19, 'e', 12) 1094 .arg(_gamma, 19, 'e', 12) 1095 .arg(_tki, 19, 'e', 12); 1096 1097 QString fmt = version < 3.0 ? " %1%2%3%4\n" : " %1%2%3%4\n"; 1098 1099 out << QString(fmt) 1100 .arg(_x_pos, 19, 'e', 12) 1101 .arg(_x_velocity, 19, 'e', 12) 1102 .arg(_x_acceleration, 19, 'e', 12) 1103 .arg(_health, 19, 'e', 12); 1104 1105 out << QString(fmt) 1106 .arg(_y_pos, 19, 'e', 12) 1107 .arg(_y_velocity, 19, 'e', 12) 1108 .arg(_y_acceleration, 19, 'e', 12) 1109 .arg(_frequency_number, 19, 'e', 12); 1110 1111 out << QString(fmt) 1112 .arg(_z_pos, 19, 'e', 12) 1113 .arg(_z_velocity, 19, 'e', 12) 1114 .arg(_z_acceleration, 19, 'e', 12) 1115 .arg(_E, 19, 'e', 12); 1116 1117 return rnxStr; 1118 } 1119 1120 // RINEX Format String 1121 ////////////////////////////////////////////////////////////////////////////// 1122 QString t_ephGal::toString(double version) const { 1123 1124 QString rnxStr = rinexDateStr(version); 1125 1126 QTextStream out(&rnxStr); 1127 1128 out << QString("%1%2%3\n") 1129 .arg(_clock_bias, 19, 'e', 12) 1130 .arg(_clock_drift, 19, 'e', 12) 1131 .arg(_clock_driftrate, 19, 'e', 12); 1132 1133 QString fmt = version < 3.0 ? " %1%2%3%4\n" : " %1%2%3%4\n"; 1134 1135 out << QString(fmt) 1136 .arg(_IODnav, 19, 'e', 12) 1137 .arg(_Crs, 19, 'e', 12) 1138 .arg(_Delta_n, 19, 'e', 12) 1139 .arg(_M0, 19, 'e', 12); 1140 1141 out << QString(fmt) 1142 .arg(_Cuc, 19, 'e', 12) 1143 .arg(_e, 19, 'e', 12) 1144 .arg(_Cus, 19, 'e', 12) 1145 .arg(_sqrt_A, 19, 'e', 12); 1146 1147 out << QString(fmt) 1148 .arg(_TOEsec, 19, 'e', 12) 1149 .arg(_Cic, 19, 'e', 12) 1150 .arg(_OMEGA0, 19, 'e', 12) 1151 .arg(_Cis, 19, 'e', 12); 1152 1153 out << QString(fmt) 1154 .arg(_i0, 19, 'e', 12) 1155 .arg(_Crc, 19, 'e', 12) 1156 .arg(_omega, 19, 'e', 12) 1157 .arg(_OMEGADOT, 19, 'e', 12); 1158 1159 out << QString(fmt) 1160 .arg(_IDOT, 19, 'e', 12) 1161 .arg("") 1162 .arg(_TOEweek, 19, 'e', 12) 1163 .arg(""); 1164 1165 out << QString(fmt) 1166 .arg(_SISA, 19, 'e', 12) 1167 .arg(_E5aHS, 19, 'e', 12) 1168 .arg(_BGD_1_5A, 19, 'e', 12) 1169 .arg(_BGD_1_5B, 19, 'e', 12); 1170 1171 out << QString(fmt) 1172 .arg(_TOT, 19, 'e', 12) 1173 .arg("") 1174 .arg("") 1175 .arg(""); 1176 1177 return rnxStr; 1178 } 1179 -
trunk/BNC/RTCM3/ephemeris.h
r4022 r4023 223 223 // spare 224 224 225 int_SISA; // Signal In Space Accuracy226 int_E5aHS; // E5a Health Status225 double _SISA; // Signal In Space Accuracy 226 double _E5aHS; // E5a Health Status 227 227 double _BGD_1_5A; // group delay [s] 228 228 double _BGD_1_5B; // group delay [s]
Note:
See TracChangeset
for help on using the changeset viewer.