Skip to content

Unitree: retry connection on failure, give up after 5 minutes #1620

@leshy

Description

@leshy

Summary

When the Unitree connection fails (e.g. robot unreachable, network hiccup), dimos should automatically retry the connection instead of failing immediately.

Desired behavior

  • On connection failure, keep retrying with backoff
  • Give up after 5 minutes of unsuccessful attempts
  • Log each retry attempt so the user knows what's happening
  • After the 5-minute timeout, fail with a clear error message

Motivation

Transient network issues or a robot that's still booting shouldn't require a full restart of the dimos process. A retry window gives the robot time to become available.


Synced from DIM-717

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions