mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-09 02:45:52 +02:00
renaming
This commit is contained in:
README.md
marl_factory_grid
__init__.py
algorithms
environment
__init__.pyactions.py
assets
constants.pyentity
factory.pygroups
rewards.pyrules.pylogging
modules
__init__.py
_template
batteries
clean_up
__init__.pyactions.pyconstants.pydirtpiles.pngentitites.pygroups.pyrewards.pyrule_done_on_all_clean.pyrule_respawn.pyrule_smear_on_move.py
destinations
doors
__init__.pyactions.pyconstants.pydoor_closed.pngdoor_open.pngentitites.pygroups.pyrewards.pyrule_door_auto_close.py
items
levels
machines
plotting
quickstart
utils
mfg_package/algorithms/marl
reload_agent.pysetup.py
18
marl_factory_grid/modules/doors/constants.py
Normal file
18
marl_factory_grid/modules/doors/constants.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Names / Identifiers
|
||||
DOOR = 'Door' # Identifier of Single-Door Entities.
|
||||
DOORS = 'Doors' # Identifier of Door-objects and groups (groups).
|
||||
|
||||
# Symbols (in map)
|
||||
SYMBOL_DOOR = 'D' # Door _identifier for resolving the string based map files.
|
||||
|
||||
# Values
|
||||
VALUE_ACCESS_INDICATOR = 1 / 3 # Access-door-Cell value used in observation
|
||||
VALUE_OPEN_DOOR = 2 / 3 # Open-door-Cell value used in observation
|
||||
VALUE_CLOSED_DOOR = 3 / 3 # Closed-door-Cell value used in observation
|
||||
|
||||
# States
|
||||
STATE_CLOSED = 'closed' # Identifier to compare door-is-closed state
|
||||
STATE_OPEN = 'open' # Identifier to compare door-is-open state
|
||||
|
||||
# Actions
|
||||
ACTION_DOOR_USE = 'use_door'
|
Reference in New Issue
Block a user