module 'minisam' has no attribute 'DiagonalLoss'

Viewed 14

I am using PyICP github repo. I built the Sophus from this commit (commit a0fe89a323e20c42d3cecb590937eb7a06b8343a) Reference. I am using Ubuntu 22 and used virtual environment (venv with python version 3.7.14) to build the PyICP repo, minisam and Sophus repo.

Finally when I run the command python3 main_icp_slam.py it runs in this error.

(venv) shubham@shubhamubuntu:~/Lidar_Slam/minisam$ python3 main_icp_slam.py Traceback (most recent call last): File "main_icp_slam.py", line 50, in <module> PGM = PoseGraphManager() File "/home/shubham/Lidar_Slam/minisam/utils/PoseGraphManager.py", line 9, in __init__ self.prior_cov = minisam.DiagonalLoss.Sigmas(np.array([1e-6, 1e-6, 1e-6, 1e-4, 1e-4, 1e-4])) AttributeError: module 'minisam' has no attribute 'DiagonalLoss' (venv) shubham@shubhamubuntu:~/Lidar_Slam/minisam$ python3 main_icp_slam.py The image view of this error is HERE

I am not sure is it caused by Sophus, Eigen, Venv or minisam.

Let me know if anymore information is needed.

Thanks, for any and all the help.

0 Answers
Related