A road sweeper drivable boundary detection method and system

By combining the real-time point cloud data of solid-state lidar with pre-made maps to screen and process boundary candidate points, the problem of difficulty in processing solid-state laser point cloud data is solved, and high-precision drivable boundary detection of unmanned sweepers is achieved. , improving the accuracy and efficiency of edge cleaning.

CN118351514BActive Publication Date: 2024-09-20FULONG MACHENGFU ROBOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410776187.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-20
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to achieve high-precision drivable boundary detection through solid-state laser point cloud data processing. Especially when identifying road edges and obstacles, there are problems such as low accuracy and difficulty in algorithm processing.

Method used

By combining real-time scanned point cloud data with pre-made maps, the candidate points of boundary height and intensity are screened and merged, dynamic intervals are sparsely processed, and pre-made map boundary points are integrated to achieve more accurate drivable boundary detection.

Benefits of technology

It improves the edge cleaning accuracy of unmanned sweepers, reduces costs, avoids the complexity of multi-sensor fusion solutions and the cost of map drawing, and enhances the real-time and accuracy of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118351514B
    Figure CN118351514B
Patent Text Reader

Abstract

Disclosed are a method and system for detecting a drivable boundary of a road sweeper. The method comprises: S1, acquiring scanned point cloud data, sorting and screening the scanned point cloud data, and obtaining boundary height candidate points; S2, acquiring a prefabricated map, screening the scanned point cloud data based on a road boundary point set of the prefabricated map to obtain a suspicious point set, and performing sorting and screening to obtain boundary strength candidate points; S3, merging the boundary height candidate points and the boundary strength candidate points to obtain drivable boundary candidate points; S4, screening the drivable boundary candidate points, splicing and dynamically spacing thinning according to the timestamps of the drivable boundary candidate points, and obtaining a boundary feature point set; S5, projecting and sampling the road boundary point set of the prefabricated map to obtain a prefabricated map boundary point set, and fusing the prefabricated map boundary point set according to a distance threshold of the boundary feature points in the boundary feature point set to obtain a drivable boundary point set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of laser scanning, and in particular to a method and system for detecting a drivable boundary of a road sweeper. Background Art

[0002] The application and popularization of unmanned road sweepers have greatly reduced labor costs and provided society and enterprises with smarter and more efficient cleaning solutions. Road edge areas generally accumulate more garbage and are key cleaning areas. Unmanned road sweepers require higher-precision edge cleaning to solve cleaning quality issues. Through the drivable boundary detection system, unmanned road sweepers can better identify road edges, pedestrians, traffic signs and other obstacles, thereby more accurately planning cleaning paths, avoiding collisions and improving cleaning efficiency.

[0003] Existing technical solutions mainly rely on various sensors, including visual detection solutions based on visual sensors, detection solutions based on lidar, ultrasonic radar scanning detection solutions, and detection solutions combining combined navigation and high-precision maps.

[0004] Vision sensors use images captured by on-board cameras to identify features such as the edge, color or texture of the curb through computer vision algorithms. LiDAR determines the location of the curb by analyzing point cloud features such as height difference. Ultrasonic radar can be used to measure the distance between the vehicle and the curb to help identify the location of the curb. Using high-precision map data, the geometric information of the road, including the location and shape of the curb, can be known in advance to assist in curb detection. Combined with integrated navigation data, the position and direction of the vehicle can be located, and the location of the curb can be estimated.

[0005] The visual detection solution has good real-time performance, but low accuracy. It is affected by changes in lighting and shadows, and has poor results at roadsides where there is no color and texture information.

[0006] The disadvantage of ultrasonic radar scanning detection solution is that the ultrasonic radar scanning range is limited and it is easily interfered by the material of the object and the multipath effect.

[0007] The multi-sensor fusion solution requires calibration between multiple sensors. In addition, when multi-source information conflicts, effective screening, filtering, fusion and other operations are required, which increases costs and workload.

[0008] The detection solution that combines combined navigation with high-precision maps not only has a high map production cost, but also requires re-mapping once the environment changes significantly.

