Closed furushchev closed 8 months ago
import resource_retriever is now slow due to the roslib.load_manifest and instantiation of rospkg.RosPack on import time. In this PR,
import resource_retriever
roslib.load_manifest
rospkg.RosPack
@ahcorde @clalancette Kindly ping to the maintainers.
import resource_retriever
is now slow due to theroslib.load_manifest
and instantiation ofrospkg.RosPack
on import time. In this PR,roslib.load_manifest
as it is not necessary on the latest ROS distributionrospkg.RosPack
object to right before the object is used.