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

cycle right gripper

Open and close the right gripper a chosen number of times.

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.

cycle_right_gripper.py

META = {"name": "cycle_right_gripper", "description": "Open and close the right gripper a chosen number of times.", "params": {"repeats": 2}}

def run(ctx, **params):
    repeats = int(params.get("repeats", 2))
    repeats = max(1, min(repeats, 5))
    for _ in range(repeats):
        ctx.gripper("right", -60)
        ctx.gripper("right", 0)
cycle right gripper — on the OpenArm v1 — BotCortex