F
Member
Switching a mobile robot from autonomous navigation to teleoperation is often presented as a user-interface action. At the motion boundary, it is an authority transition. An operator pressing “take control” does not automatically remove commands already queued in a bridge, executor or controller interface.
Consider a hypothetical recovery sequence: navigation is paused, the operator starts a slow reverse, and a delayed forward command arrives from the previous owner. Every individual message can be well-formed. The failure is that the receiver lacks a clear rule for which commands still have authority.
### A priority mux answers only part of the question
A command multiplexer can select among active inputs. That does not necessarily invalidate commands buffered upstream or downstream, establish who may resume autonomy, or distinguish a fresh operator session from an old one after reconnection.
Similarly, a recently received message is not necessarily a recently generated intention. A bridge can deliver an old command now. A source heartbeat can remain healthy while its command-producing task is stuck. Freshness, source health and authority should therefore be separate checks rather than different names for one timeout.
This is an application-level design discussion, not a substitute for the robot's independent protective functions or a proposal to bypass an existing stop circuit.
### Make the transition observable
One possible design is an explicit authority state machine: autonomous, handover pending, teleoperated and recovery pending. A designated arbiter issues a new session or generation identifier whenever ownership changes. Commands carry that identifier, and the final command-acceptance boundary rejects obsolete generations.
The identifier is not authentication by itself. Source identity and permissions still need enforcement. Nor does it help if a downstream component strips the identifier and buffers raw velocities that remain executable after the transition. The design has to account for the whole path to the component applying the reference.
A handover record should connect:
- The requested owner and the owner actually granted control.
- The old and new authority generations.
- The last command accepted from the previous owner.
- The transition acknowledgement and the first command accepted from the new owner.
- The robot's measured motion and any rejection reason at the acceptance boundary.
Do not infer event ordering solely from wall-clock timestamps on different computers. Include sequence relationships or acknowledgements that establish which transition preceded which accepted command.
### Test the awkward boundaries
In a controlled test environment, inject delayed delivery, duplicate commands and source reconnection around the handover. Restart the bridge without restarting the arbiter. Then restart the arbiter and check whether an old session can accidentally become valid again. Test the operator releasing control while autonomy still holds an unfinished route.
The acceptance criterion is not merely “the dashboard changed colour.” Old-owner commands must no longer be accepted, the transition behaviour must match the approved control design, and resumption must require the intended explicit conditions. A stop request being received is not the same as the robot having reached its required stopped state.
A stop-and-acknowledge handover is simpler to reason about but adds interruption. A continuous transfer may improve usability, yet needs careful reference continuity, bounded timing and substantially stronger validation. A shared-control mode is a third design, not an accidental compromise between the first two.
**Open engineering question:** where is your final authority check located, and what test demonstrates that a command from before the handover cannot move the robot after control has been granted to someone else?
Consider a hypothetical recovery sequence: navigation is paused, the operator starts a slow reverse, and a delayed forward command arrives from the previous owner. Every individual message can be well-formed. The failure is that the receiver lacks a clear rule for which commands still have authority.
### A priority mux answers only part of the question
A command multiplexer can select among active inputs. That does not necessarily invalidate commands buffered upstream or downstream, establish who may resume autonomy, or distinguish a fresh operator session from an old one after reconnection.
Similarly, a recently received message is not necessarily a recently generated intention. A bridge can deliver an old command now. A source heartbeat can remain healthy while its command-producing task is stuck. Freshness, source health and authority should therefore be separate checks rather than different names for one timeout.
This is an application-level design discussion, not a substitute for the robot's independent protective functions or a proposal to bypass an existing stop circuit.
### Make the transition observable
One possible design is an explicit authority state machine: autonomous, handover pending, teleoperated and recovery pending. A designated arbiter issues a new session or generation identifier whenever ownership changes. Commands carry that identifier, and the final command-acceptance boundary rejects obsolete generations.
The identifier is not authentication by itself. Source identity and permissions still need enforcement. Nor does it help if a downstream component strips the identifier and buffers raw velocities that remain executable after the transition. The design has to account for the whole path to the component applying the reference.
A handover record should connect:
- The requested owner and the owner actually granted control.
- The old and new authority generations.
- The last command accepted from the previous owner.
- The transition acknowledgement and the first command accepted from the new owner.
- The robot's measured motion and any rejection reason at the acceptance boundary.
Do not infer event ordering solely from wall-clock timestamps on different computers. Include sequence relationships or acknowledgements that establish which transition preceded which accepted command.
### Test the awkward boundaries
In a controlled test environment, inject delayed delivery, duplicate commands and source reconnection around the handover. Restart the bridge without restarting the arbiter. Then restart the arbiter and check whether an old session can accidentally become valid again. Test the operator releasing control while autonomy still holds an unfinished route.
The acceptance criterion is not merely “the dashboard changed colour.” Old-owner commands must no longer be accepted, the transition behaviour must match the approved control design, and resumption must require the intended explicit conditions. A stop request being received is not the same as the robot having reached its required stopped state.
A stop-and-acknowledge handover is simpler to reason about but adds interruption. A continuous transfer may improve usability, yet needs careful reference continuity, bounded timing and substantially stronger validation. A shared-control mode is a third design, not an accidental compromise between the first two.
**Open engineering question:** where is your final authority check located, and what test demonstrates that a command from before the handover cannot move the robot after control has been granted to someone else?