Skip to content

Commit

Permalink
Scene assignment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-martinez committed Aug 19, 2023
1 parent 016c4bc commit 0031f27
Show file tree
Hide file tree
Showing 15 changed files with 92 additions and 94 deletions.
6 changes: 3 additions & 3 deletions bddl/activity_definitions/clean_piano_keys/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
(:objects
piano.n.01_1 - piano.n.01
rag.n.01_1 - rag.n.01
shelf.n.01_1 - shelf.n.01
dust.n.01_1 - dust.n.01
floor.n.01_1 - floor.n.01
agent.n.01_1 - agent.n.01
cabinet.n.01_1 - cabinet.n.01
)

(:init
(covered piano.n.01_1 dust.n.01_1)
(inside rag.n.01_1 shelf.n.01_1)
(inside rag.n.01_1 cabinet.n.01_1)
(inroom floor.n.01_1 living_room)
(inroom shelf.n.01_1 living_room)
(inroom piano.n.01_1 living_room)
(inroom cabinet.n.01_1 utility_room)
(ontop agent.n.01_1 floor.n.01_1)
)

Expand Down
10 changes: 5 additions & 5 deletions bddl/activity_definitions/clean_up_your_desk/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pencil.n.01_1 - pencil.n.01
pen.n.01_1 pen.n.01_2 - pen.n.01
stapler.n.01_1 - stapler.n.01
bookcase.n.01_1 - bookcase.n.01
shelf.n.01_1 - shelf.n.01
tray.n.01_1 - tray.n.01
paperback_book.n.01_1 paperback_book.n.01_2 - paperback_book.n.01
pencil_box.n.01_1 - pencil_box.n.01
Expand All @@ -32,14 +32,14 @@
(ontop pencil.n.01_1 desk.n.01_1)
(ontop pen.n.01_1 swivel_chair.n.01_1)
(ontop pen.n.01_2 floor.n.01_1)
(ontop stapler.n.01_1 bookcase.n.01_1)
(ontop stapler.n.01_1 shelf.n.01_1)
(ontop laptop.n.01_1 desk.n.01_1)
(ontop tray.n.01_1 desk.n.01_1)
(ontop paperback_book.n.01_1 desk.n.01_1)
(ontop paperback_book.n.01_2 swivel_chair.n.01_1)
(ontop pencil_box.n.01_1 desk.n.01_1)
(inroom cabinet.n.01_1 private_office)
(inroom bookcase.n.01_1 private_office)
(inroom shelf.n.01_1 private_office)
(inroom desk.n.01_1 private_office)
(inroom swivel_chair.n.01_1 private_office)
(inroom floor.n.01_1 private_office)
Expand All @@ -59,7 +59,7 @@
(forall
(?folder.n.02 - folder.n.02)
(or
(inside ?folder.n.02 ?bookcase.n.01_1)
(inside ?folder.n.02 ?shelf.n.01_1)
(ontop ?folder.n.02 ?desk.n.01_1)
(ontop ?folder.n.02 ?folder.n.02_1)
(ontop ?folder.n.02 ?folder.n.02_2)
Expand All @@ -71,7 +71,7 @@
)
(forall
(?paperback_book.n.01 - paperback_book.n.01)
(inside ?paperback_book.n.01 ?bookcase.n.01_1)
(inside ?paperback_book.n.01 ?shelf.n.01_1)
)
(inside ?pencil.n.01_1 ?pencil_box.n.01_1)
(inside ?shears.n.01_1 ?pencil_box.n.01_1)
Expand Down
12 changes: 6 additions & 6 deletions bddl/activity_definitions/cleaning_barbecue_grill/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
floor.n.01_1 - floor.n.01
rag.n.01_1 - rag.n.01
bucket.n.01_1 - bucket.n.01
table.n.02_1 - table.n.02
countertop.n.02_1 - countertop.n.02
sink.n.01_1 - sink.n.01
agent.n.01_1 - agent.n.01
)

