Hotfix for bundle_compensate_gps_bias

Seeing problems in lots of datasets. We should get this in to the main branch ASAP.
pull/1471/head
Stephen Mather 2022-06-16 17:12:41 -04:00 zatwierdzone przez GitHub
rodzic d97c2fae1e
commit af98edd8bf
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -223,7 +223,6 @@ class OSFMContext:
"align_orientation_prior: vertical",
"triangulation_type: ROBUST",
"retriangulation_ratio: 2",
"bundle_compensate_gps_bias: yes",
]
if args.camera_lens != 'auto':
@ -290,6 +289,9 @@ class OSFMContext:
config.append("bundle_use_gcp: yes")
if not args.force_gps:
config.append("bundle_use_gps: no")
else:
config.append("bundle_compensate_gps_bias: yes")
io.copy(gcp_path, self.path("gcp_list.txt"))
config = config + append_config