PROJECT / FIELD GUIDE
⌕/
MiR100 autonomous mobile robot
Robotics · Distributed systems · Simulation

Coordinate a fleet.
Without a central brain.

A simulation implementation of edge-AI-based distributed fleet coordination for autonomous mobile robots in smart warehouses. Each MiR100 robot runs in its own process and coordinates through brokerless ZeroMQ peer messaging.

Physics MuJoCoNetworking ZeroMQLearning PyTorchNo ROS 2 runtimeNo central runtime controller
Runtime concept
Robot A↔Robot B↔Robot C

Peer-to-peer task auctions, A* + asynchronous PIBT, deterministic safety checks, and blockage/deadlock recovery.

MuJoCo world→Observation dashboard

The dashboard is observation-only. The orchestrator launches and evaluates runs but has no fleet-control authority; the central planner is an opt-in benchmark reference only.

1 : 1Robot to process
P2PBrokerless messaging
20 HzLockstep simulation clock
Start here

01. Set up the project

Install the Python dependencies and the project package in editable mode.

1

Install dependencies

Run these commands from the project root.

TERMINAL · INSTALL
pip install -r requirements.txt
pip install -e .
2

Check the robot assets

MiR100 meshes and URDF parameters are located in assets/mir100. The README attributes these assets to DFKI's mir_robot under BSD-3.

Launch

02. Run the simulation

Every MuJoCo run opens the viewer. Accelerated mode is the default for data collection; demo mode runs at 1× speed for presentations.

▶

Presentation demo

Runs the demo warehouse scenario at 1× speed. The README describes a dashboard at localhost port 8050, a pallet blockage at 60 seconds, and a robot crash at 150 seconds.

TERMINAL · DEMO
python -m fleet.launch --scenario configs/scenarios/demo_warehouse.toml
⚡

Accelerated experiment

Runs a scenario in accelerated mode, overrides the planner with stop_wait, and fixes the random seed to 3.

TERMINAL · EXPERIMENT
python -m fleet.launch --scenario configs/scenarios/exp_overlap.toml --set fleet.planner=stop_wait --seed 3
Mode distinction: accelerated mode steps as fast as the robots respond and is used for data; demo mode runs at 1× for presentations. Every run opens the MuJoCo viewer.
FAULT-INJECTION EXAMPLE · BURST + JITTER
python -m fleet.launch --scenario configs/scenarios/exp_overlap.toml --set 'comms.burst={"p_enter":0.0222,"p_exit":0.2}' --set comms.jitter=0.1
Coordination

03. Planner & priority options

The deterministic decentralized planner remains the baseline. Priority advisors adjust ranking only; they never command motion.

SettingMeaningNotes
fleet.planner=pibtProposed decentralized planner: A* plus asynchronous PIBT and node claims.Default research approach.
fleet.planner=stop_waitStop-and-wait baseline.Used for paired makespan comparisons.
fleet.planner=centralCentralized reference planner.Benchmark only; not the runtime architecture.
fleet.priority_advisor=noneAlternative A: deterministic priority.No learned model required.
fleet.priority_advisor=heuristicAlternative B: handcrafted congestion heuristic.PIBT key only.
fleet.priority_advisor=learnedv3 Option B congestion-aware model.Requires models/optb_advisor.pt.
fleet.learned_priority=trueHistorical v2 MLP advisor.Separate from the v3 Option B model.
Evidence boundary: the v3 Option B ablation did not meet its pre-registered improvement rule on any tested layout. No learning benefit is claimed.
Fault injection

Communication impairment

A seeded receive-side impairment layer applies faults in simulation time. Messages are delivered on 50 ms ticks.

ConfigurationEffect
comms.latency, comms.jitterDelay messages; jitter can vary delivery time.
comms.lossIndependent per-message loss.
comms.burstGilbert–Elliott burst loss using p_enter, p_exit, and loss_bad.
comms.disconnectScheduled two-way disconnection, configured as robot, start time, and duration.
comms.reorder_pubAllows PUB-channel reordering under jitter; sequence numbers protect state/intent. Direct messages remain FIFO.
comms.traceOptional per-message CSV trace.
EXAMPLE · TEMPORARY DISCONNECTION
python -m fleet.launch --scenario configs/scenarios/v3_disconnect.toml
EXAMPLE · CARRIER RECONCILIATION
python -m fleet.launch --scenario configs/scenarios/v3_carrier_disconnect.toml
Timing note: configured delays of 0, 10, and 50 ms all deliver after one 50 ms tick. These are simulator impairment results, not real wireless timing measurements.
Verification

04. Run the tests

Run unit and multi-process messaging tests separately from visual MuJoCo integration gates, or execute the full suite.

Unit + multi-process ZeroMQ tests

No simulator required.

PYTEST · WITHOUT SIM
python -m pytest -m "not sim"

Visual MuJoCo integration gates

Accelerated simulation tests.

PYTEST · SIMULATION
python -m pytest -m sim

Full suite — v3 evidence output

Writes a distinct JUnit file; results/pytest.xml remains the historical v2 evidence.

PYTEST · ALL
python -m pytest --junitxml=results/pytest_v3.xml

Historical v2 behavioral regression

REGRESSION
python -m fleet.experiments.regression <tag>
Reported v3 evidence: 147 test cases pass, including MuJoCo simulation tests. Keep v2 evidence and v3 evidence separate when regenerating reports.
Optional learning component

05. Train and evaluate priority advisors

Two advisor paths are documented. Option B uses a frozen dataset split and a one-time held-out evaluation; it is not assumed to improve performance.

v2

Historical v2 MLP

The original advisor uses CEM policy search over the Equation 7 MLP in the graph-level simulator.

TRAIN
python -m fleet.learning.train --out models/priority_mlp.pt --profile congested
v3

Option B congestion advisor

Follow the specified order: freeze seeds/layouts, collect visual runs and feature logs, build labels and splits, select using validation only, then evaluate once on held-out test data.

1 · FREEZE SPLITS
python -m fleet.learning.dataset splits
2 · COLLECT DATA
python -m fleet.experiments.runner configs/experiments/optb_data.toml
3 · BUILD DATASET
python -m fleet.learning.dataset build
4 · TRAIN / SELECT
python -m fleet.learning.train_optb train
5 · HELD-OUT EVALUATION
python -m fleet.learning.train_optb evaluate
Interpretation: Option B is an optional priority advisor, not a motion controller. The reported held-out ablation did not support a learning-gain claim.
Evaluation pipeline

06. Run experiment campaigns

Campaigns are resumable. Each run records its resolved configuration, provenance, raw logs, and every attempt.

Run campaigns, analyse, regenerate report

CAMPAIGN PIPELINE
python -m fleet.experiments.run_all [campaign ...]

Run a specific acceptance campaign

RUNNER
python -m fleet.experiments.runner configs/experiments/acceptance.toml

Analyse against stop-and-wait

ANALYSIS
python -m fleet.experiments.analysis results/campaigns/acceptance --baseline stop_wait

Regenerate the V&V report

REPORT
python -m fleet.experiments.report
BaselineCampaignsPurpose
v2 historicalacceptance, topology, density, blockage, comms, scaleOriginal evidence, preserved in V&V report sections 1–7.
v3comms_v3, optb_data, advisor_ablationCommunication faults, Option B dataset, and held-out A/B/C advisor comparisons.
Run provenance: each manifest.json stores scenario, seed, config hash, code/runtime version, model version, fault schedule, status, and all attempts.
Test evidence

07. Verification & Validation Report

Detailed automated test results, acceptance runs, parameter sweeps, communication tests, and measured limitations.

Back to top ↑
SOURCE · vv_report.mdEmbedded reference · searchable on this page
In this document 10 headings

Verification & Validation Report

Generated 2026-10-04 by python -m fleet.experiments.report. Sections 1–7 preserve historical v2 evidence; section 8 reports v3 evidence from results/pytest_v3.xml and v3 campaigns. All runs are visual MuJoCo runs (accelerated mode), MiR100 robots, N = 3 unless stated.

1. Requirement verification (automated tests)

requirement verifying tests result
FR-01 >=3 AMRs test_three_robots_drive_routes, test_dynamic_orders_delivered_by_decentralized_auction PASS
FR-02 state/intent publication test_robot_state_carries_fr02_fields, test_pub_sub_and_dealer_router_delivery PASS
FR-03 no central controller test_fleet_continues_after_dashboard_is_killed, test_crashed_robot_task_is_reassigned_and_delivered PASS
FR-04 P2P auction/consensus test_simultaneous_tasks_get_unique_winners_quickly, test_consensus_converges_under_message_loss, test_dynamic_orders_delivered_by_decentralized_auction PASS
FR-05 executable route (A*) test_astar_shortest_and_turn_aware PASS
FR-06 conflict detection/resolution test_crossing_conflicts_resolved_by_pibt, test_four_way_intersection, test_corridor_swap_with_pocket_recovered_by_escalation PASS
FR-07 deadlock detection/recovery test_known_deadlock_detected_and_recovered PASS
FR-08 blockage -> local re-plan test_blocked_aisle_detected_shared_and_rerouted, test_pallet_in_aisle_detected_after_confirmation PASS
FR-09 infeasible task released test_blocked_pickup_releases_task_for_reassignment, test_crashed_robot_task_is_reassigned_and_delivered, test_lost_peer_task_is_reassigned PASS
FR-10 deterministic safety layer test_forced_convergence_stopped_by_safety_shield, test_shield_only_reduces PASS
FR-11 dashboard test_dashboard_serves_state_from_robot_telemetry PASS
FR-12 operation without dashboard test_fleet_continues_after_dashboard_is_killed PASS
PR-03 state rate 5-10 Hz test_state_rate_across_processes PASS
PR-04 local decision < 200 ms test_crossing_conflicts_resolved_by_pibt PASS
PR-05 allocation < 1 s test_simultaneous_tasks_get_unique_winners_quickly, test_dynamic_orders_delivered_by_decentralized_auction PASS
PR-06 deadlock recovery < 5 s test_known_deadlock_detected_and_recovered PASS
SC-08 compute budget test_crossing_conflicts_resolved_by_pibt, test_inference_latency_within_edge_budget PASS
Reproducibility test_runs_are_reproducible, test_cem_is_deterministic_and_never_worse_than_its_start PASS

Test suite: 69/69 test functions passed (99 test cases including parametrisations).

2. Acceptance campaign: overlapping paths (SC-02 / PR-02, App. D)

condition runs all orders delivered makespan median [IQR] (s) 95% CI of median collisions min gap (m) throughput (orders/s)
stop_wait 10 10/10 505.9 [460.3, 746.0] [452.6, 752.9] 0 1.37 0.0237
central 10 10/10 516.7 [494.7, 529.4] [489.9, 558.1] 0 1.07 0.0232
pibt 10 10/10 346.7 [326.4, 355.8] [323.0, 359.1] 0 1.37 0.0346
pibt_learned 10 10/10 338.2 [326.2, 360.3] [323.0, 365.7] 0 1.37 0.0355