(:init
(inroom grill.n.02_1 garage)
(inroom grill.n.02_1 garden)
(covered grill.n.02_1 stain.n.01_1)
(covered grill.n.02_1 dust.n.01_1)
(ontop bucket.n.01_1 table.n.02_1)
(ontop rag.n.01_1 table.n.02_1)
(ontop bucket.n.01_1 countertop.n.02_1)
(ontop rag.n.01_1 countertop.n.02_1)
(inroom floor.n.01_1 garage)
(inroom table.n.02_1 storage_room)
(inroom sink.n.01_1 storage_room)
(inroom countertop.n.02_1 utility_room)
(inroom sink.n.01_1 utility_room)
(ontop agent.n.01_1 floor.n.01_1)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
bowl.n.01_1 - bowl.n.01
disinfectant.n.01_1 - disinfectant.n.01
disinfectant__bottle.n.01_1 - disinfectant__bottle.n.01
kitchen_table.n.01_1 - kitchen_table.n.01
breakfast_table.n.01_1 - breakfast_table.n.01
ashcan.n.01_1 - ashcan.n.01
water.n.06_1 - water.n.06
sink.n.01_1 - sink.n.01
Expand All @@ -28,13 +28,13 @@
(covered breakfast_table.n.01_1 breadcrumb.n.01_1)
(ontop ashcan.n.01_1 floor.n.01_2)
(filled disinfectant__bottle.n.01_1 disinfectant.n.01_1)
(ontop disinfectant__bottle.n.01_1 kitchen_table.n.01_1)
(ontop hand_towel.n.01_1 kitchen_table.n.01_1)
(ontop disinfectant__bottle.n.01_1 breakfast_table.n.01_1)
(ontop hand_towel.n.01_1 breakfast_table.n.01_1)
(insource sink.n.01_1 water.n.06_1)
(inroom breakfast_table.n.01_1 dining_room)
(inroom sink.n.01_1 kitchen)
(inroom floor.n.01_2 kitchen)
(inroom kitchen_table.n.01_1 kitchen)
(inroom breakfast_table.n.01_1 kitchen)
(inroom floor.n.01_1 dining_room)
(ontop agent.n.01_1 floor.n.01_1)
)
Expand Down
2 changes: 1 addition & 1 deletion bddl/activity_definitions/cleaning_the_pool/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
(ontop detergent__bottle.n.01_1 floor.n.01_1)
(inroom shelf.n.01_1 garage)
(inroom floor.n.01_1 garage)
(inroom sink.n.01_1 storage_room)
(inroom sink.n.01_1 utility_room)
(ontop agent.n.01_1 floor.n.01_1)
)

Expand Down
10 changes: 5 additions & 5 deletions bddl/activity_definitions/donating_clothing/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

(:objects
sweater.n.01_1 - sweater.n.01
chest_of_drawers.n.01_1 - chest_of_drawers.n.01
wardrobe.n.01_1 - wardrobe.n.01
boot.n.01_1 boot.n.01_2 - boot.n.01
floor.n.01_1 - floor.n.01
sandal.n.01_1 sandal.n.01_2 - sandal.n.01
Expand All @@ -14,14 +14,14 @@
)

