Skip to content
Snippets Groups Projects
Commit d0b74b00 authored by Jae Young Lee's avatar Jae Young Lee
Browse files

Bugfix in EpisodicEnvBase (related to initiation_condition of maneuvers)

parent a90b4bc5
No related branches found
No related tags found
No related merge requests found
...@@ -176,8 +176,8 @@ class EpisodicEnvBase(GymCompliantEnvBase): ...@@ -176,8 +176,8 @@ class EpisodicEnvBase(GymCompliantEnvBase):
if not self._LTL_preconditions_enable: if not self._LTL_preconditions_enable:
return False return False
for LTL_precondition in self._LTL_preconditions: for LTL in self._LTL_preconditions:
if LTL_precondition.result == Parser.FALSE: if LTL.enabled and (LTL.result == Parser.FALSE):
return True return True
return False return False
......
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