These have GPS, but if we never get a valid packet, then there won't
be any final position to display.
Signed-off-by: Keith Packard <keithp@keithp.com>
if (flight_series.gps_series != null) {
for (AltosGPSTimeValue gtv : flight_series.gps_series) {
- gtv_last = gtv;
AltosGPS gps = gtv.gps;
if (gps != null &&
gps.locked &&
map = new AltosUIMap();
map.show(gps, (int) flight_series.value_before(AltosFlightSeries.state_name, gtv.time));
this.gps = gps;
+ gtv_last = gtv;
has_gps = true;
}
}