Skip to content

K16: Change Implement#

This page gives the skill K16 change_implement of the procedure tier, as built (section 6.2 of Farm Benchmark Suite: Design, work package WP9). The code is Fast/acres_batch/skills/change_implement.py. The framework is on the page Skills: Framework and Contract. The tests are in Tests/Fast/test_skill_change_implement.py. Each number on this page comes from Results/Benchmarks/skill_k16_validity.json.

1. The Skill#

The tractor couples another implement at the yard. It docks at the pose of the yard, stands there for the fixed time of the change (10 min), and leaves with the other implement. Its body for the checker and its kind change. The front loader is a kind (maxxum_loader), so a change of the loader is a change of the kind.

Argument Unit Meaning
route – The route of the route table of the scene
arc m The arc of the dock pose on the route
x, y, yaw m, rad The dock pose: the midpoint of the rear axle and the heading
kind – The kind after the change (vehicle.KIND_NAMES)
implement – The implement after the change (vehicle.IMPLEMENT_NAMES)
limit_s s The time limit of the call

2. Definition and Verifier#

The vehicle is at the dock when \(e_{pos} \le 0.5\ \text{m}\), \(e_{yaw} \le 5^\circ\) and \(\lvert v \rvert < 0.1\ \text{m/s}\) (the tolerance of K10). The effect of a running call is the change:

  • The timer of the change runs while the vehicle is at the dock. It goes back to 0 when the vehicle is not at the dock: the change starts again.
  • At 600 s the kind and the implement of the row become those of the call. The body for the checker (vehicle.body) and the parameters of the kind change from the next decision.
  • The old implement, or the front loader that the row leaves, goes onto the stand: a thing beside the dock. The new implement leaves the stand. An empty stand is no thing.

A call succeeds when all these conditions are true:

  • The controller reports success after the change.
  • The kind and the implement of the row are those of the call.
  • No contact occurs, and the vehicle keeps its corridor.
  • The report comes before the time limit (the length of the route at 1 m/s, plus 60 s and the 600 s of the change).

The start condition has three parts. The first is a dock pose 2 m or more ahead on the route. (Or the row is at rest at the dock pose, inside the tolerance: a call again after a breakdown in a procedure, P1.) The others are a tractor kind, and an implement of the call that is not a trailer. The kind or the implement of the call must differ from that of the row.

A row that tows a trailer leaves it where it stands (P1: the baler off, the front loader on). The stand of the scene is then the place of the body of the trailer behind the dock pose. The trailer state of the row takes the hitch of the new implement.

K16 does not hitch a trailer. The bank has no trailer, so its results do not change.

3. Scenes and Splits#

The Maxxum starts at rest 6 m along a route of the yard. The route starts with a straight of 15 m to 40 m. A bend of 12 m to 25 m radius then turns through up to 80 degrees. A straight of 12 m to 25 m then goes to the dock pose, and the route goes on for 8 m. The corridor has a half width of 3.0 m to 3.8 m. The stand is beside the dock pose, with a gap of 1.2 m to 1.8 m to the side of the tractor.

Change Before After
mount No implement A mounted implement
unmount A mounted implement No implement
swap A mounted implement Another mounted implement
loader_on The Maxxum The Maxxum with the front loader
loader_off The Maxxum with the front loader The Maxxum

The mounted implements are the cultivator, the chisel plough, the disc harrow, the seed drill, the folded sprayer and the backhoe. The trailer of the square baler is not in K16: the environment makes the tow state of a row at the reset. The scenes are procedural, and the split is by the seed. The test bank of the check has 64 scenes: 16 loader_off, 10 loader_on, 10 mount, 16 swap, 12 unmount.

4. Reference#

The reference is a state machine with these states:

  1. approach: the reference drive follows the route. The route ends at the dock arc.
  2. final: from 10 m before the pose, the creep chunk of K10 to the pose. The reference makes it again while it is 1.75 m or longer.
  3. couple: at rest at the dock, the vehicle stands while the timer runs. Out of the dock: final.
  4. Success when the change is complete. At rest in final, out of the dock and less than 1.75 m short: failure missed.

5. 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/change_implement.json, defaults_switch.json). These runs are before the fixes of 12 Nov 2026.

The solvable bank has 64 scenes.

Measure of the Reference Value
Successes: mount 10 of 10
Successes: unmount 12 of 12
Successes: swap 16 of 16
Successes: loader_on 10 of 10
Successes: loader_off 16 of 16
Time to the dock (median, 90th percentile) 30.5 s, 36.0 s
Position error at the end (median, largest) 0.11 m, 0.44 m
Time of a call (median, 90th percentile) 630.5 s, 636.0 s

The run of each controller took 75.8 s to 95.0 s of wall time for the 64 scenes (875 to 1,266 agent-decisions/s). These speeds are indicative.

6. Findings#

  • A rear implement must start inside the corridor. The first scenes started the tractor at the start of its route. With a backhoe or a disc harrow the box behind the rear axle was out of the corridor, and the checker refused each chunk. The tractor now starts 6 m along its route.
  • The contact of a single row uses the body of the Polaris. A scene of one row without items runs the ten physics steps of a decision in one launch of the kernel. The kernel tests the contact with the body of the Polaris (skills.md, section 10). The checker uses the body of the row.

7. How to Run#

export ACRES_RUNTIME_BUILD=<ACRES>/Vehicle/Runtime/Build
python -m acres_bench.skills.run validity change_implement --n 64     # Results/Benchmarks/skill_k16_validity.json
python -m pytest Tests/Fast/test_skill_change_implement.py -q -m "unit or integration"