Skip to content

ros_pkg attribute of include tag is not used and missing when file is saved #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rolker opened this issue Feb 26, 2025 · 1 comment

Comments

@rolker
Copy link

rolker commented Feb 26, 2025

Describe the bug
The path attribute of an include tag does not get the share directory of the package defined by the ros_pkg attribute prepended when loading.
Also, the ros_pkg attibute is missing when the file is saved from Groot2.

To Reproduce

Load...

The include is not found and is shown as a local path. Saving the the file results in:

Expected behavior

Ideally: The file is located by groot2.

Minimally: The ros_pkg tag does not get removed.

Screenshots and videos

Desktop (please complete the following information):

Ubuntu 24.04
ROS 2 Jazzy

Additional context
The include is properly handled when loaded via a nav2 navigator plugin.

@rolker
Copy link
Author

rolker commented Feb 27, 2025

I just saw in the documentation that includes are not the recommended way of using multiple xml files. Feel free to close this if includes might get deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant