Skip to content

Commit 4c0494d

Browse files
committed
enable select installing 3d models
Signed-off-by: Masaya Kataoka <ms.kataoka@gmail.com>
1 parent ed3b92c commit 4c0494d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

robotx_behavior_tree/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ install(TARGETS
4545
RUNTIME DESTINATION lib/${PROJECT_NAME}
4646
)
4747

48-
install(DIRECTORY models DESTINATION share/${PROJECT_NAME})
48+
if($ENV{DEVELOP})
49+
install(DIRECTORY models DESTINATION share/${PROJECT_NAME})
50+
endif()
4951

5052
if(BUILD_TESTING)
5153
find_package(ament_lint_auto REQUIRED)

robotx_behavior_tree/include/robotx_behavior_tree/action_node.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <behaviortree_cpp_v3/action_node.h>
1919
#include <behaviortree_cpp_v3/bt_factory.h>
2020
#include <quaternion_operation/quaternion_operation.h>
21-
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
21+
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
2222

2323
#include <algorithm>
2424
#include <geometry_msgs/msg/pose_stamped.hpp>

robotx_behavior_tree/plugins/action/move_goal_action.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "geometry_msgs/msg/vector3.hpp"
2525
#include "rclcpp/rclcpp.hpp"
2626
#include "robotx_behavior_tree/action_node.hpp"
27-
#include "tf2_geometry_msgs/tf2_geometry_msgs.h"
27+
#include "tf2_geometry_msgs/tf2_geometry_msgs.hpp"
2828

2929
namespace robotx_behavior_tree
3030
{

0 commit comments

Comments
 (0)