diff --git a/src/ur/dashboard_client.cpp b/src/ur/dashboard_client.cpp index 937a327a..e51061a4 100644 --- a/src/ur/dashboard_client.cpp +++ b/src/ur/dashboard_client.cpp @@ -180,6 +180,7 @@ std::string DashboardClient::sendRequestString(const std::string& command, const bool DashboardClient::waitForReply(const std::string& command, const std::string& expected, const std::chrono::duration timeout) { + URCL_LOG_DEBUG("Waiting for answer for command: %s", command.c_str()); const std::chrono::duration wait_period = 100ms; std::chrono::duration time_done(0); @@ -189,6 +190,7 @@ bool DashboardClient::waitForReply(const std::string& command, const std::string { // Send the request response = sendAndReceive(command); + URCL_LOG_DEBUG("Received: %s", response.c_str()); // Check if the response was as expected if (std::regex_match(response, std::regex(expected)))