Skip to content

Commit

Permalink
gz-bridge: test sleep time for connection timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
haitomatic authored Feb 15, 2024
1 parent 3d368ee commit 654f2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/simulation/gz_bridge/GZBridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ int GZBridge::task_spawn(int argc, char *argv[])

#if defined(ENABLE_LOCKSTEP_SCHEDULER)
// lockstep scheduler wait for initial clock set before returning
int sleep_count_limit = 10000;
int sleep_count_limit = 20000;

while ((instance->world_time_us() == 0) && sleep_count_limit > 0) {
// wait for first clock message
Expand Down

0 comments on commit 654f2cc

Please sign in to comment.