-
Notifications
You must be signed in to change notification settings - Fork 144
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
Failing to take commands after about 5 minutes - getting "ExpiredError" #74
Comments
The clock skew between the robot and the driver is provided by a call to the robot's time sync endpoint ( You're talking about velocity messages, so I assume that you're talking about the velocity command which is at When the command is generated the end time and the timesync endpoint are passed to Are you able to replicate the expired error with commands other than the velocity command? The trajectory command also explicitly sets an end time, but does not pass the endpoint. If one command works, but not the other, then perhaps this is a useful comparison to have. I haven't personally use the velocity command at all, but I use the trajectory command all the time, and haven't seen this error come up. I wonder if there is also potential for WSL to be causing some issues, but I don't know how that functions. Are you able to test with a linux install as well? Might be useful for comparison purposes. |
Hi, |
What setup are you using to control the robot? I wonder if it's possible that network latency or something causes clocks to drift out of synchronisation. Is it only the velocity command which does not function? |
Hey, I'm using the 3.2.3 version... |
We're hitting an issue where after about 5 minutes, Spot starts jittering/stumbling and eventually refuses to move. The velocity messages are making it to the driver, but it appears that the clocks are getting out of sync, and I progressively get more and more "ExpiredError" failures, until eventually every message is rejected. Restarting the driver script fixes the issue for another 5 minutes. Is there more info on how the clock-sync works, and why we might be hitting this?
Running ROS Noetic on Windows 11 WSL2 - connected/controlling via Wifi.
The error:
(ExpiredError): The command was received after its max_duration had already passed.
The text was updated successfully, but these errors were encountered: