This invention discloses a
robot control method, an automatic cleaning device, and a storage medium. In this embodiment, after acquiring multiple frames of
point cloud data collected by a line
laser sensor, the automatic cleaning device first determines the object category corresponding to each
point cloud dataset based on the
point cloud features of the point cloud dataset within a preset distance range in each frame. Then, based on the object category of each point cloud dataset in each frame, it determines the target object category corresponding to each environmental object. Finally, it controls the automatic cleaning device to avoid obstacles based on the target object category. This invention, by determining the object category of the point cloud dataset within a preset distance range in each frame and determining the target object category based on the object category of each point cloud dataset in all frames, avoids the situation of identifying obstacles based solely on a
single frame, thus improving the accuracy of obstacle identification.