Management of autonomous mobile device disconnections
An autonomous mobile device includes a processor to establish a Transmission Control Protocol Robot Operating System (TCPROS) connection over a Protocol Data Unit (PDU) session between the AMD and a Multi-Access Edge Computing (MEC) device that hosts an AMD controller in a cellular network, from the AMD the AMD controller. The processor may perform a mission in accordance with the mission plan while the AMD is connected to the AMD controller via the TCPROS connection.
1 . An autonomous mobile device (AMD) comprising:
a processor configured to:
establish a Protocol Data Unit (PDU) session between the AMD and a Multi-Access Edge Computing (MEC) device that hosts an AMD controller in a cellular network, from the AMD to the AMD controller;
establish a Transmission Control Protocol Robot Operating System (TCPROS) connection, over the PDU session established between the AMD and the MEC device that hosts the AMD controller in the cellular network, from the AMD to the AMD controller; and
perform a mission in accordance with the mission plan while the AMD is connected to the AMD controller via the TCPROS connection, wherein when performing the mission, the processor is further configured to:
when the AMD loses the TCPROS connection to the AMD controller:
obtain disconnection information that includes a first snapshot of a current state of the AMD;
store the disconnection information within the AMD;
attempt to establish a second TCPROS connection from the AMD to the AMD controller;
when the attempt to establish the second TCPROS connection is successful, send the stored disconnection information to the AMD controller over the second TCPROS connection; and
when the attempt to establish the second TCPROS connection fails, cause the AMD to either move to a new location different from a current location of the AMD or halt the mission.
2 . The AMD of claim 1 , wherein the processor is further configured to:
receive the mission plan from the AMD controller over the TCPROS connection; and
store the mission plan in a memory.
3 . The AMD of claim 1 , wherein when the AMD loses the TCPROS connection to the AMD controller, the processor is further configured to:
retrace a travel path of the AMD to return to a previous checkpoint on the travel path.
4 . The AMD of claim 3 , wherein the new location includes another checkpoint that precedes the previous checkpoint on the travel path.
5 . The AMD of claim 1 , wherein when the attempt to establish the second TCPROS connection is successful, the processor is further configured to:
obtain a second snapshot of a current state of the AMD; and
when sending the disconnection information over the second TCPROS connection, send the second snapshot along with the disconnection information to the AMD controller over the second TCPROS connection.
6 . The AMD of claim 5 , wherein when the attempt to establish the second TCPROS connection is successful, the processor is further configured to:
after sending the disconnection information and the second snapshot, receive an updated mission plan from the AMD controller over the second TCPROS connection.
7 . The AMD of claim 6 , further comprising a memory that includes:
a map that indicates dead zones for the AMD to avoid in its travel paths.
8 . The AMD of claim 7 , wherein when receiving the updated mission plan, the processor is further configured to:
receive, over the second TCPROS connection, an updated map to replace the map.
9 . The AMD of claim 1 , further comprising a Robot Operating System (ROS).
10 . The AMD of claim 1 , wherein the MEC device includes a User Plane Function (UPF) that provides a termination point for the PDU session.
11 . A method comprising:
establishing a Protocol Data Unit (PDU) session between an Autonomous Mobile Device (AMD) and a Multi-Access Edge Computing (MEC) device that hosts an AMD controller in a cellular network, from the AMD to the AMD controller;
establishing a Transmission Control Protocol Robot Operating System (TCPROS) connection, over the PDU session established between the AMD and the MEC device that hosts the AMD controller in the cellular network, from the AMD to the AMD controller; and
performing a mission in accordance with a mission plan while the AMD is connected to the AMD controller via the TCPROS connection, wherein performing the mission comprises:
when the AMD loses the TCPROS connection to the AMD controller:
obtaining disconnection information that includes a first snapshot of a current state of the AMD;
storing the disconnection information within the AMD;
attempting to establish a second TCPROS connection from the AMD to the AMD controller;
when the attempt to establish the second TCPROS connection is successful, sending the stored disconnection information to the AMD controller over the second TCPROS connection; and
when the attempt to establish the second TCPROS fails, causing the AMD to either move to a new location different from a current location of the AMD or halt the mission.
12 . The method of claim 11 , further comprising:
receiving the mission plan from the AMD controller over the TCPROS connection; and
storing the mission plan in a memory.
13 . The method of claim 11 , further comprising:
when the AMD loses the TCPROS connection to the AMD controller, retracing a travel path of the AMD to return to a previous checkpoint on the travel path.
14 . The method of claim 13 , wherein the new location includes another checkpoint that precedes the previous checkpoint on the travel path.
15 . The method of claim 11 , further comprising:
when the attempt to establish the second TCPROS connection is successful:
obtaining a second snapshot of a current state of the AMD,
wherein sending the disconnection information includes sending the second snapshot along with the disconnection information to the AMD controller over the second TCPROS connection.
16 . The method of claim 15 , further comprising:
when the attempt to establish the second TCPROS connection is successful, after sending the disconnection information and the second snapshot, receiving an updated mission plan from the AMD controller over the second TCPROS connection.
17 . The method of claim 16 , further comprising:
receiving, over the TCPROS connection, a map that indicates dead zones for the AMD to avoid in its travel paths, and
storing the map in a memory.
18 . The method of claim 17 , wherein receiving the updated mission plan includes receiving, over the second TCPROS connection, an updated map to replace the map.
19 . The method of claim 11 , wherein the AMD controller comprises a Robot Operating System (ROS).
20 . A non-transitory computer-readable medium comprising computer-executable instructions, which when executed by one or more processors included in an autonomous mobile device (AMD), cause the one or more processors to:
establish a Protocol Data Unit (PDU) session between the AMD and a Multi-Access Edge Computing (MEC) device that hosts an AMD controller in a cellular network, from the AMD to the AMD controller;
establish a Transmission Control Protocol Robot Operating System (TCPROS) connection, over the PDU session established between the AMD and the MEC device that hosts the AMD controller in the cellular network, from the AMD to the AMD controller; and
perform a mission in accordance with a mission plan while the AMD is connected to the AMD controller via the TCPROS connection, wherein when performing the mission, the one or more processors are further to:
when the AMD loses the TCPROS connection to the AMD controller:
obtain disconnection information that includes a first snapshot of a current state of the AMD;
store the disconnection information within the AMD;
attempt to establish a second TCPROS connection from the AMD to the AMD controller;
when the attempt to establish the second TCPROS connection is successful, send the stored disconnection information to the AMD controller over the second TCPROS connection; and
when the attempt to establish the second TCPROS connection fails, cause the AMD to either move to a new location different from a current location of the AMD or halt the mission.