Method, device, equipment and medium for determining dynamic obstacles
By acquiring and processing multi-frame radar point cloud data in the autonomous driving system, dynamic obstacles are determined directly at the scene level, which solves the problem of cumulative errors caused by target detection and tracking, and improves the accuracy of dynamic obstacle detection and vehicle safety. .
Patent Information
- Application Number
- CN202311120638.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-08-31
AI Technical Summary
In the field of autonomous driving, cumulative errors caused by target detection and target tracking reduce the accuracy of dynamic obstacle detection.
By acquiring multi-frame radar point cloud data, the vehicle coordinate system is converted, and dynamic points on the SL boundary are determined based on SL coordinate point information, and dynamic obstacles are determined directly at the scene level to avoid cumulative errors caused by target detection and target tracking. .
The accuracy of dynamic obstacle detection is improved, errors are reduced, and the vehicle's ability to drive safely is enhanced.
Smart Images

Figure CN117148837B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method, device, equipment and medium for determining a dynamic obstacle. Background Art
[0002] In the field of autonomous driving, dynamic obstacle detection, as a key detection item, plays an important role in the safe driving of vehicles.
[0003] In the related art, the dynamic and static state of obstacles are determined at the obstacle level based on the results of target detection and target tracking. However, target detection and target tracking will produce cumulative errors, which will lead to poor accuracy in the dynamic and static state detection of obstacles. Summary of the invention
[0004] The present invention provides a method, device, equipment and medium for determining dynamic obstacles, which projects a radar point cloud to the SL direction and directly determines dynamic obstacles at the scene level, thereby avoiding the cumulative errors caused by target detection and target tracking and improving the accuracy of dynamic obstacle detection.
[0005] According to one aspect of the present invention, a method for determining a dynamic obstacle is provided, the method comprising:
[0006] Acquire multiple frames of radar point cloud data; wherein the multiple frames of radar point cloud data include current frame radar point cloud data and multiple frames of historical radar point cloud data;
[0007] According to the vehicle posture information corresponding to the current frame radar point cloud data, the point cloud in the multi-frame radar point cloud data is converted into a coordinate system to obtain multi-frame SL coordinate point information in the vehicle coordinate system;
[0008] Determine the SL boundary corresponding to the SL coordinate point information of each frame respectively according to the SL coordinate point information in each frame;
[0009] Determine a dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame;
[0010] The dynamic obstacle is determined according to the correspondence between the dynamic point and the obstacle in the current frame radar point cloud data.
[0011] According to another aspect of the present invention, there is provided a device for determining a dynamic obstacle, comprising:
[0012] A radar point cloud data acquisition module, used to acquire multiple frames of radar point cloud data; wherein the multiple frames of radar point cloud data include current frame radar point cloud data and multiple frames of historical radar point cloud data;
[0013] A point cloud coordinate system conversion module is used to perform coordinate system conversion on the point cloud in the multi-frame radar point cloud data according to the vehicle posture information corresponding to the current frame radar point cloud data, so as to obtain multi-frame SL coordinate point information in the vehicle coordinate system;
[0014] The SL boundary determination module is used to determine the SL boundary corresponding to the SL coordinate point information of each frame according to the SL coordinate point information in each frame;
[0015] A dynamic point determination module, used to determine the dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame;
[0016] The dynamic obstacle determination module is used to determine the dynamic obstacle according to the corresponding relationship between the dynamic point and the obstacle in the current frame radar point cloud data.
[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0018] at least one processor; and
[0019] a memory communicatively connected to the at least one processor; wherein,
[0020] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining a dynamic obstacle described in any embodiment of the present invention.
[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining a dynamic obstacle described in any embodiment of the present invention when executed.
[0022] The technical solution of the embodiment of the present invention obtains multi-frame radar point cloud data; wherein the multi-frame radar point cloud data includes current frame radar point cloud data and multi-frame historical radar point cloud data; coordinate system conversion is performed on the point cloud in the multi-frame radar point cloud data according to the vehicle posture information corresponding to the current frame radar point cloud data to obtain multi-frame SL coordinate point information in the vehicle coordinate system; the SL boundary corresponding to each frame SL coordinate point information is determined according to the SL coordinate point information in each frame; the dynamic point on the SL boundary is determined according to the change information of the SL boundary corresponding to each frame SL coordinate point information; the dynamic obstacle is determined according to the correspondence between the dynamic point and the obstacle in the current frame radar point cloud data. This technical solution projects the radar point cloud to the SL direction and directly determines the dynamic obstacle at the scene level, which can avoid the cumulative error caused by target detection and target tracking and improve the accuracy of dynamic obstacle detection.
[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 is a flow chart of a method for determining a dynamic obstacle provided according to Embodiment 1 of the present invention;
[0026] Figure 2 is a flow chart of a method for determining a dynamic obstacle provided according to Embodiment 2 of the present invention;
[0027] Figure 3 is a schematic diagram of the structure of a device for determining a dynamic obstacle provided according to Embodiment 3 of the present invention;
[0028] Figure 4 It is a structural schematic diagram of an electronic device for implementing a method for determining a dynamic obstacle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1 This is a flow chart of a method for determining a dynamic obstacle provided in the first embodiment of the present invention. This embodiment is applicable to the case of accurately detecting a dynamic obstacle. The method can be executed by a dynamic obstacle determination device. The dynamic obstacle determination device can be implemented in the form of hardware and / or software. The dynamic obstacle determination device can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:
[0033] S110, acquiring multiple frames of radar point cloud data; wherein the multiple frames of radar point cloud data include current frame radar point cloud data and multiple frames of historical radar point cloud data.
[0034] The current frame radar point cloud data may refer to the radar point cloud data corresponding to the current moment, and the historical radar point cloud data may refer to the radar point cloud data corresponding to before the current moment.
[0035] In this embodiment, radar point cloud data can be obtained by a radar (such as a laser radar) pre-installed on the vehicle. For example, the frame interval time dt can be pre-set, and the radar can detect according to the frame interval time dt to obtain multiple frames of radar point cloud data. The multiple frames of radar point cloud data are data after ground processing is removed.
[0036] S120, performing coordinate system conversion on the point clouds in the multi-frame radar point cloud data according to the vehicle posture information corresponding to the current frame radar point cloud data, to obtain multi-frame SL coordinate point information in the vehicle coordinate system.
[0037] Among them, the vehicle posture information can be used to characterize the position and posture of the vehicle. Exemplarily, the vehicle posture information can be expressed as [c_x, c_y, c_yaw] under a bird's-eye view (BEV), where c_x and c_y represent the vehicle position, and c_yaw represents the vehicle orientation angle (posture). The vehicle coordinate system may refer to a coordinate system established with the vehicle's own position as the origin and the c_yaw direction of the vehicle (i.e., the direction of the front of the vehicle) as the positive direction of the x-axis. For example, the vehicle coordinate system may be a Frenet coordinate system. Among them, the Frenet coordinate system refers to a coordinate system established with the vehicle's own position as the origin and the tangent direction (S direction, i.e., longitudinal) and normal direction (L direction, i.e., lateral) of the center line of the road as coordinate axes. SL coordinate point information can be used to characterize the position of a point in the vehicle coordinate system. Optionally, the SL coordinate point information includes S direction coordinate values and L direction coordinate values.
[0038] In this embodiment, all point clouds in the multi-frame radar point cloud data (including the current frame radar point cloud data and the multi-frame historical radar point cloud data) can be converted to the vehicle coordinate system according to the vehicle posture information corresponding to the current frame radar point cloud data to obtain the multi-frame SL coordinate point information in the vehicle coordinate system. For example, assuming that the vehicle is traveling in a straight line along the c_yaw direction, and the point cloud is represented as [p_x, p_y] from the BEV perspective, the SL coordinate point information can be determined by the following conversion formula:
[0039] p_s=(p_x-c_x)*cos(c_yaw)-(p_y-c_y)*sin(c_yaw);
[0040] p_l=(p_x-c_x)*sin(c_yaw)+(p_y-c_y)*cos(c_yaw).
[0041] Among them, [p_s, p_l] represents the SL coordinate point information, that is, p_s is the S direction coordinate value, and p_l is the L direction coordinate value.
[0042] S130, determining the SL boundary corresponding to the SL coordinate point information of each frame according to the SL coordinate point information in each frame.
[0043] In this embodiment, after obtaining the SL coordinate point information of multiple frames, the SL boundary corresponding to the SL coordinate point information of each frame can be determined respectively according to the SL coordinate point information in each frame. Optionally, the SL boundary corresponding to the SL coordinate point information of each frame is determined respectively according to the SL coordinate point information in each frame, including: traversing the SL coordinate point information in each frame respectively, taking the L direction coordinate value greater than zero as the upper boundary candidate value, and taking the L direction coordinate value less than zero as the lower boundary candidate value; determining the SL upper boundary of the frame according to the minimum L direction coordinate value among the upper boundary candidate values; determining the SL lower boundary of the frame according to the maximum L direction coordinate value among the lower boundary candidate values.
[0044] Exemplarily, for each frame of radar point cloud data, traverse each SL coordinate point information [p_s, p_l] after coordinate transformation, select all p_l where p_l>0 as upper boundary candidate values, and select all p_l where p_l<0 as lower boundary candidate values, then select the smallest p_l from the upper boundary candidate values as the SL upper boundary, and select the largest p_l from the lower boundary candidate values as the SL lower boundary. It can be understood that for different points located at the SL upper boundary or the SL lower boundary, the L direction coordinate values are the same, while the S direction coordinate values are different.
[0045] Through such a setting, the present solution can quickly and accurately determine the corresponding SL boundary according to the SL coordinate point information.
[0046] S140, determining a dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame.
[0047] In this embodiment, after determining the SL boundary corresponding to the SL coordinate point information of each frame, the dynamic point on the SL boundary can be determined according to the change information of the SL boundary. Optionally, determining the dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame includes: determining the continuous change information of the L direction coordinate value corresponding to each S direction coordinate value in the SL coordinate point information of multiple frames; if the continuous change information of the L direction coordinate value is continuously decreasing, and the S direction coordinate value is located at the SL upper boundary in the SL boundary, then determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; if the continuous change information of the L direction coordinate value is continuously increasing, and the S direction coordinate value is located at the SL lower boundary in the SL boundary, then determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point.
[0048] In this embodiment, the S direction detection range (such as 0-6 meters) and the S direction resolution (such as 0.2 meters) can be pre-set according to actual needs. Specifically, first determine multiple S direction coordinate values (0, 0.2, 0.4, ..., 6) in the S direction detection range (0-6 meters) according to the S direction resolution (0.2 meters). Then, for each S direction coordinate value, according to the acquisition time sequence of the radar point cloud data, the L direction coordinate value corresponding to the S direction coordinate value in each frame is determined according to the multi-frame SL coordinate point information. Then determine the continuous change information of the L direction coordinate value corresponding to the S direction coordinate value in each frame. For example, the L direction coordinate values of the two adjacent frames corresponding to the S direction coordinate value can be compared in turn. If the L direction coordinate values of all the subsequent frames are less than the L direction coordinate values of the previous frame, then determine that the L direction coordinate value continuous change information is continuously reduced; if the L direction coordinate values of all the subsequent frames are greater than the L direction coordinate values of the previous frame, then determine that the L direction coordinate value continuous change information is continuously increased. Alternatively, the L direction coordinate values of two adjacent frames corresponding to the S direction coordinate value can be subtracted in sequence, taking the L direction coordinate value of the later frame minus the L direction coordinate value of the previous frame as an example. If all the differences are less than 0, then the continuous change information of the L direction coordinate value is determined to be continuously decreasing; if all the differences are greater than 0, then the continuous change information of the L direction coordinate value is determined to be continuously increasing.
[0049] After determining the L direction coordinate value continuous change information corresponding to each S direction coordinate value in the multi-frame SL coordinate point information, the dynamic point can be determined according to the L direction coordinate value continuous change information and the position of the S direction coordinate value. Specifically, if the L direction coordinate value continuous change information is continuously decreasing, and the S direction coordinate value is located at the SL upper boundary in the SL boundary, then the target SL coordinate point corresponding to the S direction coordinate value in the current frame is determined to be a dynamic point; if the L direction coordinate value continuous change information is continuously increasing, and the S direction coordinate value is located at the SL lower boundary in the SL boundary, then the target SL coordinate point corresponding to the S direction coordinate value in the current frame is determined to be a dynamic point.
[0050] Exemplarily, determine whether the continuous change information of the L direction coordinate value corresponding to each S direction coordinate value of the SL upper boundary located in the SL boundary in the multi-frame SL coordinate point information is continuously decreasing. If so, determine that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; and determine whether the continuous change information of the L direction coordinate value corresponding to each S direction coordinate value of the SL lower boundary located in the SL boundary in the multi-frame SL coordinate point information is continuously increasing. If so, determine that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point.
[0051] Through such a setting, the present solution can quickly and accurately determine the dynamic point according to the continuous change information of the L direction coordinate value corresponding to the S direction coordinate value and the position of the S direction coordinate value.
[0052] S150, determining a dynamic obstacle according to a correspondence between the dynamic point and the obstacle in the radar point cloud data of the current frame.
[0053] In this embodiment, after determining the dynamic points on the SL boundary, the dynamic obstacles can be further determined according to the correspondence between the dynamic points and the obstacles in the current frame radar point cloud data. Optionally, determining the dynamic obstacles according to the correspondence between the dynamic points and the obstacles in the current frame radar point cloud data includes: determining the target obstacle convex hull information in the current frame radar point cloud data, and performing coordinate system conversion on the target obstacle convex hull information according to the vehicle posture information corresponding to the current frame radar point cloud data to obtain the target obstacle SL coordinate point information in the vehicle coordinate system; determining the S direction coverage range of the target obstacle according to the target obstacle SL coordinate point information, and determining the target dynamic points within the S direction coverage range; determining the number of dynamic points in the target dynamic points that successfully match the target obstacle convex hull information according to the obstacle identification information corresponding to the target dynamic points; if the number of dynamic points is greater than the preset number threshold, the target obstacle is determined to be a dynamic obstacle.
[0054] Among them, the target obstacle may refer to any obstacle in the current frame radar point cloud data sensed by the radar. The convex hull information may be used to characterize the target obstacle. The target dynamic point may refer to any dynamic point within the coverage range in the S direction. The obstacle identification information may be used to uniquely characterize the obstacle. The preset quantity threshold may refer to a reference value of the preset number of dynamic points, which may be set according to actual needs.
[0055] In this embodiment, when determining the dynamic obstacle according to the corresponding relationship between the dynamic point and the obstacle in the current frame radar point cloud data, the target obstacle convex hull information in the current frame radar point cloud data is first determined. Among them, the obstacle convex hull is composed of a number of ordered vertices. Then, according to the vehicle posture information corresponding to the current frame radar point cloud data, each vertex in the target obstacle convex hull information is converted to the vehicle coordinate system to obtain the target obstacle SL coordinate point information. Among them, the implementation method of converting the target obstacle convex hull information to the vehicle coordinate system can refer to the above-mentioned process of converting the point cloud in the multi-frame radar point cloud data to the coordinate system, which will not be repeated here. Then select the largest S coordinate point (s_max) and the smallest S coordinate point (s_min) from the target obstacle SL coordinate point information, and use [s_min, s_max] as the S direction coverage range of the target obstacle. Then determine which dynamic points fall within the S direction coverage range [s_min, s_max], and use the dynamic points falling within [s_min, s_max] as the target dynamic points.
[0056] In this embodiment, when radar point cloud data detection is performed by radar, obstacle identification information can be generated for each obstacle in the radar point cloud data at the same time to characterize different obstacles. Therefore, for the SL coordinate point information obtained after the point cloud in the multi-frame radar point cloud data is converted into a coordinate system, the obstacle identification information corresponding to each SL coordinate point information is known, and the obstacle identification information corresponding to the target dynamic point is also known. After determining the target dynamic point, it can be determined whether the target dynamic point is successfully matched with the target obstacle convex hull information according to the obstacle identification information corresponding to the target dynamic point, and the number of successfully matched target dynamic points is counted as the number of dynamic points. Specifically, if the obstacle identification information corresponding to the target dynamic point is consistent with the obstacle identification information of the target obstacle convex hull information, it can be determined that the target dynamic point is successfully matched with the target obstacle convex hull information; otherwise, the match fails. If the number of dynamic points is greater than the preset number threshold, it indicates that the number of successfully matched target dynamic points is large, and the target obstacle can be determined as a dynamic obstacle.
[0057] It should be noted that if there are multiple target obstacle convex hulls in the current frame radar point cloud data, it is necessary to perform coordinate system conversion on each target obstacle convex hull information and determine the S-direction coverage range of each target obstacle. After determining the target dynamic points within the S-direction coverage range, it is necessary to determine the number of dynamic points in the target dynamic points that successfully match the convex hull information of each target obstacle, and determine whether each target obstacle is a dynamic obstacle based on the number of dynamic points.
[0058] Through such a setting, this solution can quickly and accurately determine whether the target obstacle is a dynamic obstacle based on the number of dynamic points in the target dynamic points that successfully match the convex hull information of the target obstacle.
[0059] The technical solution of the embodiment of the present invention obtains multi-frame radar point cloud data; wherein the multi-frame radar point cloud data includes current frame radar point cloud data and multi-frame historical radar point cloud data; coordinate system conversion is performed on the point cloud in the multi-frame radar point cloud data according to the vehicle posture information corresponding to the current frame radar point cloud data to obtain multi-frame SL coordinate point information in the vehicle coordinate system; the SL boundary corresponding to each frame SL coordinate point information is determined according to the SL coordinate point information in each frame; the dynamic point on the SL boundary is determined according to the change information of the SL boundary corresponding to each frame SL coordinate point information; the dynamic obstacle is determined according to the correspondence between the dynamic point and the obstacle in the current frame radar point cloud data. This technical solution projects the radar point cloud to the SL direction and directly determines the dynamic obstacle at the scene level, which can avoid the cumulative error caused by target detection and target tracking and improve the accuracy of dynamic obstacle detection.
[0060] Embodiment 2
[0061] Figure 2 A flowchart of a method for determining a dynamic obstacle provided in Embodiment 2 of the present invention, this embodiment is optimized based on the above embodiment. The specific optimization is: before determining the dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame, it also includes: determining the reference radar point cloud information corresponding to the SL coordinate point information according to the SL coordinate point information falling on the SL boundary in each frame; determining the obstacle identification information corresponding to the SL coordinate point information according to the distance relationship between the reference radar point cloud information and the obstacle convex hull information in the frame.
[0062] like Figure 2 As shown, the method of this embodiment specifically includes the following steps:
[0063] S210, acquiring multiple frames of radar point cloud data; wherein the multiple frames of radar point cloud data include current frame radar point cloud data and multiple frames of historical radar point cloud data.
[0064] S220, performing coordinate system conversion on the point clouds in the multi-frame radar point cloud data according to the vehicle posture information corresponding to the current frame radar point cloud data, to obtain multi-frame SL coordinate point information in the vehicle coordinate system.
[0065] The SL coordinate point information includes the S direction coordinate value and the L direction coordinate value.
[0066] S230 , determining the SL boundary corresponding to the SL coordinate point information of each frame according to the SL coordinate point information in each frame.
[0067] Among them, the specific implementation method of S210-S230 can refer to the detailed description of S110-S130, which will not be repeated here.
[0068] S240, determining reference radar point cloud information corresponding to the SL coordinate point information according to the SL coordinate point information falling on the SL boundary in each frame.
[0069] Among them, the reference radar point cloud information may refer to the original radar point cloud information corresponding to the SL coordinate point information on the SL boundary. It can be understood that since the multi-frame SL coordinate point information is obtained after the coordinate system conversion of the point cloud in the multi-frame radar point cloud data, the correspondence between the multi-frame radar point cloud data and the multi-frame SL coordinate point information is known (that is, it is known which radar point cloud data each SL coordinate point information is converted from). In this case, based on the correspondence between the multi-frame radar point cloud data and the multi-frame SL coordinate point information, the reference radar point cloud information corresponding to the SL coordinate point information can be determined according to the SL coordinate point information falling on the SL boundary in each frame. Among them, the SL coordinate point information on the SL boundary in each frame can be the actual SL coordinate point information obtained after the coordinate system conversion, or it can be the SL coordinate point information selected on the SL boundary with the S direction resolution (such as 0.2 meters) as the step size.
[0070] S250, determining obstacle identification information corresponding to the SL coordinate point information according to the distance relationship between the reference radar point cloud information and the obstacle convex hull information in the frame.
[0071] In this embodiment, firstly, it is determined whether there is a reference radar point cloud falling within the obstacle convex hull in the frame according to the reference radar point cloud information. If so, the obstacle identification information corresponding to the obstacle convex hull information is determined as the obstacle identification information corresponding to the SL coordinate point information; if not, that is, all reference radar point clouds fall outside the obstacle convex hull, then the obstacle identification information corresponding to the obstacle convex hull closest to the reference radar point cloud is determined as the obstacle identification information corresponding to the SL coordinate point information. In addition, if the reference radar point cloud falls within multiple obstacle convex hulls in the frame, the number of reference radar point clouds falling within each obstacle convex hull is counted respectively, and the obstacle identification information corresponding to the obstacle convex hull with the largest number of reference radar point clouds is determined as the obstacle identification information corresponding to the SL coordinate point information.
[0072] S260, determining the L direction coordinate value continuous change information corresponding to each S direction coordinate value in the multi-frame SL coordinate point information.
[0073] S270, if the L direction coordinate value continuous change information is continuously decreasing, and the S direction coordinate value is located at the SL upper boundary in the SL boundary, then determine that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point.
[0074] S280, if the L direction coordinate value continuous change information is continuously increasing, and the S direction coordinate value is located at the SL lower boundary in the SL boundary, then determine that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point.
[0075] S290, determining the convex hull information of the target obstacle in the current frame radar point cloud data, and performing coordinate system conversion on the convex hull information of the target obstacle according to the vehicle posture information corresponding to the current frame radar point cloud data, to obtain the SL coordinate point information of the target obstacle in the vehicle coordinate system.
[0076] S2100: Determine the S-direction coverage of the target obstacle according to the SL coordinate point information of the target obstacle, and determine the target dynamic point within the S-direction coverage.
[0077] S2110 , determining the number of dynamic points in the target dynamic points that successfully match the convex hull information of the target obstacle according to the obstacle identification information corresponding to the target dynamic point.
[0078] S2120: If the number of dynamic points is greater than a preset number threshold, the target obstacle is determined to be a dynamic obstacle.
[0079] The technical solution of the embodiment of the present invention is to determine the reference radar point cloud information corresponding to the SL coordinate point information according to the SL coordinate point information falling on the SL boundary in each frame before determining the dynamic points on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame; and determine the obstacle identification information corresponding to the SL coordinate point information according to the distance relationship between the reference radar point cloud information and the obstacle convex hull information in the frame. This technical solution projects the radar point cloud to the SL direction and directly determines the dynamic obstacles at the scene level, which can avoid the cumulative errors caused by target detection and target tracking, improve the accuracy of dynamic obstacle detection, and can also quickly and accurately determine the obstacle identification information corresponding to the SL coordinate point information according to the distance relationship between the reference radar point cloud information and the obstacle convex hull information in the frame.
[0080] In this embodiment, optionally, before determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point, it also includes: determining the corresponding reference SL coordinate point information in each frame according to the S direction coordinate value; determining the corresponding reference obstacle identification information according to the reference SL coordinate point information; if the reference obstacle identification information corresponding to the S direction coordinate value in each frame is the same, then determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; otherwise, excluding the target SL coordinate point as a dynamic point.
[0081] It can be understood that if the reference obstacle identification information corresponding to the S-direction coordinate value in each frame is the same, it indicates that the reference obstacle corresponding to the S-direction coordinate value in each frame is the same obstacle. At this time, it can be determined that the target SL coordinate point corresponding to the S-direction coordinate value in the current frame is a dynamic point; otherwise, it indicates that the reference obstacle corresponding to the S-direction coordinate value in each frame is a different obstacle. At this time, it is necessary to exclude the target SL coordinate point as a dynamic point.
[0082] Through such a setting, the present solution can exclude dynamic points belonging to different obstacles from the initially determined dynamic points based on the reference obstacle identification information corresponding to the S-direction coordinate value in each frame, thereby further improving the accuracy of dynamic point determination.
[0083] In this embodiment, optionally, before determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point, it also includes: if the L direction coordinate value corresponding to the S direction coordinate value in each frame is less than a preset boundary threshold, then determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; otherwise, excluding the target SL coordinate point as a dynamic point.
[0084] In this embodiment, before determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point, the L direction coordinate value corresponding to the S direction coordinate value in each frame can also be compared with the preset boundary threshold, and whether to exclude the target SL coordinate point as a dynamic point is determined based on the comparison result. Among them, the preset boundary threshold can refer to a reference value of the L direction coordinate value set in advance, because it indicates the maximum deviation degree between the dynamic point and the vehicle in the L direction. If the maximum deviation degree is exceeded, it is determined that the obstacle to which the dynamic point belongs has a small impact on the vehicle. The specific numerical value can be set according to actual needs, for example, it is determined according to the distance accuracy of the impact of the obstacle on the vehicle. Specifically, if the L direction coordinate value corresponding to the S direction coordinate value in each frame is less than the preset boundary threshold, it can be determined that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; if there is an L direction coordinate value greater than or equal to the preset boundary threshold in the L direction coordinate value corresponding to the S direction coordinate value in each frame, the target SL coordinate point is excluded as a dynamic point.
[0085] Through such a setting, the present solution can exclude dynamic points exceeding the preset boundary threshold from the initially determined dynamic points based on the preset boundary threshold, thereby further improving the accuracy of dynamic point determination.
[0086] Embodiment 3
[0087] Figure 3 This is a schematic diagram of the structure of a dynamic obstacle determination device provided in the third embodiment of the present invention. The device can execute the dynamic obstacle determination method provided in any embodiment of the present invention and has the corresponding functional modules and beneficial effects of the execution method. Figure 3 As shown, the device comprises:
[0088] The radar point cloud data acquisition module 310 is used to acquire multiple frames of radar point cloud data; wherein the multiple frames of radar point cloud data include current frame radar point cloud data and multiple frames of historical radar point cloud data;
[0089] The point cloud coordinate system conversion module 320 is used to perform coordinate system conversion on the point cloud in the multi-frame radar point cloud data according to the vehicle posture information corresponding to the current frame radar point cloud data, so as to obtain multi-frame SL coordinate point information in the vehicle coordinate system;
[0090] The SL boundary determination module 330 is used to determine the SL boundary corresponding to the SL coordinate point information of each frame according to the SL coordinate point information in each frame;
[0091] A dynamic point determination module 340 is used to determine a dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame;
[0092] The dynamic obstacle determination module 350 is used to determine the dynamic obstacle according to the correspondence between the dynamic point and the obstacle in the current frame radar point cloud data.
[0093] Optionally, the SL coordinate point information includes an S direction coordinate value and an L direction coordinate value;
[0094] Accordingly, the SL boundary determination module 330 is specifically configured to:
[0095] Traverse the SL coordinate point information in each frame respectively, take the L direction coordinate value greater than zero as the upper boundary candidate value, and take the L direction coordinate value less than zero as the lower boundary candidate value;
[0096] Determine the SL upper boundary of the frame according to the minimum L direction coordinate value among the upper boundary candidate values;
[0097] The SL lower boundary of the frame is determined according to the maximum L direction coordinate value among the lower boundary candidate values.
[0098] Optionally, the SL coordinate point information includes an S direction coordinate value and an L direction coordinate value;
[0099] Accordingly, the dynamic point determination module 340 is used to:
[0100] Determine the L direction coordinate value continuous change information corresponding to each S direction coordinate value in the multiple frames of SL coordinate point information;
[0101] If the L direction coordinate value continuous change information is continuously decreasing, and the S direction coordinate value is located at the SL upper boundary in the SL boundary, then it is determined that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point;
[0102] If the L direction coordinate value continuous change information is continuously increasing, and the S direction coordinate value is located at the SL lower boundary in the SL boundary, it is determined that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point.
[0103] Optionally, the device further comprises:
[0104] A reference radar point cloud information determination module, configured to determine reference radar point cloud information corresponding to the SL coordinate point information according to the SL coordinate point information falling on the SL boundary in each frame before determining the dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame;
[0105] The obstacle identification information determination module is used to determine the obstacle identification information corresponding to the SL coordinate point information according to the distance relationship between the reference radar point cloud information and the obstacle convex hull information in the frame.
[0106] Optionally, the dynamic point determination module 340 is further used to:
[0107] Before determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point, determining the corresponding reference SL coordinate point information in each frame according to the S direction coordinate value;
[0108] Determine the corresponding reference obstacle identification information according to the reference SL coordinate point information;
[0109] If the reference obstacle identification information corresponding to the S direction coordinate value in each frame is the same, then the target SL coordinate point corresponding to the S direction coordinate value in the current frame is determined to be a dynamic point;
[0110] Otherwise, the target SL coordinate point is excluded as a dynamic point.
[0111] Optionally, the dynamic point determination module 340 is further used to:
[0112] Before determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point, if the L direction coordinate value corresponding to the S direction coordinate value in each frame is less than a preset boundary threshold, then determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point;
[0113] Otherwise, the target SL coordinate point is excluded as a dynamic point.
[0114] Optionally, the dynamic obstacle determination module 350 is specifically configured to:
[0115] Determine the convex hull information of the target obstacle in the current frame radar point cloud data, and perform coordinate system conversion on the convex hull information of the target obstacle according to the vehicle posture information corresponding to the current frame radar point cloud data to obtain the SL coordinate point information of the target obstacle in the vehicle coordinate system;
[0116] Determine the S direction coverage range of the target obstacle according to the SL coordinate point information of the target obstacle, and determine the target dynamic point within the S direction coverage range;
[0117] According to the obstacle identification information corresponding to the target dynamic point, determine the number of dynamic points in the target dynamic point that successfully match the convex hull information of the target obstacle;
[0118] If the number of the dynamic points is greater than a preset number threshold, the target obstacle is determined to be a dynamic obstacle.
[0119] A dynamic obstacle determination device provided by an embodiment of the present invention can execute a dynamic obstacle determination method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
[0120] Embodiment 4
[0121] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0122] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0123] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0124] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining a dynamic obstacle.
[0125] In some embodiments, the method for determining a dynamic obstacle may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining a dynamic obstacle described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method for determining a dynamic obstacle in any other appropriate manner (e.g., by means of firmware).
[0126] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0127] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0128] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0129] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0130] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0131] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0132] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0133] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining a dynamic obstacle, characterized in that: The method comprises: Acquire multiple frames of radar point cloud data; wherein the multiple frames of radar point cloud data include current frame radar point cloud data and multiple frames of historical radar point cloud data; According to the vehicle posture information corresponding to the current frame radar point cloud data, the point cloud in the multi-frame radar point cloud data is converted into a coordinate system to obtain multi-frame SL coordinate point information in the vehicle coordinate system; Determine the SL boundary corresponding to the SL coordinate point information of each frame respectively according to the SL coordinate point information in each frame; Determine the dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame, wherein the SL coordinate point information includes an S direction coordinate value and an L direction coordinate value; determine the dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame, including: determine the continuous change information of the L direction coordinate value corresponding to each S direction coordinate value in the SL coordinate point information of the multiple frames; if the continuous change information of the L direction coordinate value is continuously decreasing, and the S direction coordinate value is located at the SL upper boundary of the SL boundary, then determine that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; if the continuous change information of the L direction coordinate value is continuously increasing, and the S direction coordinate value is located at the SL lower boundary of the SL boundary, then determine that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; The dynamic obstacle is determined according to the correspondence between the dynamic point and the obstacle in the current frame radar point cloud data.
2. The method according to claim 1, characterized in that The SL coordinate point information includes the S direction coordinate value and the L direction coordinate value; Accordingly, the SL boundary corresponding to the SL coordinate point information of each frame is determined according to the SL coordinate point information in each frame, including: Traverse the SL coordinate point information in each frame respectively, take the L direction coordinate value greater than zero as the upper boundary candidate value, and take the L direction coordinate value less than zero as the lower boundary candidate value; Determine the SL upper boundary of the frame according to the minimum L direction coordinate value among the upper boundary candidate values; The SL lower boundary of the frame is determined according to the maximum L direction coordinate value among the lower boundary candidate values.
3. The method according to claim 1, characterized in that Before determining the dynamic point on the SL boundary according to the change information of the SL boundary corresponding to the SL coordinate point information of each frame, the method further includes: Determine reference radar point cloud information corresponding to the SL coordinate point information according to the SL coordinate point information falling on the SL boundary in each frame; The obstacle identification information corresponding to the SL coordinate point information is determined according to the distance relationship between the reference radar point cloud information and the obstacle convex hull information in the frame.
4. The method according to claim 3, characterized in that: Before determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point, the method further includes: Determine the corresponding reference SL coordinate point information in each frame according to the S direction coordinate value; Determine corresponding reference obstacle identification information according to the reference SL coordinate point information; If the reference obstacle identification information corresponding to the S direction coordinate value in each frame is the same, then the target SL coordinate point corresponding to the S direction coordinate value in the current frame is determined to be a dynamic point; Otherwise, the target SL coordinate point is excluded as a dynamic point.
5. The method according to claim 1 or 4, characterized in that: Before determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point, the method further includes: If the L direction coordinate value corresponding to the S direction coordinate value in each frame is less than the preset boundary threshold, the target SL coordinate point corresponding to the S direction coordinate value in the current frame is determined to be a dynamic point; Otherwise, the target SL coordinate point is excluded as a dynamic point.
6. The method according to claim 3, characterized in that Determining a dynamic obstacle according to a correspondence between the dynamic point and the obstacle in the current frame radar point cloud data includes: Determine the convex hull information of the target obstacle in the current frame radar point cloud data, and perform coordinate system conversion on the convex hull information of the target obstacle according to the vehicle posture information corresponding to the current frame radar point cloud data to obtain the SL coordinate point information of the target obstacle in the vehicle coordinate system; Determine the S direction coverage range of the target obstacle according to the SL coordinate point information of the target obstacle, and determine the target dynamic point within the S direction coverage range; According to the obstacle identification information corresponding to the target dynamic point, determine the number of dynamic points in the target dynamic point that successfully match the convex hull information of the target obstacle; If the number of the dynamic points is greater than a preset number threshold, the target obstacle is determined to be a dynamic obstacle.
7. A device for determining a dynamic obstacle, characterized in that: The device comprises: A radar point cloud data acquisition module, used to acquire multiple frames of radar point cloud data; wherein the multiple frames of radar point cloud data include current frame radar point cloud data and multiple frames of historical radar point cloud data; A point cloud coordinate system conversion module is used to perform coordinate system conversion on the point cloud in the multi-frame radar point cloud data according to the vehicle posture information corresponding to the current frame radar point cloud data, so as to obtain multi-frame SL coordinate point information in the vehicle coordinate system; The SL boundary determination module is used to determine the SL boundary corresponding to the SL coordinate point information of each frame according to the SL coordinate point information in each frame; A dynamic point determination module, for determining a dynamic point on a SL boundary according to change information of the SL boundary corresponding to the SL coordinate point information of each frame, wherein the SL coordinate point information includes an S direction coordinate value and an L direction coordinate value; determining a dynamic point on a SL boundary according to change information of the SL boundary corresponding to the SL coordinate point information of each frame, comprising: determining continuous change information of the L direction coordinate value corresponding to each S direction coordinate value in the SL coordinate point information of the multiple frames; if the continuous change information of the L direction coordinate value is continuously decreasing, and the S direction coordinate value is located at the SL upper boundary of the SL boundary, then determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; if the continuous change information of the L direction coordinate value is continuously increasing, and the S direction coordinate value is located at the SL lower boundary of the SL boundary, then determining that the target SL coordinate point corresponding to the S direction coordinate value in the current frame is a dynamic point; The dynamic obstacle determination module is used to determine the dynamic obstacle according to the corresponding relationship between the dynamic point and the obstacle in the current frame radar point cloud data.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the dynamic obstacle determination method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining a dynamic obstacle according to any one of claims 1 to 6 when executed.
