Skip to content

T3: Headland Turn with a Mounted Implement#

This page gives the benchmark task T3 as it is built. The design is in Farm Benchmark Suite: Design, section 4. The code is in Benchmark/acres_bench/t3/ and in the shared layer of the tractor tasks, Benchmark/acres_bench/tractor/. The tests are in Tests/Fast/test_bench_tractor.py. Each number on this page comes from Results/Benchmarks/t3_validity.json, which the gate writes (python -m acres_bench.gate quick --only t3).

1. The Task#

The Case IH Maxxum 150 finishes a pass with a three-point implement in the ground. It must lift the implement at the headland line, turn in the headland, and lower the implement at the line of the next pass. The simulator is ACRES Core (acres_core.TractorBatch, step M0 of the design). Each command goes through the shield of the run-time library with the tractor's values (section 4).

Rule Value
Start The rear axle about 10 m before the headland line on pass 1, the implement in the ground, at the design speed of the implement
End The rear axle 10 m into pass 2 past the headland line (within 2 m of its line), or a failure, or \(T_{max} = 120\) s
Success At the end the heading is within 5° of pass 2 and the rear axle within 0.15 m of its line. The implement is down (engaged and in the soil). The crushed crop is \(C \le 0.5\) m².
Failures A part of the footprint of the tractor or the implement goes beyond the field boundary. Also a contact with an obstacle, a stuck event, a stall of the engine, a rollover, or a failure of the physics.

The footprint is the plan boxes of the tractor and of the implement of the fast simulator's checker (Fast/acres_batch/vehicle.py, TRACTOR_BOX and IMPLEMENT_BOXES). Config/shield_tractor.json takes the half width of each pairing from the same boxes. The boundary is the field polygon of the scouting map. The obstacles are the scene's own (a pole or a parked machine) and the map's tree trunks, poles, bins and buildings near the turn (Scouting/obstacles.json).

