Skip to content

Commit

Permalink
feat: Log incoming ROS service calls
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-caspers committed Dec 13, 2024
1 parent e089a91 commit 6e750ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ros_services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6e750ac

Please sign in to comment.