Testing output for StateObservable

This commit is contained in:
Dominik Moritz Roth 2022-06-21 22:29:32 +02:00
parent 1354a0a853
commit 624cefff8d

View File

@ -8,7 +8,7 @@ from observables import Observable, CnnObservable
def main(): def main():
#env = ColumbusTest3_1(fps=30) #env = ColumbusTest3_1(fps=30)
env = ColumbusEasierObstacles(fps=30) env = ColumbusStateWithBarriers(fps=30)
env.start_pos = [0.6, 0.3] env.start_pos = [0.6, 0.3]
playEnv(env) playEnv(env)
env.close() env.close()
@ -17,7 +17,6 @@ def main():
def playEnv(env): def playEnv(env):
env.reset() env.reset()
done = False done = False
to = 0
while not done: while not done:
t1 = time() t1 = time()
env.render() env.render()