Real-time ground point cloud detection method and device based on gravity vector and medium
Through the real-time ground point cloud detection method based on gravity vector, the accuracy problem caused by wall interference in the indoor ground detection of the SLAM system is solved, achieving higher detection accuracy and robustness, ensuring that the system can be used in various environments. stable operation under conditions.
Patent Information
- Application Number
- CN202410730243.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing SLAM systems are prone to reduced accuracy due to interference from regular walls in indoor ground detection, and the complexity of processing point cloud data makes it difficult to maintain real-time performance.
A real-time ground point cloud detection method based on gravity vector is adopted. Through radar data collection, distortion processing, establishment of gravity coordinate system, point cloud screening and iterative fitting of ground plane equations, gravity vector characteristics are used to avoid wall interference and improve detection accuracy.
Effectively remove noise, improve the accuracy and robustness of ground detection, ensure stable operation in various environments, and improve map construction and positioning accuracy.
Smart Images

Figure CN118735992A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of point cloud processing, and in particular to a real-time ground point cloud detection method, device and medium based on gravity vector. Background Art
[0002] SLAM (Simultaneous Localization and Mapping), that is, simultaneous positioning and map construction, is an important technology in the field of robotics. In the SLAM system, ground detection is an important preprocessing step. Accurate ground detection can help the system better understand the environment, improve the accuracy of map construction and the positioning accuracy of the robot. In recent years, with the rapid development of LiDAR technology, more and more SLAM systems have begun to use point cloud data for ground detection. However, ground detection technology faces a series of challenges, such as the need to improve detection accuracy, the need to process more point cloud data, and the complexity of the algorithm will increase, making it difficult to maintain real-time performance in practical applications. In addition, due to the interference of regular walls in the room, existing methods are prone to misidentify them as the ground, thereby reducing the accuracy of the algorithm. Summary of the invention
[0003] The purpose of the present invention is to provide a real-time ground point cloud detection method, device and medium based on gravity vector, so as to accurately identify the ground plane based on the gravity vector.
[0004] The purpose of the present invention can be achieved by the following technical solutions:
[0005] A real-time ground point cloud detection method based on gravity vector comprises the following steps:
[0006] S1, collects point cloud data of surrounding roads based on radar;
[0007] S2, establish the radar coordinate system and perform dedistortion processing on the point cloud data;
[0008] S3, determines the gravity direction based on the inertial measurement unit, establishes the gravity coordinate system, and updates the gravity vector in real time according to the posture transformation between each frame of radar data output by the odometer;
[0009] S4, determining the posture transformation relationship between the gravity coordinate system and the radar coordinate system according to the value of the gravity vector in the radar coordinate system, and projecting the point cloud of the radar coordinate system into the gravity coordinate system;
[0010] S5, traversing all point cloud data, and performing point cloud screening based on the comparison result between the point cloud coordinates in the gravity coordinate system and the distance threshold;
[0011] S6, iteratively fits the plane equation of the ground based on the screened point cloud.
[0012] The step S2 comprises the following steps:
[0013] S21, establish the radar coordinate system with the laser emission point as the origin, the front of the car where the radar is installed as the positive direction of the X axis, and the left side of the car as the positive direction of the Y axis;
[0014] S22, using the angular velocity and acceleration data of the inertial measurement unit, performing forward integration to obtain a pose transformation of a frame of point cloud;
[0015] S23, assuming that the car moves at a uniform speed within one frame, use time interpolation to perform distortion compensation on each point, project each point to the initial moment, and obtain a frame of dedistorted point cloud.
[0016] In step S3, when the gravity vector is updated in real time, the gravity vector is represented on the manifold S 2 Estimation is performed on the manifold S 2 The updating process of the gravity vector g on the surface is similar to the rotation process of the three-dimensional vector: the two-dimensional vector of the tangent plane is obtained according to the posture transformation between the front and rear frame radar data output by the front-end odometer of the car, the two-dimensional vector of the tangent plane is mapped to the three-dimensional space, and the mapped vector is regarded as the rotation vector. The rotation vector is remapped to the manifold SO(3) through exponential mapping, and SO(3) is applied to the gravity vector g to obtain the updated gravity vector
[0017] The step S3 is specifically as follows: suppose the manifold S 2 The variable on the surface is g, the variable on the tangent plane is δg, R g (δg) represents the rotation vector after mapping the variable δg on the tangent plane to the three-dimensional space;
[0018] Let gravity vector g = [x, y, z] T , the update process of g is expressed as:
[0019]
[0020] in, Represents the manifold S 2 Exp represents the natural exponential function.
[0021] The calculation method of the rotation vector is:
[0022] The rotation vector R g (δg) is considered as a 3×2 matrix B g Multiply δg on the left, as shown below:
[0023]
[0024] Among them, B g Column vector of Satisfies g⊥b1, g⊥b2, b1⊥b2, that is, B g The plane spanned by the two column vectors satisfies the properties of the tangent plane of the point on the unit sphere in the geometric space;
[0025] B g The result of δg is regarded as a linear combination of b1 and b2, and the mapped rotation vector R g (δg) is perpendicular to g, let δg = [δu, δv] T , get the mapped rotation vector R g The modulus of (δg) is:
[0026]
[0027] According to R g (δg)=δub1+δvb2, calculated to get B g Then, the rotation vector R g The rotation direction corresponding to (δg) is uniquely determined by the direction of δg.
[0028] The step S4 comprises the following steps:
[0029] S41, calculate the rotation amount:
[0030] Calculate the gravity vector L in the radar coordinate system g : Among them, B represents the IMU coordinate system, L represents the lidar coordinate system, and W represents the world coordinate system. 1 R J Represents the rotation matrix from the J coordinate system to the I coordinate system;
[0031] set up L g=[x L ,y L , z L ] T , the gravity vector is expressed in the gravity coordinate system as G g = [0, 0, 1] T , calculate the rotation amount according to the following formula G R L :
[0032]
[0033] Where Exp represents the natural exponential mapping function;
[0034] S42, the origin of the gravity coordinate system and the radar coordinate system has the same three-dimensional coordinates in the world coordinate system, and the two coordinate systems only differ by the rotation amount. G RL , based on the rotation G R L Get the transformation matrix from L system to G system in homogeneous coordinates:
[0035]
[0036] Among them, 03 represents a 3×1 zero matrix;
[0037] S43, set G T L The corresponding three-dimensional coordinate linear transformation is Transformation-based Project the point cloud of the radar coordinate system into the gravity coordinate system, where: represents the point cloud coordinates in the radar coordinate system, Represents the point cloud coordinates in the gravity coordinate system.
[0038] The step S5 comprises the following steps:
[0039] S51, accumulate point clouds in multiple consecutive point cloud frames:
[0040] Assume that the number of accumulated point cloud frames is N, and the LiDAR coordinate system of the i-th point cloud frame is represented by L i , the gravity coordinate system is represented by G i , the IMU coordinate system is represented by B i , the point cloud accumulated by multiple consecutive point cloud frames is calculated by the following formula
[0041]
[0042] Where W represents the world coordinate system, represents the transformation matrix from the J coordinate system to the I coordinate system, Represents the point cloud in the laser radar coordinate system;
[0043] S52, screening ground candidate point clouds from the accumulated point clouds as initialization ground point clouds:
[0044] Preset the threshold z in the z-axis direction th , take the point cloud smaller than the threshold as the candidate ground point, and get the initialized ground candidate point cloud
[0045]
[0046] The step S6 is specifically as follows:
[0047] S61, plane model calculation: randomly select three non-coplanar points in the screened point cloud, and use the coordinates of the three points to fit the plane model;
[0048] S62, interior point check: for other points in a frame of point cloud, calculate their distance to the plane model, and if the distance is less than the set threshold, it is judged as an interior point;
[0049] S63, model reconstruction and error evaluation: using the interior points to evaluate the plane model and calculate the error, wherein the error includes the root mean square error of the distance from the point to the plane and the cosine similarity error between the normal vector of the plane model and the gravity vector;
[0050] S64, repeat iteration: repeat the above steps S61-S63 until the preset number of iterations is met, and use the plane model with the smallest error as the final fitted plane equation output.
[0051] A real-time ground point cloud detection device based on gravity vector includes a memory, a processor, and a program stored in the memory. When the processor executes the program, the method described above is implemented.
[0052] A storage medium stores a program, which implements the method described above when executed.
[0053] Compared with the prior art, the present invention has the following beneficial effects:
[0054] (1) The present invention utilizes the characteristics of the gravity vector to avoid the possibility of identifying a regular wall surface as a ground point cloud, and has strong robustness to interference from regular planes such as walls indoors.
[0055] (2) The present invention projects the point cloud into the gravity coordinate system and selects candidate ground points according to the threshold, which can effectively remove most noise points and improve the accuracy of subsequent plane model fitting.
[0056] (3) The present invention randomly selects candidate ground points when performing plane fitting and iteratively solves the plane equation, which can effectively improve the accuracy of the result.
[0057] (4) Based on the directional characteristics of the gravity vector, the present invention can operate stably in various environments and conditions with good stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION
[0059] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0060] This embodiment provides a real-time ground point cloud detection method based on gravity vector, such as Figure 1 As shown, the following steps are included:
[0061] S1, start the radar in the car and collect point cloud data of the surrounding roads based on the radar.
[0062] S2, establish the radar coordinate system and perform dedistortion processing on the point cloud data.
[0063] Step S2 includes the following steps:
[0064] S21, establish the radar coordinate system with the laser emission point as the origin, the front of the car where the radar is installed as the positive direction of the X axis, and the left side of the car as the positive direction of the Y axis;
[0065] S22, using the angular velocity and acceleration data of the inertial measurement unit (IMU), forward integration is performed to obtain the pose transformation of a frame of point cloud;
[0066] S23, since the time is very short, the car is considered to move at a uniform speed within one frame. Based on this assumption, time interpolation is used to compensate for the distortion of each point, and each point is projected to the initial moment to obtain a frame of dedistorted point cloud.
[0067] S3 determines the direction of gravity based on the inertial measurement unit (IMU), establishes a gravity coordinate system, and updates the gravity vector in real time according to the posture transformation between each frame of radar data output by the odometer.
[0068] For an irregular point cloud, a common method for extracting the ground is to extract a plane with the largest coverage in the point cloud. However, this extraction method becomes infeasible indoors due to interference from walls. At the same time, the time complexity of extracting the largest plane on each point cloud frame is very high, so it is necessary to filter out points in the point cloud that are determined not to belong to the ground as much as possible before extracting the ground plane. Since the point cloud is irregular, it is difficult to establish coordinate constraints to filter out the point cloud. Therefore, it is necessary to first align the point cloud to the gravity coordinate system and establish coordinate constraints in the gravity direction. In order to achieve the effect of gravity alignment, it is necessary to estimate the gravity vector in real time during the SLAM process.
[0069] According to the pose transformation between each frame of radar data output by the front-end odometer of the car, the gravity vector is updated in real time. The dimension of the gravity vector is 3, but the actual adjustable degree of freedom is 2. Therefore, the gravity vector can be represented on the manifold S 2 Using the manifold S 2 After the representation, the optimization process of the gravity vector is closed: the gravity vector before and after optimization is always on the manifold S 2 On. Manifold S 2 corresponds to the unit sphere, on which there is no natural group operation, so S 2It is not possible to form a Lie group similar to the rotation quantity. But by 2 Addition is defined above Sum and Subtraction Ability to update variables on the manifold.
[0070] On the manifold S 2 The updating process of the gravity vector g on the surface is similar to the rotation process of the three-dimensional vector: the two-dimensional vector of the tangent plane is obtained according to the posture transformation between the front and rear frame radar data output by the front-end odometer of the car, the two-dimensional vector of the tangent plane is mapped to the three-dimensional space, and the mapped vector is regarded as the rotation vector. The rotation vector is remapped to the manifold SO(3) through exponential mapping, and SO(3) is applied to the gravity vector g to obtain the updated gravity vector
[0071] Specifically, let the manifold S 2 The variable on the surface is g, the variable on the tangent plane is δg, R g (δg) represents the rotation vector after mapping the variable δg on the tangent plane to the three-dimensional space;
[0072] Let gravity vector g = [x, y, z] T , the update process of g is expressed as:
[0073]
[0074] in, Represents the manifold S 2 Exp represents the natural exponential function.
[0075] In this embodiment, the calculation method of the rotation vector refers to the method proposed by MTK (Manifold Toolkit), which is as follows:
[0076] The rotation vector R g (δg) is considered as a 3×2 matrix B g Multiply δg on the left, as shown below:
[0077]
[0078] Among them, B g Column vector of Satisfies g⊥b1, g⊥b2, b1⊥b2, that is, B g The plane spanned by the two column vectors satisfies the properties of the tangent plane of the point on the unit sphere in the geometric space;
[0079] B g The result of δg is regarded as a linear combination of b1 and b2, and the mapped rotation vector R g (δg) is perpendicular to g, let δg = [δu, δv]T , get the mapped rotation vector R g The modulus of (δg) is:
[0080]
[0081] According to R g (δg)=δub1+δvb2, calculated to get B g Then, the rotation vector R g The rotation direction corresponding to (δg) is uniquely determined by the direction of δg. Therefore, δg uniquely determines the rotation direction and rotation angle of g update.
[0082] According to the addition field, we can define the subtraction on the manifold s2
[0083]
[0084] After completing the definition of the update of the gravity vector, the update of the gravity vector can be integrated into the front-end odometer, so that the gravity vector is output in real time while the front-end odometer is updating its status.
[0085] S4, according to the value of the gravity vector in the radar coordinate system, determine the posture transformation relationship between the gravity coordinate system and the radar coordinate system, and project the point cloud of the radar coordinate system into the gravity coordinate system.
[0086] After the real-time estimation of the gravity vector is completed at the front end of the system, the point cloud needs to be transferred from the lidar coordinate system to the gravity coordinate system. Convert to The three-dimensional coordinates of the origin of the gravity coordinate system and the lidar coordinate system in the world coordinate system are the same, so the two coordinate systems only differ by a rotation. G R L (Rotation matrix from the lidar coordinate system L to the gravity coordinate system G).
[0087] Specifically, step S4 includes the following steps:
[0088] S41, calculate the rotation amount:
[0089] Calculate the gravity vector representation in the radar coordinate system L g: Among them, B represents the IMU coordinate system, L represents the lidar coordinate system, and W represents the world coordinate system. I R J Represents the rotation matrix from the J coordinate system to the I coordinate system.
[0090] set up L g=[x L ,y L , zL ] T , the gravity vector is expressed in the gravity coordinate system as G g = [0, 0, 1] T , calculate the rotation amount according to the following formula G R L :
[0091]
[0092] Among them, Exp represents the natural exponential mapping function, and atan2(*) represents the binary inverse tangent function.
[0093] S42, the origin of the gravity coordinate system and the radar coordinate system has the same three-dimensional coordinates in the world coordinate system, and the two coordinate systems only differ by the rotation amount. G R L , based on the rotation G R L Get the transformation matrix from L system to G system in homogeneous coordinates:
[0094]
[0095] Among them, 03 represents a 3×1 zero matrix.
[0096] S43, set G T L The corresponding three-dimensional coordinate linear transformation is Transformation-based Project the point cloud of the radar coordinate system into the gravity coordinate system, where: represents the point cloud coordinates in the radar coordinate system, Represents the point cloud coordinates in the gravity coordinate system.
[0097] S5, traverse all point cloud data, and perform point cloud screening based on the comparison result between the point cloud coordinates in the gravity coordinate system and the distance threshold.
[0098] The purpose of converting the point cloud to the gravity coordinate system is to find candidate point clouds of the ground point cloud in the original point cloud. Since the point cloud has been converted to the gravity coordinate system, the threshold z in the z-axis direction can be pre-set. th , and the points smaller than the threshold are taken as candidate ground points. Since there may be many noise points in the ground points in only one point cloud frame, this embodiment accumulates point clouds in a plurality of consecutive point cloud frames in the initialization stage, and then selects the ground candidate point clouds from the accumulated point clouds as the initialization ground point clouds.
[0099] Step S5 includes the following steps:
[0100] S51, accumulate point clouds in multiple consecutive point cloud frames:
[0101] Assume that the number of accumulated point cloud frames is N, and the LiDAR coordinate system of the i-th point cloud frame is represented by L i , the gravity coordinate system is represented by G i , the IMU coordinate system is represented by B i , the point cloud accumulated by multiple consecutive point cloud frames is calculated by the following formula
[0102]
[0103] Where W represents the world coordinate system, represents the transformation matrix from the J coordinate system to the I coordinate system, Represents the point cloud in the laser radar coordinate system;
[0104] S52, screening ground candidate point clouds from the accumulated point clouds as initialization ground point clouds:
[0105] Preset the threshold z in the z-axis direction th , take the point cloud smaller than the threshold as the candidate ground point, and get the initialized ground candidate point cloud
[0106]
[0107] S6, iteratively fits the plane equation of the ground based on the screened point cloud.
[0108] Since the motion of the system in the initial N frames (N is set to 10 in this embodiment, corresponding to 1 second) is not obvious, the ground can be approximately regarded as a plane equation that satisfies Ax+By+Cz+D=0. Therefore, after obtaining the ground candidate point cloud, this embodiment uses the Random Sample Consensus (RANSAC) method to fit the ground plane equation parameters, which specifically includes the following steps:
[0109] S61, plane model calculation: randomly select three non-coplanar points in the screened point cloud, and use the coordinates of the three points to fit the plane model;
[0110] Let three non-coplanar points be p a , p b , p c , then the vector v ab =p b -p a , v ac =p c -p a , through vector cross multiplication we can get n = v ab ×v ac , and then normalize n to get the plane model.
[0111] S62, interior point check: for other points in a frame of point cloud, calculate their distance to the plane model, and when the distance is less than the set threshold, it is judged as an interior point.
[0112] S63, model reconstruction and error evaluation: use the inner points to evaluate the plane model and calculate the error, wherein the error includes the root mean square error of the distance from the point to the plane and the cosine similarity error between the normal vector of the plane model and the gravity vector.
[0113] S64, repeat iteration: repeat the above steps S61-S63 until the preset number of iterations is met, and use the plane model with the smallest error as the final fitted plane equation output.
[0114] This embodiment also provides a real-time ground point cloud detection device based on gravity vector, including a memory, a processor, and a program stored in the memory, and the processor implements the method described above when executing the program.
[0115] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0116] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning, or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A real-time ground point cloud detection method based on gravity vector, characterized in that: The following steps are involved: S1, collects point cloud data of surrounding roads based on radar; S2, establish the radar coordinate system and perform dedistortion processing on the point cloud data; S3, determines the gravity direction based on the inertial measurement unit, establishes the gravity coordinate system, and updates the gravity vector in real time according to the posture transformation between each frame of radar data output by the odometer; S4, determining the posture transformation relationship between the gravity coordinate system and the radar coordinate system according to the value of the gravity vector in the radar coordinate system, and projecting the point cloud of the radar coordinate system into the gravity coordinate system; S5, traversing all point cloud data, and performing point cloud screening based on the comparison result between the point cloud coordinates in the gravity coordinate system and the distance threshold; S6, iteratively fits the plane equation of the ground based on the screened point cloud.
2. The real-time ground point cloud detection method based on gravity vector according to claim 1 is characterized in that: The step S2 comprises the following steps: S21, establish the radar coordinate system with the laser emission point as the origin, the front of the car where the radar is installed as the positive direction of the X axis, and the left side of the car as the positive direction of the Y axis; S22, using the angular velocity and acceleration data of the inertial measurement unit, performing forward integration to obtain a pose transformation of a frame of point cloud; S23, assuming that the car moves at a uniform speed within one frame, use time interpolation to perform distortion compensation on each point, project each point to the initial moment, and obtain a frame of dedistorted point cloud.
3. The real-time ground point cloud detection method based on gravity vector according to claim 1 is characterized in that: In step S3, when the gravity vector is updated in real time, the gravity vector is represented on the manifold S 2 Estimation is performed on the manifold S 2 The updating process of the gravity vector g on the surface is similar to the rotation process of the three-dimensional vector: the two-dimensional vector of the tangent plane is obtained according to the posture transformation between the front and rear frame radar data output by the front-end odometer of the car, the two-dimensional vector of the tangent plane is mapped to the three-dimensional space, and the mapped vector is regarded as the rotation vector. The rotation vector is remapped to the manifold SO(3) through exponential mapping, and SO(3) is applied to the gravity vector g to obtain the updated gravity vector 4. The real-time ground point cloud detection method based on gravity vector according to claim 1 is characterized in that: The step S3 is specifically as follows: suppose the manifold S 2 The variable on the surface is g, the variable on the tangent plane is δg, R g (δg) represents the rotation vector after mapping the variable δg on the tangent plane to the three-dimensional space; Let gravity vector g = [x, y, z] T , the update process of g is expressed as: in, Represents the manifold S 2 Exp represents the natural exponential function.
5. The real-time ground point cloud detection method based on gravity vector according to claim 4 is characterized in that: The calculation method of the rotation vector is: The rotation vector R g (δg) is considered as a 3×2 matrix B g Multiply δg on the left, as shown below: Among them, B g Column vector of Satisfies g⊥b1, g⊥b2, b1⊥b2, that is, B g The plane spanned by the two column vectors satisfies the properties of the tangent plane of the points on the unit sphere in the geometric space; B g The result of δg is regarded as a linear combination of b1 and b2, and the mapped rotation vector R g (δg) is perpendicular to g, let δg = [δu, δv] T , get the mapped rotation vector R g The modulus of (δg) is: According to R g (δg)=δub1+δvb2, calculated to get B g Then, the rotation vector R g The rotation direction corresponding to (δg) is uniquely determined by the direction of δg.
6. The real-time ground point cloud detection method based on gravity vector according to claim 1, characterized in that: The step S4 comprises the following steps: S41, calculate the rotation amount: Calculate the gravity vector representation in the radar coordinate system L g: Among them, B represents the IMU coordinate system, L represents the lidar coordinate system, and W represents the world coordinate system. I R J Represents the rotation matrix from the J coordinate system to the I coordinate system; set up L g=[x L ,y L , z L ] T , the gravity vector is expressed in the gravity coordinate system as G g = [0, 0, 1] T , calculate the rotation amount according to the following formula G R L : Where Exp represents the natural exponential mapping function; S42, the origin of the gravity coordinate system and the radar coordinate system has the same three-dimensional coordinates in the world coordinate system, and the two coordinate systems only differ by the rotation amount. G R L , based on the rotation G R L Get the transformation matrix from L system to G system in homogeneous coordinates: Among them, 03 represents a 3×1 zero matrix; S43, set G T L The corresponding three-dimensional coordinate linear transformation is Transformation-based Project the point cloud of the radar coordinate system into the gravity coordinate system, where: represents the point cloud coordinates in the radar coordinate system, Represents the point cloud coordinates in the gravity coordinate system.
7. The real-time ground point cloud detection method based on gravity vector according to claim 1, characterized in that: The step S5 comprises the following steps: S51, accumulate point clouds in multiple consecutive point cloud frames: Assume that the number of accumulated point cloud frames is N, and the LiDAR coordinate system of the i-th point cloud frame is represented by L i , the gravity coordinate system is represented by G i , the IMU coordinate system is represented by B i , the point cloud accumulated by multiple consecutive point cloud frames is calculated by the following formula Where W represents the world coordinate system, represents the transformation matrix from the J coordinate system to the I coordinate system, Represents the point cloud in the laser radar coordinate system; S52, screening ground candidate point clouds from the accumulated point clouds as initialization ground point clouds: Preset the threshold z in the z-axis direction th , take the point cloud smaller than the threshold as the candidate ground point, and get the initialized ground candidate point cloud 8. The real-time ground point cloud detection method based on gravity vector according to claim 1 is characterized in that: The step S6 is specifically as follows: S61, plane model calculation: randomly select three non-coplanar points in the screened point cloud, and use the coordinates of the three points to fit the plane model; S62, interior point check: for other points in a frame of point cloud, calculate their distance to the plane model, and if the distance is less than the set threshold, it is judged as an interior point; S63, model reconstruction and error evaluation: using the interior points to evaluate the plane model and calculate the error, wherein the error includes the root mean square error of the distance from the point to the plane and the cosine similarity error between the normal vector of the plane model and the gravity vector; S64, repeat iteration: repeat the above steps S61-S63 until the preset number of iterations is met, and use the plane model with the smallest error as the final fitted plane equation output.
9. A real-time ground point cloud detection device based on gravity vector, comprising a memory, a processor, and a program stored in the memory, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A storage medium having a program stored thereon, characterized in that: When the program is executed, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Simultaneous positioning mapping method and device fusing laser radar and IMU, and storage medium
CN113763549A
Road surface detection method and device related to laser radar point cloud data and medium
CN114755695A
Mobile robot navigation system based on solid-state laser radar and point cloud map
CN116380039A
Laser radar inertial odometer method, system and equipment and medium
CN117685999A
Autonomous localization method and apparatus, and device and computer-readable storage medium
WO2023226154A1
Cited By
Airborne equipment test point automatic positioning method based on fuselage point cloud features
CN120088329A
Laser radar point cloud motion compensation method, control system, medium and product
CN120831654A
Remote three-dimensional size measurement and field marking system and method
CN122835246A
