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;