Function createRobotClient

  • Connect to a robot via WebRTC or gRPC and return a RobotClient after connecting successfully.

    The initial connection method is determined by whether a DialWebRTCConf or DialDirectConf is passed in as the first argument.

    If connecting via WebRTC fails, then this function will automatically re-attempt to connect via gRPC directly.

    Parameters

    Returns Promise<RobotClient>

Generated using TypeDoc