Closed MoonUniverse closed 5 years ago
Matrix4d NodeDataManager::get_imu_T_cam() const
{
std::lock_guard<std::mutex> lk(imu_cam_mx);
// Remove this if, once i am confident everythinbg is ok!
// if( imu_T_cam_available == false )
// {
// ROS_ERROR( "[NodeDataManager::get_imu_T_cam] posegraph solver, you requested imu_T_cam aka imu-cam extrinsic calib, but currently it is not available. FATAL ERROR.\n");
// exit(1);
// }
assert( imu_T_cam_available );
return imu_T_cam;
}
I removed this code and it works.But will this have other effects?
Vins fusion node (odometry) publishes the imu_t_cam pose. If u r just interested in camera poses u can safely delete that code. Also remember to not run the threads that publish at 200hz
Thanks! I will continue to test.
Hi,everyone! I can save the trajectories to file,but when i load the file for relocalization, I got a error.
How can I solve this problem?