altoslib: Allow gps time later than requested if it's first
authorKeith Packard <keithp@keithp.com>
Thu, 12 Oct 2017 07:26:31 +0000 (00:26 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 Oct 2017 07:26:31 +0000 (00:26 -0700)
commita69d5773a63dbe5d6d758cea8eca2bf724e9d672
tree64d04a6ae020c11c44261fdf3b0505c5cb44c425
parent9d7bb706918fd7d6db77eab21931b4fc74cb9105
altoslib: Allow gps time later than requested if it's first

When generating a KML file, we want to position markers near the start
of the flight section. This is done by looking for a GPS coordinate
'before' the starting point of the flight, which doesn't work well
when the first GPS coordinate is later than that. Pick the first point
after the chosen time if there isn't an earlier one.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosFlightSeries.java