UniversalClient
Inherits from:object
Universal client that supports multiple connection types with fallback.
Provides automatic fallback between WebSocket, MCP, and HTTP protocols.
Ideal for robust applications that need to work in varying network
conditions.
init
Arguments
IP address of the robot
Port number (default 4774)
Preferred connection type
Whether to fallback to other connection types if preferred fails **kwargs: Additional parameters passed to underlying clients
kwargs
No description provided.
is_connected
get_connection_type
Returns
The currently active connection type, or None if no connection is established