Skip to content

Bug in referencing ROS2 package paths in xml #207

Closed
@Serafadam

Description

@Serafadam

Hi, I think I've found a bug, in ROS2 version of package, for xml referencing ros1 version of package searching is used, in ROS2 it's ament_index_cpp::get_package_share_directory instead of ros::package::getPath as per https://answers.ros.org/question/288501/ros2-equivalent-of-rospackagegetpath/

auto ros_pkg_path = ros::package::getPath( include_node->Attribute("ros_pkg") );

Edit: Also, I have some problems when including files with relative paths, for example to the previous directory ../tree_that_i_want_to_include.xml

On a side note, is there a plan to release newest version of the code in ROS Dashing?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions