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

@@ -29,6 +29,7 @@ find_package(rclcpp REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Motion.msg"
"srv/ExecuteMotion.srv"
"action/ExecuteMotion.action"
DEPENDENCIES geometry_msgs # Add packages that above messages depend on
)

View File

@@ -0,0 +1,7 @@
# Motion action
Motion motion
---
string result
---
string status

View File

@@ -13,6 +13,7 @@
<test_depend>ament_lint_common</test_depend>
<depend>geometry_msgs</depend>
<depend>action_msgs</depend>
<build_depend>rosidl_default_generators</build_depend>