This application provides a method, apparatus, electronic device, and storage medium for location reliability
processing. The method includes: first, acquiring first
point cloud data; then, filtering the first
point cloud data to reduce the number of points while maintaining shape features, to obtain second
point cloud data;
smoothing a first grid map to eliminate
noise, to obtain a second grid map; then, calculating the matching degree of each
current point based on the second point
cloud data and the second grid map; obtaining the actual matching degree of each
current point by multiplying by a preset coefficient, and calculating the
root mean square error to obtain a second
laser matching degree; finally, using the second
laser matching degree as the
robot's location reliability. This application can obtain more accurate location reliability.