Reimplement robot_controller using ROS2 action

This commit is contained in:
2022-12-20 12:14:48 +02:00
parent d843c422ef
commit 9b525773b6
7 changed files with 130 additions and 38 deletions

View File

@@ -22,4 +22,16 @@ if(BUILD_TESTING)
ament_lint_auto_find_test_dependencies()
endif()
find_package(robot_controller REQUIRED)
find_package(rclcpp REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(rosidl_default_generators REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Motion.msg"
"srv/ExecuteMotion.srv"
DEPENDENCIES geometry_msgs # Add packages that above messages depend on
)
ament_package()