@@ -1022,7 +1022,7 @@ void opt_traj_publisher_colored_by_world( const NodeDataManager * manager, const
10221022
10231023 }
10241024
1025- cout << TermColor::BLUE () << " [opt_traj_publisher_colored_by_world] Took " << _time_jmb.toc_milli () << " ms to compute #nodes=" << manager->getNodeLen () << TermColor::RESET () << endl;
1025+ // cout << TermColor::BLUE() << "[opt_traj_publisher_colored_by_world] Took " << _time_jmb.toc_milli() << "ms to compute #nodes=" << manager->getNodeLen() << TermColor::RESET() << endl;
10261026 // -----------------------------------------------------------------------------------------------//
10271027 // ------------------------- After this only uses jmb and lmb to publish -------------------------//
10281028 // -----------------------------------------------------------------------------------------------//
@@ -1236,7 +1236,7 @@ void opt_traj_publisher_colored_by_world( const NodeDataManager * manager, const
12361236
12371237 }
12381238
1239- cout << TermColor::BLUE () << " [opt_traj_publisher_colored_by_world] Publish took " << _time_publih.toc_milli () << " ms" << endl;
1239+ // cout << TermColor::BLUE() << "[opt_traj_publisher_colored_by_world] Publish took " << _time_publih.toc_milli() << " ms" << endl;
12401240 // book keeping
12411241 // cerr << "\nSLEEP\n";
12421242 loop_rate.sleep ();
@@ -1447,6 +1447,7 @@ int main( int argc, char ** argv)
14471447 // std::thread th_slam( &PoseGraphSLAM::new_optimize6DOF, slam );
14481448
14491449 slam->reinit_ceres_problem_onnewloopedge_optimize6DOF_enable ();
1450+ slam->reinit_ceres_problem_onnewloopedge_optimize6DOF_disable ();
14501451 std::thread th_slam ( &PoseGraphSLAM::reinit_ceres_problem_onnewloopedge_optimize6DOF, slam );
14511452
14521453
@@ -1468,7 +1469,7 @@ int main( int argc, char ** argv)
14681469 options.line_color_style = 10 ;
14691470 options.linewidth_multiplier = 3 ; // 0.25; //8
14701471 options.udumbe_offset_y = 30.0 ;
1471- std::thread th6 ( opt_traj_publisher_colored_by_world, manager, slam, viz, options );
1472+ // std::thread th6( opt_traj_publisher_colored_by_world, manager, slam, viz, options );
14721473
14731474
14741475
@@ -1490,7 +1491,7 @@ int main( int argc, char ** argv)
14901491 // th3.join();
14911492 // th4.join();
14921493 th5.join ();
1493- th6.join ();
1494+ // th6.join();
14941495
14951496 th_slam.join ();
14961497
0 commit comments