[0009] LiDAR can be divided into mechanical LiDAR and solid-state LiDAR. The point cloud data obtained by the mechanical LiDAR can be processed by the mechanical laser curb detection algorithm: by extracting the road edge points and then performing curve fitting on these point sets, but a small number of protruding ground points, such as low branches, will be smoothed out. These protruding points constitute the real boundary of the drivable area. In order to achieve the purpose of precise edge fitting, they cannot be filtered and smoothed out, and need to be passed to the downstream planning module. The solid-state laser point cloud identified by the solid-state LiDAR is a non-repetitive scanning method. Compared with the point cloud of the multi-line mechanical laser organized in an orderly manner according to the vertical and horizontal angle resolution, the algorithm processing is more difficult. Summary of the invention

[0010] In view of the technical problems of solid-state laser point cloud data processing in the prior art, this application proposes a road sweeper drivable boundary detection method and system. The method combines the real-time scanned point cloud data with the pre-made map to obtain higher-precision drivable boundary points and achieve more accurate edge detection.

[0011] According to one aspect of the present invention, a method for detecting a drivable boundary of a road sweeper is proposed, comprising the following steps:

[0012] S1, obtaining scanning point cloud data collected by a solid-state laser radar sensor, sorting and screening the scanning point cloud data, and obtaining boundary height candidate points;

[0013] S2, obtaining a pre-made map, filtering the scanned point cloud data based on the road boundary point set of the pre-made map to obtain a suspicious point set, and performing sorting and screening to obtain boundary strength candidate points;

[0014] S3, merging the boundary height candidate points and the boundary strength candidate points to obtain drivable boundary candidate points;

[0015] S4, screening the candidate points of the drivable boundary, splicing them according to the timestamps of the candidate points of the drivable boundary and performing dynamic interval thinning to obtain a boundary feature point set;

[0016] S5, projecting and sampling the road boundary point set of the pre-made map to obtain a pre-made map boundary point set, and fusing the pre-made map boundary point set according to a distance threshold of boundary feature points in the boundary feature point set to obtain a drivable boundary point set.

[0017] Preferably, step S1 specifically includes: dividing and sorting the scanned point cloud data to form multiple scanned point cloud bins, establishing multiple sliding windows to traverse the scanned point cloud bins to filter the corresponding height candidate points and store them in the index array, traversing the index array to confirm the left boundary height candidate points and the right boundary height candidate points corresponding to each scanned point cloud bin, and all the left boundary height candidate points and the right boundary height candidate points of the scanned point cloud bins constitute the boundary height candidate points. By dividing, sorting, and screening the scanned point cloud data, the boundary height candidate points in the current frame point cloud can be effectively found.

[0018] Further preferably, the road boundary point set of the prefabricated map is transformed by a top-down projection, the mask width of the drivable boundary is set, and a road mask image of the drivable boundary is obtained. The scanned point cloud data is projected onto the road mask image by a top-down projection, the suspicious point set is screened, the suspicious point set is segmented and sorted, and multiple suspicious point cloud bins are obtained. The average road surface strength value is calculated, the suspicious point cloud bins are traversed, and the left-side boundary strength candidate points and the right-side boundary strength candidate points are screened based on the average road surface strength value. The left-side boundary strength candidate points and the right-side boundary strength candidate points of all suspicious point cloud bins constitute the boundary strength candidate points. By combining the boundary strength candidate points with the boundary height candidate points, dense boundary candidate points are obtained to accurately fit the drivable boundary.

[0019] More preferably, the road mask image is used to screen the candidate points of the drivable boundary, and after the candidate points of the drivable boundary stored in multiple frames are screened, the corresponding positions of the candidate points of the drivable boundary in the historical frame are converted to the coordinate system of the current frame according to the timestamp for splicing based on the current frame point cloud coordinate system. By splicing the candidate points of the drivable boundary processed by multiple frames of point cloud, the possibility of missing important boundary feature points is further reduced.

[0020] Further preferably, the dynamic interval thinning specifically includes setting a dynamic sampling interval according to the distance from the vehicle body, sampling the spliced ​​drivable boundary candidate points, and obtaining a boundary feature point set. By screening the spliced ​​drivable boundary candidate points through dynamic interval thinning, unnecessary boundary feature points can be removed, reducing a certain amount of calculation.

[0021] Preferably, the road boundary point set of the prefabricated map is projected to obtain a corresponding projection image, and a pixel point of the projection image is selected for sampling every 10 pixels to obtain a boundary pixel sampling point, and then the boundary pixel sampling point is restored to a two-dimensional coordinate in a vehicle body coordinate system to obtain the boundary point set of the prefabricated map.

