File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ void BackEndOptimizer::UpdatePosesFromPG(){
405405 FramePoses[i].matrix () = PoseGraph.nodes_ [i].pose_ .inverse ();
406406 }
407407 if (verborse)
408- std::cout << " " << PoseGraph.nodes_ .size () << " Poses Updated from PoseGraph" << std::endl;
408+ std::cout << " " << PoseGraph.nodes_ .size () << " Poses Updated from PoseGraph" << std::endl;
409409}
410410
411411/* *
@@ -456,9 +456,9 @@ void BackEndOptimizer::MultiRegistration(bool OdomRefinement){
456456 );
457457 PoseGraph.edges_ .push_back (edge);
458458 lastPointCloud = CurrPointCloud;
459- if (verborse && (i % 10 == 0 )){
459+ if (verborse && (i % 100 == 0 )){
460460 char msg[100 ];
461- sprintf (msg, " Odom Refinement: %0.2lf %% Finished" , ( double )(i)* 100 /(FramePoses.size ()-1 ));
461+ sprintf (msg, " Odom Refinement: %0.2lf %% Finished" , 100.0 *i /(FramePoses.size ()-1 ));
462462 std::cout << msg << std::endl;
463463 }
464464 }
@@ -476,7 +476,7 @@ void BackEndOptimizer::MultiRegistration(bool OdomRefinement){
476476 lastPointCloud = CurrPointCloud;
477477 if (verborse && (i % 100 == 0 )){
478478 char msg[100 ];
479- sprintf (msg, " Odom Copied: %0.2lf %% Finished" , ( double )(i)* 100 /(FramePoses.size ()-1 ));
479+ sprintf (msg, " Odom Copied: %0.2lf %% Finished" , 100.0 *i /(FramePoses.size ()-1 ));
480480 std::cout << msg << std::endl;
481481 }
482482 }
You can’t perform that action at this time.
0 commit comments