A computer-implemented method for optimizing sensing capabilities of an Artificial Intelligence, Al, enabled roaming robotic device comprising: receiving data , at a control system having a computer , from the robotic device, the robotic device operating at a site using a policy received from the control system, the policy includes operating actions for the robotic device, the data being generated from sensors on the robotic device in response to a sensing task being performed by the robotic device, wherein the robotic device is a roaming edge device, RED located at an edge of communications for roaming edge devices at the site; analyzing the received data using the control system for determining when the received data meets a threshold for determining quality of the data, in response to the receiving of the data from the robotic device at the site; the analysis including generating an Al model based on a sample set of data, the analysis also including vector representation of the received data as input data, and the analysis includes comparing the vector representation of the input data to the model; determining whether the received data does not meet the threshold for determining quality based on the analysis including the comparing of the vector representation of the input to the model; in response to the received data at the control system not meeting the threshold for determining quality, the robotic device communicating with the control system to collaborate in updating the policy to choose a next action; creating an out of distribution detector, OOD, from the sample set of data to determine a distance between the distribution of data in the sample set of data, and the input data; and using the distance in the determining when the received data does not meet the threshold for determining quality. receiving data , at a control system having a computer , from the robotic device, the robotic device operating at a site using a policy received from the control system, the policy includes operating actions for the robotic device, the data being generated from sensors on the robotic device in response to a sensing task being performed by the robotic device, wherein the robotic device is a roaming edge device, RED located at an edge of communications for roaming edge devices at the site; analyzing the received data using the control system for determining when the received data meets a threshold for determining quality of the data, in response to the receiving of the data from the robotic device at the site; the analysis including generating an Al model based on a sample set of data, the analysis also including vector representation of the received data as input data, and the analysis includes comparing the vector representation of the input data to the model; determining whether the received data does not meet the threshold for determining quality based on the analysis including the comparing of the vector representation of the input to the model; in response to the received data at the control system not meeting the threshold for determining quality, the robotic device communicating with the control system to collaborate in updating the policy to choose a next action; creating an out of distribution detector, OOD, from the sample set of data to determine a distance between the distribution of data in the sample set of data, and the input data; and using the distance in the determining when the received data does not meet the threshold for determining quality. <EOS>