From af98edd8bf4b77c7ac44d1372fe45cb3422bd94b Mon Sep 17 00:00:00 2001 From: Stephen Mather <1174901+smathermather@users.noreply.github.com> Date: Thu, 16 Jun 2022 17:12:41 -0400 Subject: [PATCH] Hotfix for bundle_compensate_gps_bias Seeing problems in lots of datasets. We should get this in to the main branch ASAP. --- opendm/osfm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opendm/osfm.py b/opendm/osfm.py index 7a74295d..4cd22fda 100644 --- a/opendm/osfm.py +++ b/opendm/osfm.py @@ -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