K12: Transfer#
This page gives the skill K12 transfer of the procedure tier, as built (section 6.2 of Farm Benchmark Suite: Design, work package WP9). The code is Fast/acres_batch/skills/transfer.py. The loads are in Fast/acres_batch/loads.py. The framework is on the page Skills: Framework and Contract. The tests are in Tests/Fast/test_skill_transfer.py. Each number on this page comes from Results/Benchmarks/skill_k12_validity.json.
1. The Skill#
The vehicle moves a load from a source store to a target store at a rate. The transfer is stationary (a refill at a nurse tank, an unload into a truck) or synchronised (an unload of the harvester on the go). The load moves until the source is empty, the target is full or the amount is moved. The payload of each vehicle changes with its load.
| Argument | Unit | Meaning |
|---|---|---|
route |
– | The route of the route table of the scene: the line beside the harvester for a synchronised transfer |
source, target |
– | The stores of the scene. The row owns one of them. |
amount_kg |
kg | The load to move. With 0 the load moves until the source is empty or the target is full. |
mode |
– | 0 stationary, 1 synchronised |
lon, lat |
m | The transfer pose: the midpoint of the rear axle in the frame of the station |
limit_s |
s | The time limit of the call |
The station is the owner of the other store: a tank or a truck (a thing of the scene), the harvester or another row.
2. The Loads#
loads.py has the stores of a scene. Each store has an owner, a capacity, a level and the rate of its outlet. A store of a row is part of the payload of the row. The bunker of the harvester fills at the yield of the scene while the header cuts. The model has these state machines:
| Machine | States | Transitions |
|---|---|---|
The fill of a store (store_step) |
empty, part, full |
Empty at 25 kg or less. Full at 1 kg or less of room. |
The outlet of a store: the auger or the pump (auger_step) |
off, spool, run, stop |
Off to spool when a row wants the transfer and is in position. Spool to run after 3 s. Run to stop when the row leaves its position, the call ends, the source is empty or the target is full. Stop to off after 3 s. |
The truck (truck_step) |
away, at_pad, full, leaving |
Away to at the pad at its arrival time (empty). At the pad to full at its capacity. Full to leaving after its delay. Leaving to away after 30 s. |
The harvester (harvester.step, K11) |
working, stopped, full |
Full when its bunker is full. It stands until the level is 500 kg below the capacity. |
The load moves only while the outlet runs. The load of a decision is the least of four values. They are the rate times 0.5 s, the level of the source, the room of the target and the rest of the amount. A row that leaves its position while the outlet runs spills the load of that decision, and the outlet stops. The spool time, the stop time and the rates are assumed values.
3. Definition and Verifier#
With \((e_{lon}, e_{lat}, e_{yaw})\) the error of the rear axle and the heading in the frame of the station, against the transfer pose:
- Stationary: in position when \(\sqrt{e_{lon}^2 + e_{lat}^2} \le 0.5\ \text{m}\), \(e_{yaw} \le 5^\circ\), and the vehicle and the station are at rest (the tolerance of K10).
- Synchronised: in position when \(\lvert e_{lon} \rvert \le 1\ \text{m}\), \(\lvert e_{lat} \rvert \le 0.5\ \text{m}\) and \(e_{yaw} \le 15^\circ\) (the window of K11).
The effect of a running call moves the load (section 2). The monitors are the load moved into the target, the spill and the levels of the source and the target. Two more monitors are the time with the outlet in run and the time that the harvester stood full. The end condition is:
A call succeeds when the controller reports success with \(end\) true at the decision of the report. No contact must occur, and the vehicle must keep its corridor until the report, before the time limit. The start condition is a scene with loads and a row that owns exactly one of the two stores.
4. Scenes and Splits#
| Family | Scene |
|---|---|
refill |
The Maxxum with the folded sprayer (a tank of 800 kg) beside a nurse tank of 3.0 m x 2.2 m with 300 kg to 4,000 kg of liquid. The pump moves 4 kg/s to 8 kg/s. A quarter of the scenes have an amount. |
truck |
The Maxxum as the tractor of a grain cart (a store of 15 t with 3 t to 15 t, its auger 150 kg/s to 250 kg/s) beside the game's tandem grain truck (11.66 m x 2.59 m) at the field edge (25 t, 0 t to 20 t at the start) |
on_the_go |
The Maxxum as the cart (0 t to 6 t) behind a working harvester on the stubble, with the line and the window of K11. The bunker holds 9 t (3 t to 8.95 t at the start). Its auger moves 100 kg/s to 150 kg/s. The yield is 0.8 kg/m² to 1.1 kg/m². |
A stationary vehicle starts in position (0.3 m or less from the transfer pose) or 3 m to 6 m short of it on a straight route. A bunker that fills before the cart is beside the harvester stops the harvester. The grain cart has no body in the model: it is a store of the tractor (its payload), not a trailer of vehicle.TRAILERS. The scenes are procedural, and the split is by the seed. The test bank of the check has 64 scenes: 23 on the go, 17 refills, 24 trucks.
5. Reference#
The reference is a state machine with these states:
approach: stationary, a creep chunk to the transfer pose (the final creep of K10) while the pose is 1.75 m or more ahead. At rest in position:flow. At rest out of position and less than 1.75 m short: failuremissed. Synchronised: the reference drive along the route, its stop arc 12 m behind the pose, thenalign.align(synchronised): the MPC of K11 beside the harvester. In position:flow. The MPC's prediction of the harvester's speed is its speed now, and 0 when the radio reports a full bunker (the harvester then stops). This was added on 11 Nov 2026 for P2. Before, a cart that aligned while the harvester stopped full ran 1.06 m past the window. With no reverse, it stood out of it to the end. The 64 scenes of the test bank give the same ends and the same times as before (Results/Benchmarks/skill_k12_validity.json).flow: stationary, the vehicle stands. Synchronised, the control ofalign. Out of position: back toapproachoralign.- In each state: success when the end condition is true. The reference reads it from the monitors of the decision before (the privileged state).
6. Results#
The test bank of 64 scenes, the privileged setting, an NVIDIA L40S shared with other work, 13 Nov 2026. The code that ran is commit dfd3194, with the defaults of the vehicle and the Maxxum fitted to ACRES Core (the default tractor). The tree had changes of the result files only.
| Controller | SR | Wilson 95 % | Ends | Logs That Repeat |
|---|---|---|---|---|
| Do-nothing | 0 / 64 | 0.00 to 0.06 | timeout 64 | 64 of 64 |
| Reference | 64 / 64 | 0.94 to 1.00 | success 64 | 64 of 64 |
With the defaults of 11 Nov 2026 (the follower, the gear logic and the holds of the vehicle, the body of each row: batch.md, Defaults of the Settings) the reference passes 64 of 64 (success 64), against 64 of 64 with the old defaults on the same tree. The do-nothing controller passes 0 and every log repeats (Results/Benchmarks/defaults_switch/after/transfer.json, defaults_switch.json). These runs are before the fixes of 12 Nov 2026.
The solvable bank has 64 scenes. In a scene where the vehicle starts in position, the load moves under the do-nothing controller. That controller does not report the end, so the call ends at its time limit.
| Measure of the Reference | Value |
|---|---|
| Successes: refills | 17 of 17 |
| Successes: trucks | 24 of 24 |
| Successes: on the go | 23 of 23 |
| Load moved (smallest, largest) | 233 kg, 13,640 kg |
| Spill (sum, scenes with a spill) | 0 kg, 0 |
| Time that the harvester stood full (sum, scenes) | 31.5 s, 1 |
| Time of a call (median, 90th percentile) | 80.5 s, 141.8 s |
The run of each controller took 49.1 s to 56.6 s of wall time for the 64 scenes (470 to 678 agent-decisions/s). These speeds are indicative.
7. Findings#
- The start pose of a route is at a whole metre.
env_routes.pose_attakes the point at the floor of the arc. The first scenes started 1 m short of the pose and failed. The transfer pose of a scene now moves, not the start. - A spill came from a stop of the harvester. On the runs before the final tree (commit
32862f2), 6 scenes on the go had a spill (scenes 13, 16, 18, 31, 37 and 43, 507 kg in sum). In 5 of them the script of the harvester stops, and in 1 the full bunker stops the harvester. The harvester decelerates at 0.6 m/s², and the speed loop of the loaded tractor lags. The tractor left the window, and the outlet spilled the load of one decision. On the final tree (13 Nov 2026) no scene has a spill. Which change removed the spills is not analysed. - The cart has no body. A tractor alone stands for the tractor and its cart. A cart in
vehicle.TRAILERSchanges the covers of the checker for each row, so it is a separate change.