-
Notifications
You must be signed in to change notification settings - Fork 682
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
Bug in referencing ROS2 package paths in xml #207
Comments
thanks. I will have a look at it |
I'm not sure this bug would be hit since BehaviorTree.CPP/CMakeLists.txt Lines 74 to 76 in 725eba7
Using the BehaviorTree.CPP/src/xml_parsing.cpp Lines 136 to 149 in 725eba7
|
@Serafadam I've encountered the same issue and started #324 to track it. I think I found a resolution and created #358, a review from a maintainer would be good since it does change the existing behavior of tree inclusion. |
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 ofros::package::getPath
as per https://answers.ros.org/question/288501/ros2-equivalent-of-rospackagegetpath/BehaviorTree.CPP/src/xml_parsing.cpp
Line 143 in 47d770c
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?
The text was updated successfully, but these errors were encountered: