HesaiTechnology / HesaiLidar_General_ROS

ROS driver for PandarXT PandarQT Pandar64 Pandar40P Pandar40M Pandar20A Pandar20B
Other
158 stars 102 forks source link

Support for Ubuntu 20.04 and ROS Noetic #36

Open rachel-spykerman opened 3 years ago

rachel-spykerman commented 3 years ago

Hi,

I'm trying to use the Hesai PandarQT LIDAR on Ubuntu 20.04 with ROS Noetic, however I'm running into a lot of build issues. I know the the github mentions support for Ubuntu 16.04/18.04 and ROS kinetic/melodic only, but have you started supporting for 20.04/Noetic yet? Any idea regarding the below build issues, I know there was a related post to boost errors similar to those below in July 2020, however, can you provide some guidance on how to resolve these issues.

Screenshot from 2021-03-23 11-03-15 Screenshot from 2021-03-23 11-03-39 Screenshot from 2021-03-23 11-03-59

rambodrahmani commented 3 years ago

Hello there,

I succeeded in building on Ubuntu 20.04 with Ros Noetic:

  1. edit include/pandarGeneral_sdk/pandarGeneral_sdk.h to add #include <boost/thread.hpp>;
  2. build with catkin build --force-cmake --cmake-args -DCMAKE_CXX_STANDARD=14 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.1.