(:init
(inroom chest_of_drawers.n.01_1 closet)
(inside sweater.n.01_1 chest_of_drawers.n.01_1)
(inroom wardrobe.n.01_1 closet)
(inside sweater.n.01_1 wardrobe.n.01_1)
(ontop boot.n.01_1 floor.n.01_1)
(ontop boot.n.01_2 floor.n.01_1)
(ontop sandal.n.01_1 floor.n.01_1)
(ontop sandal.n.01_2 floor.n.01_1)
(inside dress.n.01_1 chest_of_drawers.n.01_1)
(inside jersey.n.03_1 chest_of_drawers.n.01_1)
(inside dress.n.01_1 wardrobe.n.01_1)
(inside jersey.n.03_1 wardrobe.n.01_1)
(ontop carton.n.02_1 floor.n.01_1)
(inroom floor.n.01_1 closet)
(ontop agent.n.01_1 floor.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

(:objects
keyboard.n.01_1 - keyboard.n.01
shelf.n.01_1 shelf.n.01_2 - shelf.n.01
cabinet.n.01_1 cabinet.n.01_2 - cabinet.n.01
desk.n.01_1 - desk.n.01
package.n.02_1 package.n.02_2 - package.n.02
magazine.n.02_1 - magazine.n.02
Expand All @@ -16,18 +16,18 @@

(:init
(ontop keyboard.n.01_1 desk.n.01_1)
(inside package.n.02_1 shelf.n.01_1)
(inside package.n.02_2 shelf.n.01_1)
(inside magazine.n.02_1 shelf.n.01_2)
(inside letter.n.01_1 shelf.n.01_2)
(inside package.n.02_1 cabinet.n.01_1)
(inside package.n.02_2 cabinet.n.01_1)
(inside magazine.n.02_1 cabinet.n.01_2)
(inside letter.n.01_1 cabinet.n.01_2)
(ontop postage.n.02_1 desk.n.01_1)
(ontop postage.n.02_2 desk.n.01_1)
(inside mail.n.04_1 shelf.n.01_2)
(inside mail.n.04_2 shelf.n.01_2)
(inside mail.n.04_1 cabinet.n.01_2)
(inside mail.n.04_2 cabinet.n.01_2)
(inroom floor.n.01_1 shared_office)
(inroom desk.n.01_1 private_office)
(inroom shelf.n.01_1 shared_office)
(inroom shelf.n.01_2 shared_office)
(inroom cabinet.n.01_1 shared_office)
(inroom cabinet.n.01_2 shared_office)
(ontop agent.n.01_1 floor.n.01_1)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
water_glass.n.02_1 water_glass.n.02_2 water_glass.n.02_3 water_glass.n.02_4 - water_glass.n.02
armchair.n.01_1 armchair.n.01_2 armchair.n.01_3 armchair.n.01_4 - armchair.n.01
breakfast_table.n.01_1 - breakfast_table.n.01
kitchen_table.n.01_1 - kitchen_table.n.01
breakfast_table.n.01_1 - breakfast_table.n.01
floor.n.01_1 - floor.n.01
agent.n.01_1 - agent.n.01
)
Expand All @@ -22,14 +22,14 @@
(ontop plate.n.04_2 plate.n.04_1)
(ontop plate.n.04_3 plate.n.04_2)
(ontop plate.n.04_4 plate.n.04_3)
(ontop wineglass.n.01_1 kitchen_table.n.01_1)
(ontop wineglass.n.01_2 kitchen_table.n.01_1)
(ontop wineglass.n.01_3 kitchen_table.n.01_1)
(ontop wineglass.n.01_4 kitchen_table.n.01_1)
(ontop water_glass.n.02_1 kitchen_table.n.01_1)
(ontop water_glass.n.02_2 kitchen_table.n.01_1)
(ontop water_glass.n.02_3 kitchen_table.n.01_1)
(ontop water_glass.n.02_4 kitchen_table.n.01_1)
(ontop wineglass.n.01_1 breakfast_table.n.01_1)
(ontop wineglass.n.01_2 breakfast_table.n.01_1)
(ontop wineglass.n.01_3 breakfast_table.n.01_1)
(ontop wineglass.n.01_4 breakfast_table.n.01_1)
(ontop water_glass.n.02_1 breakfast_table.n.01_1)
(ontop water_glass.n.02_2 breakfast_table.n.01_1)
(ontop water_glass.n.02_3 breakfast_table.n.01_1)
(ontop water_glass.n.02_4 breakfast_table.n.01_1)
(inside tablefork.n.01_1 cabinet.n.01_1)
(inside tablefork.n.01_2 cabinet.n.01_1)
(inside tablefork.n.01_3 cabinet.n.01_1)
Expand All @@ -42,18 +42,18 @@
(inside tablespoon.n.02_2 cabinet.n.01_1)
(inside tablespoon.n.02_3 cabinet.n.01_1)
(inside tablespoon.n.02_4 cabinet.n.01_1)
(ontop dinner_napkin.n.01_1 kitchen_table.n.01_1)
(ontop dinner_napkin.n.01_2 kitchen_table.n.01_1)
(ontop dinner_napkin.n.01_3 kitchen_table.n.01_1)
(ontop dinner_napkin.n.01_4 kitchen_table.n.01_1)
(ontop dinner_napkin.n.01_1 breakfast_table.n.01_1)
(ontop dinner_napkin.n.01_2 breakfast_table.n.01_1)
(ontop dinner_napkin.n.01_3 breakfast_table.n.01_1)
(ontop dinner_napkin.n.01_4 breakfast_table.n.01_1)
(inroom breakfast_table.n.01_1 dining_room)
(inroom cabinet.n.01_1 kitchen)
(inroom floor.n.01_1 kitchen)
(inroom armchair.n.01_1 dining_room)
(inroom armchair.n.01_2 dining_room)
(inroom armchair.n.01_3 dining_room)
(inroom armchair.n.01_4 dining_room)
(inroom kitchen_table.n.01_1 kitchen)
(inroom breakfast_table.n.01_1 kitchen)
(ontop agent.n.01_1 floor.n.01_1)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
paperback_book.n.01_1 paperback_book.n.01_2 - paperback_book.n.01
desk.n.01_1 - desk.n.01
book.n.02_1 book.n.02_2 - book.n.02
shelf.n.01_1 - shelf.n.01
backpack.n.01_1 - backpack.n.01
floor.n.01_1 - floor.n.01
agent.n.01_1 - agent.n.01
Expand All @@ -14,12 +13,11 @@
(:init
(ontop paperback_book.n.01_1 desk.n.01_1)
(ontop paperback_book.n.01_2 desk.n.01_1)
(ontop book.n.02_1 shelf.n.01_1)
(ontop book.n.02_2 shelf.n.01_1)
(ontop book.n.02_1 desk.n.01_1)
(ontop book.n.02_2 desk.n.01_1)
(ontop backpack.n.01_1 desk.n.01_1)
(inroom floor.n.01_1 private_office)
(inroom desk.n.01_1 private_office)
(inroom shelf.n.01_1 private_office)
(ontop agent.n.01_1 floor.n.01_1)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
(attached hanger.n.02_5 wardrobe.n.01_1)
(attached hanger.n.02_6 wardrobe.n.01_1)
(inroom floor.n.01_1 closet)
(inroom desk.n.01_1 closet)
(inroom desk.n.01_1 bedroom)
(inroom wardrobe.n.01_1 closet)
(ontop agent.n.01_1 floor.n.01_1)
)
Expand Down
10 changes: 5 additions & 5 deletions bddl/activity_definitions/repairs_to_furniture/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
(:domain omnigibson)

(:objects
worktable.n.01_1 - worktable.n.01
desk.n.01_1 - desk.n.01
incision.n.01_1 - incision.n.01
emery_paper.n.01_1 - emery_paper.n.01
floor.n.01_1 - floor.n.01
agent.n.01_1 - agent.n.01
)

(:init
(covered worktable.n.01_1 incision.n.01_1)
(ontop emery_paper.n.01_1 worktable.n.01_1)
(covered desk.n.01_1 incision.n.01_1)
(ontop emery_paper.n.01_1 desk.n.01_1)
(inroom floor.n.01_1 garage)
(inroom worktable.n.01_1 garage)
(inroom desk.n.01_1 garage)
(ontop agent.n.01_1 floor.n.01_1)
)

(:goal
(and
(not
(covered ?worktable.n.01_1 ?incision.n.01_1)
(covered ?desk.n.01_1 ?incision.n.01_1)
)
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
wine_bottle.n.01_1 wine_bottle.n.01_2 - wine_bottle.n.01
red_wine.n.01_1 - red_wine.n.01
white_wine.n.01_1 - white_wine.n.01
countertop.n.01_1 - countertop.n.01
bar.n.01_1 - bar.n.01
beer_bottle.n.01_1 beer_bottle.n.01_2 beer_bottle.n.01_3 - beer_bottle.n.01
ice_cube.n.01_1 ice_cube.n.01_2 ice_cube.n.01_3 ice_cube.n.01_4 ice_cube.n.01_5 ice_cube.n.01_6 - ice_cube.n.01
shot_glass.n.01_1 shot_glass.n.01_2 - shot_glass.n.01
Expand All @@ -32,7 +32,7 @@
(filled wine_bottle.n.01_1 white_wine.n.01_1)
(inside wine_bottle.n.01_1 electric_refrigerator.n.01_1)
(filled wine_bottle.n.01_2 red_wine.n.01_1)
(ontop wine_bottle.n.01_2 countertop.n.01_1)
(ontop wine_bottle.n.01_2 bar.n.01_1)
(inside beer_bottle.n.01_1 electric_refrigerator.n.01_1)
(inside beer_bottle.n.01_2 electric_refrigerator.n.01_1)
(inside beer_bottle.n.01_3 electric_refrigerator.n.01_1)
Expand All @@ -43,15 +43,15 @@
(inside ice_cube.n.01_5 bowl.n.01_1)
(inside ice_cube.n.01_6 bowl.n.01_1)
(inside bowl.n.01_1 electric_refrigerator.n.01_1)
(ontop bucket.n.01_1 countertop.n.01_1)
(ontop corkscrew.n.01_1 countertop.n.01_1)
(ontop bucket.n.01_1 bar.n.01_1)
(ontop corkscrew.n.01_1 bar.n.01_1)
(inside shot_glass.n.01_1 shelf.n.01_1)
(inside shot_glass.n.01_2 shelf.n.01_1)
(inside wineglass.n.01_1 shelf.n.01_1)
(inside wineglass.n.01_2 shelf.n.01_1)
(inside water_glass.n.02_1 shelf.n.01_2)
(inside water_glass.n.02_2 shelf.n.01_2)
(inroom countertop.n.01_1 bar)
(inroom bar.n.01_1 bar)
(inroom electric_refrigerator.n.01_1 bar)
(inroom shelf.n.01_1 bar)
(inroom shelf.n.01_2 bar)
Expand All @@ -61,13 +61,13 @@

(:goal
(and
(ontop ?bottle__of__vodka.n.01_1 ?countertop.n.01_1)
(ontop ?bottle__of__tequila.n.01_1 ?countertop.n.01_1)
(ontop ?bottle__of__gin.n.01_1 ?countertop.n.01_1)
(ontop ?carton__of__orange_juice.n.01_1 ?countertop.n.01_1)
(ontop ?bottle__of__vodka.n.01_1 ?bar.n.01_1)
(ontop ?bottle__of__tequila.n.01_1 ?bar.n.01_1)
(ontop ?bottle__of__gin.n.01_1 ?bar.n.01_1)
(ontop ?carton__of__orange_juice.n.01_1 ?bar.n.01_1)
(forall
(?wine_bottle.n.01 - wine_bottle.n.01)
(ontop ?wine_bottle.n.01 ?countertop.n.01_1)
(ontop ?wine_bottle.n.01 ?bar.n.01_1)
)
(forall
(?beer_bottle.n.01 - beer_bottle.n.01)
Expand All @@ -77,27 +77,27 @@
(nextto ?beer_bottle.n.01 ?beer_bottle.n.01_2)
(nextto ?beer_bottle.n.01 ?beer_bottle.n.01_3)
)
(ontop ?beer_bottle.n.01 ?countertop.n.01_1)
(ontop ?beer_bottle.n.01 ?bar.n.01_1)
)
)
(forall
(?ice_cube.n.01 - ice_cube.n.01)
(inside ?ice_cube.n.01 ?bucket.n.01_1)
)
(ontop ?bucket.n.01_1 ?countertop.n.01_1)
(ontop ?bucket.n.01_1 ?bar.n.01_1)
(forall
(?shot_glass.n.01 - shot_glass.n.01)
(ontop ?shot_glass.n.01 ?countertop.n.01_1)
(ontop ?shot_glass.n.01 ?bar.n.01_1)
)
(nextto ?shot_glass.n.01_1 ?shot_glass.n.01_2)
(forall
(?wineglass.n.01 - wineglass.n.01)
(ontop ?wineglass.n.01 ?countertop.n.01_1)
(ontop ?wineglass.n.01 ?bar.n.01_1)
)
(nextto ?wineglass.n.01_1 ?wineglass.n.01_2)
(forall
(?water_glass.n.02 - water_glass.n.02)
(ontop ?water_glass.n.02 ?countertop.n.01_1)
(ontop ?water_glass.n.02 ?bar.n.01_1)
)
(nextto ?water_glass.n.02_1 ?water_glass.n.02_2)
)
Expand Down
Loading

0 comments on commit 0031f27

Please sign in to comment.