Wireless coverage in a factory or warehouse is never perfectly uniform. An autonomous mobile robot can pass a rack end, elevator lobby, freezer wall, or loading dock where latency rises and packets disappear. When communication returns, the technical link may be healthy while the operational state is still uncertain. The fleet manager may believe a robot is executing one route; the robot may have stopped, completed a local maneuver, or accepted a newer local command. Safe recovery therefore begins with reconciliation, not automatic motion.
Define the outage states before choosing timeouts
A single DISCONNECTED flag is too coarse for useful recovery. Track whether the robot can receive commands, whether the fleet manager has trustworthy state, whether the local safety controller still has authority, and whether the reserved traffic plan remains valid. A robot may lose its cloud-facing link while localization, obstacle detection, and a local hold controller remain healthy. Another robot may still send heartbeats while its position stream is frozen. Give these cases explicit states such as ONLINE, DEGRADED, LOCALLY_HOLDING, COMMUNICATION_LOST, RECONCILING, and RELEASED. Document the evidence required for every transition; timeouts should support the state machine rather than replace it.
Use middleware signals as evidence, not as a verdict
ROS 2 Quality of Service policies provide valuable recovery signals. Deadline events reveal missing updates, liveliness events reveal a vanished publisher, lifespan limits prevent stale samples from being delivered, and reliability controls retransmission behavior. None of these policies proves that a motion command is still valid. Record the offered and requested profiles, maximum acceptable age, event callbacks, and application response for every interface crossing the recovery boundary. Test compatibility in the deployed middleware configuration instead of relying on defaults.
Give every command an identity and an epoch
A robot and its fleet manager need a shared way to reject stale work. Use a command envelope containing robot identity, a monotonic sequence, a fleet-manager epoch, task identity, creation time, expiration rule, and expected predecessor state. The robot records the last accepted command and outcome; the fleet manager records the last acknowledgement and state version used to issue it. When authority restarts or leadership changes, advance the epoch and force reconciliation. Within an epoch, reject lower sequences. Across epochs, reject commands from the obsolete authority. Receiving the same identity twice should return the known result or current progress without starting motion twice. Apply this idempotency rule to docking, doors, lifts, payload transfers, and custom actions as well as navigation.
Reconcile physical state before traffic state
After reconnection, collect a fresh snapshot: localization confidence, map and floor, pose timestamp, velocity, safety state, battery, payload condition, active local command, last completed command, and any blocked or manual-control condition. If the snapshot is incomplete or stale, keep the robot in a defined holding condition. Compare the snapshot with the fleet record. If the robot stopped short of a waypoint, reuse the remaining path only after collision and traffic checks. If it moved beyond the expected point, discard the old reservation. If localization changed maps or lost confidence, wait for relocalization and an independent plausibility check.
Only after the physical state is credible should the adapter re-establish the traffic participant. Publish the current position, obtain a newly valid plan, and require explicit permission before entering constrained shared space. Replaying a pre-outage path without re-registering the actual position can turn software recovery into a traffic conflict.
Design a staged release and test ambiguous failures
Use a visible release sequence: restore compatible communication, obtain a fresh snapshot, resolve command identities and epochs, cancel ambiguous work, re-establish localization and traffic participation, test a low-consequence hold or recovery waypoint, then return to normal dispatch. A dashboard reset should acknowledge the fault and begin reconciliation; it should never directly restart motion. Commissioning should interrupt communication before acknowledgement, after acknowledgement, during motion, after physical completion, and during traffic-plan negotiation. Restart the robot controller, fleet adapter, and fleet manager independently. Verify that commands do not execute twice, expired commands remain rejected, and the event log can explain why motion was or was not released.
The useful acceptance criterion is not simply that an AMR reconnects. The system should prove which authority is current, which command is current, where the robot is, what it is allowed to do, and why the next motion is safe. Communication recovery supplies the channel; state reconciliation restores control.
Sources checked November 6, 2026:
ROS 2 official Quality of Service documentation: https://github.com/ros2/ros2_documentation/blob/rolling/source/ROS-Framework/interfaces/topics/About-Quality-of-Service-Settings.rst
Open-RMF official fleet adapter Python documentation: https://github.com/open-rmf/rmf_ros2/blob/main/rmf_fleet_adapter_python/README.md
Illustration note: The accompanying image is an AI-generated engineering concept, not a photograph, certification, or field-performance evidence.