The action, each control step of 0.1 s: the curvature (1/m), the signed speed (m/s, negative is backwards), and raise or lower. The tractor's drive takes the command after the shield. The speed driver is the game's, with an integral of the speed error (the driver of the fit of the fast simulator's Maxxum, Fast/Tools/tractor_core.py). The shuttle is that of the fast simulator's Maxxum: the lever changes below 0.3 m/s and takes 1.0 s (assumed there). The steering is that of tractor.json. The implement's work settings are the operator's, not the controller's (section 4).

The observation, standard profile. The tractor: the time, the pose of the rear axle, the speed, the steering angle, the wheel speeds and the direction of the lever. The hitch: the lift angle and whether the implement is engaged. The scene: the boundary, the headland line, the lines of the two passes and the obstacles. The implement: its kind, its width, the tool zone and the plan boxes.

Privileged: also the slip of each axle and the wetness index of the headland.

2. What Differs from the Design#

Design Built
Hybrid A* (Dolgov et al. 2010) with Reeds-Shepp expansions, and a library of turn types as the fallback The reference is the library of turn types (section 5). Its forward turns are the shortest paths of a car that goes only forwards (Dubins 1957). Its fishtail is a three-point turn. Hybrid A* with Reeds-Shepp expansions (Reeds and Shepp 1990) is a baseline row of its own (t3/hybrid.py, section 5), with the library as its fallback. Its paths have no limit of the curvature rate (the design's continuous curvature, Fraichard and Scheuer 2004, is not built).
Implements: chisel, cultivator, seed drill, sprayer Chisel plow, cultivator, seed drill. The sprayer's 12 m boom folds for a turn: a change of the shield's pairing (sprayer to sprayer_folded) that the scenes do not have yet.
Train: procedural headlands. Test: the headlands of ACRE fields with their real boundary features The headlands of the long tile fields of the scouting map on every split. The train split uses the map variants, and the test split the surveyed map (the splits of T1 and T2). The variant maps have the fields of the default map.
Standing crop beyond the boundary The fields are bare (crop growth 0): the crush is 0, and the boundary rule ends an episode before the footprint can reach a neighbour's crop.
Observation: the LiDAR scan Core's tractor batch has no LiDAR. The shield's scan is cast against the obstacles of the scene (tractor/scan.py). It is not in the observation. The planner has the map.
Learning baseline (residual PPO and plain PPO) Not built. The fast version of the task for the training is built (section 8).

3. Scenes and Splits#

A scene is a function of the split and the index (t3/scenes.py). The end edge is a short side of the minimum rectangle of a long tile field. The headland line is parallel to it, the headland width inside the field.

Axis Values Source
Headland width 1.0 to 2.5 times \(D_{min}\) = 12.6 m: 12.6 m to 31.5 m The design. \(D_{min}\) is twice the largest distance of a corner of the plan boxes from the centre of a turn. The turn is that of the rear axle at the shield's largest curvature (0.25 1/m).
Angle of the passes to the headland line 60° to 90° The design
Next pass Adjacent (one working width) or a skip pass (two), on the left or the right Skip share 0.3: assumed
Implement Chisel plow (2.7 m), cultivator (2.7 m), seed drill (3.0 m) implements/*.json
Soil water The index of the day plus N(0, 0.15) on the field. In half of the scenes the headland is 0.2 to 0.6 wetter (wet spots along it). The days of T1 and T2. The wetter headland is assumed.
Ruts of earlier turns In half of the scenes, the tyre tracks of two half circles of earlier turns, 2 cm to 6 cm deep Assumed depths (farm stamps of the rear tyre)
Obstacles In 30 % of the scenes a pole (0.15 m radius) or a parked machine (6.0 m x 2.5 m) in the headland, and the map's obstacles within 45 m Assumed sizes and share
Free lanes No obstacle of the scene is on the exit of pass 1 or on the entry of pass 2. Each lane goes from the headland line into the headland for the length of the tractor and the implement (6.1 m to 6.3 m). Its half width is the half width of the train plus the obstacle margin of the shield (1.5 m) scenes.pass_lanes. With an obstacle there, the tractor cannot end the turn aligned on pass 2 (or leave pass 1) without the shield holding it

4. The Physics and the Shield#

The work settings. The seed drill floats (its default in the implement model). The chisel plow and the cultivator work in draft control (the mix 1). The depth limit is the lever of the implement's design depth: 0.20 m for the chisel plow, 0.12 m for the cultivator. The set point is the sensed draft of that work (acres_core.TractorBatch.sensed_draft_for_depth).

That is the sensed draft of the implement at the design depth and speed in position control, on the scene's soil class at field capacity. There Core's tines pull the draft of ASAE D497.5 Table 1. The hitch compares the set point with the sensed draft of the lower links. The weight of the implement and the top link shift it. The cultivator senses 0.25 kN where it pulls 5.2 kN at 0.10 m in silt loam.

Before 18 November 2026 the set point was the draft itself, and the lever was that of 0.10 m. The tines' draft was 2.4 to 4 times the standard at depth. In position control at the design depth the tines drew the rear down on wet silty clay loam until the tractor dug in and overturned. With 0.20 m as the limit in draft control, the chisel plow dug in at the lowering in 3 of the 64 test scenes (Tractor Physics Audit, third round).

The shield. It is the shield of the run-time library with the tractor's values that the owner approved for now (18 November 2026, Config/shield_tractor.json).

The curvature is 0.25 1/m at most and the speed from -1.5 m/s to 7.8 m/s. The half width is that of the pairing: 1.4 m with the chisel plow or the cultivator, 1.55 m with the seed drill. The brake is that of the pairing. The lateral acceleration is 1.5 m/s², the latency 1.0 s, and the margins are those of the Polaris. With the implement engaged (below its auto-PTO lift angle of 20°) the shield caps the speed at the implement's design speed (2.22 m/s) and refuses a move backwards (rule R9). Thus a fishtail turn must lift the implement first.

tractor/shield.py calls the shield through the Python module of the library (ShieldTools(config_dir, pairing)). The library's one definition of "engaged" (acres_runtime_implement_input) makes the state of the implement from the lift angle of the hitch.

Since 18 November 2026 the swept corridor of the obstacle rule has the body of the pairing (the tractor with its implement, the block sweep of Config/shield_tractor.json) and the LiDAR mount of the Maxxum (sensors_maxxum.json, assumed). Before, it had the body and the LiDAR mount of the Polaris (Config/control.json).

5. Controllers#

Controller What It Does
Do-nothing The tractor stops on pass 1 with the implement down.
Reference The turn library (t3/plan.py) has the six forward Dubins words (the loop or omega turn is RLR or LRL) and the three-point turns. A three-point turn goes forwards toward pass 2, backwards with the opposite steer, and forwards. All work at 0.88 times the shield's largest curvature. The turn starts with the rear axle 0 m to 4 m past the line plus the tool zone. It ends on pass 2 at the same depths. Each candidate's swept footprint (the plan boxes every 0.25 m) must stay 0.3 m inside the boundary and 1.2 m from the obstacles. The planner takes the candidate of the least time. It counts 2.0 m/s on lines, 1.5 m/s on arcs, 1.0 m/s backwards and 4 s at each change of direction. Pure pursuit tracks the path forwards and backwards (tractor/follow.py). The headland sequence lifts the tools 0.8 s of travel before the line on pass 1. It lowers them 1.6 s before the line on pass 2.
Loop (the simple rule) The forward turns only, with no check of the boundary or of the obstacles: the shortest loop.
Hybrid A* The search of Dolgov et al. (2010) from the start of the library's turns to its ends on pass 2 (t3/hybrid.py). A node is a pose in a cell of 0.5 m x 0.5 m x 5°. The expansions are arcs of 1.2 m at the curvatures -k, 0 and +k, forwards and backwards (k is the library's planning curvature). The cost is the library's time: the speeds of the lines, the arcs and the moves backwards, and 4 s at each change of direction. The heuristic is the larger of the shortest Reeds-Shepp time to a goal and the shortest grid distance through the field at 2.0 m/s. Each 10 expansions, and at each node within 4 m of a goal, the search tries the Reeds-Shepp words to the goals (Reeds and Shepp 1990: the families CSC, CCC, CCCC and CCSC). The first word whose swept footprint is free ends the search. Every expansion and word is checked with the library's footprint check. After 4,000 expansions without a path, the library plans the turn. The tracking and the headland sequence are the reference's.

The planning values (the curvature factor, the margins, the leads, the cells and the steps of the search) are set by hand. The equal tuning budget of section 3.1 of the design is not run for T3.

6. Results#

The test bank of 64 scenes, the standard profile, the shield on, ACRES Core on zuzu (6 threads), 19 November 2026, branch gaps-failures, commit 81fc9efb (the free lanes of section 3). Results/Benchmarks/t3_validity.json, written by python -m acres_bench.gate quick --only t3. Some metrics differ in the last digits between machines (the mathematical library of the system), so a log repeats only on the type of machine that made it.

Controller SR Wilson 95 % Ends Logs That Repeat
Do-nothing 0 / 64 0.00 to 0.06 timeout 64 64 of 64
Reference 62 / 64 0.89 to 0.99 entered 63 (one with the implement not down), boundary 1 64 of 64
Loop (the simple rule) 50 / 64 0.67 to 0.86 entered 51 (one with the implement not down), timeout 7, boundary 6 64 of 64

The solvable bank has 62 scenes. Before the free lanes (section 3) the reference passed 60 and the loop 48: the two scenes that changed (16 and 53) now pass with both. Before the third round of the physics (the lever of 0.10 m, the draft as the set point) the reference passed 61 and the loop 48.

Metric of the Successes (Median, 90th Percentile) Reference Loop
Turn time \(T\) (s) 29.6, 33.3 32.6, 33.4
\(A_{gap}\) at the two lines (m²) 9.7, 18.8 10.1, 19.8
\(A_{ovl}\) at the two lines (m²) 4.3, 7.2 5.0, 7.8
Changes of direction 0, 2 (a fishtail in 30 of the 62, a forward turn in 32) 0, 0
Entry heading error (°) 0.14, 0.53 0.12, 0.33
Entry cross-track error (m) 0.007, 0.044 0.004, 0.009
Ruts in the headland \(V_r\) (m³) 1.59, 2.81 2.16, 3.56
Compacted area in the headland \(A_\rho\) (m²) 47, 90 88, 103

Hybrid A* (Results/Benchmarks/t3_baselines.json, python -m acres_bench.t3.run --baselines, ACRES Core on zuzu, 19 November 2026): 58 / 64 (Wilson 95 %: 0.81 to 0.96). Ends: entered 60 (two of them not aligned or with the implement not down), timeout 3, boundary 1. Every log repeats. Its turns take 28.1 s (median, 90th percentile 29.1 s), and each has two changes of direction (the search's first free Reeds-Shepp word is a turn with two cusps). The paired ratio of its turn time to the reference's on the 58 scenes that both pass: 0.96 (95 %: 0.95 to 0.97). It fails the reference's two scenes with a parked machine and its boundary crossing, and three more.

The paired ratio of the turn time of the loop to the reference's on the 50 scenes that both pass: 1.00 (95 %: 1.00 to 1.07). No contact in any row. The do-nothing controller's crushed crop is 0 (the fields are bare).

Failures of the reference. Scene 27: a loop turn in a headland of 22.7 m crosses the boundary by 0.004 m². The tracking error of the turn is more than the planner's margin of 0.3 m. Scene 19 (the chisel plow, a saturated headland): the turn enters pass 2, but the draft control lifts the tines above the lift angle of 20° that makes the implement engaged. The draft of saturated soil is larger than that of the set point (field capacity), so the hitch lifts to hold the draft.

Failures of the loop. Six boundary crossings in the narrow headlands (13.7 m to 16.7 m, where the reference turns with a fishtail, and one more in 22.7 m). Seven time limits, where the shield holds the tractor at an obstacle of the scene or of the map (the loop does not avoid them). One entry with the implement not down (scene 19, as the reference).

The holds of scenes 16 and 53 (before the free lanes). A parked machine stood on the entry of pass 2 (scene 16) and on the exit of pass 1 (scene 53). No turn of the library kept 1.2 m from it (the nearest came within 0.74 m). The planner then took the loop with no check (baselines.Reference), and the shield held the tractor at the machine until the time limit (980 and 1,105 held steps). The cause was not the arc of the command against the planner's margin: no turn was free. The scene generator now keeps the two lanes free (section 3).

What T3 shows. The tight headlands and the obstacles separate the controllers. The simple loop fails one scene in four, the library with the footprint check one in sixteen. The reference's failures are a tracking error at the boundary and, in one scene, the draft control on wet soil.

7. Verifier#

The verifier (t3/verify.py, tractor/verify.py) uses only the episode log. It runs the logged actions again on its own Core batch of the scene (the pre-roll included). It compares its own record with the log: the actions, the events, the state digests of each second and the final summary. A log that does not repeat fails. The grade is that of its own run.

8. The Fast Version#

Stage 5 trains on a fast version of T3 (t3/fast.py, FastT3Env). It has the scenes, the actions, the observation, the shield, the rules, the grader and the episode log of Core's environment. The rules of the footprint and of the entry and the grader are the functions of t3/env.py that both environments call (footprint_rule, entry_rule, grade, gap_overlap). The controllers read the same observation. In place of Core's physics:

  • The tractor is the fast simulator's Maxxum, fitted to Core's Maxxum under the game's speed driver (vehicle.maxxum(fitted=True), Results/Fast/tractor_fit.json), at steps of 0.05 s.
  • The tractor's steering is fitted again with each implement raised on the hitch (Fast/Tools/tractor_work_fit.py t3, section t3_steer). The fit gives the share of the road-wheel angle that the tyres turn, the smallest turn and the lag. The implement's mass and yaw inertia behind the rear axle unload the front tyres, so the tractor turns less at a steering angle than alone. The fit replays Core's actions of the reference on 64 train scenes and takes the values with the least error of the heading.
  • The chisel plow and the cultivator work in T3's draft control on the hitch of the fast T2 (t2/fast.DraftHitch, Core's hitch law) and its table (section 9 of T2). The sensed draft, the depth and the slips come from the table at the arms' lift and the water content under the rear axle. The soil water of a scene is read once from Core's world, with its wet headland, on a grid of 2 m. Thus a saturated headland lifts the tools above the engaged angle, as in Core (the reference's scene 19). The tools are in the soil where the table's depth is above 0.02 m.
  • The seed drill's hitch moves its lift angle toward its command at the rates of Core's hitch. The raise rate is in bins of 4° of the lift angle, and the drop rate is that of the implement's file. The tools are in the soil below a lift angle (16.8° for the chisel plow and the cultivator, 8.2° for the seed drill). These values come from Core's hitch in the reference's runs of 64 train scenes (Fast/Tools/tractor_work_fit.py t3, Results/Fast/tractor_work_fit.json, section t3_hitch).
  • The work flags of the 25 cm cells (for \(A_{gap}\) and \(A_{ovl}\)) are the strip of the working width at the tool zone. They are set while the tools are in the soil.

Not in the fast version: the effect of the slip on the motion (the table's slip is only observed). The ruts and the compaction of the headland are not in it (their metrics are None). The stuck, stall and rollover rules do not act. The fields are bare, as in Core.

The checks of the fast version: Results/Benchmarks/t3_fast_validity.json, written by the gate's job t3_fast. The file has the agreement with Core's file per scene (core_agreement). The agreement rows of the test tier are in Tests/Fast/agreement/test_tractor_tasks.py.

Results (t3_fast_validity.json, zuzu, 19 November 2026, the test bank of 64 scenes). A controller and its verification take 19 s to 33 s, Core's 170 s to 290 s.

Controller Fast: SR Core: SR The same success Turn time, the median of the absolute difference on the scenes that both pass
Do-nothing 0 / 64 0 / 64 64 of 64
Reference 60 / 64 60 / 64 62 of 64 0.8 s
Loop 49 / 64 48 / 64 63 of 64 0.4 s
Hybrid A* 59 / 64 58 / 64 (t3_baselines.json)

Every log repeats on the fast verifier. The reference's two scenes that differ: scene 19 passes in the fast version (the draft control's lift on a saturated headland is not in it), and scene 17 fails there (the shield holds the tractor at a pole that the tractor of Core passes: the tracks differ by a few centimetres). The replay of Core's actions in the fast version: see the agreement rows (Tests/Fast/agreement/test_tractor_tasks.py).

9. How to Run#

. Benchmark/acres_bench/drive/env.sh
python -m acres_bench.gate quick --only t3          # Results/Benchmarks/t3_validity.json
python -m acres_bench.t3.run --n 64                 # the same run without the gate
python -m acres_bench.gate quick --only t3_fast     # Results/Benchmarks/t3_fast_validity.json (the fast version)
python -m acres_bench.t3.run --n 64 --baselines --out Results/Benchmarks/t3_baselines.json   # Hybrid A* on Core
python Fast/Tools/tractor_work_fit.py t3 --n 64     # the fit of the fast version's hitch
python -m pytest Tests/Fast/test_bench_tractor.py -q -m "unit or integration"