[0022] Preferably, S5 specifically includes traversing the boundary feature point set, according to Calculate the distance threshold of the boundary feature points, where Indicates the distance threshold of the boundary feature points, represents the x-coordinate of the boundary feature point, Indicates taking the absolute value of the data in the brackets. If there is no adjacent boundary feature point within the distance threshold, the pre-made map boundary point of the pre-made map boundary point set is inserted accordingly. The boundary point set detected in real time and the pre-made map are fused according to the distance threshold to obtain the boundary point set of the left and right drivable areas.

[0023] According to one aspect of the present invention, a road sweeper drivable boundary detection system is proposed, comprising:

[0024] Height feature screening module: obtains scanning point cloud data collected by the solid-state laser radar sensor, sorts and screens the scanning point cloud data, and obtains candidate boundary height points;

[0025] Strength feature screening module: obtains a pre-made map, screens the scanned point cloud data based on the road boundary point set of the pre-made map to obtain a suspicious point set, performs sorting and screening, and obtains boundary strength candidate points;

[0026] Candidate point merging module: the boundary height candidate point and the boundary strength candidate point are combined to obtain the drivable boundary candidate point;

[0027] Candidate point processing module: screening the drivable boundary candidate points, splicing them according to the timestamps of the drivable boundary candidate points and performing dynamic interval thinning to obtain a boundary feature point set;

[0028] The drivable boundary point acquisition module projects and samples the road boundary point set of the pre-made map to obtain a pre-made map boundary point set, and fuses the pre-made map boundary point set according to the distance threshold of the boundary feature points in the boundary feature point set to obtain a drivable boundary point set.

[0029] According to one aspect of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to the first aspect is implemented.

[0030] According to one aspect of the present invention, a computing system is provided, including a processor and a memory, wherein the processor is configured to execute the method as described in any one of the first aspects.

[0031] The present invention is beneficial in that:

[0032] 1) Compared with the multi-sensor fusion detection solution, the present invention only uses a single-mode sensor of a solid-state laser radar for detection, which is low-cost.

[0033] 2) Compared with the solution that only uses maps, the present invention combines real-time drivable boundary detection and recognition with pre-made maps to significantly improve the edge cleaning accuracy of the unmanned sweeper. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate the embodiments and are used together with the description to explain the principles of the present invention. It will be easy to recognize other embodiments and many expected advantages of the embodiments because they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale with each other. The same reference numerals refer to corresponding similar parts.

[0035] Figure 1 A schematic flow chart of a method for detecting a drivable boundary of a road sweeper according to the present invention is shown;

[0036] Figure 2 A schematic diagram showing re-dividing and sorting point cloud data according to the method proposed in the present invention is shown;

[0037] Figure 3 A schematic diagram showing the coordinates of the boundary points of a prefabricated map according to the method proposed by the present invention is shown;

[0038] Figure 4 A schematic structural diagram of a road sweeper drivable boundary detection system according to the present invention is shown;

[0039] Figure 5 It is a schematic diagram of the structure of a computer device suitable for implementing an electronic device of an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0041] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0042] Figure 1 A schematic flow chart of a method for detecting a drivable boundary of a road sweeper according to the present invention is shown, and the method comprises:

[0043] S1, obtaining scanning point cloud data collected by a solid-state laser radar sensor, sorting and screening the scanning point cloud data, and obtaining boundary height candidate points;

[0044] S2, obtaining a pre-made map, filtering the scanned point cloud data based on the road boundary point set of the pre-made map to obtain a suspicious point set, and performing sorting and screening to obtain boundary strength candidate points;

[0045] S3, merging the boundary height candidate points and the boundary strength candidate points to obtain drivable boundary candidate points;

[0046] S4, screening the candidate points of the drivable boundary, splicing them according to the timestamps of the candidate points of the drivable boundary and performing dynamic interval thinning to obtain a boundary feature point set;

[0047] S5, projecting and sampling the road boundary point set of the pre-made map to obtain a pre-made map boundary point set, and fusing the pre-made map boundary point set according to a distance threshold of boundary feature points in the boundary feature point set to obtain a drivable boundary point set.

[0048] Preferably, step S1 specifically includes: dividing and sorting the scanning point cloud data to form multiple scanning point cloud bins, establishing multiple sliding windows to traverse the scanning point cloud bins to filter the corresponding height candidate points and store them into an index array, traversing the index array to confirm the left boundary height candidate points and the right boundary height candidate points corresponding to each scanning point cloud bin, and the left boundary height candidate points and the right boundary height candidate points of all the scanning point cloud bins constitute the boundary height candidate points.

[0049] The vehicle body coordinate system takes the vehicle's forward direction in the horizontal plane as the positive x direction, the left side of the vehicle as the positive y direction, and the direction perpendicular to the vehicle body upward as the positive z direction. The scanned point cloud data is reorganized by dividing it at certain intervals according to the x direction of the vehicle body coordinate system.

[0050] In a specific embodiment, the segmentation interval is 0.2m. Since the detection range of the solid-state laser radar is limited, the boundary distance of the scanned point cloud data is within the range of -15m to 15m. In each segmented scanned point cloud bin, the point cloud is sorted from large to small in the y direction of the vehicle body coordinate system. Figure 2 As shown, the horizontal axis is the y-axis, the vertical axis is the z-axis, and the pixel points in the figure are the sorted laser point cloud.

[0051] Set the sliding window size to 0.3m, establish m sliding windows to traverse each point p of the scanned point cloud bin, and the value of m can be determined according to specific needs. For each sliding window constructed for the current point p_cur, the y coordinate of each point in the sliding window is within the range of (p_cur.y, p_cur.y+0.3), where p_cur.y represents the y coordinate of the current point p_cur. Count the minimum z_min in the z direction of all points in the sliding window where the current point p_cur is located. In general, the point corresponding to z_min is often a ground point. Get the minimum z_min in the z direction in the sliding window, and search for the first point that is greater than a certain threshold of z_min along the negative direction of the y axis as a candidate height point.

[0052] In the sliding window where the current point p_cur is located, traverse n points in order, find the first point whose z value exceeds (z_min+z_delt), and store the point index in the index array idx_array. z_delt is the height threshold, usually set to 0.1m. If it is not found, there is no sudden change in the elevation in the sliding window, which is approximately a plane.

[0053] Repeat the above steps to process all sliding windows in the scanned point cloud bin, and store the height candidate points in each sliding window into the index array. Traverse the index array, and use the minimum z value point in the index array within the range of y>0 as the left boundary height candidate point, and use the maximum z value point in the range of y<0 as the right boundary height candidate point.

[0054] The above operation is repeated for all scanned point cloud bins, and the left boundary height candidate points and the right boundary height candidate points of all scanned point cloud bins constitute the boundary height candidate points.

[0055] Further preferably, the road boundary point set of the prefabricated map is transformed by a bird's-eye view projection, the drivable boundary mask width is set, and a road mask image of the drivable boundary is obtained. The scanned point cloud data is projected onto the road mask image by a bird's-eye view, the suspicious point set is screened, the suspicious point set is segmented and sorted to obtain multiple suspicious point cloud bins, the average road surface strength value is calculated, the suspicious point cloud bins are traversed, and the left side boundary strength candidate points and the right side boundary strength candidate points are screened based on the average road surface strength value. The left side boundary strength candidate points and the right side boundary strength candidate points of all suspicious point cloud bins constitute the boundary strength candidate points.

[0056] Generally, the width of the drivable boundary mask is set to 0.5m on both sides of the pre-made map boundary. The road boundary points of the pre-made map within the mask width are projected from above at a certain pixel resolution to obtain a discrete point set image of the overhead projection, and these discrete points are connected point by point to construct a road mask image of the drivable boundary. The scanned point cloud data is projected from above to the road mask image, and the point set in the mask is selected as a suspicious point set. The suspicious point set is segmented and sorted, and the segmentation interval is also set to 0.2m to obtain multiple suspicious point cloud bins. The average road surface strength value can be obtained by manually collecting road surface points in the area to be detected and calculating the mean of the point cloud strength as the average road surface strength value.

[0057] Traverse the suspicious point cloud bin, select the y minimum value point whose intensity value is greater than the average intensity value of the road surface and in the range of y>0 as the left boundary intensity candidate point, and select the y maximum value point whose intensity value is greater than the average intensity value of the road surface and in the range of y<0 as the right boundary intensity candidate point.

[0058] The above steps are repeated for all suspicious point cloud bins, and the left boundary strength candidate points and the right boundary strength candidate points of all suspicious point cloud bins constitute the boundary strength candidate points.

[0059] The boundary strength candidate points and boundary height candidate points are merged according to the bin index order, that is, the candidate points belonging to the same bin are stored in the same bin to obtain the drivable boundary candidate points. Due to the characteristics of non-repetitive laser scanning and close-to-close and far-to-distant characteristics, there may be no, one or two types of candidate points in each bin.

