Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes TimeSync with robot #544

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

mschweig
Copy link

@mschweig mschweig commented Jan 3, 2025

Change Overview

The DefaultTimeSyncApi is missing the WaitForSync call from Spot SDK. As a result the timesync cannot be established, especially when connecting via WIFI.

I added the WaitForSync call to the DefaultTimeSyncApi with a timeout of 5 seconds (maybe create a config param for that) before checking the timesync with HasEstablishedTimeSync

This results in a successful timesync even via WIFI over VPNs.

Screenshot from 2025-01-03 17-41-07

Corresponding issue:
#527

Testing Done

  1. Launched the driver with various parameters
  2. Tested the image services
  3. Tested robot commands such as dock and undock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant