Skip to content

Commit 9f9d2f6

Browse files
committed
More debug output
1 parent 68120fe commit 9f9d2f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ur/dashboard_client.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ std::string DashboardClient::sendRequestString(const std::string& command, const
180180
bool DashboardClient::waitForReply(const std::string& command, const std::string& expected,
181181
const std::chrono::duration<double> timeout)
182182
{
183+
URCL_LOG_DEBUG("Waiting for answer for command: %s", command.c_str());
183184
const std::chrono::duration<double> wait_period = 100ms;
184185

185186
std::chrono::duration<double> time_done(0);
@@ -189,6 +190,7 @@ bool DashboardClient::waitForReply(const std::string& command, const std::string
189190
{
190191
// Send the request
191192
response = sendAndReceive(command);
193+
URCL_LOG_DEBUG("Received: %s", response.c_str());
192194

193195
// Check if the response was as expected
194196
if (std::regex_match(response, std::regex(expected)))

0 commit comments

Comments
 (0)