Skip to content

Commit 4839392

Browse files
committed
Correct output of initialization timeout for RTDE client
1 parent 9ed3b69 commit 4839392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtde/rtde_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ bool RTDEClient::init(const size_t max_connection_attempts, const std::chrono::m
9898

9999
if (++attempts < max_initialization_attempts)
100100
{
101-
URCL_LOG_ERROR("Failed to initialize RTDE client, retrying in 10 seconds");
101+
URCL_LOG_ERROR("Failed to initialize RTDE client, retrying in %d seconds", initialization_timeout.count() / 1000);
102102
std::this_thread::sleep_for(initialization_timeout);
103103
}
104104
}

0 commit comments

Comments
 (0)