+ stats.landed_time -
+ stats.boost_time);
+ System.out.printf("\n");
+ return true;
+ }
+
+ static boolean process_oneline(File file) {
+ AltosRecordSet set = record_set(file);
+ if (set == null)
+ return false;
+ System.out.printf("%s:", file.toString());
+ AltosFlightSeries series = make_series(set);
+ AltosFlightStats stats = new AltosFlightStats(series);
+// if (stats.serial != AltosLib.MISSING)
+// System.out.printf("Serial: %5d\n", stats.serial);
+// if (stats.flight != AltosLib.MISSING)
+// System.out.printf("Flight: %5d\n", stats.flight);
+// if (stats.year != AltosLib.MISSING)
+// System.out.printf("Date: %04d-%02d-%02d\n",
+// stats.year, stats.month, stats.day);
+// if (stats.hour != AltosLib.MISSING)
+// System.out.printf("Time: %02d:%02d:%02d UTC\n",
+// stats.hour, stats.minute, stats.second);
+ if (stats.max_height != AltosLib.MISSING)
+ System.out.printf(" height: %6.0f m", stats.max_height);
+ if (stats.max_speed != AltosLib.MISSING)
+ System.out.printf(" speed: %6.0f m/s", stats.max_speed);
+ if (stats.max_acceleration != AltosLib.MISSING)
+ System.out.printf(" accel: %6.0f m/s²", stats.max_acceleration);
+ System.out.printf("\n");
+ return true;