[0060] Preferably, the drivable boundary mask width is set, and the road mask image of the drivable boundary is constructed using the prefabricated map to screen the drivable boundary candidate points. After screening the drivable boundary candidate points stored in multiple frames, the current frame point cloud coordinate system is used as a reference, and the corresponding postures of the drivable boundary candidate points in the historical frames are converted to the current frame coordinate system according to the timestamp for splicing.

[0061] The mask image is used to screen all drivable boundary candidate points again, and boundary points that are far away can be eliminated.

[0062] After filtering each frame of point cloud, the candidate points of the drivable boundary are stored in the point cloud queue, and the positioning information is stored in the pose information queue. Based on the current frame point cloud coordinate system, matching is performed according to the timestamp, and the candidate points of the historical frame are converted to the current frame coordinate system according to the corresponding timestamp pose. After this processing, more dense candidate points can be obtained to avoid missing important feature points.

[0063] Further preferably, the dynamic interval thinning specifically includes setting a dynamic sampling interval according to the distance from the vehicle body, sampling the spliced ​​drivable boundary candidate points, and obtaining a boundary feature point set.

[0064] In order to speed up the calculation of downstream planning and reduce unnecessary boundary feature points, only the feature points closest to the vehicle body on the left and right boundaries need to be retained. The boundary point set composed of the feature point set after multiple frames are spliced ​​is divided according to a certain interval. According to the characteristics of the laser point cloud, the interval is set using a dynamic threshold.

[0065] Specifically, the x-axis of the vehicle coordinate system is used as the reference axis, and between 0-5m, 0.2m is used as the sampling interval; between 5-10m, 0.5m is used as the sampling interval; between 10-15m, 1m is used as the sampling interval. The spliced ​​drivable boundary candidate points are placed in the corresponding intervals. In each interval, the point with the minimum y value in the range of y>0 is selected as the left boundary feature point in the interval, and the point with the maximum y value in the range of y<0 is selected as the right boundary feature point in the interval.

[0066] Since there may be places where the boundary features are not obvious, or there are places without feature points over long distances, it is necessary to insert pre-made map boundary points for supplementation. The supplemented pre-made map boundary points are combined with the real-time detected feature points to form the final drivable boundary point set. Figure 3 As shown, the map boundary line is obtained by overhead projection of the road boundary points of the pre-made map, and sampling is performed along the x-axis direction of the vehicle body coordinate system according to a certain image sampling interval, and the image sampling interval is the actual interval / pixel resolution.

[0067] In a specific embodiment, the image sampling interval is 10 = 0.5m / 0.05m, and one pixel is selected for sampling every 10 pixels of the projected image. This method can obtain a series of boundary pixel sampling points, and then these sampling points are converted into two-dimensional coordinates in the vehicle body coordinate system to obtain the prefabricated map boundary points.

[0068] Preferably, S5 specifically includes traversing the boundary feature point set, according to ,in Indicates the distance threshold of the boundary feature points, represents the x-coordinate of the boundary feature point, Indicates taking the absolute value of the data in brackets, and calculating the distance threshold of the boundary feature point according to the x position of the boundary feature point. If there is no adjacent boundary feature point within the distance threshold, a prefabricated map boundary point adjacent to the boundary feature point is inserted accordingly.

[0069] In summary, the present invention proposes a method for detecting the drivable boundaries of a road sweeper, which processes the point cloud data obtained by real-time scanning to obtain boundary feature points. Compared with the existing technology, the boundary feature points can be integrated with the boundary points of the preset high-precision map to achieve more accurate boundary detection.

[0070] like Figure 4 As shown, a road sweeper drivable boundary detection system is proposed, comprising:

[0071] Height feature screening module 401: acquiring scanning point cloud data collected by a solid-state laser radar sensor, sorting and screening the scanning point cloud data, and obtaining boundary height candidate points;

[0072] Strength feature screening module 402: obtaining a pre-made map, screening the scanned point cloud data based on the road boundary point set of the pre-made map to obtain a suspicious point set, performing sorting and screening to obtain boundary strength candidate points;

[0073] Candidate point merging module 403: The boundary height candidate point and the boundary strength candidate point are combined to obtain a drivable boundary candidate point;

[0074] Candidate point processing module 404: screening the drivable boundary candidate points, splicing and dynamically thinning the drivable boundary candidate points according to the timestamps of the drivable boundary candidate points, and obtaining a boundary feature point set;

