30 #define o_(label,nFrac) if (outputColumnLabels) printf(label); else fFieldDatabase->outputField(label, nFrac) 31 #define oInterpreted_(label,interpretedLabel) if (outputColumnLabels) printf(interpretedLabel); else fFieldDatabase->outputFieldInterpreted(label, interpretedLabel) 32 #define oBoolean_(label) if (outputColumnLabels) printf(label); else fFieldDatabase->outputFieldAsBoolean(label) 33 #define oFirst(label) o_(label,0) 34 #define oFrac(label,nFrac) do { printf(separator); o_(label,nFrac); } while (0) 35 #define o(label) oFrac(label,0) 36 #define oInterpreted(label,interpretedLabel) do { printf(separator); oInterpreted_(label,interpretedLabel); } while (0) 37 #define oBoolean(label) do { printf(separator); oBoolean_(label); } while (0) 40 oFirst(
"CUSTOM.updateTime");
41 oFrac(
"CUSTOM.hSpeed", 2);
42 oFrac(
"CUSTOM.distance", 2);
43 oFrac(
"OSD.latitude", 6);
44 oFrac(
"OSD.longitude", 6);
45 oFrac(
"OSD.height", 1);
46 oFrac(
"OSD.xSpeed", 1);
47 oFrac(
"OSD.ySpeed", 1);
48 oFrac(
"OSD.zSpeed", 1);
49 oFrac(
"OSD.pitch", 1);
58 oInterpreted(
"OSD.goHomeStatus.RAW",
"OSD.goHomeStatus");
61 o(
"OSD.voltageWarning");
67 oBoolean(
"OSD.isAcceletorOverRange");
69 oBoolean(
"OSD.isBarometerDeadInAir");
73 oBoolean(
"OSD.isGoHomeHeightModified");
76 o(
"OSD.flightAction");
77 oInterpreted(
"OSD.flightAction.RAW",
"OSD.flightAction");
78 oInterpreted(
"OSD.motorStartFailedCause.RAW",
"OSD.motorStartFailedCause");
82 oFrac(
"OSD.sWaveHeight", 1);
83 oFrac(
"OSD.flyTime", 1);
84 o(
"OSD.motorRevolution");
87 oInterpreted(
"OSD.imuInitFailReason.RAW",
"OSD.imuInitFailReason");
88 oInterpreted(
"OSD.motorFailReason.RAW",
"OSD.motorFailReason");
90 oFrac(
"GIMBAL.pitch", 1);
91 oFrac(
"GIMBAL.roll", 1);
92 oFrac(
"GIMBAL.yaw", 1);
94 oFrac(
"GIMBAL.rollAdjust", 1);
95 oFrac(
"GIMBAL.yawAngle", 1);
96 oBoolean(
"GIMBAL.isAutoCalibration");
97 o(
"GIMBAL.autoCalibrationResult");
119 o(
"CENTER_BATTERY.relativeCapacity");
120 o(
"CENTER_BATTERY.currentPV");
121 o(
"CENTER_BATTERY.currentCapacity");
122 o(
"CENTER_BATTERY.fullCapacity");
123 o(
"CENTER_BATTERY.life");
124 o(
"CENTER_BATTERY.loopNum");
125 o(
"CENTER_BATTERY.errorType");
126 o(
"CENTER_BATTERY.current");
127 o(
"CENTER_BATTERY.voltageCell1");
128 o(
"CENTER_BATTERY.voltageCell2");
129 o(
"CENTER_BATTERY.voltageCell3");
130 o(
"CENTER_BATTERY.voltageCell4");
131 o(
"CENTER_BATTERY.voltageCell5");
132 o(
"CENTER_BATTERY.voltageCell6");
133 o(
"CENTER_BATTERY.serialNo");
134 o(
"CENTER_BATTERY.productDate");
135 o(
"CENTER_BATTERY.temperature");
136 o(
"CENTER_BATTERY.connStatus");
137 o(
"CENTER_BATTERY.totalStudyCycle");
138 o(
"CENTER_BATTERY.lastStudyCycle");
139 o(
"CENTER_BATTERY.isNeedStudy");
140 o(
"CENTER_BATTERY.isBatteryOnCharge");
141 o(
"SMART_BATTERY.usefulTime");
142 o(
"SMART_BATTERY.goHomeTime");
143 o(
"SMART_BATTERY.landTime");
144 o(
"SMART_BATTERY.goHomeBattery");
145 o(
"SMART_BATTERY.landBattery");
146 o(
"SMART_BATTERY.safeFlyRadius");
147 o(
"SMART_BATTERY.volumeConsume");
148 oInterpreted(
"SMART_BATTERY.status.RAW",
"SMART_BATTERY.status");
149 oInterpreted(
"SMART_BATTERY.goHomeStatus.RAW",
"SMART_BATTERY.goHomeStatus");
150 o(
"SMART_BATTERY.goHomeCountdown");
151 o(
"SMART_BATTERY.voltage");
152 o(
"SMART_BATTERY.battery");
153 o(
"SMART_BATTERY.lowWarning");
154 o(
"SMART_BATTERY.lowWarningGoHome");
155 o(
"SMART_BATTERY.seriousLowWarning");
156 o(
"SMART_BATTERY.seriousLowWarningLanding");
157 o(
"SMART_BATTERY.voltagePercent");
158 o(
"DEFORM.isDeformProtected");
159 oInterpreted(
"DEFORM.deformStatus.RAW",
"DEFORM.deformStatus");
160 oInterpreted(
"DEFORM.deformMode.RAW",
"DEFORM.deformMode");
161 oFrac(
"HOME.latitude", 6);
162 oFrac(
"HOME.longitude", 6);
163 oFrac(
"HOME.height", 2);
165 o(
"HOME.goHomeMode");
166 o(
"HOME.aircraftHeadDirection");
167 oBoolean(
"HOME.isDynamicHomePointEnabled");
168 o(
"HOME.goHomeStatus");
170 o(
"HOME.compassCeleStatus");
175 o(
"HOME.goHomeHeight");
176 oFrac(
"HOME.courseLockAngle", 1);
177 o(
"HOME.dataRecorderStatus");
178 o(
"HOME.dataRecorderRemainCapacity");
179 o(
"HOME.dataRecorderRemainTime");
180 o(
"HOME.dataRecorderFileIndex");
181 o(
"HOME.maxAllowedHeight");
182 oInterpreted(
"RECOVER.droneType.RAW",
"RECOVER.droneType");
184 o(
"RECOVER.appVersion");
185 o(
"RECOVER.aircraftSn");
186 o(
"RECOVER.aircraftName");
187 o(
"RECOVER.activeTimestamp");
188 o(
"RECOVER.cameraSn");
190 o(
"RECOVER.batterySn");
191 o(
"FIRMWARE.version");
192 o(
"COMPONENT.cameraSn");
193 o(
"COMPONENT.aircraftSn");
195 o(
"COMPONENT.batterySn");
197 o(
"DETAILS.citypart");
200 o(
"DETAILS.isFavorite");
202 o(
"DETAILS.needUpload");
203 o(
"DETAILS.recordLineCount");
204 o(
"DETAILS.timestamp");
205 oFrac(
"DETAILS.latitude", 6);
206 oFrac(
"DETAILS.longitude", 6);
207 oFrac(
"DETAILS.totalDistance", 2);
208 oFrac(
"DETAILS.totalTime", 1);
209 oFrac(
"DETAILS.maxHeight", 1);
210 oFrac(
"DETAILS.maxHorizontalSpeed", 2);
211 oFrac(
"DETAILS.maxVerticalSpeed", 1);
212 o(
"DETAILS.photoNum");
213 o(
"DETAILS.videoTime");
214 o(
"DETAILS.activeTimestamp");
215 o(
"DETAILS.aircraftName");
216 o(
"DETAILS.aircraftSn");
217 o(
"DETAILS.cameraSn");
219 o(
"DETAILS.batterySn");
221 o(
"DETAILS.appVersion");
222 oFrac(
"APP_GPS.latitude", 6);
223 oFrac(
"APP_GPS.longitude", 6);
224 o(
"APP_GPS.accuracy");
227 o(
"APP_SER_WARN.warn");
#define oInterpreted(label, interpretedLabel)
#define oFrac(label, nFrac)
virtual void outputOneRow(int outputColumnLabels)