Livox-SDK / livox_mapping

A mapping package for Livox LiDARs
Other
389 stars 114 forks source link

Not working in Noetic #11

Closed rlabs-oss closed 4 years ago

rlabs-oss commented 4 years ago

Would it be possible to update the the source code to include a version for ROS Noetic? Or please advise how to build it using Ubuntu 20.04 and ROS Noetic.

Ab-Tx commented 1 year ago

It's possible to change a few things in the source code just so it barely works with Noetic Ubuntu 20.04.

On the source code, search in the files for "frame" and replace "/livox" for "livox" and also "/camera_init" for "camera_init"

The opencv header has to be changed also. Change #include <opencv/cv.h> to #include "opencv2/imgproc/imgproc.hpp"

On the "loam_livox.rviz" file, do not replace /camera_init by camera_init.