mlpy.environments.utils.webots.client.WebotsClient.query¶
-
WebotsClient.
query
(msg)[source]¶ Query the server (controller).
Parameters: msg : str
The message send to the controller.
Returns: The result returned by the controller.
Notes
The Webots environment works in conjunction with a controller specified for a supervisor. When querying the controller, a request with the msg is send to the controller which extracts the information and returns the results.