Commit d0b74b00 authored by Jae Young Lee's avatar Jae Young Lee

Bugfix in EpisodicEnvBase (related to initiation_condition of maneuvers)

parent a90b4bc5
......@@ -176,8 +176,8 @@ class EpisodicEnvBase(GymCompliantEnvBase):
if not self._LTL_preconditions_enable:
return False
for LTL_precondition in self._LTL_preconditions:
if LTL_precondition.result == Parser.FALSE:
for LTL in self._LTL_preconditions:
if LTL.enabled and (LTL.result == Parser.FALSE):
return True
return False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment