Skip to content

Commit 042b9d7

Browse files
committed
Add a short sleep after powering on the robot
It seems like this could lead to flakiness in CI otherwise.
1 parent 4075742 commit 042b9d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/dashboard_example.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include <iostream>
3737
#include <memory>
3838
#include <thread>
39+
#include <unistd.h>
3940

4041
using namespace urcl;
4142

@@ -96,6 +97,8 @@ int main(int argc, char* argv[])
9697
return 1;
9798
}
9899

100+
sleep(1);
101+
99102
// Play loaded program
100103
if (!my_dashboard->commandPlay())
101104
{

0 commit comments

Comments
 (0)