Skip to content
Snippets Groups Projects
Commit 78a27b68 authored by spiglerg's avatar spiglerg
Browse files

test2

parent 23ff4c38
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ class EnvAgentStatic(object): ...@@ -44,7 +44,7 @@ class EnvAgentStatic(object):
""" """
speed_datas = [] speed_datas = []
for i in range(len(positions)): for i in range(len(positions)):
speed_datas.append( speed_data={'position_fraction':0.0, 'speed':1.0, 'transition_action_on_cellexit':2} ) speed_datas.append( {'position_fraction':0.0, 'speed':1.0, 'transition_action_on_cellexit':2} )
return list(starmap(EnvAgentStatic, zip(positions, directions, targets, [False] * len(positions), speed_datas))) return list(starmap(EnvAgentStatic, zip(positions, directions, targets, [False] * len(positions), speed_datas)))
def to_list(self): def to_list(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment