All skills
OpenArm v1 in the simulation

Real physics, in this tab. Nothing to install and no account. The first run downloads the robot runtime, about 14 MB.

Bimanual arm · OpenArm v1

stack block on block

Stack one named block on top of another named block.

taught their robot this by typing a sentence. It ran successfully, so it was published. What you see is the same program running against the same physics.

stack_block_on_block.py

META = {"name": "stack_block_on_block", "description": "Stack one named block on top of another named block.", "params": {"arm": "right", "object": "blue_block", "on": "red_block"}}

def run(ctx, **params):
    arm = params.get("arm", "right")
    obj = params.get("object", "blue_block")
    on = params.get("on", "red_block")
    scene = ctx.describe_scene()
    objects = scene["objects"]
    p = objects[obj]["position"]
    ctx.pick_up(arm, obj)
    ctx.place_on(arm, obj, on)