A-LOAM icon indicating copy to clipboard operation
A-LOAM copied to clipboard

Version Compatibility

Open Yigit-Kuyu opened this issue 1 year ago • 3 comments

Can this algorithm be implemented with Ubuntu 20.04, ROS neotic?

Yigit-Kuyu avatar Jun 13 '23 10:06 Yigit-Kuyu

Hello, I managed to implement the code of the indicated versions, but you have to make some changes:

  • In CMakeLists.txt, you have to change the CMAKE_CXX_FLAGS to "-std=c++14";
  • Frames_id in all codes .cpp, remove the / (in camera ,camera_init , laser_odom and aft_mapped);
  • Swap " #include <opencv/cv.h> " to " #include <opencv2/opencv.hpp> " in scanRegistration.cpp;
  • In kittiHelper.cpp, swap " CV_LOAD_IMAGE_GRAYSCALE " to " cv::IMREAD_GRAYSCALE ".

If this doesn't work, check the version of Eigen, Ceres and PCL.

PauloBarbosa15 avatar Jun 20 '23 15:06 PauloBarbosa15

Thank you, I will try.

Yigit-Kuyu avatar Jun 22 '23 08:06 Yigit-Kuyu

I followed. But I met with this error. make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libcudart_static.a', needed by '/home/####/catkin_ws/devel/lib/aloam_velodyne/alaserOdometry'. Stop. make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libcudart_static.a', needed by '/home/####/catkin_ws/devel/lib/aloam_velodyne/alaserMapping'. Stop.

my gpu is GTX-1660ti I installed cuda 11.8 toolkit and nvidia 520 driver following https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local

minglok943 avatar Jul 25 '23 02:07 minglok943