exotica icon indicating copy to clipboard operation
exotica copied to clipboard

ParsePath does not work for generated files in a devel workspace

Open wxmerkt opened this issue 3 years ago • 2 comments

When a file is generated in a devel workspace, the path resolution is not clear: generated files live in devel/share/{package_name}; while rospack will resolve to src/{package_name}. Perhaps we need to get all possible paths and check them?

This can happen with URDF files that are generated during build from xacro.

wxmerkt avatar Aug 13 '20 19:08 wxmerkt

The generated URDF files get copied into the SRC where ParsePath should pick it up correctly. Am I missing something here? Or was this a recent change to how xacro functions and it got resolved?

VladimirIvan avatar Nov 05 '20 15:11 VladimirIvan

Not every function call to xacro generates them in src/ because technically you are not supposed to modify the source directory. The overlay will search both devel and src. Our ParsePath currently does not do that.

wxmerkt avatar Nov 05 '20 16:11 wxmerkt