From f9aba96c41fca20025be8889a989644b254a6b13 Mon Sep 17 00:00:00 2001 From: Andreas Zachariae Date: Sat, 20 May 2023 15:30:12 +0200 Subject: [PATCH] Add new service ChangeMap --- ros2_interfaces/CMakeLists.txt | 1 + ros2_interfaces/srv/ChangeMap.srv | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 ros2_interfaces/srv/ChangeMap.srv diff --git a/ros2_interfaces/CMakeLists.txt b/ros2_interfaces/CMakeLists.txt index df8e1f0..58d6bc6 100644 --- a/ros2_interfaces/CMakeLists.txt +++ b/ros2_interfaces/CMakeLists.txt @@ -34,6 +34,7 @@ set(DEPENDENCIES rosidl_generate_interfaces(${PROJECT_NAME} "srv/GetElevatorData.srv" + "srv/ChangeMap.srv" #${MSGS} #${ACTIONS} diff --git a/ros2_interfaces/srv/ChangeMap.srv b/ros2_interfaces/srv/ChangeMap.srv new file mode 100644 index 0000000..b50ee4c --- /dev/null +++ b/ros2_interfaces/srv/ChangeMap.srv @@ -0,0 +1,5 @@ +# request +string map_name +geometry_msgs/Pose initial_pose +--- +# response