Skip to content

Commit

Permalink
Fix issue BehaviorTree#545
Browse files Browse the repository at this point in the history
  • Loading branch information
best4innio committed Apr 18, 2023
1 parent c07223a commit 4b9aad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xml_parsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ void XMLParser::Pimpl::loadDocImpl(tinyxml2::XMLDocument* doc, bool add_includes
std::string ros_pkg_path;
#ifdef USING_ROS
ros_pkg_path = ros::package::getPath(ros_pkg_relative_path);
file_path = filesystem::path(ros_pkg_path) / file_path;
#elif defined USING_ROS2
ros_pkg_path =
ament_index_cpp::get_package_share_directory(ros_pkg_relative_path);
Expand Down

0 comments on commit 4b9aad9

Please sign in to comment.