kopia lustrzana https://github.com/OpenDroneMap/ODM
Use omega,phi,kappa, less threatening message for missing GPS
rodzic
5a9c787e20
commit
54eb38ba3e
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue