Open y-masutani opened 5 months ago
Hi. I had the same problem.
It seems that openni2_camera only supports humble and later. I solved this by going back to the commit where openni2_camera supports foxy.
Since foxy is already EOL, I don't think openni2_camera is even going to support it. The only solution seems to be to support HSR's Humble.
Thank you for your comment.
I think it would be best to be able to install Ubuntu 22.04 and ROS Humble on HSR.
The next best solution is to fork the openni2_camera repository and provide a ready-to-build version for ROS Foxy.
I am trying to install according to the "Actual Robot" section, and I needed to run the following command to resolve the
rosdep
error.After that, I then executed
colcon build
, but got the following errorIt seems that rosidl_get_typesupport_target is not available in ROS Foxy. I changed the relevant part of CMakeLists.txt as follows.
After the above correction, I faced the following error
Argument deduction of C++ class templates can be used only since C++17. So I changed CMakeLists.txt as follows
Then the build was complete.
Are the above solutions correct? How did other people deal with these problems?
Furthermore, openni2_camera is not developed by HSR project. What should we do?