What is the difference between rospkg and rospack?
I know I can import rospkg
from a Python script. rospack
is a system utility which I can invoke from the command-line. What are the differences between these two tools?
The documentation of rospkg
states
The
rospkg
Python module provides basic utilities for querying information about ROS packages, stacks, and distributions.
The rospack
page states
rospack
is a command-line tool for retrieving information about ROS packages available on the filesystem
They seem to be doing similar things. So, why do we need both (if they are different)? When do I need one but not the other?