ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I added list(APPEND CMAKE_PREFIX_PATH "/home/ws_moveit/devel")
before find_package
.
The above solution works for me. But so far, I'm still confused about why CMAKE_PREFIX_PATH
only contains /opt/ros/noetic
and the devel folder path of my current workspace but not /home/ws_moveit/devel
.
Please comment below if you know the reason.