An autonomous mobile robot can report a plausible pose on the wrong map. The numbers may look normal, yet the coordinate frame can refer to another floor, an outdated survey, or a map version with different walls and traffic nodes. A safe map handoff therefore needs more than a nonzero x and y. The robot, navigation stack, and fleet traffic system must agree on map identity, map version, coordinate frame, and localization state before motion resumes.
This issue appears after elevator travel, a map update, a localization restart, a vehicle reboot, or a transfer between mapped areas. It also appears during maintenance when a technician enables a new map while an old route remains cached. The correct operational response is to stop, establish the active map context, localize, invalidate incompatible plans, and then obtain fresh motion authority.
The official VDA 5050 Version 3.0 state model separates map and position facts. A map record carries a mapId, mapVersion, and mapStatus. A mobileRobotPosition carries x, y, theta, mapId, and a localized flag. The specification describes localized=true as meaning that x, y, and theta can be trusted; when localized is false, those pose values cannot be trusted. Its localizationScore is optional and intended for logging and visualization, not fleet-control logic.
That distinction prevents a common error. A numerical confidence score can help diagnose localization quality, but it should not replace the binary trust state defined by the vehicle interface. A fleet adapter should not invent its own motion threshold from localizationScore and call it protocol compliance.
Nav2 provides a complementary navigation view. Its AMCL component localizes a robot against a static map, and the navigation system relies on named coordinate frames and the transform relationship between them. A map server loads the map used by the localization and planning stack. Those components may be healthy individually while fleet control still holds a route for the wrong map identity.
Treat map identity as part of the pose
A pose is only meaningful with its frame and map. Record mapId with every fleet-visible position and traffic update. If the vehicle changes floors through an elevator, the new pose must reference the destination map rather than reusing the departure map's coordinates.
Track mapVersion separately from mapId. A site may retain the same logical area name while changing walls, lanes, docking points, or traffic geometry. The map ID can remain familiar even though a route planned against the previous version is obsolete.
Use a stable, human-readable descriptor for operators, but drive machine checks from exact identifiers. Names such as "warehouse" or "level two" are too ambiguous when several revisions or coordinate calibrations exist.
Define the handoff boundary
Specify where the robot leaves the old map and where it is allowed to appear on the new one. Elevators, transfer corridors, turntables, and outdoor-to-indoor portals need an explicit boundary model. The handoff should state which control process owns the robot while no normal map is authoritative.
Stop or constrain motion before changing the active map. Preserve the last trustworthy pose and its map identity as historical evidence; do not continue publishing it as a current pose after the robot has left that frame.
Mark the transition as an operational state. Operators should see that the robot is waiting for a map, transform, localization, or traffic-plan update. A generic "paused" label hides the component that must recover.
Confirm the active map version
At the destination, verify that exactly the intended map version is active for the logical map. VDA 5050 map status distinguishes enabled from disabled map versions. A vehicle should not silently switch to a convenient local copy when fleet control expects another revision.
Compare the vehicle's active map identity with the fleet map, traffic graph, zone set, and mission target. A map can load successfully while its traffic nodes or keep-out zones belong to an earlier release. Treat the complete map package as a versioned deployment artifact.
Record the map file checksum or deployment release where the navigation platform supports it. The protocol's mapVersion remains the fleet-facing identity, while a checksum can help prove that two robots labeled with the same version actually loaded the same content.
Localize in the correct frame
Load or activate the intended localization configuration, then acquire a pose in that map. With a static-map localization system such as AMCL, verify the expected map and coordinate-frame names and confirm that the required transforms are current.
Do not accept a pose merely because x, y, and theta are finite. Require the vehicle's trusted localization state for the active map. A stale transform can produce smooth coordinates after the underlying map changed.
Use localizationScore only as supporting telemetry where provided. It can show relative confidence trends and assist diagnostics, but VDA 5050 identifies it as logging and visualization information. The localized flag and vehicle error state carry the motion-relevant trust decision.
Check that pose timestamps and transforms are current. A valid localization result from before the map activation does not prove the robot is localized on the new map. Reject messages whose map identity, timestamp, or transform lineage belongs to the previous context.
Invalidate stale routes and reservations
When mapId or mapVersion changes, invalidate any route, itinerary, docking approach, or traffic reservation computed in the old context unless the integration has an explicit, verified translation. Do not reinterpret old coordinates under the new map.
Clear or retire the old plan using the traffic framework's supported state transition. Preserve its identity in the audit trail so a delayed progress or completion message cannot attach to the new mission.
Build a new route from the newly localized pose to the current mission target. Confirm that the target exists on the active map version and that all required lanes, zones, elevators, and docking interfaces are enabled.
If a mission spans maps, represent the transfer as distinct route segments joined by a controlled handoff. This makes it possible to retire the departure segment before authorizing the destination segment without pretending one coordinate frame covers both.
Use one release gate
A robust release sequence is MAP ID VERIFIED, MAP VERSION ENABLED, LOCALIZED TRUE, FRAME TRANSFORMS CURRENT, OLD PLAN RETIRED, NEW TRAFFIC PLAN ACCEPTED, then MOTION RELEASED. Each condition should have a machine-readable result and operator-visible reason.
Keep max motion at zero while any required condition is unknown. Unknown is not a temporary form of success. If the adapter loses the fleet connection during handoff, remain in the stopped transition state and reconcile the same map and plan identities after reconnecting.
Make the release idempotent. Repeating the verification after a timeout should reach the same state, not create duplicate routes or multiple destination-map entries. Correlate the handoff, localization attempt, and new plan under stable identifiers.
Handle disagreement explicitly
If the robot reports localized=true on a map different from the fleet's expected map, stop and reconcile the map assignment. If the map IDs agree but versions differ, treat the route as incompatible until the deployment records prove otherwise.
If the map and version agree but the transform tree is stale or incomplete, keep motion held. A trustworthy vehicle position requires the navigation frames used by planning and control to be internally consistent.
If localization repeatedly fails, preserve the active map and handoff state while requesting controlled recovery. Manual pose initialization may be appropriate on some systems, but it should be authorized, recorded, and verified before automatic driving resumes.
Do not automatically roll back to an older map merely to clear the error. A rollback changes operational geometry and must use the site's controlled deployment process. Fleet control, vehicle configuration, and traffic data should move together.
Test map transitions as failure scenarios
Commissioning should cover normal elevator travel, a deliberate wrong map ID, a wrong version with the same map ID, delayed map activation, stale transforms, localization false, adapter restart, vehicle restart, traffic disconnection, and a delayed message from the old plan.
Test a map update that moves a wall, lane, or dock. Verify that the old route is rejected, the new route is calculated against the updated geometry, and the robot remains stopped until localization and traffic state are both current.
Test return travel as well as outbound travel. A handoff that works from floor one to floor two can fail in reverse if the entry nodes, elevator poses, or map activation sequence differ.
For every case, preserve map ID, map version, map status, pose and timestamp, localized state, localization telemetry, transform freshness, old and new plan identities, route result, operator actions, and release time. Retest after map surveys, elevator calibration, coordinate-frame changes, traffic-graph edits, navigation software updates, or localization tuning.
Map handoffs are controlled changes of spatial truth. Motion should resume only when the robot's trusted pose, the active map version, and the fleet's traffic plan refer to the same physical world.
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
VDA 5050, official state JSON schema:
https://github.com/VDA5050/VDA5050/blob/main/json_schemas/state.schema
Nav2, official AMCL configuration documentation:
https://docs.nav2.org/rolling/configuration_and_development/configuration_guide/others/configuring_amcl/
Nav2, official Map Server configuration documentation:
https://docs.nav2.org/rolling/configuration_and_development/configuration_guide/core_servers/map_server/configuring_map_server/
Illustration note: The accompanying image is an AI-generated engineering concept of AMR map-version and localization handoff control. It is not a measured robot test, deployed map, or safety certification.