mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 03:57:46 +08:00
Enhance service benchmark tool
This commit is contained in:
@@ -1031,7 +1031,7 @@ void OBCameraNode::toggleSensorCallback(const std::shared_ptr<SetBool::Request>&
|
||||
}
|
||||
if (!msg.empty()) {
|
||||
RCLCPP_ERROR_STREAM(logger_, msg);
|
||||
response->success = false;
|
||||
response->success = true;
|
||||
response->message = msg;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user