This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (stream hsr_stream) | |
; DIST: Distance between two locations | |
(:function (Dist ?l1 ?l2) | |
(and (Location ?l1) (Location ?l2)) | |
) | |
; PICKPLACECOST: Cost to perform pick and place at a location | |
(:function (PickPlaceCost ?l ?o) | |
(and (Location ?l) (Obj ?o)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (domain hsr_tamp) | |
(:requirements :strips :equality) | |
(:predicates | |
; Static Predicates | |
(Robot ?r) ; Represents the robot | |
(Obj ?o) ; Object representation | |
(Location ?l) ; Location representation | |
(Room ?m) ; Room representation | |
(Type ?t) ; Type of location or object | |
(GraspAng ?q) ; Grasp angle |