Load Stl file via Package URI
Hi,
I really cant get this to work and after hours of failure Im posting this here. According to https://answers.ros.org/question/3700... package:// URI are resolved to the install/<package_name>/share/<package_name>/ folder ?</package_name></package_name>
I have a URDF File and the absolute filepath works, but the package:// doesnt.
All assets can be found in the install/<package>/share/<package> directory All files are copied into the folder at build time via
<?xml version="1.0"?>
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
(os.path.join('share', package_name), glob('launch/*.launch.py')),
(os.path.join('share', package_name), glob('resource/*'))
],
Why cant the package:// URI be resolved or rather, where is it looking for the stl file?