Added no_map feature to RayTracingEnv

This commit is contained in:
Dominik Moritz Roth 2022-06-19 22:58:49 +02:00
parent 3dc5bed9f4
commit 253ce6495e

View File

@ -232,7 +232,7 @@ class ColumbusTest3_1(ColumbusEnv):
class ColumbusTestRay(ColumbusEnv):
def __init__(self):
def __init__(self, hide_map=False):
super(ColumbusTestRay, self).__init__(
observable=observables.RayObservable())
self.start_pos = [0.6, 0.3]
@ -240,3 +240,4 @@ class ColumbusTestRay(ColumbusEnv):
self.score = 0
self.reward_mult = 0.001
self.aux_reward_max = 1
self.draw_entities = not hide_map