Skip to content

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

@rolker

Description

@rolker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions