Coverage for src/gncpy/planning/reinforcement_learning/envs/__init__.py: 0%
5 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-13 06:15 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-13 06:15 +0000
1r"""Defines all RL environments.
3Once imported, the following environments are exposed:
5 * SimpleUAV2d
6 * SimpleUAVHazards2d
8"""
9from gym.envs.registration import load_env_plugins as _load_env_plugins
10from gym.envs.registration import make, register, registry, spec # noqa
13# Hook to load plugins from entry points
14_load_env_plugins()
17# simple2d
18# ----------------------------------------
20register(
21 id="SimpleUAV2d-v0",
22 entry_point="gncpy.planning.reinforcement_learning.envs.simple2d.simpleUAV2d:SimpleUAV2d",
23)
25register(
26 id='SimpleUAVHazards2d-v0',
27 entry_point='gncpy.planning.reinforcement_learning.envs.simple2d.simpleUAV2d:SimpleUAVHazards2d',
28)