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) {
if (flight_series.gps_series != null) {
for (AltosGPSTimeValue gtv : flight_series.gps_series) {
AltosGPS gps = gtv.gps;
if (gps != null &&
gps.locked &&
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;
map = new AltosUIMap();
map.show(gps, (int) flight_series.value_before(AltosFlightSeries.state_name, gtv.time));
this.gps = gps;