K10: Dock#
This page gives the skill K10 dock of the procedure tier, as built (section 6.2 of Farm Benchmark Suite: Design, work package WP9). The code is Fast/acres_batch/skills/dock.py. The framework is on the page Skills: Framework and Contract. The tests are in Tests/Fast/test_skill_dock.py. Each number on this page comes from Results/Benchmarks/skill_k10_validity.json.
1. The Skill#
The vehicle stops at a pose beside a static target: the door of a shed, a nurse tank or a truck. It must stop inside the dock tolerance (0.5 m and 5 degrees) and at rest.
| 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 |
tol_m, tol_deg |
m, degrees | The tolerance: 0.5 m and 5 degrees |
limit_s |
s | The time limit of the call |
2. Definition and Verifier#
The environment writes the monitors at each decision while the call runs. With \(p\) the midpoint of the rear axle, \(\psi\) the heading and \(v\) the speed:
The rest speed of 0.1 m/s is the rest speed of the checker. A call succeeds when all these conditions are true:
- The controller reports success, and \(ok\) is true at the decision of the report.
- 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).
The start condition is a dock pose 2 m or more ahead on the route.
3. Scenes and Splits#
The vehicle starts at rest at the start of a route. The route starts with a straight of 10 m to 40 m and a bend. A straight of 12 m to 25 m then goes to the dock pose. The bend has a radius of 12 m to 25 m and turns through up to 80 degrees. The corridor has a half width of 3.0 m to 3.8 m.
| Target | Vehicle | Geometry |
|---|---|---|
| Door of a shed | The Maxxum with the front loader | The closed door 2.5 m to 3.2 m ahead of the front of the loader. The worker of the shed is at the post beside the door. |
| Nurse tank | The Maxxum with the folded sprayer | A tank of 3.0 m x 2.2 m beside the vehicle, with a gap of 1.0 m to 1.5 m |
| Truck | The Polaris | A truck of 8.0 m x 2.5 m beside the vehicle, with a gap of 1.0 m to 1.5 m |
The scenes are procedural. The split is by the seed (bank.SPLIT_SEED). The test bank of the check has 64 scenes: 17 doors, 24 nurse tanks and 23 trucks.
4. Reference#
The reference is a state machine with the states approach and final, and the terminal states:
approach: the reference drive follows the route. The route ends at the dock arc.final: from 10 m before the pose, a creep chunk at 0.8 m/s goes past the pose (dock.BIAS_BY_LAW). It ends 0.7 m past it with the follower of the vehicle (the default). It ends 0.45 m past it with the batched follower. The reference makes it again at each decision while it is longer than 1.75 m. Then the plan goes on. Near a person that the vehicle detects, the creep is slower (since 12 Nov 2026,dock.PERSON_MPS_BY_LAW,motion.person_speed). The reference takes the first of 0.8, 0.6, 0.4 and 0.3 m/s that keeps a margin from each person. This is checked at each box of the vehicle's frame at the end of the creep, with the end clearance. The margin is that of the checker's ruleperson, and 0.3 m more. (The rule's margin is 0.62 m + 1.5 m/s x (1.5 s + v / 2.5 m/s²).) With the batched follower the creep stays at 0.8 m/s.- At rest in
final: success when the pose is inside the tolerance. The reference makes another creep when the vehicle is 1.75 m short or more. Else it reports failuremissed.
The creep chunk sets the curvatures of its two halves so that the error across and the heading error are zero at the pose (motion.to_pose). The extra 0.45 m keeps the mean error along the pose small, because the follower stops a little short of the end of a chunk.
5. Results#
The test bank of 64 scenes, the privileged setting, an NVIDIA L40S, 13 Nov 2026. The code that ran is commit 1553a97 with the way to the dock at 3 m/s (section 6). It used the defaults of the vehicle and the Maxxum fitted to ACRES Core (the default tractor).
| 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 61 of 64 (success 61, failure:missed 2, failure:timeout 1), against 63 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/dock.json, defaults_switch.json). These runs are before the fixes of 12 Nov 2026. The final creep ends 0.7 m past the pose with the follower of the vehicle (section 4). Two door scenes (11 and 12) still stop 0.6 m short and fail as missed.
The cause (12 Nov 2026, a record of each decision of the reference on the test bank): the shield cuts the final creep before the closed door. The shield checks the rest of the plan against the LiDAR points of the door. A cut brakes the loader early. In scene 11 it cuts the plan at 1.3 m and at 0.6 m before the pose, in scene 44 at 0.6 m. The 17 door scenes end from 0.20 m past the pose to 0.60 m short of it.
The nurse tanks and the trucks, with no target ahead, end from 0.34 m past to 0.18 m short. Below 1.75 m short the reference makes no new creep (KEEP_M).
Thus a door scene that stops 0.5 m to 1.75 m short fails as missed. A new creep down to 0.45 m short passes 63 of 64 on the test bank (each door scene). But on the validation split it passes only 63 of 64 (64 of 64 with 1.75 m). There a door scene creeps again and again to the time limit. It is not taken: no value passes both splits. The fix is a creep that ends outside the margin of the shield when the target is ahead (the skill's code, not this task's).
With the slower creep near a person (section 4, 12 Nov 2026) the reference passes 63 of 64 with each tractor. (The tractors are the assumed Maxxum and the Maxxum fitted to ACRES Core.) Each door scene passes. Scene 41 (the nurse tank with a gap of 1.05 m) still ends at the time limit. Before it the fitted Maxxum passed 56 of 64. Its speed loop brakes at once when the shield cuts the creep, and seven door scenes stood 0.5 m to 1.4 m short. The cut came from the rule person: the worker at the post beside the door is inside its margin at 0.8 m/s.
On the val split 64 of 64 pass with each Maxxum (56 before with the fitted one). Results/Benchmarks/tractor_default.json has the runs.
The solvable bank has 63 scenes. The reference passes 17 of 17 doors, 23 of 24 nurse tanks and 23 of 23 trucks.
| Measure of the Reference | Value |
|---|---|
| Position error (median, 90th percentile) | 0.11 m, 0.31 m |
| Position error (largest of the successes) | 0.34 m |
| Error along the pose (smallest, largest, of the successes) | -0.34 m, 0.17 m |
| Heading error (largest of the successes) | 3.1 degrees |
| Time of a call (median, 90th percentile) | 34.0 s, 50.4 s |
| Idle time of a call (mean) | 2.1 s |
The run of the reference took 20.4 s of wall time for the 64 scenes (753 agent-decisions/s), the run of the do-nothing controller 76.6 s (251 agent-decisions/s). These speeds are indicative.
6. Findings#
- The progress on the route is not a measure of the pose. The progress of
env.Envis the farthest route point within 2.5 m that the vehicle faces. It can be 2 m ahead of the true arc. The reference thus uses the error along the pose, not the progress. - The follower stops short of the end of a chunk. The speed command of the follower is the speed of the chunk 0.6 v + 0.25 m ahead. Thus a creep chunk that ends at the pose stops short of it. The creep of the reference ends 0.45 m past the pose. The follower of the vehicle (the default since 11 Nov 2026) commands the speed of the chunk one sample (0.5 m) ahead and stops shorter. On the 64 scenes of the validation split the reference passes 58 with 0.45 m, 64 with 0.7 m and 49 with 0.95 m. Its creep thus ends 0.7 m past the pose.
- A chunk of the reference drive is at least 1.5 m long (
chunk.N_MIN). A correction of less than about 1 m forward is not possible. The reference thus plans the last creep from 1.75 m or more. - The checker refuses a stop close to a target. A chunk that ends 1.5 m or less before the door of the shed breaks the point rule (margin 0.62 m) and the end clearance (0.88 m). The gap to the door is thus 2.5 m to 3.2 m.
- The failure of before, and the way to the dock. Until 13 Nov 2026 the scenes' way to the dock had a speed of 4 m/s, and test scene 41 failed (the nurse tank with a gap of 1.05 m). The fitted Maxxum (steering lag 0.57 s) came out of the turn 0.6 m to the side of its line 9.6 m before the pose. The checker refused each creep chunk beside the tank (rule point) until the time limit. The way to a dock is an apron: its speed is 3 m/s now, the speed of the gates and the apron of the tasks. The reference then passes 64 of 64 (also at 2 m/s). Thus the scene has a solution. The speed of the way was the cause, not the gap.