[0075] The drivable boundary point acquisition module 405 performs projection sampling on the road boundary point set of the pre-made map to obtain a pre-made map boundary point set, and fuses the pre-made map boundary point set according to the distance threshold of the boundary feature points in the boundary feature point set to obtain a drivable boundary point set.

[0076] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 suitable for implementing an electronic device of an embodiment of the present application. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0077] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which performs various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 509 into a random access memory (RAM) 504. In the RAM 504, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, the ROM 503, and the RAM 504 are connected to each other through a bus 505. An input / output (I / O) interface 506 is also connected to the bus 505.

[0078] The following components are connected to the I / O interface 506: an input section 507 including a keyboard, a mouse, etc.; an output section 508 including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 509 including a hard disk, etc.; and a communication section 510 including a network interface card such as a LAN card, a modem, etc. The communication section 510 performs communication processing via a network such as the Internet. A drive 511 is also connected to the I / O interface 506 as needed. A removable medium 512, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 511 as needed so that a computer program read therefrom is installed into the storage section 509 as needed.

[0079] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart is implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program is downloaded and installed from the network through the communication part 510, and / or installed from the removable medium 512. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the method of the present application are executed.

[0080] It should be noted that the computer-readable storage medium of the present application is a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium is, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium is any tangible medium containing or storing a program that is used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium includes a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal takes a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium is any computer-readable storage medium other than a computer-readable storage medium that sends, propagates or transmits a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium is transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0081] Computer program code for performing the operations of the present application is written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code is executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer is connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or is connected to an external computer (e.g., via the Internet using an Internet service provider).

[0082] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram represents a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession are actually executed substantially in parallel, and they are sometimes also executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart, are implemented by a dedicated hardware-based system that performs the specified function or operation, or are implemented by a combination of dedicated hardware and computer instructions.

[0083] The modules involved in the embodiments of the present application are implemented by software and hardware.

[0084] As another aspect, the present application also provides a computer-readable storage medium, which is included in the electronic device described in the above embodiment; it also exists independently and is not assembled into the electronic device. The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by the electronic device, the electronic device: S1, obtains the scanning point cloud data collected by the solid-state laser radar sensor, sorts and filters the scanning point cloud data, and obtains the boundary height candidate points; S2, obtains the prefabricated map, filters the scanning point cloud data based on the road boundary point set of the prefabricated map to obtain a suspicious point set, sorts and filters, and obtains the boundary strength candidate points; S3, merges the boundary height candidate points and the boundary strength candidate points to obtain the drivable boundary candidate points; S4, filters the drivable boundary candidate points, splices and dynamically thins out according to the timestamps of the drivable boundary candidate points, and obtains the boundary feature point set; S5, projects and samples the road boundary point set of the prefabricated map to obtain the prefabricated map boundary point set, and fuses the prefabricated map boundary point set according to the distance threshold of the boundary feature points in the boundary feature point set to obtain the drivable boundary point set.

[0085] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

Claims

1. A method for detecting a drivable boundary of a road sweeper, characterized in that: The following steps are involved: S1, obtaining scanning point cloud data collected by a solid-state laser radar sensor, segmenting and sorting the scanning point cloud data, establishing multiple sliding windows to traverse and filter the corresponding height candidate points and store them in an index array, traversing the index array, confirming the left boundary height candidate points and the right boundary height candidate points, and obtaining the boundary height candidate points; S2, obtaining a pre-made map, performing a top-down projection transformation on the road boundary point set of the pre-made map, setting a drivable boundary mask width, obtaining a road mask image of the drivable boundary, performing a top-down projection on the scanned point cloud data to the road mask image to filter out a suspicious point set, performing segmentation and sorting, and filtering based on the corresponding average road surface strength value to obtain a boundary strength candidate point; S3, merging the boundary height candidate points and the boundary strength candidate points to obtain drivable boundary candidate points; S4, screening the candidate points of the drivable boundary, splicing them according to the timestamps of the candidate points of the drivable boundary and performing dynamic interval thinning to obtain a boundary feature point set; S5, projecting and sampling the road boundary point set of the pre-made map to obtain a pre-made map boundary point set, traversing the boundary feature point set according to a distance threshold of the boundary feature points in the boundary feature point set, and if there are no adjacent boundary feature points within the distance threshold, inserting the corresponding pre-made map boundary points of the pre-made map boundary point set to obtain a drivable boundary point set.

