From 6e750ac3219c031833b0679278bf77c0191b08a3 Mon Sep 17 00:00:00 2001 From: Philipp Caspers <117186241+philipp-caspers@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:58:13 +0000 Subject: [PATCH] feat: Log incoming ROS service calls --- src/ros_services.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ros_services.rs b/src/ros_services.rs index 19caf21..4a47045 100644 --- a/src/ros_services.rs +++ b/src/ros_services.rs @@ -20,7 +20,7 @@ impl ROSServices { _request_header: &rclrs::rmw_request_id_t, _request: Empty_Request, ) -> Empty_Response { - info!("ROS service called"); + info!("ROS service call: Enable impedance control"); let object_id = NodeId::new(1, 100182); let method_id = NodeId::new(1, 100263); self.opc_ua_client @@ -37,6 +37,7 @@ impl ROSServices { _request_header: &rclrs::rmw_request_id_t, _request: Empty_Request, ) -> Empty_Response { + info!("ROS service call: Disable impedance control"); let object_id = NodeId::new(1, 100182); let method_id = NodeId::new(1, 100264); self.opc_ua_client