From e6560a2b845977acac05866f14cd06ed1b7fe9a9 Mon Sep 17 00:00:00 2001 From: Danil Date: Wed, 4 Mar 2026 15:06:24 +0900 Subject: [PATCH] add ServiceType Signed-off-by: Danil --- rclcpp/include/rclcpp/service.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rclcpp/include/rclcpp/service.hpp b/rclcpp/include/rclcpp/service.hpp index dce11a9d38..acb28a157c 100644 --- a/rclcpp/include/rclcpp/service.hpp +++ b/rclcpp/include/rclcpp/service.hpp @@ -287,6 +287,7 @@ class Service public std::enable_shared_from_this> { public: + using ServiceType = ServiceT; using CallbackType = std::function< void ( const std::shared_ptr,