- static boolean process_cat(File file) {
- try {
- AltosRecordSet set = record_set(file);
-
-// for (AltosState state : eef) {
-// if ((state.set & AltosState.set_gps) != 0) {
-// System.out.printf ("time %d %d-%d-%d %d:%d:%d lat %g lon %g alt %g\n",
-// state.gps.seconds(),
-// state.gps.year,
-// state.gps.month,
-// state.gps.day,
-// state.gps.hour,
-// state.gps.minute,
-// state.gps.second,
-// state.gps.lat,
-// state.gps.lon,
-// state.gps.alt);
-// } else {
-// System.out.printf ("tick %d state %d height %g\n",
-// state.tick, state.state(), state.height());
-// }
-// }
-
- } catch (Exception e) {
- System.out.printf("Failed to open file '%s'\n", file);
- return false;
- }
- return true;
- }
-