2. The detection method according to claim 1, characterized in that: Step S1 specifically includes: dividing and sorting the scanning point cloud data to form multiple scanning point cloud bins, establishing multiple sliding windows to traverse the scanning point cloud bins to filter the corresponding height candidate points and store them in the index array, traversing the index array, confirming the left boundary height candidate points and the right boundary height candidate points corresponding to each scanning point cloud bin, and the left boundary height candidate points and the right boundary height candidate points of all the scanning point cloud bins constitute the boundary height candidate points.

3. The detection method according to claim 2, characterized in that: Step S2 specifically includes: performing a top-down projection transformation on the road boundary point set of the pre-made map, setting the drivable boundary mask width, obtaining a road mask image of the drivable boundary, performing a top-down projection on the scanned point cloud data onto the road mask image, screening the suspicious point set, segmenting and sorting the suspicious point set to obtain multiple suspicious point cloud bins, calculating the average road surface strength value, traversing the suspicious point cloud bins, screening the left-side boundary strength candidate points and the right-side boundary strength candidate points based on the average road surface strength value, and the left-side boundary strength candidate points and the right-side boundary strength candidate points of all suspicious point cloud bins constitute the boundary strength candidate points.

4. The detection method according to claim 3, characterized in that: S4 specifically includes using the road mask image to screen the drivable boundary candidate points, after screening the drivable boundary candidate points stored in multiple frames, taking the current frame point cloud coordinate system as a reference, and converting the corresponding poses of the drivable boundary candidate points of the historical frame into the current frame coordinate system according to the timestamp for splicing.

5. The detection method according to claim 4, characterized in that: The dynamic interval thinning specifically includes setting a dynamic sampling interval according to the distance from the vehicle body, sampling the spliced ​​drivable boundary candidate points, and obtaining a boundary feature point set.

6. The detection method according to claim 1, characterized in that: The road boundary point set of the prefabricated map is projected to obtain a corresponding projection image, a pixel point of the projection image is selected for sampling every 10 pixels to obtain a boundary pixel sampling point, and then the boundary pixel sampling point is restored to a two-dimensional coordinate in a vehicle body coordinate system to obtain the boundary point set of the prefabricated map.

7. The detection method according to claim 1, characterized in that: S5 specifically includes traversing the boundary feature point set according to the dis th =min(max(0.2*fabs(x)+0.1,0.5),2.0) calculates the distance threshold of the boundary feature points, where dis th represents the distance threshold of the boundary feature point, x represents the x-coordinate of the boundary feature point, fabs() represents taking the absolute value of the data in the brackets, and if there is no adjacent boundary feature point within the distance threshold, the corresponding prefabricated map boundary point of the prefabricated map boundary point set is inserted.

8. A road sweeper drivable boundary detection system, characterized in that: include: Height feature screening module: obtains the scanning point cloud data collected by the solid-state laser radar sensor, segments and sorts the scanning point cloud data, establishes multiple sliding windows to traverse and screen the corresponding height candidate points and stores them in the index array, traverses the index array, confirms the left boundary height candidate points and the right boundary height candidate points, and obtains the boundary height candidate points; Strength feature screening module: obtain a pre-made map, perform a top-down projection transformation on the road boundary point set of the pre-made map, set the drivable boundary mask width, obtain a road mask image of the drivable boundary, perform a top-down projection on the scanned point cloud data to the road mask image to screen and obtain a suspicious point set, perform segmentation and sorting, and screen based on the corresponding average road surface strength value to obtain boundary strength candidate points; Candidate point merging module: the boundary height candidate point and the boundary strength candidate point are combined to obtain the drivable boundary candidate point; Candidate point processing module: screening the drivable boundary candidate points, splicing them according to the timestamps of the drivable boundary candidate points and performing dynamic interval thinning to obtain a boundary feature point set; The drivable boundary point acquisition module is used to project and sample the road boundary point set of the pre-made map to obtain the pre-made map boundary point set, and the boundary feature point set is traversed according to the distance threshold of the boundary feature points in the boundary feature point set. If there is no adjacent boundary feature point within the distance threshold, the pre-made map boundary points of the pre-made map boundary point set are correspondingly inserted to obtain the drivable boundary point set.

9. A computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 7.

10. A computing system comprising a processor and a memory, wherein the processor is configured to execute the method according to any one of claims 1 to 7.