The invention discloses a mine unmanned ground point
elimination method based on a ros
system, and the method comprises the steps: creating a python script, importing rospy, numba and numpy
library files, and setting global variables which comprise the discrimination of
voxel grids, the limitation of the width and height of a
point cloud on a horizontal plane, the limitation of the maximum height of the
point cloud in a vertical direction, and a
height difference threshold value used when a ground point is removed; creating a
point cloud subscription function, setting corresponding subscription parameters to read point
cloud data, converting the point
cloud data into a numpy array, and reserving points in the width and height range on the horizontal plane and the maximum height range in the vertical direction; creating a ground point rejection function to calculate a difference value between the maximum height and the minimum height of the point cloud in each
voxel, and removing ground points in combination with a
height difference threshold value; using Numba to accelerate the ground point rejection function, and setting corresponding acceleration parameters; and creating a point cloud publishing function, and setting corresponding publishing parameters to publish the remaining point clouds to a new ros topic. The method is low in complexity, further acceleration is carried out based on Numba, the method can be operated on underground equipment with limited performance and seamlessly accessed to a ros
system, and the method has
high potential commercial value.