Skip to content

randomizable gripper & extended grippers domain, rewritten in python - #7

Open
guicho271828 wants to merge 2 commits into
AI-Planning:mainfrom
guicho271828:gripper
Open

guicho271828 wants to merge 2 commits into
AI-Planning:mainfrom
guicho271828:gripper

Conversation

@guicho271828

Copy link
Copy Markdown
Contributor

this is an unrelated pull request that makes gripper randomizable. The original behavior is the same when additional arguments are not supplied.

@guicho271828
guicho271828 force-pushed the gripper branch 3 times, most recently from 3a8107b to fb74fc9 Compare November 26, 2021 15:31
@guicho271828 guicho271828 changed the title randomizable gripper randomizable gripper & extended grippers domain, rewritten in python Nov 26, 2021
@guicho271828 guicho271828 mentioned this pull request Nov 26, 2021

@jendrikseipp jendrikseipp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a "make test" test case for both domains?

Comment thread gripper/gripper.py

parser.add_argument("balls", type=int, help="the number of balls")
parser.add_argument("--seed", "-s", type=int, help="random seed")
parser.add_argument("--randomize", "-r", action="store_true", help="randomize the initial state and the goal if present")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to combine these two options into the --seed option and randomize if --seed is given.

Comment thread grippers/README

# Grippers (python)

usage: gripper.py [-h] [--seed SEED] balls robots grippers rooms

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename the file to grippers.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants