ORB_SLAM3 icon indicating copy to clipboard operation
ORB_SLAM3 copied to clipboard

Segmentation fault in Sophus funtion

Open BojanAndonovski71 opened this issue 1 year ago • 0 comments

Hi Im using ORB_SLAM3 in Monocular Inertial mode. When using only Camera ( Monocular ) it works fine, But when use with IMU I got Segmentation fault error. This is the error

Sophus ensure failed in function 'Sophus::SO3<Scalar_, Options>::SO3(const Transformation&) [with Scalar_ = float; int Options = 0; Sophus::SO3<Scalar_, Options>::Transformation = Eigen::Matrix<float, 3, 3>]', file '/ORB_SLAM3/Thirdparty/Sophus/sophus/so3.hpp', line 470.
R is not orthogonal:
 1.28446e-07        -nan 3.37115e+19
       -nan        -nan        -nan
3.37115e+19        -nan         inf

at the moment I dont have online values for the accelerometer so just put some constant small numbers such as cv::Point3f acc(0.03, 0.01, 0.001);Does this cost the error or? Should I use also ros2 run tf2_ros static_transform_publisher 0.01 0.02 0 0.005 0.01 0.01 /world /camera Thanks. Any help? `

BojanAndonovski71 avatar Sep 15 '23 09:09 BojanAndonovski71