Makespan reduction relative to stop-and-wait, paired by seed (same order stream):

method paired seeds median improvement vs baseline (%) 95% CI (median) mean (%) seeds better
central 10 1.9 [-15.3, 31.0] 4.1 6/10
pibt 10 33.7 [22.9, 54.4] 37.6 10/10
pibt_learned 10 33.7 [22.9, 54.9] 37.4 10/10

PR-02 verdict: distributed A* + PIBT median makespan reduction = 33.7 % (95 % CI 22.9 – 54.4 %) -> meets the >= 20 % target.

PR-01 (this campaign): 0 collisions in 40 runs.

makespan

3. Topology sweep

condition runs all orders delivered makespan median [IQR] (s) 95% CI of median collisions min gap (m) throughput (orders/s)
crossing__pibt 10 10/10 346.7 [326.4, 355.8] [323.0, 359.1] 0 1.37 0.0346
crossing__stop_wait 10 10/10 505.9 [460.3, 746.0] [452.6, 752.9] 0 1.37 0.0237
fourway__pibt 10 10/10 324.2 [316.4, 359.0] [313.1, 373.8] 0 1.36 0.0370
fourway__stop_wait 10 10/10 444.9 [425.2, 505.8] [421.2, 647.1] 0 1.37 0.0270
narrow__pibt 10 10/10 373.0 [348.1, 402.6] [346.8, 403.3] 0 1.36 0.0322
narrow__stop_wait 10 10/10 632.7 [602.1, 706.0] [598.1, 728.5] 0 1.39 0.0190
open__pibt 10 10/10 313.6 [301.4, 330.2] [300.5, 334.3] 0 1.37 0.0383
open__stop_wait 10 10/10 400.8 [368.3, 439.0] [367.6, 448.9] 0 1.44 0.0299
method paired seeds median improvement vs baseline (%) 95% CI (median) mean (%) seeds better
crossing__pibt 10 33.7 [22.9, 54.4] 37.6 10/10
fourway__pibt 10 29.2 [20.7, 41.5] 31.3 9/10
narrow__pibt 10 45.1 [36.1, 48.5] 42.0 10/10
open__pibt 10 23.6 [13.0, 26.2] 19.2 9/10

4. Traffic density sweep

condition runs all orders delivered makespan median [IQR] (s) 95% CI of median collisions min gap (m) throughput (orders/s)
high__pibt 10 10/10 346.7 [322.3, 355.4] [317.6, 355.7] 0 1.36 0.0346
high__stop_wait 10 10/10 505.9 [460.3, 699.1] [452.6, 725.8] 0 1.37 0.0237
low__pibt 10 10/10 367.0 [350.2, 390.3] [346.3, 398.6] 0 1.33 0.0327
low__stop_wait 10 9/10 639.8 [530.8, 684.4] [499.9, 700.4] 0 1.39 0.0187
medium__pibt 10 10/10 348.7 [332.0, 393.6] [329.8, 406.6] 0 1.33 0.0344
medium__stop_wait 10 9/10 584.9 [536.3, 722.2] [517.5, 725.8] 0 1.37 0.0197
method paired seeds median improvement vs baseline (%) 95% CI (median) mean (%) seeds better
high__pibt 10 34.8 [24.8, 51.3] 35.9 10/10
low__pibt 9 39.6 [19.5, 52.3] 36.0 9/9
medium__pibt 9 39.5 [28.6, 55.3] 41.5 9/9

5. Dynamic blockage rate sweep

condition runs all orders delivered makespan median [IQR] (s) 95% CI of median collisions min gap (m) throughput (orders/s)
b0__pibt 10 10/10 346.7 [326.4, 355.8] [323.0, 359.1] 0 1.37 0.0346
b0__stop_wait 10 10/10 505.9 [460.3, 746.0] [452.6, 752.9] 0 1.37 0.0237
b10__pibt 10 10/10 358.5 [343.0, 374.0] [337.8, 379.4] 0 1.37 0.0335
b10__stop_wait 10 10/10 501.7 [470.7, 628.9] [464.2, 646.1] 0 1.39 0.0239
b20__pibt 10 10/10 361.8 [353.4, 389.3] [347.8, 401.2] 0 1.33 0.0332
b20__stop_wait 10 10/10 524.7 [463.2, 586.2] [453.7, 603.7] 0 1.39 0.0230
method paired seeds median improvement vs baseline (%) 95% CI (median) mean (%) seeds better
b0__pibt 10 33.7 [22.9, 54.4] 37.6 10/10
b10__pibt 10 27.4 [21.8, 44.9] 32.0 10/10
b20__pibt 10 27.1 [18.2, 36.3] 28.0 10/10

5b. Fleet size (PR-07): N = 3, 5, 8 on the 21 x 12 warehouse

condition runs all orders delivered makespan median [IQR] (s) 95% CI of median collisions min gap (m) throughput (orders/s)
n3__pibt 10 10/10 783.9 [765.8, 807.2] [760.1, 817.2] 0 1.36 0.0255
n3__stop_wait 10 7/10 930.0 [912.4, 983.4] [907.3, 1023.2] 0 1.36 0.0204
n5__pibt 10 10/10 592.9 [576.9, 622.1] [572.1, 627.0] 0 1.33 0.0337
n5__stop_wait 10 8/10 769.2 [706.2, 817.3] [647.3, 951.3] 0 1.34 0.0260
n8__pibt 10 10/10 503.4 [464.1, 577.0] [456.5, 656.1] 0 1.33 0.0398
n8__pibt_learned 10 10/10 527.1 [494.5, 586.9] [486.8, 591.0] 0 1.33 0.0379
n8__stop_wait 10 8/10 638.1 [585.2, 668.8] [576.9, 679.9] 0 1.36 0.0306
method paired seeds median improvement vs baseline (%) 95% CI (median) mean (%) seeds better
n3__pibt 7 18.1 [9.7, 22.6] 16.8 7/7
n5__pibt 8 20.1 [14.6, 36.9] 24.6 8/8
n8__pibt 8 13.8 [-23.0, 26.8] 7.2 6/8
n8__pibt_learned 8 5.8 [-3.6, 26.8] 11.6 5/8

