All relevant functional code for A2C Dirt Quadrant setting with small changes to the environment + Different configs for single agent and multiagent settings

This commit is contained in:
Julian Schönberger
2024-05-06 12:33:37 +02:00
parent 55026eda12
commit 3c54d04f9f
13 changed files with 652 additions and 174 deletions

View File

@ -118,6 +118,10 @@ class Gamestate(object):
self._floortile_graph = None
self.tests = StepTests(*tests)
# Pointer that defines current spawn points of agents
for agent in self.agents_conf:
self.agents_conf[agent]["pos_pointer"] = 0
def reset(self):
self.curr_step = 0
self.curr_actions = None