Skip to content

Commit 61bec07

Browse files
authored
Add files via upload
1 parent 97aa87c commit 61bec07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/examples/iba_global.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ int main(int argc, char** argv){
573573
nomad_params->set_INITIAL_POLL_SIZE(nomad_frame_init);
574574
nomad_params->set_MIN_MESH_SIZE(nomad_mesh_minsize);
575575
nomad_params->setAttributeValue("VNS_MADS_SEARCH",use_vns);
576-
nomad_params->setAttributeValue("DIRECTION_TYPE",NOMAD::DirectionType::ORTHO_2N);
576+
nomad_params->setAttributeValue("DIRECTION_TYPE",NOMAD::DirectionType::ORTHO_NP1_QUAD);
577577
nomad_params->checkAndComply();
578578
auto ev = std::make_unique<BALoss>(nomad_params->getEvalParams(), nomad_type,
579579
&PointCloudPoses, &PointClouds, &KFIdMap, &KeyFrames, &iba_params, special_points);
@@ -607,6 +607,7 @@ int main(int argc, char** argv){
607607
std::cout << "Translation: " << optTranslation.transpose() << std::endl;
608608
std::cout << "Scale: " << optScale << std::endl;
609609
writeSim3(resFile, rigid, optScale);
610+
std::printf("Result saved to %s\n",resFile.c_str());
610611
return 0;
611612

612613
}

0 commit comments

Comments
 (0)