Door Area Indicators

This commit is contained in:
Steffen Illium
2022-01-18 11:39:19 +01:00
parent 3ce6302e8a
commit a16d7e709e
7 changed files with 34 additions and 9 deletions

View File

@ -23,6 +23,7 @@ class ObservationProperties(NamedTuple):
cast_shadows: bool = True
frames_to_stack: int = 0
pomdp_r: int = 0
indicate_door_area: bool = True
show_global_position_info: bool = False
@ -34,4 +35,3 @@ class MarlFrameStack(gym.ObservationWrapper):
if isinstance(self.env, FrameStack) and self.env.unwrapped.n_agents > 1:
return observation[0:].swapaxes(0, 1)
return observation