The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.
embodied-olympics sweeper-jump — instance i00 — REALTIME MODE (robot as a service; time does not stop)
You control a simulated Unitree G1 humanoid robot (29 joints, 1.32 m tall, 33 kg; the Embodied Olympics simulator on MuJoCo) as if it were real hardware: the simulator runs in a service you cannot open, you reach it only through a client, and like a real venue it does not wait for you: once an attempt is running, the robot, the ball and the venue move while you think. Task: Jump the sweeper: standing on your podium, jump over the padded boom each time it sweeps round, 3 times in a row without being hit, then stand still on the podium.
Slowdown: S = 1. The world runs at 1/S of real speed: one control step (10 ms of robot time) every
S x 10 ms of wall-clock time (real time). spec()["timing"]["slowdown"] states it.
The venue
A Meltdown sweeper on a level bed: the motion base, a column 0.4 m in radius, stands 3.2 m in front of you (you face it); you stand in the middle of your podium, its top 0.4 m above the bed. The boom sticks out from the base at shin height and turns counter-clockwise seen from above: it comes at you from your left. At the start it points 200.0 degrees of its turn before your podium (on the far side of the base), turning; it will be over your podium in about 4.17 s.
Directions are from the robot at the start: +x is the way you face, +y is to your left, +z is up; the floor is level.
The rules
Rule book: No official rule book exists: the sweeper is a party and amusement game, not a sport. The closest real device is Galaxy Multi Rides' 'Meltdown' (US Meltdown operator manual: an eight-player game, each player standing on a podium round a motion base whose foam booms spin round, 'the aim of the game is to either duck under, or jump over the boom as it spins around'; players must not grab, hold or ride the booms; a player who is hit is out; one 1 hp spin motor on a speed dial, at most 15.82 rpm; foam boom attachments 220 lb for the two booms; riders at least 48 in (1.22 m) tall and at most 200 lb), the same game as the 'Sweeper' of the TV show Wipeout. Its rules as played: stay on your podium, jump the low boom each time it comes round, the last player not hit wins. Where this task departs from it:
- the booms: Meltdown's dual attachment has two foam booms; here there is only the low boom you jump (the duck boom is left off: this family tests the jump), so the rotor is that one boom, 50.0 kg, half of the attachment's 220 lb
- the dimensions: the manual gives none of the boom's height, length or thickness, nor of the podiums. The boom's axis is 0.2 m above the podium's top, the mid-shin of a rider of the minimum height (1.22 m), its foam 0.2 m thick, reaching 4.0 m from the axis over the podiums of a 30 ft bed, whose centres are 3.2 m from the axis; each podium a 0.9 m disc 0.4 m high (reasonable sizes, not published ones)
- the podium and the bed: the inflatable podium is a rigid platform and the inflatable bed a firm floor (neither's give is modelled; touching the bed is out anyway)
- the speed: the operator's dial is set to a steady 8.0 rpm (about half the machine's top speed), already turning at the start; the machine's program, which changes speed, is not used
- the count: one player, and a run of 3 jumps in a row with no hit is the success (a round number: the game has no count, its last player standing wins); after the last jump the robot must stand still for 1.0 s on its podium before the boom comes round again
- a hit is any touch of the boom on the robot (in the game a light touch may leave a player standing); a jump is a pass of the boom under both feet while nothing of the robot touches anything
- the motor: the 1 hp drive is a speed loop with a torque limit of 450.0 N m at the boom (1 hp at the top speed of 15.82 rpm, through the gearbox), no gearbox backlash or compliance; the foam's contact is a critically damped spring of 0.02 s time constant (an estimate for a soft polyurethane pad)
You stand on a round podium, 0.9 m across and 0.4 m high, whose centre is 3.2 m from the axis of the motion base, facing the base. A foam boom 0.2 m thick, its axis 0.2 m above the podium's top, turns round the base counter-clockwise (seen from above) at 8.0 revolutions per minute, driven by a motor of at most 450.0 N m; it reaches 4.0 m from the axis, over the whole podium, and comes round once every 7.5 s. It is already turning at the start. A jump counts when the boom passes under both your feet while nothing of you touches anything (at the moment it passes each foot). You succeed when, after 3 counted jumps, your first contact is your feet on the podium and you then stand still for 1.0 s (only your feet on the podium, your torso within about 20 degrees of vertical, your pelvis slower than 0.35 m/s), before the boom comes round again. You fail at once if the boom touches any part of you (a hit; grabbing or holding it is a hit too), if any part of you touches the bed (the floor round the podium) or the motion base, if the boom passes through a foot that is not above it, on a fall (your pelvis less than 0.35 m above the podium's top, or any part of you other than your feet on the podium), on a landing after the last jump that is not on the feet, or after 30 s.
A referee in the service decides this from the simulator's state. The events that must happen, in order, are jump 1 → jump 2 → jump 3 → landing → stand. An attempt (an episode) ends at the success, at the first rule violation, or after 30 s (3000 control steps) of robot time.
Real-robot rules
- Time does not stop. An attempt starts paused, on the frozen start, the robot holding its starting command. Its
clock starts at your first
submit(orget_obs(seconds=s)) and from then on the simulator runs at 100 Hz of robot time (S = 1), whether or not you send anything, until the attempt ends: the venue's timed events (the launch, the serve, the release) happen on that clock. Between your commands the robot executes what you planned, then holds the last command in force; nothing pauses for you, not your thinking, not your tool calls. - You are far too slow to steer it turn by turn. One turn of yours (a model response, a tool call) takes seconds;
the decisive moment of an attempt takes a fraction of one. Drive the robot with a program: a controller of your own
(Python in your container, with numpy and the client) that plans or streams the rows, started in the background
(
nohup python /app/output/gen.py > /app/output/run.log 2>&1 &) or in the foreground if it ends with the attempt. Use your turns to start attempts, read what happened, and improve the program. - Attempts.
r.reset()abandons the running attempt (or follows one that has ended) and starts a new one from the same start, paused until your nextsubmit;spec()["budget"]["reset"]says how many resets you have (5 here; authoritative: if it says 0, the one attempt is the run). Once an attempt has ended,submitraisesEpisodeOveruntil you reset. Only your last attempt is graded, and a success ends the trial at once. The wall clock is the run's and never restarts. - No privileged state. You get what the robot's own sensors give: its two head cameras (
head_left,head_right, RGB 270 × 480, a stereo pair 5 cm apart, tilted 20° down; depth onhead_left), its joint encoders, motor torques and two IMUs (below), and the venue's fixed cameras (venue,overview;spec()["cameras"]says where each is mounted). Not where you or any object is, not the referee's state. Once an attempt is over, every response carries the referee's call:meta["outcome"]("success"or the rule that ended it) andmeta["stages_reached"]ofmeta["stages_total"]. - There is nothing to hand in: the service records every control step it ran and grades your last attempt as it ran
live (the referee's call). Keep the program that drives the robot at
/app/output/gen.pyand aNOTES.mdof at most 20 lines (your approach, what failed, what you downloaded or installed) for the record: save them early and keep them current. - Wall clock: the time limit (
## Time limit). It ends without warning, and ending your session earlier ends the run the same way (and stops your background programs), so do not stop early: while you have attempts left, the run can still pass.
Time and streaming
submitanswers at once, with the robot as it is now: the rows you sent have not run yet. They become the plan from control stepat(an attempt step number; by default the next step), replacing whatever was planned fromaton and keeping what is planned before it. When the plan runs out, the command in force is held.res.meta["control_steps"]is the number of steps run so far in this attempt (so the next step has that number),res.meta["proprio"]["now"]the proprioception now,res.meta["plan_end_step"]where the plan now ends.- Open loop: plan a whole movement at once (a chunk covers at most 10 s), with
at = 0for the attempt's start:r.submit(type, A, dt=0.01, interpolate="hold", at=0, cameras=[])starts the clock and runs exactly those rows from the first step;atmay be up tospec()["timing"]["max_ahead_steps"]steps ahead. - Closed loop: send one row per control step,
r.submit(type, a[None], cameras=[]), computed from the proprioception the previous call returned.cameras=[]skips the images (the fastest call). - Latency: a reading is a few milliseconds old when it reaches you, and a row takes effect at the next control step at
the earliest. A row whose step has already run when the request arrives is dropped (
res.meta["late_steps"]counts them); the rest of its chunk applies from the next step. get_obs()reads the robot now;get_obs(seconds=s)(at most 30) waits while s seconds of robot time run and returns what the cameras saw meanwhile.r.status()showsrunningandlag_s.
Client (/opt/tools/rcb_client.py, protocol eai-standard/2.3, realtime mode)
Your whole interface to the robot. Its docstring is the full reference (python -c "import rcb_client; help(rcb_client)"; it explains the protocol with another benchmark's example names: for this task spec() is
authoritative).
| call | endpoint | what it does |
|---|---|---|
r = Robot() |
connects (http://sim:8000, then http://localhost:8000) and waits until the service is ready |
|
r.spec() |
GET /spec |
the facts: action_types (each type's layout, lower, upper, meaning), control_dt (0.01 s), max_control_steps (3000), cameras (field of view, pose at the start), proprio_layout, robot_facts (joints, limits, default gains, the stance), rules, budget |
r.status() |
GET /status |
calls, rows, control_steps, done, reason, elapsed_s, resets_left, running, planned_steps, lag_s |
r.get_obs(cameras=None, seconds=0, video="frames", include_depth=False) |
POST /observe |
the robot now, or what the cameras saw over the next seconds (at most 30) of robot time |
r.submit(type, A, dt=0.01, interpolate="linear", at=None, cameras=None) |
POST /submit |
plans A, rows of that action type dt seconds apart (a multiple of 0.01; a chunk covers at most 10 s), from step at; answers at once; the first one starts the attempt's clock |
r.reset(cameras=None) |
POST /reset |
a new attempt from the same start, paused (see above) |
One call returns at most 3000 images (max_frames_per_call, PROTOCOL §3 "Images per call"). A watch is refused with a 429 while the images in flight (pending watches and answers not read yet) would exceed it or 8 of them are outstanding; a submit or a get_obs() without seconds is never refused for its images: its answer then comes without its frames and meta["frames_skipped"] is set.
The answers are binary (RCB1) and come back decoded: res.meta (the counters, done, reason, proprio["now"],
clipped), res.last[camera] (the last frame), res.frames or res.video (what the cameras saw during the call),
res.depth, res.proprio (proprioception rows). Values outside the bounds are clipped and reported in
meta["clipped"], never refused; a malformed request raises ValueError and runs nothing. cameras=None means every
camera: a controller's call should ask for none (cameras=[]) and read res.meta["proprio"]["now"]; the cameras are
rendered on the service's GPU. With interpolate="linear" (the default) each control step's command is a straight line from the
command in force to the row; "hold" applies the row as it is.
from rcb_client import Robot
r = Robot()
res = r.submit("walk", A, dt=0.02, at=0, cameras=[]) # A: (T, 22) rows of the `walk` type, from step 0
while not r.status()["done"]:
... # or stream one row per control step from the proprioception
Actions
One row is one control step (10 ms; the physics runs at 1 kHz) unless dt spreads it. Every row ends with grip_left,
grip_right.
| type | row (then grip_left, grip_right) |
floats | who drives what |
|---|---|---|---|
stand |
waist 3 + arms 14 joint targets | 19 | the platform holds the legs in the stance; you give the waist's 3 and the arms' 14 joint targets (rad) |
walk |
vx, vy, wz + waist 3 + arms 14 joint targets |
22 | Unitree's walking policy drives the legs from the velocity command (vx forward, vy to the left, m/s; wz turning left, rad/s; the robot's own frame); you give the waist and arm joint targets |
run |
vx, vy, wz |
5 | the running policy drives all 29 joints from the velocity command (it swings the arms) |
run_arms |
vx, vy, wz + arms 14 joint targets |
19 | the running policy drives the legs and the waist; you give the 14 arm joint targets |
joints |
all 29 joint targets | 31 | you give all 29 joint targets (rad); the default PD gains, no feed-forward |
lowcmd |
all 29 joints × (q, dq, tau, kp, kd): 29 targets, then 29 velocities, 29 torques, 29 kp, 29 kd |
147 | Unitree's LowCmd for all 29 joints: position targets (rad), velocity targets (rad/s), feed-forward torques (N m), kp, kd; the motor torque is kp (q - q_measured) + kd (dq - dq_measured) + tau, evaluated at 1 kHz |
walk_falcon |
vx, vy, wz + waist 3 + arms 14 joint targets (as walk) |
22 | FALCON's walking policy (LeCAR-Lab, trained with arm motions and forces on the hands; it also nudges the wrists) drives the legs from the velocity command (vx forward, vy to the left, m/s; wz turning left, rad/s; the robot's own frame); you give the waist and arm joint targets |
walk_agile |
vx, vy, wz + waist 3 + arms 14 joint targets (as walk) |
22 | AGILE's velocity-height walking policy (NVIDIA WBC-AGILE, trained while the arms and the waist moved) drives the legs from the velocity command (vx forward, vy to the left, m/s; wz turning left, rad/s; the robot's own frame); you give the waist and arm joint targets |
Velocity commands are in the robot's own frame (vx forward, vy to its left, m/s; wz turning left, rad/s). Bounds: walk |vx| ≤ 0.8, |vy| ≤ 0.5, |wz| ≤ 1.57; walk_falcon -0.8 ≤ vx ≤ 0.8, -0.5 ≤ vy ≤ 0.5, -1 ≤ wz ≤ 1; walk_agile -0.5 ≤ vx ≤ 0.8, -0.5 ≤ vy ≤ 0.5, -1 ≤ wz ≤ 1; run and run_arms 0 ≤ vx ≤ 5, |vy| ≤ 0.12, |wz| ≤ 0.5. Joint targets are absolute angles (rad). Values outside the bounds are clipped. grip_left, grip_right: ≥ 0.5 closes the hand's grip, < 0.5 opens it. At the start the robot stands in stand mode with the arms at rest: the stand row with the table's start angles and both grips open keeps it there.
Joint order everywhere (Unitree's SDK order), with each joint's range, speed limit, torque limit and default gains
(also in spec()["robot_facts"]):
| # | joint | range (rad) | speed (rad/s) | torque (N m) | kp | kd | at the start (rad) |
|---|---|---|---|---|---|---|---|
| 0 | left_hip_pitch |
[-2.5307, 2.8798] | 32 | 88 | 700 | 12 | -0.1 |
| 1 | left_hip_roll |
[-0.5236, 2.9671] | 20 | 139 | 700 | 12 | 0 |
| 2 | left_hip_yaw |
[-2.7576, 2.7576] | 32 | 88 | 500 | 8 | 0 |
| 3 | left_knee |
[-0.0873, 2.8798] | 20 | 139 | 900 | 15 | 0.3 |
| 4 | left_ankle_pitch |
[-0.8727, 0.5236] | 37 | 50 | 300 | 6 | -0.2 |
| 5 | left_ankle_roll |
[-0.2618, 0.2618] | 37 | 50 | 300 | 6 | 0 |
| 6 | right_hip_pitch |
[-2.5307, 2.8798] | 32 | 88 | 700 | 12 | -0.1 |
| 7 | right_hip_roll |
[-2.9671, 0.5236] | 20 | 139 | 700 | 12 | 0 |
| 8 | right_hip_yaw |
[-2.7576, 2.7576] | 32 | 88 | 500 | 8 | 0 |
| 9 | right_knee |
[-0.0873, 2.8798] | 20 | 139 | 900 | 15 | 0.3 |
| 10 | right_ankle_pitch |
[-0.8727, 0.5236] | 37 | 50 | 300 | 6 | -0.2 |
| 11 | right_ankle_roll |
[-0.2618, 0.2618] | 37 | 50 | 300 | 6 | 0 |
| 12 | waist_yaw |
[-2.618, 2.618] | 32 | 88 | 400 | 10 | 0 |
| 13 | waist_roll |
[-0.52, 0.52] | 37 | 50 | 400 | 10 | 0 |
| 14 | waist_pitch |
[-0.52, 0.52] | 37 | 50 | 400 | 10 | 0 |
| 15 | left_shoulder_pitch |
[-3.0892, 2.6704] | 37 | 25 | 300 | 6 | 0.2 |
| 16 | left_shoulder_roll |
[-1.5882, 2.2515] | 37 | 25 | 300 | 6 | 0.2 |
| 17 | left_shoulder_yaw |
[-2.618, 2.618] | 37 | 25 | 300 | 6 | 0 |
| 18 | left_elbow |
[-1.0472, 2.0944] | 37 | 25 | 300 | 6 | 1.28 |
| 19 | left_wrist_roll |
[-1.9722, 1.9722] | 37 | 25 | 100 | 2 | 0 |
| 20 | left_wrist_pitch |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | 0 |
| 21 | left_wrist_yaw |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | 0 |
| 22 | right_shoulder_pitch |
[-3.0892, 2.6704] | 37 | 25 | 300 | 6 | 0.2 |
| 23 | right_shoulder_roll |
[-2.2515, 1.5882] | 37 | 25 | 300 | 6 | -0.2 |
| 24 | right_shoulder_yaw |
[-2.618, 2.618] | 37 | 25 | 300 | 6 | 0 |
| 25 | right_elbow |
[-1.0472, 2.0944] | 37 | 25 | 300 | 6 | 1.28 |
| 26 | right_wrist_roll |
[-1.9722, 1.9722] | 37 | 25 | 100 | 2 | 0 |
| 27 | right_wrist_pitch |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | 0 |
| 28 | right_wrist_yaw |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | 0 |
What the platform does and does not do for you:
standholds the legs at the standing pose with stiff gains and a gravity-support torque. It is not a balance controller: it does not step and it has no feedback. After an arm movement the body sways a few centimetres for a few seconds; a hard or fast swing of the arms, a push or a load can tip the robot over within a second or two.walkruns Unitree's own G1 walking policy (50 Hz) on the legs. At the largest forward command (0.8) it walks at about 0.6 m/s;vyup to 0.5 andwzup to 1.57 rad/s; it follows with lag and barely moves in its first second. At a zero command it marks time on the spot (the pelvis sways and drifts a centimetre or two per second) and recovers from small disturbances, whichstanddoes not. When the legs come to it from another mode it first blends them to the stance (0.3 s) and holds a zero command until the robot is steady (up to 2 s). It was trained with the arms at rest: moving the arms and the waist disturbs it.walk_falconandwalk_agileare two more walking policies for the G1's legs, with the same row aswalk(you keep the waist and the arms): FALCON (LeCAR-Lab, MIT; trained with arm motions and forces on the hands) and AGILE's velocity-height policy (NVIDIA WBC-AGILE, Apache-2.0; trained while the arms and the waist moved), the released weights run in numpy at 50 Hz on their own leg gains (kp 100 / 100 / 100 / 200 / 20 / 20 per leg). Both hold still and follow the command better thanwalkwhile the arms move or carry something; FALCON also adds a small correction to the wrists. FALCON zeroes speeds below 0.2 m/s and turns below 0.2 rad/s and stands with the pelvis at about 0.74 m; AGILE zeroes commands of norm below 0.1, stands lower (about 0.68 m) and barely turns on the spot below about 0.7 rad/s (walking at 0.2 m/s or more it turns as asked). Their command ranges are in the action table. A walker takes the legs at once, from where they are (its memory starts afresh);walk, the other walker andruntake them from it the same way. Going from a walker straight tostandusually ends in a fall (standholds Unitree's stance and does not balance): givewalka zero command for about 2 s first.runruns Embodied Olympics' athletics running policy (50 Hz) on all 29 joints:vxfrom 0 to about 4 m/s (it falls above that; the command changes at most 1.5 m/s per second),|vy|≤ 0.12 m/s,|wz|≤ 0.5 rad/s.run_armsgives you the arms while it keeps the legs and the waist; taking the arms away from its swing disturbs it. Switching tostand,walkorjointsabove about 0.6 m/s usually ends in a fall: slow down first (from 2.4 m/s that takes about 2 s and 2.3 m).joints/lowcmdare yours: each motor's torque iskp (q − q_measured) + kd (dq − dq_measured) + tau, evaluated at 1 kHz with your row held for its 10 ms, then limited by the motor's torque-speed curve and torque limit.jointsuses the default gains of the table and zerodqandtau;lowcmdtakes yours (kp up to 1000 / 500 / 400 and kd up to 20 / 15 / 10 for legs / waist / arms). Nothing balances the robot in these modes but your own targets.- Every joint target is clipped into the joint's range and moves at most the joint's speed limit × 10 ms per step
from the target in force. Joints a type does not name keep their targets. The speed limit is a limit on targets;
what bounds the joint itself is the motor's torque-speed curve (a
lowcmdfeed-forward torque can turn a joint up to about 1.15 times that speed, where the motor's torque has fallen to zero). - The hands have no working fingers here; each carries a fist pad (a box of 4.4 × 8 × 10 cm beyond the wrist, the
10 cm along the forearm). Nothing in this task is grippable:
grip_leftandgrip_righthave no effect. - A tool on a hand (a racket, a paddle, a club; where the task has one) is fixed to the wrist in place of the pad. It collides with the world, the ball and the rest of your own body.
- The air is real: balls and implements feel drag and, when they spin, lift.
- If the physics diverges (a numerical blow-up, typically from a violent joint command), the attempt ends as a failure: "the simulation became unstable".
Proprioception
Each row (meta["proprio"]["now"], res.proprio) has, in spec()["proprio_layout"] order: the 29 joint positions
(*_pos, rad), their velocities (*_vel, rad/s), the motor torques applied (*_torque, N m), the joint targets in
force (*_target, rad), the pelvis IMU and the torso IMU (each: orientation quaternion qw, qx, qy, qz, world from
sensor; angular velocity gx, gy, gz, rad/s; acceleration ax, ay, az, m/s², gravity included; in the sensor's frame),
holding_left, holding_right (1 while that hand grips something), mode (0 stand, 1 walk, 2 run, 3 run_arms,
4 joints / lowcmd; the G1 also 5 walk_falcon, 6 walk_agile), the velocity command in force (cmd_vx, cmd_vy, cmd_wz) and time_s, the attempt's time. A
real G1 has no sensor for its position in the venue, and neither do you: that is what the cameras are for.
External material
The network is open. You may install packages (pip, apt), and you may search for, download and use public tools, robot models and pretrained controllers (for example a published Unitree G1 walking, jumping or whole-body policy): finding existing work and adapting it to this robot is encouraged. Say in your notes what you used. You may read anything installed in your container, this benchmark's own source code included. The one thing not to look up is a ready-made solution to this exact task, such as this benchmark's reference solutions. This is an honour rule; trials are reviewed.
Resources
Your container: 4 CPUs, 10 GiB of memory, 8192 processes and threads and 20 GiB of disk (new files under /app, /tmp and /root). Your container has no GPU. The simulator runs in its own container and does not count against these. CPU only slows you down; a process that goes over any other cap can be killed. Usage and caps: /run/rcb-limits/usage.json.
Time limit
You have 7200 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's time_left_s counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is time_left_s minus the time you spent before that request. Plan by it. Your session started when you received this task. /run/rcb-limits/usage.json, rewritten every few seconds, gives the time left on this limit (time_left_s) and its end (deadline_utc), counted from a little before your session started, so it never gives you more time than you have: read it (or run date) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (## External material above).