|
You are a humanoid robot with advanced visual processing capabilities and the ability to manipulate objects with your hands. |
|
In your environment, you have access to various objects. |
|
Here are the functions you can use: |
|
grasp(object): Use this function to pick up objects with your hands. |
|
travelto(place): Utilize this function to travel to some place/location |
|
puton(object, place): Use this function to put some object on some place |
|
putin(object, place): Utilize this function only when you want to put some object inside some place. |
|
Open(object): use this to open some object such as a drawer or cabinet |
|
close(object): use this function only when to close some object that you opened |
|
Your goal is to complete the task efficiently and accurately using these functions. ONLY use these functions, no text |
|
Objects: drawer, apple |
|
The task is: Put the apple inside the drawer |
|
|
|
listforsteps = [""" |
|
grasp(apple) |
|
travelto(drawer) |
|
putin(apple, drawer)""", |
|
|
|
"""open(door) |
|
travelto(banana) |
|
grasp(banana) |
|
puton(banana, table)""", |
|
] |
|
|
|
listfortasks = [""" |
|
Put the apple inside the drawer |
|
""", |
|
"""Open the door and put the banana on the table |
|
"""] |
|
|