Seeds where stop-and-wait did not deliver every order within the run limit are excluded from the paired comparison (this favours the baseline).

5c. Ablation: learned priority advisor vs distributed baseline (App. D 3 vs 4)

setting paired seeds median change of learned vs PIBT (%) 95% CI seeds better / worse
acceptance: pibt_learned vs pibt 10 0.00 [0.00, 0.00] 1 / 1
scale: n8__pibt_learned vs n8__pibt 10 0.00 [-19.55, 13.25] 2 / 4

Graph-level training (held-out validation, 36 episodes): baseline 180.50 steps, learned 177.64 steps (1.59 %); selection: cem_mean.

6. Communication degradation (SC-04, acceptance item 6)

condition runs all orders delivered makespan median [IQR] (s) 95% CI of median collisions min gap (m) throughput (orders/s)
lat0_loss0 10 10/10 346.7 [326.4, 355.8] [323.0, 359.1] 0 1.37 0.0346
lat0_loss10 10 10/10 371.0 [336.7, 392.7] [328.0, 394.7] 0 1.37 0.0323
lat0_loss20 10 10/10 389.4 [351.7, 477.6] [351.4, 486.4] 0 1.33 0.0309
lat100_loss0 10 10/10 349.1 [340.2, 359.0] [334.2, 359.4] 0 1.33 0.0344
lat100_loss10 10 10/10 379.0 [367.4, 432.7] [360.9, 439.8] 0 1.33 0.0317
lat100_loss20 10 10/10 403.1 [368.4, 495.5] [350.6, 525.2] 0 1.33 0.0298
lat10_loss0 10 10/10 346.7 [326.4, 355.8] [323.0, 359.1] 0 1.37 0.0346
lat10_loss10 10 10/10 380.1 [352.6, 399.8] [345.4, 400.1] 0 1.37 0.0316
lat10_loss20 10 10/10 377.0 [352.5, 401.6] [352.0, 419.5] 0 1.33 0.0318
lat50_loss0 10 10/10 346.7 [326.4, 355.8] [323.0, 359.1] 0 1.37 0.0346
lat50_loss10 10 10/10 385.4 [363.3, 399.7] [352.6, 399.9] 0 1.37 0.0311
lat50_loss20 10 10/10 389.4 [351.7, 413.8] [351.4, 421.2] 0 1.36 0.0309

Change relative to ideal communication (lat0_loss0), paired by seed (negative = slower):

method paired seeds median improvement vs baseline (%) 95% CI (median) mean (%) seeds better
lat0_loss10 10 -4.3 [-21.2, 0.9] -8.8 3/10
lat0_loss20 10 -23.6 [-36.0, 1.2] -20.6 3/10
lat100_loss0 10 -1.0 [-2.2, 0.2] -1.3 2/10
lat100_loss10 10 -9.0 [-24.4, -5.7] -17.2 0/10
lat100_loss20 10 -14.6 [-48.3, -4.1] -26.0 2/10
lat10_loss0 10 0.0 [0.0, 0.0] 0.0 0/10
lat10_loss10 10 -6.9 [-22.0, 0.4] -10.4 3/10
lat10_loss20 10 -11.0 [-30.7, 0.9] -13.9 3/10
lat50_loss0 10 0.0 [0.0, 0.0] 0.0 0/10
lat50_loss10 10 -9.4 [-22.0, -1.0] -11.6 1/10
lat50_loss20 10 -15.5 [-26.2, 1.2] -13.8 3/10
condition measured receive drop fraction B_net per robot (B/s) messages/s (fleet)
lat0_loss0 0.000 5348 69.8
lat0_loss10 0.100 5361 70.1
lat0_loss20 0.200 5388 70.8
lat100_loss0 0.000 5356 70.0
lat100_loss10 0.100 5361 69.8
lat100_loss20 0.200 5384 70.8
lat10_loss0 0.000 5349 70.3
lat10_loss10 0.100 5358 70.0
lat10_loss20 0.200 5382 70.7
lat50_loss0 0.000 5344 70.0
lat50_loss10 0.100 5354 70.0
lat50_loss20 0.200 5391 71.0

7. Safety, latency, compute and communication burden (all campaigns)

campaign runs collisions min chassis-centre gap (m) claim latency median (s) allocation latency median (s) planner compute p99 max (ms) advisor inference p99 max (ms) B_net per robot median (B/s)
acceptance 40 0 1.07 0.100 50.98 3.54 0.635 5349
blockage 60 0 1.33 0.100 70.15 2.81 – 5352
comms 120 0 1.33 0.200 56.53 3.53 – 5361
density 60 0 1.33 0.100 60.49 2.52 – 5336
scale 70 0 1.33 0.100 81.58 4.77 0.954 6002
topology 80 0 1.36 0.100 69.99 2.81 – 5343

PR-01 overall: 0 collisions (eq. 8 onsets + MuJoCo chassis contacts) in 430 campaign runs.

8. Findings and limitations

