Skip to content

Commit

Permalink
cup emptiness
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-curtis committed Feb 1, 2025
1 parent edd4815 commit d179bf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion predicators/ground_truth_models/mock_spot_env/nsrts.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MockSpotGroundTruthNSRTFactory(GroundTruthNSRTFactory):

@classmethod
def get_env_names(cls) -> Set[str]:
return {"mock_spot", "mock_spot_pick_place_two_cup", "mock_spot_drawer_cleaning", "mock_spot_sort_weight"}
return {"mock_spot", "mock_spot_pick_place_two_cup", "mock_spot_drawer_cleaning", "mock_spot_sort_weight", "mock_spot_cup_emptiness"}

@classmethod
def get_nsrts(cls, env_name: str, types: Dict[str, Type],
Expand Down
2 changes: 1 addition & 1 deletion predicators/ground_truth_models/mock_spot_env/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class MockSpotGroundTruthOptionFactory(GroundTruthOptionFactory):
@classmethod
def get_env_names(cls) -> Set[str]:
"""Get the env names that this factory builds options for."""
return {"mock_spot", "mock_spot_pick_place_two_cup", "mock_spot_drawer_cleaning", "mock_spot_sort_weight"}
return {"mock_spot", "mock_spot_pick_place_two_cup", "mock_spot_drawer_cleaning", "mock_spot_sort_weight", "mock_spot_cup_emptiness"}

@classmethod
def get_options(cls, env_name: str, types: Dict[str, Type],
Expand Down
2 changes: 1 addition & 1 deletion scripts/mock_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def parse_args() -> argparse.Namespace:
parser.add_argument("--planner", type=str,
help="Run only this planner (by name)")
parser.add_argument('--env', type=str, default="mock_spot_drawer_cleaning",
choices=["mock_spot_drawer_cleaning", "mock_spot_pick_place_two_cup", "mock_spot_sort_weight"])
choices=["mock_spot_drawer_cleaning", "mock_spot_pick_place_two_cup", "mock_spot_sort_weight", "mock_spot_cup_emptiness"])
# parser.add_argument("--load_approach", action="store_true",
# help="Load saved approach")
return parser.parse_args()
Expand Down

0 comments on commit d179bf6

Please sign in to comment.