Skip to content

Commit 19e0531

Browse files
committed
ReportPoseCmp: error message if wrong ori
1 parent f585e1d commit 19e0531

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MMVII/src/OrientReport/PoseCmp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ int cAppli_PoseCmp::Exe()
8181

8282
cDirsPhProj & aDirOri2 = *mPhProj.NewDPIn(eTA2007::Orient,mOri2);
8383

84+
MMVII_INTERNAL_ASSERT_tiny(IsDirectory(mPhProj.DPOrient().FullDirIn()),
85+
"Ori " + mPhProj.DPOrient().FullDirIn() + " does not exist");
8486

87+
MMVII_INTERNAL_ASSERT_tiny(IsDirectory(aDirOri2.FullDirIn()),
88+
"Ori " + mOri2 + " does not exist");
8589

8690
std::vector<cSensorCamPC*> aVCam1;
8791
std::vector<cSensorCamPC*> aVCam2;

0 commit comments

Comments
 (0)