Use omega,phi,kappa, less threatening message for missing GPS

pull/1156/head
Piero Toffanin 2020-09-16 10:24:32 -04:00
rodzic 5a9c787e20
commit 54eb38ba3e
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -21,7 +21,7 @@ def extract_utm_coords(photos, images_path, output_coords_file):
reference_photo = None
for photo in photos:
if photo.latitude is None or photo.longitude is None:
log.ODM_ERROR("Failed parsing GPS position for %s, skipping" % photo.filename)
log.ODM_WARNING("GPS position not available for %s" % photo.filename)
continue
if utm_zone is None:

Wyświetl plik

@ -85,6 +85,9 @@ class ODM_Photo:
self.latitude = geo_entry.y
self.longitude = geo_entry.x
self.altitude = geo_entry.z
self.dls_yaw = geo_entry.omega
self.dls_pitch = geo_entry.phi
self.dls_roll = geo_entry.kappa
self.gps_xy_stddev = geo_entry.horizontal_accuracy
self.gps_z_stddev = geo_entry.vertical_accuracy