Open mrezzaaa opened 2 years ago
Hello, I have the same issue after cloning the cyglidar repo on my /catkin_ws/src and catkin_make it, gives me an error. The error is related to PCL though. I have installed pcl_ros, but it did not resolve the make error. The error is "PCL requires C++14 or above". Please provide an instruction to resolve the issue, otherwise I will not be able to use the cyglidar sensor.
@mrezzaaa Apparently, I could resolve the issue by following these steps:
1) Clone cyglidar_d1: ~/catkin_ws/src git clone https://github.com/CygLiDAR-ROS/cyglidar_d1
2) Follow the steps on the github page: roscd cyglidar_d1 cd scripts chmod +x create_udev_rules.sh ./create_udev_rules.sh
3) Add the two following lines into the CMakeLists.txt file of cyglidar_d1 ros package: add_compile_options(-std=c++14) set(CMAKE_CXX_FLGAS "-std=c++11 -03")
4) Install PCL package: sudo apt-get install ros-noetic-pcl-ros
5) Reboot your system: sudo reboot
6) Make packages: catkin_make -j2 This step requires a little of patience. Ignore warnings and wait until make ends even if you find the system freezes.
I am running this package on:
Although I could successfully catkin_make the cyglidar_d1 package, I have not tested the package with cyglidar sensor yet. I will do it as soon as I receive the sensor. I hope you find this helpful.
Best regards, Amir
Hi, thanks for your solution. Very appreciate it.
i have rewrite the code using python with ROS environment and it works. And now im facing new problem with limited mac os baud rate limitation. It causing large delay when processing 3D and run smoothly when using 2D
Hello, I have the same issue after cloning the cyglidar repo on my /catkin_ws/src and catkin_make it, gives me an error. The error is related to PCL though. I have installed pcl_ros, but it did not resolve the make error. The error is "PCL requires C++14 or above". Please provide an instruction to resolve the issue, otherwise I will not be able to use the cyglidar sensor.
Hello I'm trying to run ekf_loam but facing with "pcl requires cpp14 or above" error. My system is ubuntu 20.4, Ros Noetic
Hi im new in ROS.
running command
catkin_make
and got this error