Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.39 KB

howto.rl.wp.002.rst

File metadata and controls

48 lines (26 loc) · 1.39 KB

Howto RL-WP-002: MLPro to PettingZoo

.. automodule:: mlpro.rl.examples.howto_rl_wp_002_mlpro_environment_to_petting_zoo_environment



Prerequisites

Please install the following packages to run this examples properly:

Executable code

.. literalinclude:: ../../../../../../../../src/mlpro/rl/examples/howto_rl_wp_002_mlpro_environment_to_petting_zoo_environment.py
        :language: python



Results

The Bulk Good Laboratory Plant (BGLP) environment will be wrapped to a PettingZoo compliant environment.

YYYY-MM-DD  HH:MM:SS.SSSSSS  I  Environment BGLP: Instantiated
YYYY-MM-DD  HH:MM:SS.SSSSSS  I  Environment BGLP: Instantiated
YYYY-MM-DD  HH:MM:SS.SSSSSS  I  Environment BGLP: Operation mode set to 0
YYYY-MM-DD  HH:MM:SS.SSSSSS  I  Environment BGLP: Reset
Starting API test
...
Passed API test
test completed

There are several lines of action processing logs due to the API tests. When there is no detected failure, the environment is successfully wrapped.

Cross Reference