Remove data earlier than 1 second before boost and data after landing.
Signed-off-by: Keith Packard <keithp@keithp.com>
throw new UnsupportedOperationException();
}
public boolean hasNext() {
throw new UnsupportedOperationException();
}
public boolean hasNext() {
+ if (record != null && record.state == Altos.ao_flight_landed)
+ return false;
return iter.hasNext();
}
public AltosDataPoint next() {
return iter.hasNext();
}
public AltosDataPoint next() {
+ do {
+ read_next_record();
+ } while (record.time < -1.0 && hasNext());
return current_dp();
}
};
return current_dp();
}
};