A-LOAM
A-LOAM copied to clipboard
Version Compatibility
Can this algorithm be implemented with Ubuntu 20.04, ROS neotic?
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.
Thank you, I will try.
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