All skills

Real physics, in this tab. Nothing to install and no account. The first run downloads the robot runtime, about 14 MB.
Robot arm · Waveshare RoArm-M2
open close gripper twice
Open and close the gripper twice.
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.
open_close_gripper_twice.py
META = {"name": "open_close_gripper_twice", "description": "Open and close the gripper twice.", "params": {"arm": "arm", "repeats": 2}}
def run(ctx, **params):
arm = params.get("arm", "arm")
repeats = int(params.get("repeats", 2))
opened, closed = ctx.gripper_range(arm)
for _ in range(repeats):
ctx.gripper(arm, opened)
ctx.gripper(arm, closed)