An autonomous mobile robot cancellation is a state transition, not a delete button. The request may reach a dispatcher while the robot is still moving, a load-transfer action is still running, or a fleet adapter already owns the task. Treating an accepted service call as proof of a physical stop can release traffic reservations or load custody before the machine reaches a controlled state.
The safer engineering question is not simply, "Was cancel accepted?" It is, "What evidence proves that the named order stopped advancing, all cancellable actions ended, non-cancellable actions reached a known result, the robot and load are in a verified location, and the system is ready for a new order?"
The official VDA 5050 specification provides a useful protocol boundary. Its cancelOrder instant action can reference an order ID. The robot is expected to attempt to stop as soon as possible, report the cancellation as running while movement or actions remain active, and report it finished only after movement and actions have stopped or completed. The specification retains the order identifiers and rejects later updates to the cancelled order. Those semantics make cancellation observable, but they do not replace a site's physical risk assessment or commissioning tests.
Open-RMF exposes another important boundary. Its CancelTask service response says whether the service call was processed. In the dispatcher implementation reviewed for this article, cancellation can return differently depending on whether a task is still queued, already terminated, or has become the responsibility of a fleet adapter. That distinction is operationally important: dispatch-layer success and robot-layer completion are separate facts.
Name the exact thing being cancelled
Every request should identify the order, task, robot, fleet, and requesting system. Preserve the original order ID and update ID across retries. A timeout does not justify creating a second cancellation identity or silently targeting whatever task happens to be active later.
Before sending the request, record the last known execution state, robot pose, map level, active action, payload identity, and traffic reservation. This snapshot does not prove the current state, but it establishes what the requester believed and makes later reconciliation possible.
Reject ambiguous selectors. A user-interface command such as "cancel current job" should resolve to a concrete order identity before it crosses the control boundary. If the selected order has already changed, show the mismatch and require a fresh decision rather than cancelling a newer mission by accident.
Separate four acknowledgments
A robust event record distinguishes request transmitted, request received, cancellation accepted for processing, and cancellation completed. These timestamps can be close together in a simple case, but they represent different claims.
Request transmitted proves only that the client attempted delivery. Request received proves that a server decoded the message. Accepted for processing means the named component recognized a valid cancellation request. Completed means the protocol's completion conditions were reached. Physical confirmation adds robot pose, velocity, action state, and any relevant device evidence.
Do not collapse these into one green indicator. An operator needs to see whether the robot is stopping, waiting for a non-cancellable action, unreachable, or confirmed idle. A truthful intermediate state such as CANCEL_PENDING is more useful than an early success message followed by unexplained motion.
Verify motion has ended
VDA 5050 distinguishes vehicle behavior: a freely navigating robot should stop as soon as possible, while a line-guided vehicle may need the next feasible node. Translate that interface rule into a site-specific stopping policy. Define which stopping locations are permitted, which zones must remain clear, and what happens if the robot is already inside an intersection, elevator doorway, fire-door opening, or pedestrian crossing.
Use measured velocity and drive state rather than the absence of new route commands. A command stream can stop while the base continues executing its last accepted trajectory. Likewise, a dispatcher can mark a task cancelled before the robot controller reports zero motion.
Set bounded confirmation criteria for linear and angular velocity, brake or drive-hold state where exposed, and pose stability over a defined interval. Choose thresholds from the robot and site validation program, not from editorial examples. If confirmation expires, preserve the last evidence and escalate to the approved site response instead of declaring completion.
Account for every action
Cancellation may interrupt navigation while a different action continues. Examples include lifting a pallet, closing a conveyor transfer, operating a door, docking to a charger, or completing a tool change. The VDA 5050 model explicitly distinguishes cancellable and non-cancellable actions and keeps cancelOrder running while required actions remain active.
Build an action table for each mission type. For every action, record whether cancellation is allowed, what safe cancellation means, which final states are possible, how long the transition may take, and what independent evidence is available. "Failed" can mean deliberately cancelled under a protocol; it does not automatically mean the mechanism is in an unsafe state.
If an action cannot be cancelled, define the containment policy while it finishes. The robot may need to remain reserved in its workcell, keep a door interlock held, or prevent another vehicle from approaching. Do not release shared resources merely because navigation stopped.
Preserve load custody
The most consequential cancellation question may be where the payload is. A pallet can be fully on the robot, fully on a conveyor, or between them. A tote can be clamped, unclamped, or detected inconsistently by two devices. The mission record should not infer custody from the planned action name.
Require explicit post-cancellation custody evidence. Depending on the application, this may include lift position, clamp state, load sensor, conveyor photoeye, station handshake, barcode identity, or an operator inspection. Record disagreements as an unresolved transfer, not as an empty robot or completed delivery.
Keep the robot and affected station unavailable for automatic reassignment until custody is reconciled. A new task that assumes the wrong load state can create a collision, duplicate movement, lost traceability, or a dropped payload even though the original cancellation protocol behaved correctly.
Reconcile traffic and shared resources
A stopped robot can still occupy a reserved segment. Cancellation completion should therefore trigger reconciliation, not automatic wholesale release. Compare the confirmed robot footprint with route reservations, intersections, doors, elevators, chargers, and stations associated with the task.
Release resources behind the confirmed robot when the traffic system permits it. Keep the occupied segment and any necessary protective buffer. If the robot stopped between planned nodes, create a controlled representation of its current location rather than snapping it to the nearest node for convenience.
Record which component owns each release decision. The task dispatcher may cancel business intent, the fleet adapter may stop route execution, and the traffic system may control spatial reservations. One component's success should not be treated as authorization to edit another component's state without the required evidence.
Start the next order from verified state
VDA 5050 retains the cancelled order identifiers and forbids later updates to that order. This helps prevent a delayed update from resurrecting cancelled work. Test that behavior by delivering a stale update after cancellation and verifying that it is rejected or surfaced according to the installed protocol.
Before assigning a new order, confirm that the robot is idle under the robot-facing interface, not merely absent from the dispatch queue. Reconcile its current pose and map. A robot that stopped between nodes needs a supported restart method; the VDA 5050 specification describes options involving a temporary first node at the current position or a prior node with a suitable allowed deviation.
Restore task context deliberately. Confirm load identity, battery availability, localization confidence, manual-mode status, safety state, and remaining reservations. If an operator moved the robot or payload during recovery, create a new verified starting state rather than replaying the cancelled route.
Test unknown outcomes
Commissioning should inject loss of the cancellation request, loss of the acknowledgment, adapter restart after acceptance, robot disconnect while stopping, a non-cancellable action, a stale order update, an order-ID mismatch, and a new task arriving before physical confirmation.
For each case, verify idempotent retry with the same identity. The system should be able to distinguish "not received," "already processing," "already completed," and "wrong active order." A timeout must lead to reconciliation before any replacement task or broad resource release.
Preserve request, receipt, accepted, running, and completed timestamps; order and action identifiers; robot pose and velocity; action states; load-custody evidence; traffic reservations; device handshakes; operator actions; and restart decision. Synchronize clocks or record measured offsets so the sequence can be reconstructed.
Pass criteria should require the named order to stop advancing, movement to reach the defined stationary condition, every action to reach a known state, load custody to be explicit, occupied space to remain protected, stale updates to stay rejected, and the next order to start from verified robot state.
A cancellation is trustworthy when software intent and physical evidence converge. Until motion, actions, payload, and shared resources agree, the honest status is cancellation in progress or outcome unknown.
Sources checked November 6, 2026:
VDA 5050, official English interface specification, Version 3.0.0:
https://github.com/VDA5050/VDA5050/blob/main/VDA5050_EN.md
Open-RMF, official CancelTask service definition:
https://github.com/open-rmf/rmf_internal_msgs/blob/main/rmf_task_msgs/srv/CancelTask.srv
Open-RMF, official dispatcher implementation:
https://github.com/open-rmf/rmf_ros2/blob/main/rmf_task_ros2/src/rmf_task_ros2/Dispatcher.cpp
Illustration note: The accompanying image is an AI-generated engineering concept of AMR cancellation state. It is not a real robot stop test, deployment record, or safety certification.