Skip to content
Snippets Groups Projects

Implement a dialog to plot and export GPS data

Merged Kien Le requested to merge feature-#19-gps_plotter_q330 into master
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
@@ -8,3 +8,11 @@ class GPSPoint(NamedTuple):
latitude: float
longitude: float
height: float
def is_bad_point(self) -> bool:
"""
Return True if this point is a bad point and False otherwise. A point
is bad if all its location data and number of satellites used are 0.
"""
return (self.num_satellite_used == 0 and self.latitude == 0 and
self.longitude == 0 and self.height == 0)
Loading