Laser SLAM (Simultaneous Localization and Mapping) method and system sensitive to spatial spacility
By calculating the curvature of the laser point cloud image in laser SLAM and using a fuzzy algorithm to determine the key frame generation distance, combined with the complementary filtering and Newton interpolation methods, the problem of insufficient adaptability of traditional laser SLAM when the space spaciousness changes is solved, and the construction efficiency is improved. image effect and positioning accuracy.
Patent Information
- Application Number
- CN202410860934.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-17
AI Technical Summary
The traditional laser SLAM method cannot effectively adapt when the spaciousness of the space changes, resulting in unnecessary consumption of computing power, poor mapping effect, and reduced positioning accuracy.
Corner points and surface points are selected by calculating the curvature in the laser point cloud image, and the fuzzy algorithm is used to determine the key frame generation distance based on the preset first-type fuzzy set membership degree based on the spatial spaciousness of the environment, and the point cloud is combined with complementary filtering to remove distortion. algorithm and Newton interpolation method to optimize the quality and feature point distribution of point cloud images.
It improves the rationality of key frame distribution, avoids the waste of computing power and poor mapping effects, and improves positioning accuracy and point cloud image quality.
Smart Images

Figure CN118655588A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of laser SLAM, and more specifically, relates to a laser SLAM method and system that are sensitive to spatial spaciousness. Background Art
[0002] SLAM (Simultaneous Localization and Mapping) is a technology that determines while building a map. This technology has been widely used in driverless cars, drones, robot navigation and other fields. As an important part of SLAM technology, map construction has always been one of the research hotspots. According to whether the main sensor uses lidar or camera, SLAM technology can be divided into laser SLAM and visual SLAM. Since the working principle of lidar is to actively emit laser to detect the surrounding environment, it is less affected by the ambient light conditions. Compared with cameras, it has higher accuracy and stronger robustness, so it is widely used in mapping problems.
[0003] However, traditional laser SLAM methods pay little attention to environmental factors and cannot adapt well when the space in which the robot is located changes, resulting in unnecessary computing power consumption, poor mapping effects, or decreased positioning accuracy. This phenomenon is particularly evident when there are large changes in the spaciousness of the space. Summary of the invention
[0004] In view of the above defects or improvement needs of the prior art, the present invention provides a laser SLAM method and system that is sensitive to spatial spaciousness, the purpose of which is to make the key frame distribution in the SLAM method more reasonable and improve the mapping effect and positioning accuracy.
[0005] To achieve the above object, according to one aspect of the present invention, a laser SLAM method sensitive to spatial spaciousness is proposed, comprising the following steps:
[0006] For the current frame point cloud image acquired by the laser radar:
[0007] Calculate the curvature of each laser point in the point cloud image, select corner points and surface points according to the curvature of the laser points, and use the selected corner points and surface points as feature points of the point cloud image;
[0008] Calculate the plane distance of each feature point in the point cloud image; the plane distance of the feature point means: the distance between the projected point and the center of the laser radar is the plane distance of the feature point when the feature point is projected onto the center plane where the laser radar center is located, and the center plane is perpendicular to the laser radar axis;
[0009] According to the median of the plane distance of the feature points, the membership degree of the feature points to the first type of fuzzy set is calculated by a fuzzy algorithm, and the first type of fuzzy set is preset according to the spatial spaciousness of the environment; and then the key frame generation distance is determined according to the membership degree;
[0010] Generate distance based on keyframes, obtain point cloud images of keyframes, and perform mapping and positioning.
[0011] As a further preferred method, point cloud dedistortion is performed on the point cloud image acquired by the laser radar in advance, comprising the following steps:
[0012] For the current frame point cloud image acquired by the laser radar:
[0013] Based on the position change of the laser radar from the start time to the end time of the previous frame point cloud image, determine the position change T of the laser point acquired at each moment in the current frame point cloud image to the start time of the current frame point cloud image Lidar ;
[0014] According to the time when each laser point in the current frame point cloud image is acquired, the IMU pose corresponding to the acquisition time of each laser point is determined, and then the pose change T is determined according to the IMU pose at the starting time of the current frame point cloud image. IMU ;
[0015] Based on the pose change T Lidar and T IMU , weightedly obtain the comprehensive posture change of the laser point, and correct the posture of the laser point based on the comprehensive posture change;
[0016] As a further preferred embodiment, the position change T of the laser point acquired at each moment in the current frame point cloud image converted to the starting moment of the current frame point cloud image is determined. Lidar When, for any laser point i, the corresponding T Lidar The calculation formula is:
[0017]
[0018] Among them, T pre is the position change of the laser radar from the start time to the end time of the previous frame of point cloud image, t s ,t e are the starting time and ending time of the current frame point cloud image, respectively, t i is the acquisition time of laser point i.
[0019] As a further preferred embodiment, according to the time when each laser point in the current frame point cloud image is acquired, the IMU posture corresponding to the acquisition time of each laser point is determined, and then according to the IMU posture at the starting time of the frame point cloud image, the posture change T is determined. IMU , including the following steps:
[0020] For any laser point i, extract t i The IMU poses corresponding to several moments before and after are used to determine the laser point i to obtain the time t by Newton interpolation method. i The corresponding IMU pose T Ui ;
[0021] Then, according to the IMU pose T at the start time of the current frame point cloud image U0 , determine the pose change
[0022] As a further preferred method, selecting corner points and surface points according to the curvature of the laser point includes the following steps:
[0023] For any laser point i, the curvature threshold adaptive formula is as follows:
[0024]
[0025] Among them, α is the initial threshold coefficient, β is the scaling coefficient; D i is the three-dimensional distance from laser point i to the origin of the laser radar, [] is the rounding operator;
[0026] When α = 0.8 to 1.2 and β = -0.12 to -0.08, the curvature threshold δ obtained according to the above formula is the corner threshold δ edge ; When α = 0.08 ~ 0.12, β = 0.008 ~ 0.012, the curvature threshold δ obtained according to the above formula is the surface point threshold δ surf ;
[0027] When the curvature C of laser point i>δ edge When the laser point is judged to be a corner point, when the curvature C of the laser point i is less than δ surf When , it is judged that the laser point is a surface point;
[0028] All laser points in the point cloud image are judged separately to obtain the corner points and surface points in the point cloud image.
[0029] As a further preferred embodiment, the curvature calculation formula of the laser point i is:
[0030]
[0031] Where S is the neighborhood point set of laser point i, S represents the number of neighborhood points in the set S; r i 、r j are the three-dimensional coordinates of laser points i and j.
[0032] As a further preferred method, according to the median of the plane distance of the feature points, the membership of the feature points to the first type of fuzzy set is calculated by a fuzzy algorithm, and then the key frame generation distance is determined according to the membership, which includes the following steps:
[0033] The median of the plane distance of the feature points is d point , calculate d through the triangle membership function point The corresponding membership degree μ1 of the first type of fuzzy set; the first type of fuzzy set is preset into five groups according to the spaciousness of the space: extremely narrow, narrow, normal, wide, and extremely wide;
[0034] According to d point Corresponding to the membership of the first type of fuzzy set μ1, it is directly converted to obtain the key frame generation distance d key The corresponding membership degree μ2 of the second type of fuzzy set; the second type of fuzzy set corresponds to the first type of fuzzy set and is preset into five groups: very short, short, normal, long, and very long;
[0035] Then, the key frame generation distance is determined according to the membership degree μ2.
[0036] As a further preferred embodiment, after calculating the plane distance dist of each feature point, group and number them according to the following distance range: number 1, 0m<dist≤20m; number 2, 20m<dist≤40m; number 3, 40m<dist≤60m; number 4, 60m<dist≤80m; number 5, 80m<dist≤100m;
[0037] Determine the median of the feature point plane distances and the group number n to which the median belongs.
[0038] As further preferred, the step of determining the key frame generation distance according to the membership degree μ2 comprises the following steps:
[0039] The maximum membership method is used to calculate the fuzzy value D = max (μ2);
[0040] Then calculate the key frame generation distance d key :
[0041]
[0042] In the formula: parameters a=0~1, b=5~30.
[0043] According to another aspect of the present invention, a laser SLAM system sensitive to spatial spaciousness is provided, comprising a processor, wherein the processor is used to execute the above-mentioned laser SLAM method sensitive to spatial spaciousness.
[0044] In general, the above technical solution conceived by the present invention has the following technical advantages compared with the prior art:
[0045] 1. The present invention determines the feature points in the point cloud map based on the curvature of the laser point, uses a fuzzy algorithm to evaluate the spatial spaciousness of the environment, and adaptively adjusts the key frame generation distance according to different spaciousness to make the key frame distribution more reasonable, avoiding the waste of computing power caused by key frame redundancy or the poor mapping effect and reduced positioning and accuracy caused by key frame sparseness.
[0046] 2. The present invention designs a point cloud dedistortion algorithm based on complementary filtering. Newton interpolation of IMU data can utilize more IMU information and perform approximate uniform motion processing on the lidar. The two methods complement each other to achieve better dedistortion effect and improve the quality of point cloud images.
[0047] 3. The present invention designs a feature point curvature threshold adaptive algorithm, which allows more feature points to be detected, ensures sensitivity to feature points at long distances, and makes feature distribution more reasonable. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a flow chart of a laser SLAM method that is sensitive to spatial spaciousness according to an embodiment of the present invention;
[0049] Figure 2 Schematic diagram of an approximate processing method in a point cloud dedistortion algorithm based on complementary filtering according to an embodiment of the present invention;
[0050] Figure 3 Schematic diagram of Newton interpolation method in the point cloud dedistortion algorithm based on complementary filtering in an embodiment of the present invention;
[0051] Figure 4 A schematic diagram of feature point grouping in a key frame adaptive generation algorithm according to an embodiment of the present invention;
[0052] Figure 5 A schematic diagram of a triangle membership function in a key frame adaptive generation algorithm according to an embodiment of the present invention;
[0053] Figure 6 (a) and (b) are schematic diagrams comparing the effects of the key frame adaptive generation algorithm according to an embodiment of the present invention;
[0054] Figure 7 This is a trajectory test result diagram of the UrbanNav-HK-Deep-Urban-1 dataset according to an embodiment of the present invention;
[0055] Figure 8 : is a schematic diagram of the absolute pose error of the UrbanNav-HK-Deep-Urban-1 dataset according to an embodiment of the present invention changing over time;
[0056] Fig. 9Schematic diagram of statistical data of the absolute pose error of the UrbanNav-HK-Deep-Urban-1 dataset according to an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0058] The embodiment of the present invention provides a laser SLAM method that is sensitive to spatial spaciousness, such as Figure 1 As shown, the following steps are included:
[0059] (1) Point cloud image preprocessing is performed based on the point cloud dedistortion algorithm based on complementary filtering.
[0060] The laser radar and IMU fixed on the mobile platform move synchronously. The laser radar obtains point cloud image data in real time, and the IMU obtains acceleration data in real time. The IMU posture can be determined based on the acceleration data. The two input data are processed separately and then fused to achieve a better point cloud distortion removal effect. The mobile platform is an unmanned vehicle, drone, robot, etc.
[0061] The scanning frequency of LiDAR is generally 10Hz, so the movement of a car or robot can be approximated as uniform linear motion within a scanning cycle, and the point cloud of the current frame can be approximated using the pose transformation of the previous frame. Figure 2 As shown in the figure, in the current frame point cloud image, for any laser point i, the position change T of the laser point is converted to the starting time of the frame point cloud image Lidar The calculation formula is:
[0062]
[0063] Among them, T pre is the position change of the laser radar from the start time to the end time of the previous frame of point cloud image, t s ,t e are the starting time and ending time of the current frame point cloud image, t i is the acquisition time of laser point i.
[0064] The IMU data input frequency is as high as 100Hz, so there will be a large number of IMU data points before and after each laser point, and the IMU data is used to calculate the motion posture changes of the laser point. Figure 3As shown in the figure, for any laser point i, the Newton interpolation method is used to extract the IMU posture data of the two moments t1, t2, t3, t4 (or more moments) before and after the laser point to be corrected to calculate the difference quotient table, and then the laser point moment t i As input, the IMU pose T at that moment is obtained Ui . Obtain the IMU pose T of the laser point at the starting time in the same way U0 , then t i The position change of the laser point at time relative to the starting time
[0065] The pose changes obtained by the two methods are fused by complementary filtering to obtain the comprehensive pose change T of the laser point i to be corrected. i =aT IMU +(1-α)T Lidar , where a is the weight coefficient, which is determined according to the specific situation; finally, the comprehensive posture change T i Transform the laser point i to the starting time t of the point cloud image frame s .
[0066] The above operation is performed on each laser point in the point cloud image to remove the point cloud distortion.
[0067] (2) Determine the feature points of the point cloud image based on the feature point curvature threshold adaptive algorithm.
[0068] After dedistorting the point cloud, it is necessary to calculate the curvature of each laser point in each frame of the point cloud and classify it as a corner point or a surface point according to the size of the curvature.
[0069] The curvature calculation formula of laser point i is as follows:
[0070]
[0071] Among them, S is the neighborhood point set of laser point i, r i 、r j are the three-dimensional coordinates of laser points i and j.
[0072] In conventional methods, the corner threshold δ edge Usually set to 1.0, the face point threshold δ surf It is usually set to 0.1; however, due to the dense distribution of laser points in the near distance and the sparse distribution of laser points in the far distance, the curvature calculation accuracy of the laser points in the far distance decreases, and some feature points are easily ignored. Therefore, a feature point curvature threshold adaptive algorithm is proposed, and the curvature threshold adaptive formula is as follows:
[0073]
[0074] Among them, α is the initial threshold coefficient, β is the scaling coefficient, and Di is the three-dimensional distance from laser point i to the origin (center) of the laser radar, and [] is the rounding operator.
[0075] When α = 0.8 to 1.2 and β = -0.12 to -0.08, the curvature threshold δ obtained according to the above formula is the corner threshold δ edge , preferably α = 1.0, β = -0.1; when α = 0.08-0.12, β = 0.008-0.012, the curvature threshold δ obtained according to the above formula is the surface point threshold δ surf , preferably α=0.1, β=0.01.
[0076] According to the above formula, the corner point threshold δ can be adaptively determined edge And the face point threshold δ surf ; When C>δ edge When C < δ surf The point is considered to be a surface point. The above judgment is performed on all laser points in the point cloud image to obtain the corner points and surface points in the point cloud image, and the corner points and surface points are used as feature points.
[0077] If the laser point is far away, the corner point threshold will be reduced and the surface point threshold will be increased through the curvature threshold adaptive formula, making it easier to select both feature points, improving the inclusiveness of feature points and making the feature distribution more reasonable.
[0078] (3) Generate key frames based on the key frame adaptive generation algorithm.
[0079] The laser SLAM method uses a keyframe method to extract keyframes from dense laser frames according to certain rules and match them with local maps. Compared with the traditional SLAM method that uses every two adjacent frames for matching, the use of keyframes can reduce constraints and increase efficiency. The keyframe selection strategy is usually related to the distance (usually set to 1m) and the angle (usually set to 0.2°). When the range of change between the current position and the distance or angle of the previous node exceeds the threshold, the current frame is saved as a keyframe and added to the new optimization node. However, in the loop detection part, since the historical keyframes are constantly accumulated with the SLAM process, the number of historical keyframes is huge and difficult to calculate quickly. Therefore, loop detection often consumes a lot of computer resources, and freezes often occur at the loop moment.
[0080] Therefore, the key frame adaptive generation algorithm proposed in the present invention uses the plane distance of feature points to evaluate the spaciousness of the space. Obtain the plane distance dist of all feature points in the current frame point cloud image; the plane distance of the feature point means: for a spatial rectangular coordinate system established with the laser radar axis as the z-axis, after the feature point is projected onto the xy plane where the laser radar center is located, the distance between the projection point and the laser radar center is the plane distance of the feature point.
[0081] like Figure 4 As shown, the feature points are grouped and numbered according to the distance range, and the grouping is as follows:
[0082]
[0083] Select the median d of the plane distance of the feature point point As the algorithm input, the interval number is recorded as n, and the key frame generation distance is selected as the algorithm output d key , the range is [0.5,10], and the unit is m.
[0084] The fuzzy algorithm is used to fuzzy the input and output of the key frame adaptive generation algorithm:
[0085] For the algorithm input d point , the corresponding first-class fuzzy set is designed according to the spaciousness of the space (i.e., the width of the detection environment); specifically, the first-class fuzzy set is set to Extremely Narrow, Narrow, Normal, Wide, and Extremely Wide, and d point The corresponding variation range is set to five levels: -2, -1, 0, 1, 2, and d is calculated by the triangle membership function. point The corresponding fuzzy set membership μ1 is as follows: Figure 5 shown.
[0086] For the algorithm output d key , set its second type of fuzzy set to Extremely Short, Short, Normal, Long, Extremely Short, and set d key The corresponding variation range is set to five levels: -2, -1, 0, 1, 2, and the key frame generation distance d is calculated by the triangle membership function key The corresponding fuzzy set membership degree μ2.
[0087] The size of the key frame generation distance is approximately proportional to the size of the spaciousness of the space, that is, the smaller the spaciousness, the smaller the key frame generation distance, and the larger the spaciousness, the larger the key frame generation distance. Based on this, the following fuzzy rule can be obtained: if d point Very narrow key Very short, if d point If narrow key Short, if d point Normal key Normal, if d point Wide key Long, if dpoint Very wide key Very long.
[0088] Based on the above rules, we get d point After the membership degree μ1 of the first type of fuzzy set is directly converted to obtain the key frame generation threshold d key The corresponding membership degree μ2 of the second fuzzy set. For example, d point The membership degree for "extremely narrow" is 30%, and the membership degree for "narrow" is 70%; then the corresponding value is d key The membership for "very short" is 30%, and the membership for "short" is 70%.
[0089] Then the maximum membership method is used to calculate the fuzzy value:
[0090] D=max(μ2)
[0091] Calculate the keyframe generation distance:
[0092]
[0093] Wherein: parameter a=0-1, b=5-30; preferably a=0.5, b=10.
[0094] The above method can be used to obtain the key frame generation distance d that matches the current environment spaciousness in real time. key , and update the information to the key frame generation module and the loop detection module. key Get a key frame and perform mapping and positioning based on the point cloud image of the key frame.
[0095] The keyframe adaptive generation distance obtained by the fuzzy algorithm enables the SLAM method to generate keyframes more sparsely in spacious environments, avoiding waste of computing resources, and to generate keyframes more densely in narrow environments, thereby improving mapping effects and positioning accuracy.
[0096] The effect of the method of the present invention is described and verified as follows:
[0097] Figure 6 The figure is a schematic diagram for comparing the effects of the key frame adaptive generation algorithm, where (a) is a fixed key frame generation distance algorithm, and (b) is the key frame adaptive generation method proposed by the present invention, where the red dots represent key frames and the blue lines represent movement trajectories. It can be seen that the key frame generation distance of the method of the present invention is relatively large in a wide environment, and after entering a narrow environment, the distance for generating key frames becomes shorter due to adaptive adjustment.
[0098] Figure 7This is the trajectory test result of the UrbanNav-HK-Deep-Urban-1 dataset. The UrbanNav-HK-Deep-Urban-1 dataset was collected in a highly urbanized area in Hong Kong, where traffic is dense and tunnels and loops are small. The dataset contains a variety of environmental scenes including narrow streets, wide streets, high-rise buildings, medium-height buildings, and open skies. Figure 7 The middle gray dotted line is the ground truth, blue represents the test results of the open source algorithm lego-loam, green represents the test results of the open source algorithm lio-sam, and red represents the test results of the method proposed in the present invention. The closer the test results are to the ground truth, the higher the accuracy. It can be seen that the method proposed in the present invention is most consistent with the ground truth trajectory.
[0099] Figure 8 and Fig. 9 This is the absolute pose error test result diagram of the UrbanNav-HK-Deep-Urban-1 dataset, where Figure 8 It is the change of absolute pose error (APE) over time, where the horizontal axis represents time and the vertical axis represents the absolute pose error. Fig. 9 The horizontal axis represents the absolute posture error, and the vertical axis represents the maximum value, minimum value, standard deviation, median, mean, and root mean square error from top to bottom; blue represents the test results of the open source algorithm lego-loam, green represents the test results of the open source algorithm lio-sam, and red represents the test results of the method proposed in the present invention. It can be seen that the absolute posture error of the method proposed in the present invention is smaller than that of the two comparison algorithms most of the time, and all statistical data are smaller than the comparison algorithms.
[0100] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A laser SLAM method that is sensitive to spatial spaciousness, It is characterized in that The steps include: For the current frame point cloud image acquired by the laser radar: Calculate the curvature of each laser point in the point cloud image, select corner points and surface points according to the curvature of the laser points, and use the selected corner points and surface points as feature points of the point cloud image; Calculate the plane distance of each feature point in the point cloud image; the plane distance of the feature point means: the distance between the projected point and the center of the laser radar is the plane distance of the feature point when the feature point is projected onto the center plane where the laser radar center is located, and the center plane is perpendicular to the laser radar axis; According to the median of the plane distance of the feature points, the membership degree of the feature points to the first type of fuzzy set is calculated by a fuzzy algorithm, and the first type of fuzzy set is preset according to the spatial spaciousness of the environment; and then the key frame generation distance is determined according to the membership degree; Based on the distance generated by the key frame, the point cloud image of the key frame is obtained for mapping and positioning.
2. The laser SLAM method sensitive to spatial spaciousness as claimed in claim 1, It is characterized in that The point cloud image acquired by the LiDAR is pre-distorted, including the following steps: For the current frame point cloud image acquired by the laser radar: Based on the position change of the laser radar from the start time to the end time of the previous frame point cloud image, determine the position change T of the laser point acquired at each moment in the current frame point cloud image to the start time of the current frame point cloud image Lidar ; According to the time when each laser point in the current frame point cloud image is acquired, the IMU pose corresponding to the acquisition time of each laser point is determined, and then the pose change T is determined according to the IMU pose at the starting time of the current frame point cloud image. IMU ; Based on the pose change T Lidar and T IMU , the comprehensive posture change of the laser point is obtained by weighting, and the posture of the laser point is corrected based on the comprehensive posture change.
3. The laser SLAM method sensitive to spatial spaciousness as claimed in claim 2, It is characterized in that Determine the pose change T of the laser points acquired at each moment in the current frame point cloud image converted to the starting moment of the current frame point cloud image Lidar When, for any laser point i, the corresponding T Lidar The calculation formula is: Among them, T pre is the position change of the laser radar from the start time to the end time of the previous frame of point cloud image, t s ,t e are the starting time and ending time of the current frame point cloud image, t i is the acquisition time of laser point i.
4. The laser SLAM method sensitive to spatial spaciousness as claimed in claim 3, It is characterized in that According to the time when each laser point in the current frame point cloud image is acquired, the IMU pose corresponding to the acquisition time of each laser point is determined, and then the pose change T is determined according to the IMU pose at the starting time of the frame point cloud image. IMU , including the following steps: For any laser point i, extract t i The IMU poses corresponding to several moments before and after are used to determine the laser point i to obtain the time t by Newton interpolation method. i The corresponding IMU pose T Ui ; Then, according to the IMU pose T at the start time of the current frame point cloud image U0 , determine the pose change 5. The laser SLAM method sensitive to spatial spaciousness as claimed in claim 1, It is characterized in that Selecting corner points and surface points according to the curvature of the laser point includes the following steps: For any laser point i, the curvature threshold adaptive formula is as follows: Among them, α is the initial threshold coefficient, β is the scaling coefficient; D i is the three-dimensional distance from laser point i to the origin of the laser radar, [] is the rounding operator; When α = 0.8 to 1.2 and β = -0.12 to -0.08, the curvature threshold δ obtained according to the above formula is the corner threshold δ edge ; When α = 0.08 ~ 0.12, β = 0.008 ~ 0.012, the curvature threshold δ obtained according to the above formula is the surface point threshold δ surf ; When the curvature C of laser point i>δ edge When the laser point is judged to be a corner point, when the curvature C of the laser point i is less than δ surf When , it is judged that the laser point is a surface point; All laser points in the point cloud image are judged separately to obtain the corner points and surface points in the point cloud image.
6. The laser SLAM method sensitive to spatial spaciousness as claimed in claim 1, It is characterized in that The curvature calculation formula of laser point i is: Where S is the neighborhood point set of laser point i, |S| represents the number of neighborhood points in the set S; r i 、r j are the three-dimensional coordinates of laser points i and j.
7. The laser SLAM method sensitive to spatial spaciousness as claimed in any one of claims 1 to 6, It is characterized in that According to the median of the plane distance of the feature points, the membership of the first type of fuzzy set is calculated through the fuzzy algorithm, and then the key frame generation distance is determined according to the membership, including the following steps: The median of the plane distance of the feature points is d point , calculate d through the triangle membership function point The membership degree μ corresponding to the first type of fuzzy set 1 ; The first type of fuzzy sets are preset into five groups according to the spaciousness of the space: very narrow, narrow, normal, wide, and very wide; According to d point The membership degree μ corresponding to the first type of fuzzy set 1 , directly convert it to get the key frame generation distance d key The membership degree μ corresponding to the second type of fuzzy set 2 ; The second type of fuzzy sets corresponding to the first type of fuzzy sets are preset into five groups: very short, short, normal, long, and very long; Then according to the membership degree μ 2 Determines the distance at which keyframes are generated.
8. The laser SLAM method sensitive to spatial spaciousness as claimed in claim 7, It is characterized in that After calculating the plane distance dist of each feature point, group and number them according to the following distance range: No. 1, 0m<dist≤20m; No. 2, 20m<dist≤40m; No. 3, 40m<dist≤60m; No. 4, 60m<dist≤80m; No. 5, 80m<dist≤100m; Determine the median of the feature point plane distances and the group number n to which the median belongs.
9. The laser SLAM method sensitive to spatial spaciousness as claimed in claim 8, It is characterized in that According to the membership degree μ 2 Determining the key frame generation distance includes the following steps: The maximum membership method is used to calculate the fuzzy value D=max(μ 2 ); Then calculate the key frame generation distance d key : In the formula: parameters a=0~1, b=5~30.
10. A laser SLAM system that is sensitive to spatial spaciousness. It is characterized in that The method comprises a processor, wherein the processor is used to execute the laser SLAM method sensitive to spatial spaciousness as described in any one of claims 1 to 9.
