Skip to content

Commit

Permalink
Bug bench BAClino
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestinHuet authored and jmmuller committed Nov 13, 2024
1 parent 7c076cf commit 750974d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 0 additions & 9 deletions MMVII/src/BundleAdjustment/BundleAdjustment.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,6 @@ class cBA_Clino : public cMemCheck
const cPhotogrammetricProject *aPhProj // photogrammetric project
);

// Constructor for cMMVII_BundleAdj (read a clino observations file)
cBA_Clino(
const cPhotogrammetricProject *, // photogrammetric project
const std::string & aNameClino, // clino name
const std::string & aFormat, // format of clino observations file
const std::vector<std::string> & aPrePost // values added before and after image names in clino observations
// file to have the same names than in initial solutions file
);

// Add equation with aMeasure observations for one clinometer
cPt2dr addOneClinoEquation(cResolSysNonLinear<tREAL8> & aSys, cClinoMes1Cam & aMeasure, const std::string aClinoName);

Expand Down
7 changes: 5 additions & 2 deletions MMVII/src/BundleAdjustment/Bundle_Clino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ namespace MMVII
mEqBlUK (EqClinoBloc(true,1,true)),
mEqBlUKRot (EqClinoRot(true,1,true))
{
// Read initial values of clinometers computed by ClinoInit
readMeasures();
if (mPhProj)
{
// Read initial values of clinometers computed by ClinoInit
readMeasures();
}
}


Expand Down

0 comments on commit 750974d

Please sign in to comment.