mlpy.environments.utils.webots.client.WebotsClient.connect¶
-
WebotsClient.
connect
(host='127.0.0.1', port=12345, retry_timeout=2)[source]¶ Connect to the server (controller).
Parameters: host : str, optional
The host the controller listens to. Default is 127.0.0.1
port : int, optional
The port the controller listens to. If using the client in conjunction with controller serverc the port number is 12345. Default is 12345.
retry_timeout: int, optional
The time before retrying to connect in seconds. Default is 2.