Skip to content

Commit

Permalink
REMOVE COMMIT: open location is not open?
Browse files Browse the repository at this point in the history
  • Loading branch information
p-rosit authored and matthias-mayr committed Sep 15, 2024
1 parent 0828bc0 commit 6d2df71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skiros2_pyrobosim_lib/pyrobosim_skills.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ def createDescription(self):
self.addParam("OpenableLocation", Element("skiros:OpenableLocation"), ParamTypes.Required)
# =======PreConditions=========
self.addPreCondition(self.getRelationCond("RobotAt", "skiros:at", "Robot", "OpenableLocation", True))
self.addPreCondition(self.getPropCond("IsClosed", "skiros:Open", "OpenableLocation", "=", True, True))
# self.addPreCondition(self.getPropCond("IsClosed", "skiros:Open", "OpenableLocation", "=", True, True))
# =======PostConditions=========
self.addPostCondition(self.getPropCond("IsOpen", "skiros:Open", "OpenableLocation", "=", False, True))
# Planning book-keeping conditions:
self.addPreCondition(self.getPropCond("IsClosed", "skiros:Open", "OpenableLocation", "=", False, False))
# self.addPreCondition(self.getPropCond("IsClosed", "skiros:Open", "OpenableLocation", "=", False, False))

class CloseDoor(SkillDescription):
def createDescription(self):
Expand Down

0 comments on commit 6d2df71

Please sign in to comment.