From 716219b990b3bc5b077c7f232e03e2751b9b4bb4 Mon Sep 17 00:00:00 2001 From: Michael Ripperger Date: Thu, 22 Aug 2024 17:41:00 -0500 Subject: [PATCH] Fix check of pose file existence (#204) --- gui/src/extrinsic_hand_eye_calibration_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/extrinsic_hand_eye_calibration_widget.cpp b/gui/src/extrinsic_hand_eye_calibration_widget.cpp index f5fbf359..ceab179a 100644 --- a/gui/src/extrinsic_hand_eye_calibration_widget.cpp +++ b/gui/src/extrinsic_hand_eye_calibration_widget.cpp @@ -362,7 +362,7 @@ void ExtrinsicHandEyeCalibrationWidget::calibrate() } QString pose_file = item->data(0, POSE_FILE_NAME_ROLE).value(); - if (!QFile(image_file).exists()) + if (!QFile(pose_file).exists()) { error(item, "Pose file does not exist"); continue;