optionally use the speed of rospack to assist in find_resource (borrowed from rocon_app_platform).