Summary. The decentralized architecture (A* + asynchronous PIBT + node claims + deterministic shield, no central runtime controller) met the safety and throughput acceptance criteria in visual MuJoCo with MiR100 robots. The learned priority advisor did not produce a measurable benefit.

  1. Safety (PR-01, FR-10). Zero collisions (eq. 8 onsets and MuJoCo chassis contacts) and zero contacts with racks or pallets in every campaign run (N = 3, 5, 8; 0–100 ms latency; 0–20 % loss; dynamic blockages; robot crashes). The smallest chassis-centre gap was about 1.07 m in the benchmark-only central planner and about 1.33 m in the decentralized system. With the claim protocol deliberately disabled, the shield alone stopped robots driving at each other (gap ≥ 1.09 m).
  2. Throughput (PR-02). On the overlapping-path acceptance scenario, distributed A* + PIBT cut the median makespan by 33.7 % vs stop-and-wait (95 % CI 22.9–54.4 %, 10/10 seeds better). Across topologies the reduction was 23.6 % (open floor) to 45.1 % (narrow aisles). It held under 10–20 % random blockages (27–34 %) and across traffic densities (35–42 %). On the larger warehouse it was 18.1 % (N = 3), 20.1 % (N = 5) and 13.8 % (N = 8, CI −23 to +27 %). Those paired figures exclude seeds where stop-and-wait failed to finish, which happened in 2–3 of 10 runs per fleet size, while PIBT finished every run.
  3. Centralized reference (benchmark only). Synchronous fleet-wide PIBT steps made the central planner no faster than stop-and-wait (+1.9 %, CI −15 to +31 %): every robot waits for the slowest move of each step. It is a deliberately simple central reference; a stronger asynchronous or reservation-based central planner could do better, so this comparison measures the overhead of synchronous centralization only.
  4. Communication degradation (SC-04).
    • Packet loss is the dominant factor: median makespan worsened by 4–24 % at 10–20 % loss.
    • Latency up to 100 ms cost about 1 % without loss.
    • Claims need a grant from every live peer, so claim latency rose from 0.10 s to 0.20–0.42 s under degradation (PR-04's 200 ms target is exceeded there).
    • Measured drop rates matched the injected rates exactly.
    • Delays are applied in sim time and quantized to the 50 ms control tick, so 10 ms and 50 ms are indistinguishable from 0 ms.
    • Network load is about 5.3–6.5 kB/s per robot.
  5. Deadlocks (FR-07, PR-06). The defined synthetic deadlock (corridor swap with one pocket) stays deadlocked with handling disabled. With handling enabled it is resolved 3.4 s after detection; the progress move completes after 6.5 s. In organic traffic across all PIBT campaign runs there were 418 escalations: median resolution 3.7 s, 55 % within 5 s, p90 21 s, maximum 73 s. PR-06 is therefore met for the defined case but not for every organic escalation. Stall-based detection also escalates on some congestion that is not a true deadlock.
  6. Learned priority advisor (RQ 3).
    • Model: an eq.-7 MLP (8 → 16 → 16 → 1, PyTorch).
    • Training: fitted to a near-goal prior from rollout data, then refined by CEM in the graph-level simulator with episode resampling; the candidate was chosen on a separate selection set.
    • Held-out graph-level result: makespan improved 1.59 %, the same as the hand-crafted prior alone (+1.62 %). Earlier training variants without the prior did not generalise (−0.4 %).
    • In visual MuJoCo: no measurable effect at N = 3 (identical outcome on 8/10 seeds). At N = 8, the paired median change vs plain PIBT is 0.0 % (CI −19.6 to +13.3 %; 2 seeds better, 4 worse).
    • Inference p99 was below 1 ms (SC-08).
    • Conclusion: in this setting the decentralized deterministic planner, not learning, delivers the improvement. The advisor is safe (bounded, never actuates) but not useful yet.
  7. Compute (SC-08). Per-robot planning compute p99 was ≤ 3.7 ms per 50 ms tick at N = 8, measured on the development host, not on Raspberry Pi- or Jetson-class hardware.

Limitations.

  • Localization. Pose comes from the simulator (optional Gaussian noise); there is no SLAM.
  • Battery. The energy model is simplified.
  • Robot model. MiR100 speed is capped at 1.0 m/s. Casters and suspension are approximations tuned for stable traction.
  • Delivery barrier. The lockstep barrier makes runs reproducible but hides network timing jitter beyond the injected latency, loss and jitter parameters.
  • Stop-and-wait baseline. It includes a timeout re-plan and backoff; without them it deadlocks permanently. Stop-and-wait runs that still did not finish are excluded from paired comparisons, which favours the baseline.
  • Completeness. Async PIBT is incomplete on non-biconnected graphs (dead-end stations and alcoves). Escalation recovers the tested cases but is not a proof of completeness.
  • Reproducibility of N = 8 learned runs. Seeds 1–3 of the n8__pibt_learned condition failed twice at startup: agents amr4 and amr5 hung before joining (empty logs, no exception), so no simulation started. The third attempt, with a startup stack-dump watchdog added, ran normally and those are the results reported. The root cause of the hang was not identified. The ports were bindable afterwards, the same configuration runs on other port bases, and the watchdog never fired.
System structure

08. System Architecture

Processes, robot model, decentralized coordination protocol, task allocation, message contracts, and reproducibility.

Back to top ↑
SOURCE · architecture.mdEmbedded reference · searchable on this page
In this document 6 headings

Architecture

Implementation of warehouse_system_design_doc_v2.pdf (Alternative A baseline + Alternative C learned priority advisor). Python, MuJoCo (visual), ZeroMQ (brokerless), NumPy, PyTorch. No ROS 2.

Processes (one run)

  • World server (world/sim_server.py): integrates MuJoCo physics for MiR100 models, emulates each robot's own sensors (pose, 360° range ring cast with mj_multiRay, battery), applies wheel commands, releases WMS orders, executes fault events (pallet blockages, robot crashes, dashboard kill) and records ground truth (eq. 8 distance events, MuJoCo chassis contacts, verified pickups/deliveries). It makes no routing, priority or allocation decision. It also acts as the hardware clock: lockstep at 20 Hz with a per-tick message-delivery barrier (it forwards counters of peer messages sent, never their content) so runs are reproducible.
  • Robot agent (agent/), one OS process per robot, Fig. 3 decomposition: comm adapter (comms/peer_node.py) → peer table (comms/peer_table.py) → task manager (agent/task_manager.py) → planner (A* agent/astar.py, decentralized PIBT + node claims agent/coord.py) → learning advisor (agent/advisor.py, optional) → safety shield (agent/safety_shield.py) → motion controller (agent/motion.py). Deadlock monitor agent/deadlock.py, blockage detector agent/blockage.py.
  • Dashboard (dashboard/): HTTP + Server-Sent Events, subscribes to telemetry only.
  • Central reference (benchmark/central.py): benchmark only (App. D configuration 2).

Robot model

MiR100 (Mobile Industrial Robots) — original STL meshes and URDF parameters from DFKI mir_robot (BSD-3, assets/mir100/LICENSE). Drive wheels r = 0.0625 m, track 0.445 m, 77 kg base; four frictionless swivel casters; sprung drive unit (vertical spring-damper, ~300 N preload/wheel) so the drive wheels keep traction like the real robot; velocity-servo wheels (kv = 10, 30 N m). Sensor: 24-ray ring at scanner height (the MiR's two corner SICK S300 give 360° coverage). Max speed 1.0 m/s forward (datasheet 1.5 m/s), 0.5 m/s reverse.

Coordination protocol (decentralized)

  1. Node claims (safety-relevant mutual exclusion). A robot holds the node it stands on and the node it is entering. To enter v it sends Claim(v, priority) to every live peer and moves only when all granted. Peers deny if they hold v, have a higher-ranked pending claim on v, or already granted v. Message loss only causes retries/timeouts. Lost peers' last nodes stay occupied.
  2. Asynchronous PIBT. Priority key = −(time the current goal was assigned) [+ learned score] [+ deadlock boost] — time-invariant so all robots compare identical numbers. Candidates: neighbours that reduce distance to goal. A candidate held by a stationary lower-priority robot → Push (priority inheritance); the pushed robot acknowledges, evades (never into the pusher's node, preferring nodes off the pusher's path, reversing for short moves) or replies failure → the pusher backtracks. The vacated node is reserved for the pusher.
  3. Deadlock handling. Stalled (no distance-to-goal progress within T_d) while a higher-priority neighbour is also stalled → priority escalation (bounded boost, cooldown), then route invalidation after repeated escalation.
  4. Stop-and-wait baseline (App. B) uses the same claim layer; it halts while a peer with precedence holds or intends nodes on its next three route nodes, re-plans around it after a timeout, else backs off.

Task allocation

Replicated task table, auction with consensus by deterministic rule (lowest (cost, name) wins; eq. 4 bid), revisioned re-opening on release / peer loss, periodic consensus re-broadcast and done lists in RobotState for repair under message loss. Idle robots park in rest/charger alcoves; low battery → charge.

Messages (App. A)

common/messages.py: RobotState, RobotIntent, TaskAnnouncement, TaskBid, TaskConsensus, BlockageEvent plus Claim/ClaimReply/Release, Push/PushReply, TaskDone, Beacon (join handshake), CentralPlan (benchmark). Envelope: type, src, seq, ts (sim time), ttl. JSON wire format.

Reproducibility

TOML configs (configs/), resolved config + seed + config hash saved with every run, deterministic lockstep delivery, seeded fault injection and order streams. Two runs with the same seed produce identical trajectories (tests/test_sim_m3.py::test_runs_are_reproducible).

Requirements baseline

09. Requirements & Traceability

Functional and performance requirements, implementing modules, verification evidence, acceptance gates, and interpretation decisions.

Back to top ↑
SOURCE · requirements.mdEmbedded reference · searchable on this page
In this document 5 headings

Requirements Baseline & Traceability

Source: docs/warehouse_system_design_doc_v2.pdf (SEMP v2, 2026-10-03). Evidence: automated tests (results/pytest.xml, 99 tests) and experiment campaigns (results/campaigns/*), compiled into docs/vv_report.md.

Functional requirements

ID Requirement (abridged) Implementing module(s) Verification Status
FR-01 ≥3 AMRs operate simultaneously world/sim_server.py, agent/agent.py test_sim_m1, test_sim_m4; campaigns with N = 3, 5, 8 verified
FR-02 Publish pose, velocity, task, battery, route/intent, timestamp common/messages.py, comms/peer_node.py test_messages, test_peer_comms verified
FR-03 No centralized controller for real-time coordination one process per robot; world server = physics/clock only architecture; dashboard-kill and robot-crash tests verified
FR-04 P2P consensus / auction task assignment agent/task_manager.py test_task_allocation (incl. 30 % loss), test_sim_m4 verified
FR-05 Executable route to current objective agent/astar.py, PIBT distance fields test_pibt::test_astar_shortest_and_turn_aware verified
FR-06 Detect/resolve predicted conflicts agent/coord.py (claims + async PIBT) test_pibt, test_sim_m3, all campaigns verified
FR-07 Detect deadlock patterns, trigger recovery agent/deadlock.py test_sim_m5::test_known_deadlock_detected_and_recovered (+ disabled-handling control) verified
FR-08 Blocked segment invalid → local re-plan agent/blockage.py, BlockageEvent test_blockage, test_sim_m5, blockage campaign (62 pallets) verified
FR-09 Infeasible task released for reassignment agent/task_manager.py blocked-pickup release, robot-crash reassignment, unit tests verified
FR-10 Deterministic safety layer agent/safety_shield.py test_safety_shield, forced convergence with claims bypassed verified
FR-11 Dashboard shows pose, task, battery, status dashboard/ test_dashboard (HTTP/SSE with wire-format telemetry) verified
FR-12 Operation continues without dashboard observation-only SUB test_dashboard::test_fleet_continues_after_dashboard_is_killed verified

Performance requirements

ID Target Result (see vv_report.md) Status
PR-01 N_collision = 0 0 collisions (eq. 8 onsets + MuJoCo chassis contacts) in every campaign run and test met
PR-02 ≥20 % makespan reduction vs stop-and-wait (overlapping paths) acceptance campaign: median 33.7 % (95 % CI 22.9–54.4 %), 10/10 seeds met
PR-03 State broadcast 5–10 Hz 10 Hz configured; 5–11 Hz measured across processes met
PR-04 Local conflict decision < 200 ms claim round-trip 0.10 s nominal; 0.20–0.42 s under ≥10 % loss or 100 ms latency met nominal / exceeded under degradation
PR-05 Task allocation < 1 s 0.30 s when a robot is free (later allocations wait for a free robot) met
PR-06 Deadlock recovery < 5 s after detection defined synthetic deadlock: 3.4 s; organic traffic: median 3.7 s, 55 % < 5 s met for the defined case; not for all organic escalations
PR-07 3–8 robots 3, 5 and 8 MiR100s in the scale campaign met
PR-08 ≥10 seeds per condition 10 seeds per condition in every campaign met

Success criteria SC-01..SC-08

SC-01→PR-01, SC-02→PR-02, SC-03→FR-01/PR-07, SC-04→comms campaign (12 latency×loss conditions, 0 collisions), SC-05→FR-07/PR-06, SC-06→FR-08, SC-07→FR-12, SC-08→planner compute p99 < 3 ms per 50 ms tick, advisor inference p99 < 1 ms.

Acceptance gate (§19.2)

  1. ≥3 robots complete dynamic pickup/delivery tasks — demonstrated (test_sim_m4, all campaigns).
  2. No collision across the safety acceptance campaign — demonstrated (0 in all runs).
  3. Blocked aisle → route recovery and, when needed, reassignment — demonstrated (test_sim_m5).
  4. Known deadlock detected and recovered — demonstrated (test_sim_m5).
  5. Dashboard loss does not stop coordination — demonstrated (test_dashboard).
  6. Communication degradation instrumented and quantified — demonstrated (comms campaign).
  7. ≥20 % makespan reduction — met (acceptance campaign).

Interpretation decisions

  • Simulator role. sim_server is the physical world + hardware clock: it integrates physics, emulates sensors (pose, odometry, 360° range ring approximating the MiR's two SICK S300 scanners, battery) and executes scheduled world events (task orders from the warehouse WMS, blockages, robot crashes). It makes no routing, priority, or allocation decision. A per-tick message-delivery barrier gives reproducible lockstep runs.
  • Robot. MiR100 (Mobile Industrial Robots), meshes and dimensions from DFKI mir_robot (BSD-3, see assets/mir100/LICENSE).
  • Visual-only MuJoCo. Every MuJoCo run opens the viewer. accelerated mode for data, demo mode (1×) for pitches.
  • Learning. The priority MLP is optimized in a discrete graph-level simulator sharing planner code; it is evaluated only in visual MuJoCo.
  • Centralized reference. Benchmark-only planner mode, never used by the proposed system.
  • Deadlock recovery metric. Resolution = detection until the deadlocked robot acquires a node that reduces its distance to goal; the time until that move completes is reported alongside.
Results at a glance

10. V&V Findings

A concise evidence-led synthesis of safety, throughput, communications, deadlocks, learned-priority results, compute, and limitations.

Back to top ↑
SOURCE · vv_findings.mdEmbedded reference · searchable on this page
In this document 7 topics

Summary. The decentralized architecture (A* + asynchronous PIBT + node claims + deterministic shield, no central runtime controller) met the safety and throughput acceptance criteria in visual MuJoCo with MiR100 robots. The learned priority advisor did not produce a measurable benefit.

  1. Safety (PR-01, FR-10). Zero collisions (eq. 8 onsets and MuJoCo chassis contacts) and zero contacts with racks or pallets in every campaign run (N = 3, 5, 8; 0–100 ms latency; 0–20 % loss; dynamic blockages; robot crashes). The smallest chassis-centre gap was about 1.07 m in the benchmark-only central planner and about 1.33 m in the decentralized system. With the claim protocol deliberately disabled, the shield alone stopped robots driving at each other (gap ≥ 1.09 m).
  2. Throughput (PR-02). On the overlapping-path acceptance scenario, distributed A* + PIBT cut the median makespan by 33.7 % vs stop-and-wait (95 % CI 22.9–54.4 %, 10/10 seeds better). Across topologies the reduction was 23.6 % (open floor) to 45.1 % (narrow aisles). It held under 10–20 % random blockages (27–34 %) and across traffic densities (35–42 %). On the larger warehouse it was 18.1 % (N = 3), 20.1 % (N = 5) and 13.8 % (N = 8, CI −23 to +27 %). Those paired figures exclude seeds where stop-and-wait failed to finish, which happened in 2–3 of 10 runs per fleet size, while PIBT finished every run.
  3. Centralized reference (benchmark only). Synchronous fleet-wide PIBT steps made the central planner no faster than stop-and-wait (+1.9 %, CI −15 to +31 %): every robot waits for the slowest move of each step. It is a deliberately simple central reference; a stronger asynchronous or reservation-based central planner could do better, so this comparison measures the overhead of synchronous centralization only.
  4. Communication degradation (SC-04).
    • Packet loss is the dominant factor: median makespan worsened by 4–24 % at 10–20 % loss.
    • Latency up to 100 ms cost about 1 % without loss.
    • Claims need a grant from every live peer, so claim latency rose from 0.10 s to 0.20–0.42 s under degradation (PR-04's 200 ms target is exceeded there).
    • Measured drop rates matched the injected rates exactly.
    • Delays are applied in sim time and quantized to the 50 ms control tick, so 10 ms and 50 ms are indistinguishable from 0 ms.
    • Network load is about 5.3–6.5 kB/s per robot.
  5. Deadlocks (FR-07, PR-06). The defined synthetic deadlock (corridor swap with one pocket) stays deadlocked with handling disabled. With handling enabled it is resolved 3.4 s after detection; the progress move completes after 6.5 s. In organic traffic across all PIBT campaign runs there were 418 escalations: median resolution 3.7 s, 55 % within 5 s, p90 21 s, maximum 73 s. PR-06 is therefore met for the defined case but not for every organic escalation. Stall-based detection also escalates on some congestion that is not a true deadlock.
  6. Learned priority advisor (RQ 3).
    • Model: an eq.-7 MLP (8 → 16 → 16 → 1, PyTorch).
    • Training: fitted to a near-goal prior from rollout data, then refined by CEM in the graph-level simulator with episode resampling; the candidate was chosen on a separate selection set.
    • Held-out graph-level result: makespan improved 1.59 %, the same as the hand-crafted prior alone (+1.62 %). Earlier training variants without the prior did not generalise (−0.4 %).
    • In visual MuJoCo: no measurable effect at N = 3 (identical outcome on 8/10 seeds). At N = 8, the paired median change vs plain PIBT is 0.0 % (CI −19.6 to +13.3 %; 2 seeds better, 4 worse).
    • Inference p99 was below 1 ms (SC-08).
    • Conclusion: in this setting the decentralized deterministic planner, not learning, delivers the improvement. The advisor is safe (bounded, never actuates) but not useful yet.
  7. Compute (SC-08). Per-robot planning compute p99 was ≤ 3.7 ms per 50 ms tick at N = 8, measured on the development host, not on Raspberry Pi- or Jetson-class hardware.

Limitations.

  • Localization. Pose comes from the simulator (optional Gaussian noise); there is no SLAM.
  • Battery. The energy model is simplified.
  • Robot model. MiR100 speed is capped at 1.0 m/s. Casters and suspension are approximations tuned for stable traction.
  • Delivery barrier. The lockstep barrier makes runs reproducible but hides network timing jitter beyond the injected latency, loss and jitter parameters.
  • Stop-and-wait baseline. It includes a timeout re-plan and backoff; without them it deadlocks permanently. Stop-and-wait runs that still did not finish are excluded from paired comparisons, which favours the baseline.
  • Completeness. Async PIBT is incomplete on non-biconnected graphs (dead-end stations and alcoves). Escalation recovers the tested cases but is not a proof of completeness.
  • Reproducibility of N = 8 learned runs. Seeds 1–3 of the n8__pibt_learned condition failed twice at startup: agents amr4 and amr5 hung before joining (empty logs, no exception), so no simulation started. The third attempt, with a startup stack-dump watchdog added, ran normally and those are the results reported. The root cause of the hang was not identified. The ports were bindable afterwards, the same configuration runs on other port bases, and the watchdog never fired.
Current evidence · 2026-10-04

08. v3 findings and limits

The v3 report adds communication-fault evidence, orchestration-boundary tests, and a held-out evaluation of Option B.

Back to top ↑
460New visual MuJoCo campaign runs
0Campaign failures reported
0Collisions in v3 campaign runs
1

v2 reproducibility

Re-run loss-free v2 acceptance results were bit-identical under v3 code. The 33.7% median makespan reduction versus stop-and-wait was reproduced on the overlapping-path acceptance scenario.

2

Communication recovery

Temporary disconnections were detected and reconciled in the tested scenarios. The stale-message condition completed 0 of 10 runs: messages exceeded the state TTL and claim round trips exceeded the fixed timeout. This is a documented progress limitation, not a collision result.

3

Option B: no learning-gain claim

The pre-registered improvement rule was not met on any tested layout. Option B remains an optional advisor and the deterministic planner remains the baseline. One learned-advisor run stalled due to a priority-flip livelock, documented in the findings.

4

Scope boundary

All results are simulation-only. They do not establish physical deployment readiness, edge-device performance, real wireless timing, SLAM capability, formal collision freedom, or planner completeness.

Read deeper

Project resources

Reference documents mentioned by the README. Paths are relative to the project repository.

DECENTRALIZED AMR FLEET MuJoCo + ZeroMQ
Single-file site · No external libraries required
No matching sections. Try a term such as “tests”, “planner”, or “experiment”.
Copied to clipboard