A mobile robot can navigate, lift, scan, dock, signal, and exchange loads, but those activities cannot all run together safely. The scheduler needs an explicit answer to two different questions: may the robot continue automatic driving, and may another action execute in parallel? Treating those questions as one generic busy flag creates hidden race conditions.
VDA 5050 Version 3.0 defines four blocking types that separate the two decisions. NONE allows automatic driving and parallel actions. SINGLE allows driving but excludes other actions. SOFT stops automatic driving while allowing parallel actions. HARD stops driving and makes the action the only one executing. The names are concise, but the scheduler must preserve their full semantics rather than relying on an operator's intuition about what sounds soft or hard.
The protocol also defines an ordered action queue. NONE and SOFT actions may be collected for parallel execution. Before a SINGLE or HARD action starts, previously collected parallel actions must reach FINISHED or FAILED. If any SOFT or HARD action remains in the queue, automatic driving is stopped. Driving may resume only when no such action remains.
ROS 2 Actions addresses a different layer. It gives a long-running goal an identifier, feedback, a result, status transitions, and cancellation. An accepted goal can progress through executing and canceling to succeeded, aborted, or canceled. Those mechanics help an adapter track execution, but they do not decide VDA 5050 blocking policy. A good integration maps each protocol action to an execution goal while keeping the fleet-level concurrency gate authoritative.
Model two independent permissions
Store mayDrive and mayRunParallel as separate evaluated permissions for every action. A two-bit model makes the four VDA 5050 blocking types unambiguous and avoids scattering string comparisons across the codebase.
NONE means mayDrive=true and mayRunParallel=true. SINGLE means mayDrive=true and mayRunParallel=false. SOFT means mayDrive=false and mayRunParallel=true. HARD means mayDrive=false and mayRunParallel=false.
Evaluate the effective motion permission across the entire active and queued action set. If any applicable SOFT or HARD action is waiting or running, the robot must not resume automatic driving merely because another action finished.
Evaluate parallel admission against action order. A SINGLE or HARD action waits until every earlier parallel group is terminal. Do not start it simply because one execution thread appears idle.
Keep identity stable from order to execution
Use the VDA 5050 actionId as the durable correlation key through validation, queueing, execution, cancellation, state reporting, logs, and recovery. If a lower-level system uses a separate goal UUID, record the mapping atomically before the goal is sent.
Never substitute actionType for identity. Two lift actions in one order can have different parameters, order positions, and outcomes. A retry with a new anonymous goal can make the fleet controller believe the original action is still running.
Persist the blocking type with the action identity. Reconstructing it from a later order update or a device default can change concurrency semantics during recovery.
Record the exact order and action sequence that admitted the action. When an update arrives, the adapter can then distinguish a valid extension from a conflicting reinterpretation of work already executing.
Build a deterministic queue
Validate required fields and supported parameters before admitting an action. Unsupported actions belong in an explicit rejection or failure path, not in a queue that will never drain.
Walk actions in array order. Form a parallel group from consecutive NONE or SOFT actions that are eligible at the same execution point. Close that group when the scheduler reaches SINGLE or HARD, and wait for the group to finish or fail before starting the exclusive action.
Compute motion permission independently from group execution. A SOFT action can share execution with another action while still withholding automatic driving. A SINGLE action can exclude other actions while permitting driving.
Expose the derived decision in diagnostics: action identity, blocking type, group number, waiting dependency, effective mayDrive, and effective mayRunParallel. Operators should not have to infer the reason from a generic paused status.
Treat cancellation as a state transition
A cancel request is not proof that an action stopped. In ROS 2, a cancellation request may be accepted and place a goal in CANCELING while cleanup continues. The terminal CANCELED state confirms completion. An action server may also reject a cancellation request.
Keep the VDA 5050 blocking effect until the adapter has a verified terminal outcome or the protocol-defined recovery policy explicitly replaces it. Releasing motion when a cancel request is sent can move the robot while a lift, clamp, or docking mechanism is still active.
Correlate cancel requests with the exact action and execution goal. A delayed response for an older goal must not cancel a replacement action that happens to use the same action type.
If cancellation fails or times out, report the real state and hold the appropriate concurrency gate. Do not convert uncertainty into success to clear the queue.
Handle pause without inventing completion
A paused action remains active. Preserve its identity, blocking type, execution state, device state, and motion effect. Pause changes progress; it does not automatically make the action parallel-safe.
On resume, verify that the device and robot state still match the saved checkpoint. A manipulator may have moved under local control, a load may have changed, or the robot may have lost localization.
If the installed VDA 5050 action definition says pause or cancel is not allowed, surface that capability truthfully. The scheduler should not present an operator control that the adapter cannot honor.
Make restart recovery conservative
After an adapter restart, reconstruct the queue from persisted action identities, blocking types, reported action states, and device evidence. Do not assume every nonterminal action failed or finished merely because the process disappeared.
Query the execution layer for known goal status and result where supported. ROS 2 action servers may cache terminal results for a configured time, but the retention policy is not a substitute for durable integration records.
When state cannot be reconciled, hold motion and mark the action unknown until the device and controller agree. This is especially important for SOFT and HARD actions whose motion block may still be physically justified.
Resume the original identity after recovery. Creating a new actionId or goal without resolving the old one can duplicate load handling or leave two records controlling one device.
Protect the motion authority boundary
The action scheduler should issue a single explicit motion-authority result to the navigation controller. That boundary must fail closed when action state, queue order, or blocking type is unknown.
Navigation should acknowledge the motion hold before a SOFT or HARD action begins when the action depends on the robot being stationary. Likewise, the scheduler should not announce the action as RUNNING before its prerequisites are satisfied.
Before releasing motion, verify that all relevant SOFT and HARD actions are terminal, cancellation cleanup is complete, device interlocks are clear, the current order is valid, localization is trusted, and no higher-priority stop remains.
Keep functional concurrency policy separate from certified safety functions. Protocol blocking rules coordinate behavior; they do not replace safety-rated stop circuits, protective fields, speed monitoring, or the machine's risk assessment.
Test the race conditions
Commission every blocking type with a second action and with automatic driving. Verify all eight permission combinations rather than relying on a single demonstration.
Delay action-status messages, duplicate a goal, reorder a cancel response, restart the adapter during RUNNING and CANCELING, reject a cancellation, and lose the device connection during cleanup. Confirm that motion never resumes on an unverified intermediate state.
Send a SINGLE action behind a parallel NONE/SOFT group and verify that it waits for every member to reach FINISHED or FAILED. Then place a HARD action behind it and confirm that both parallel execution and driving remain blocked as specified.
Test order updates while actions are queued and active. An update must not mutate the blocking type or parameters of an already admitted action under the same identity.
Retain actionId, actionType, blockingType, queue position, parallel-group membership, mapped execution goal ID, status transitions, cancel requests and responses, device evidence, motion-authority decisions, timestamps, and recovery results. Re-run tests after scheduler, adapter, device firmware, ROS middleware, or order-controller changes.
Concurrency becomes manageable when the system represents the real questions directly. Explicit driving permission, explicit parallel permission, stable action identity, and terminal-state verification prevent a convenient asynchronous API from turning into an unsafe motion race.
Sources checked November 6, 2026:
VDA 5050, official English interface specification, Version 3.0.0, Section 6.2.2 action blocking types and sequence:
https://github.com/VDA5050/VDA5050/blob/main/VDA5050_EN.md
VDA 5050, official order JSON schema with blockingType definitions:
https://github.com/VDA5050/VDA5050/blob/main/json_schemas/order.schema
ROS 2 Design, official Actions specification, including goal states and cancellation:
https://design.ros2.org/articles/actions.html
ROS 2 Documentation, official actions tutorial and execution model:
https://docs.ros.org/en/rolling/Tutorials/Intermediate/Understanding-ROS2-Actions.html
Illustration note: The accompanying image is an AI-generated engineering concept of AMR action concurrency and motion gating. It is not a deployed controller screen, safety certification, or evidence of a specific robot implementation.