Is ROS_PACKAGE_PATH really obsolete?
As mentioned in the ROS wiki,
With the introduction of catkin, ROS_PACKAGE_PATH becomes obsolete, and will be kept only for backwards compatibility with rosbuild packages.
From my understanding, ROS_PACKAGE_PATH is not obsolete as important tools like rospack
will not work without it.
$ rospack find roscpp
/opt/ros/kinetic/share/roscpp
$ export ROS_PACKAGE_PATH=""
$ rospack find roscpp
[rospack] Error: package 'roscpp' not found
Is my understanding wrong? Or is this sentence referring to the specific necessity of ROS_PACKAGE_PATH during the build process, which catkin no longer needs?
I'm not sure, but I've understood this to (partly) mean: the manual updating of
ROS_PACKAGE_PATH
is no longer needed.It's certainly true that many tools still need it.
Thanks @gvdhoorn, that makes a lot more sense, and I think is a valid answer. I've clarified the wiki with your wording.