rospack cannot find pure CMake package
I am trying to use rospack find
to get the path to a "pure cmake" (<build_type>cmake</build_type>
) package, such as https://github.com/AprilRobotics/apri....
Even after installing the package.xml
via install(FILES package.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/apriltag)
(as suggested by https://answers.ros.org/question/2511...):
$ find . -name package.xml
./install/apriltag_ros/share/apriltag_ros/package.xml
./install/apriltag/share/apriltag/package.xml
./src/apriltag_ros/apriltag_ros/package.xml
./src/apriltag/package.xml
./src/apriltag/package.xml
the ROS_PACKAGE_PATH
will still miss the apriltag
package:
$ echo $ROS_PACKAGE_PATH
/home/christian/Development/apriltag_ws/install/apriltag_ros/share:/opt/ros/noetic/share
What do I have to do to populate ROS_PACKAGE_PATH
with the paths automatically and to eventually make rospack find apriltag
work?