analogdevicesinc / tof-ros

Robot Operating System bindings for Time-of-flight
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

catkin_make issue #29

Open jonny214 opened 1 year ago

jonny214 commented 1 year ago

Hi, I have problem about catkin_make on 20.04LTS environment. I'm setting up ToF camera on new PC.

At first, I had version error of ToF SDK. image

For this error, I edit cmakelist for mask the version check. Screenshot from 2023-09-11 18-27-16

After that, it still has error for aditof_utils.cpp. Screenshot from 2023-09-11 18-29-05

Can I have any comment for fix it?

rbudai98 commented 1 year ago

Hi @jonny214 ! Thanks for reaching out here. The Cmake version check is there to prevent the error that is present on the last image. The SDK had slight changes in the API of the camera and the ROS wrapper has adapted according to it. Please update the the ToF SDK to at least the minimal 4.2.0 version (please find them here: https://github.com/analogdevicesinc/ToF/tags) After that there should be no problem with the wrapper.

Best regards, Robert

jonny214 commented 1 year ago

Hi @rbudai98 , Thank you so much! I tried to install OpenCL by instruction of ToF SDK. Is the OpenCL(l_opencl_p_xx.x.x.xxx.tgz) included oneAPI base tool kit? I could not download link individual file which is l_opencl_p_xx.x.x.xxx.tgz. If you have more detail to get the file, please give me your comment.

Best regards, Jun

rbudai98 commented 1 year ago

In case you want to install the SDK there is a debian package available for it with the steps to install it here: https://github.com/analogdevicesinc/tof-ros#download-debian-package

Regarding the ToF SDK, could you open a different thread, here: https://github.com/analogdevicesinc/ToF/issues

jonny214 commented 11 months ago

Hi @rbudai98 , I still has issue catkin_make error. I tried to do it on another PC(Ubuntu 20.04LTS). I have anothe cmake error... Screenshot from 2023-10-06 17-10-41

How can I fixit?

I could build old version of this repository. And, it is still work with v4.2.0. But, the latest ROS driver has some issue.