ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Without knowing what exact feature you would like to implement it is difficult to give a definitive answer.
In general I think it should likely go to catkin_pkg
. rospkg
is the "older" API which is still widely used in ROS 1.
While ROS 2 currently has ament_package
we are actively moving the usage over to catkin_pkg
since both packages have largely the same functionality. In the past it wasn't possible to use catkin_pkg
because the Python 3 version wasn't side-by-side installable with the Python 2 version. That limitation has been resolved in the meantime in an effort to consolidate the two.