Skip to content

Commit 97ad825

Browse files
committed
Increase dashboard timeout in ExampleRobotWrapper to 10s
1 parent c380b8e commit 97ad825

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/example_robot_wrapper.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ ExampleRobotWrapper::ExampleRobotWrapper(const std::string& robot_ip, const std:
4848
URCL_LOG_ERROR("Could not connect to dashboard");
4949
}
5050

51+
// In CI we the dashboard client times out for no obvious reason. Hence we increase the timeout
52+
// here.
53+
timeval tv;
54+
tv.tv_sec = 10;
55+
tv.tv_usec = 0;
56+
dashboard_client_->setReceiveTimeout(tv);
57+
5158
if (!initializeRobotWithDashboard())
5259
{
5360
throw UrException("Could not initialize robot with dashboard");

0 commit comments

Comments
 (0)