mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-05 09:01:36 +02:00
Redone the spawn procedute and destination objects
This commit is contained in:
marl_factory_grid
algorithms
static
configs
environment
modules
aomas
batteries
clean_up
destinations
factory
items
levels
machines
maintenance
zones
utils
@ -41,7 +41,7 @@ class OBSBuilder(object):
|
||||
self.curr_lightmaps = dict()
|
||||
|
||||
def reset_struc_obs_block(self, state):
|
||||
self._curr_env_step = state.curr_step.copy()
|
||||
self._curr_env_step = state.curr_step
|
||||
# Construct an empty obs (array) for possible placeholders
|
||||
self.all_obs[c.PLACEHOLDER] = np.full(self.obs_shape, 0, dtype=float)
|
||||
# Fill the all_obs-dict with all available entities
|
||||
|
Reference in New Issue
Block a user