A method and device for positioning an intelligent vehicle in a dynamic scene
Through the combination of 4D millimeter wave radar, lidar and RGB camera data, combined with the target detection model and point cloud data processing, the problem of reduced positioning accuracy of smart vehicles in dynamic environments is solved and higher positioning accuracy is achieved.
Patent Information
- Application Number
- CN202410435956.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-04-11
AI Technical Summary
Existing technology is difficult to effectively solve the impact of movable objects on the positioning accuracy of unmanned vehicles in dynamic environments, resulting in reduced positioning accuracy.
4D millimeter wave radar, lidar and RGB cameras are used to collect data, combined with target detection models and point cloud data processing, to classify static and dynamic objects. Through semantic point cloud maps and observation weight calculations, the pose information of the smart car is determined and features are used Point matching and observation weight relationship improve positioning accuracy.
It effectively improves the positioning accuracy of smart cars in dynamic scenes and solves the problem of reduced positioning accuracy under the influence of dynamic objects.
Smart Images

Figure CN118365848B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a method and device for positioning an intelligent vehicle in a dynamic scene. Background Art
[0002] The research on mapping and localization of dynamic and movable objects is one of the key and difficult points in autonomous driving research. Current mapping and localization systems are usually based on the assumption of static environments or can only solve mapping and localization problems in environments with highly dynamic objects, but movable objects in the environment usually seriously affect the accuracy of mapping and localization.
[0003] There is no effective solution to the above problems. Summary of the invention
[0004] In view of this, the present application provides a method and device for positioning an intelligent vehicle in a dynamic scene to solve the above technical problems.
[0005] In a first aspect, an embodiment of the present application provides a method for positioning an intelligent vehicle in a dynamic scene, comprising:
[0006] Obtain the first point cloud data collected by the 4D millimeter wave radar, the second point cloud data collected by the laser radar, and the RGB image collected by the RGB camera of the target area at the current moment;
[0007] Processing the RGB image using a target detection model to determine a rectangular frame of a movable object;
[0008] The first point cloud data and the second point cloud data are converted into a pixel coordinate system, and the movable object is divided into a static object and a dynamic object according to the speed of the first point cloud data of the rectangular frame of the movable object;
[0009] The second point cloud data of the movable object in the pixel coordinate system is converted into the map coordinate system to obtain a semantic point cloud map;
[0010] The second point cloud data of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system are converted into the map coordinate system to obtain a static point cloud map;
[0011] Determining an observation weight of each object of the second point cloud data based on the static point cloud map and the semantic point cloud map;
[0012] The observation weight of each object in the second point cloud data is used to determine the position and posture information of the smart car at the current moment.
[0013] Furthermore, based on the static point cloud map and the semantic point cloud map, the observation weight of the dynamic object is determined; including:
[0014] Obtain the distance value between each point in the second point cloud data and the laser radar;
[0015] Calculate the first distance value of the distance value between each point and the laser radar in the static point cloud map and the second distance value of the distance value between each point and the laser radar in the semantic point cloud map respectively;
[0016] determining a difference between the first distance value and the second distance value;
[0017] The observation weight of each point in the second point cloud data is obtained by using the pre-established relationship between the observation weight and the difference, wherein the larger the difference, the smaller the observation weight.
[0018] Furthermore, the relationship between the observation weight and the difference is:
[0019]
[0020] in, It is about the distance difference The inverse exponential function, W is the observation weight, is the difference, δ is the parameter to be learned, and the value range of W is: [0,1].
[0021] Furthermore, the observation weight of each object in the second point cloud data is used to determine the position and posture information of the smart car at the current moment, including:
[0022] Selecting a plurality of feature points from the second point cloud data at the current moment;
[0023] Determine the feature points whose observation weight is less than the preset threshold as static feature points;
[0024] Matching multiple static feature points in the second point cloud data at the current moment with multiple static feature points in the second point cloud data at the previous moment to obtain N static feature point matching pairs;
[0025] Using the three-dimensional positions of the static feature points of the N matching pairs in the map coordinate system, determine the transformation matrix from the smart car coordinate system at the previous moment to the smart car coordinate system at the current moment;
[0026] The position and transformation matrix of the smart car at the previous moment are used to determine the position and posture of the smart car at the current moment.
[0027] Furthermore, the feature points include edge feature points and plane feature points.
[0028] Furthermore, the method further comprises:
[0029] Acquire a training sample set, wherein the training sample set includes continuous smart car sequence frame data, each smart car sequence frame data includes a first point cloud data sample, a second point cloud data sample, an RGB image sample, and an actual position and posture of the smart car;
[0030] Use the object detection model to process the RGB image samples and determine the rectangular box of the movable object;
[0031] converting the first point cloud data sample and the second point cloud data sample into a pixel coordinate system, and dividing the movable object into a static object and a dynamic object according to the speed of the first point cloud data sample of the rectangular frame of the movable object;
[0032] Convert the second point cloud data sample of the movable object in the pixel coordinate system to the map coordinate system to obtain a semantic point cloud map sample;
[0033] The second point cloud data samples of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system are converted into the map coordinate system to obtain a static point cloud map sample;
[0034] Determining the observation weight of each object of the second point cloud data sample according to the static point cloud map sample and the semantic point cloud map sample;
[0035] Obtaining the distance value between each point in the second point cloud data sample and the laser radar;
[0036] Calculate a third distance value between each point and the laser radar in the static point cloud map sample and a fourth distance value between each point and the laser radar in the semantic point cloud map sample, and determine a difference between the third distance value and the fourth distance value;
[0037] According to the relationship between the observation weight and the difference Determine an observation weight corresponding to a difference between the third distance value and the fourth distance value;
[0038] Determine the predicted position and posture information of the smart car in the current frame by using the observation weight of each object in the second point cloud data sample;
[0039] Using the predicted position information and actual position information of the smart car in the current frame, calculate the position error;
[0040] The position error is used to update the parameter δ.
[0041] In a second aspect, an embodiment of the present application provides a smart car positioning device for a dynamic scene, including:
[0042] An acquisition unit, used to acquire first point cloud data collected by a 4D millimeter wave radar, second point cloud data collected by a laser radar, and an RGB image collected by an RGB camera of a target area at a current moment;
[0043] A detection unit, used to process the RGB image using a target detection model to determine a rectangular frame of a movable object;
[0044] a dividing unit, configured to convert the first point cloud data and the second point cloud data into a pixel coordinate system, and to divide the movable object into a static object and a dynamic object according to a speed of the first point cloud data of the rectangular frame of the movable object;
[0045] A first processing unit is used to convert the second point cloud data of the movable object in the pixel coordinate system into the map coordinate system to obtain a semantic point cloud map;
[0046] A second processing unit is used to convert the second point cloud data of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system into a map coordinate system to obtain a static point cloud map;
[0047] A determination unit, configured to determine an observation weight of each object of the second point cloud data based on the static point cloud map and the semantic point cloud map;
[0048] The positioning unit is used to determine the position and posture information of the smart car at the current moment by using the observation weight of each object in the second point cloud data.
[0049] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of the embodiment of the present application when executing the computer program.
[0050] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method of the embodiment of the present application is implemented.
[0051] This application improves the positioning accuracy of smart cars in dynamic scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0053] Figure 1 A flow chart of a method for positioning a smart car in a dynamic scene provided by an embodiment of the present application;
[0054] Figure 2A functional structure diagram of a smart car positioning device for dynamic scenarios provided in an embodiment of the present application;
[0055] Figure 3 A functional structure diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0057] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0058] The technical solution provided in the embodiments of the present application is described below.
[0059] like Figure 1 As shown, the embodiment of the present application provides a method for positioning a smart car in a dynamic scene, comprising the following steps:
[0060] Step 101: Acquire first point cloud data collected by a 4D millimeter wave radar, second point cloud data collected by a laser radar, and an RGB image collected by an RGB camera of a target area at a current moment;
[0061] Step 102: Process the RGB image using a target detection model to determine a rectangular frame of a movable object;
[0062] Step 103: converting the first point cloud data and the second point cloud data into a pixel coordinate system, and dividing the movable object into a static object and a dynamic object according to the speed of the first point cloud data of the rectangular frame of the movable object;
[0063] Step 104: converting the second point cloud data of the movable object in the pixel coordinate system into the map coordinate system to obtain a semantic point cloud map;
[0064] Step 105: convert the second point cloud data of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system into the map coordinate system to obtain a static point cloud map;
[0065] Step 106: Determine the observation weight of each object in the second point cloud data based on the static point cloud map and the semantic point cloud map;
[0066] Step 107: Determine the current position and posture information of the smart car by using the observation weight of each object in the second point cloud data.
[0067] The present application provides a method for positioning a smart car in a dynamic scene, which can solve the problem of reduced positioning accuracy of the smart car due to dynamic objects in the dynamic scene; and can effectively improve the positioning accuracy of the smart car in the dynamic scene.
[0068] In some embodiments, step 106 of determining the observation weight of each object of the second point cloud data based on the static point cloud map and the semantic point cloud map includes:
[0069] Obtain the distance value between each point in the second point cloud data and the laser radar;
[0070] Calculate the first distance value of the distance value between each point and the laser radar in the static point cloud map and the second distance value of the distance value between each point and the laser radar in the semantic point cloud map respectively;
[0071] determining a difference between the first distance value and the second distance value;
[0072] The observation weight of each point in the second point cloud data is obtained by using the pre-established relationship between the observation weight and the difference, wherein the larger the difference, the smaller the observation weight.
[0073] In some embodiments, the relationship between the observation weight and the difference is:
[0074]
[0075] in, It is about the distance difference The inverse exponential function, W is the observation weight, is the difference, δ is the parameter to be learned, and the value range of W is: [0,1].
[0076] In some embodiments, step 107 uses the observation weights of each object in the second point cloud data to determine the current position information of the smart car, including:
[0077] Selecting a plurality of feature points from the second point cloud data at the current moment;
[0078] Feature points whose observation weights are less than a preset threshold are determined as static feature points; wherein, preferably, the preset threshold is 0.3.
[0079] Matching multiple static feature points in the second point cloud data at the current moment with multiple static feature points in the second point cloud data at the previous moment to obtain N static feature point matching pairs;
[0080] Using the three-dimensional positions of the static feature points of the N matching pairs in the map coordinate system, determine the transformation matrix from the smart car coordinate system at the previous moment to the smart car coordinate system at the current moment;
[0081] The position and transformation matrix of the smart car at the previous moment are used to determine the position and posture of the smart car at the current moment.
[0082] In some embodiments, the feature points include edge feature points and plane feature points.
[0083] Among them, edge feature points and plane feature points are extracted by calculating the curvature of each point; edge feature points include corner points and points with larger curvature, which means they are at the edge or corner of the object, reflecting the linear structure in the environment, such as wall corners or other protruding object edges; plane feature points include: points with smaller curvature values, which are generally located on larger planes, such as walls, ground or other larger plane structures.
[0084] In some embodiments, the method further comprises:
[0085] Acquire a training sample set, wherein the training sample set includes continuous smart car sequence frame data, each smart car sequence frame data includes a first point cloud data sample, a second point cloud data sample, an RGB image sample, and an actual position and posture of the smart car;
[0086] Use the object detection model to process the RGB image samples and determine the rectangular box of the movable object;
[0087] converting the first point cloud data sample and the second point cloud data sample into a pixel coordinate system, and dividing the movable object into a static object and a dynamic object according to the speed of the first point cloud data sample of the rectangular frame of the movable object;
[0088] Convert the second point cloud data sample of the movable object in the pixel coordinate system to the map coordinate system to obtain a semantic point cloud map sample;
[0089] The second point cloud data samples of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system are converted into the map coordinate system to obtain a static point cloud map sample;
[0090] Determining the observation weight of each object of the second point cloud data sample according to the static point cloud map sample and the semantic point cloud map sample;
[0091] Obtaining the distance value between each point in the second point cloud data sample and the laser radar;
[0092] Calculate a third distance value between each point and the laser radar in the static point cloud map sample and a fourth distance value between each point and the laser radar in the semantic point cloud map sample, and determine a difference between the third distance value and the fourth distance value;
[0093] According to the relationship between the observation weight and the difference Determine an observation weight corresponding to a difference between the third distance value and the fourth distance value;
[0094] Determine the predicted position and posture information of the smart car in the current frame by using the observation weight of each object in the second point cloud data sample;
[0095] Using the predicted position information and actual position information of the smart car in the current frame, calculate the position error;
[0096] The position error is used to update the parameter δ.
[0097] Based on the above embodiments, the present application embodiment provides a smart car positioning device for dynamic scenes. Figure 2 As shown, the smart car positioning device 200 for dynamic scenes provided in the embodiment of the present application at least includes:
[0098] An acquisition unit 201 is used to acquire first point cloud data collected by a 4D millimeter wave radar, second point cloud data collected by a laser radar, and an RGB image collected by an RGB camera of a target area at a current moment;
[0099] A detection unit 202, configured to process the RGB image using a target detection model to determine a rectangular frame of a movable object;
[0100] A division unit 203, configured to convert the first point cloud data and the second point cloud data into a pixel coordinate system, and to divide the movable object into a static object and a dynamic object according to the speed of the first point cloud data of the rectangular frame of the movable object;
[0101] The first processing unit 204 is used to convert the second point cloud data of the movable object in the pixel coordinate system into the map coordinate system to obtain a semantic point cloud map;
[0102] The second processing unit 205 is used to convert the second point cloud data of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system into the map coordinate system to obtain a static point cloud map;
[0103] A determination unit 206, configured to determine an observation weight of each object in the second point cloud data based on the static point cloud map and the semantic point cloud map;
[0104] The positioning unit 207 is used to determine the current position and posture information of the smart car by using the observation weight of each object in the second point cloud data.
[0105] It should be noted that the principle of solving the technical problem by the smart car positioning device 200 for dynamic scenes provided in the embodiment of the present application is similar to the method provided in the embodiment of the present application. Therefore, the implementation of the smart car positioning device 200 for dynamic scenes provided in the embodiment of the present application can refer to the implementation of the method provided in the embodiment of the present application, and the repeated parts will not be repeated.
[0106] Based on the above embodiments, the present application also provides an electronic device, referring to Figure 3 As shown, the electronic device 300 provided in the embodiment of the present application includes at least: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the smart car positioning method for dynamic scenes provided in the embodiment of the present application is implemented.
[0107] The electronic device 300 provided in the embodiment of the present application may further include a bus 303 connecting different components (including the processor 301 and the memory 302). The bus 303 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.
[0108] The memory 302 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 3021 and / or a cache memory 3022 , and may further include a read-only memory (ROM) 3023 .
[0109] The memory 302 may also include a program tool 3025 having a set (at least one) of program modules 3024, the program modules 3024 including but not limited to: an operating subsystem, one or more applications, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0110] The electronic device 300 may also communicate with one or more external devices 304 (e.g., keyboards, remote controls, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 300 (e.g., mobile phones, computers, etc.), and / or communicate with any device that enables the electronic device 300 to communicate with one or more other electronic devices 300 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 305. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 306. Figure 3 As shown, the network adapter 306 communicates with other modules of the electronic device 300 via the bus 303. It should be understood that although Figure 3 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.
[0111] It should be noted that Figure 3 The electronic device 300 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.
[0112] The embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed by the processor, the smart car positioning method for dynamic scenes provided by the embodiment of the present application is implemented. Specifically, the executable program can be built-in or installed in the electronic device 300, so that the electronic device 300 can implement the smart car positioning method for dynamic scenes provided by the embodiment of the present application by executing the built-in or installed executable program.
[0113] The smart car positioning method for dynamic scenes provided in the embodiment of the present application can also be implemented as a program product, which includes a program code. When the program product can be run on the electronic device 300, the program code is used to enable the electronic device 300 to execute the smart car positioning method for dynamic scenes provided in the embodiment of the present application.
[0114] The program product provided in the embodiments of the present application may adopt any combination of one or more readable media, wherein the readable medium may be a readable signal medium or a readable storage medium, and the readable storage medium may be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0115] The program product provided in the embodiment of the present application may adopt a CD-ROM and include program code, and may also be run on a computing device. However, the program product provided in the embodiment of the present application is not limited thereto. In the embodiment of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
[0116] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0117] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that any modification or equivalent replacement of the technical solution of the present application does not depart from the spirit and scope of the technical solution of the present application and should be included in the scope of the claims of the present application.
Claims
1. A method for positioning an intelligent vehicle in a dynamic scene, characterized in that: include: Obtain the first point cloud data collected by the 4D millimeter wave radar, the second point cloud data collected by the laser radar, and the RGB image collected by the RGB camera of the target area at the current moment; Processing the RGB image using a target detection model to determine a rectangular frame of a movable object; The first point cloud data and the second point cloud data are converted into a pixel coordinate system, and the movable object is divided into a static object and a dynamic object according to the speed of the first point cloud data of the rectangular frame of the movable object; The second point cloud data of the movable object in the pixel coordinate system is converted into the map coordinate system to obtain a semantic point cloud map; The second point cloud data of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system are converted into the map coordinate system to obtain a static point cloud map; Determining an observation weight of each object of the second point cloud data based on the static point cloud map and the semantic point cloud map; Using the observation weight of each object in the second point cloud data, determine the current position and posture information of the smart car; The method further comprises: Acquire a training sample set, wherein the training sample set includes continuous smart car sequence frame data, each smart car sequence frame data includes a first point cloud data sample, a second point cloud data sample, an RGB image sample, and an actual position and posture of the smart car; Use the object detection model to process the RGB image samples and determine the rectangular box of the movable object; converting the first point cloud data sample and the second point cloud data sample into a pixel coordinate system, and dividing the movable object into a static object and a dynamic object according to the speed of the first point cloud data sample of the rectangular frame of the movable object; Convert the second point cloud data sample of the movable object in the pixel coordinate system to the map coordinate system to obtain a semantic point cloud map sample; The second point cloud data samples of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system are converted into the map coordinate system to obtain a static point cloud map sample; Determining an observation weight of each object of a second point cloud data sample based on the static point cloud map sample and the semantic point cloud map sample; Obtaining the distance value between each point in the second point cloud data sample and the laser radar; Calculate a third distance value between each point and the laser radar in the static point cloud map sample and a fourth distance value between each point and the laser radar in the semantic point cloud map sample, and determine a difference between the third distance value and the fourth distance value; According to the relationship between the observation weight and the difference Determine the observation weight corresponding to the difference between the third distance value and the fourth distance value; wherein, is the inverse exponential function, W is the observation weight, is the difference, δ is the parameter to be learned, and the value range of W is: [0,1]; Determine the predicted position and posture information of the smart car in the current frame by using the observation weight of each object in the second point cloud data sample; Using the predicted position information and actual position information of the smart car in the current frame, calculate the position error; The position error is used to update the parameter δ.
2. The method for positioning an intelligent vehicle in a dynamic scene according to claim 1, characterized in that: Determining the observation weight of each object of the second point cloud data based on the static point cloud map and the semantic point cloud map; comprising: Obtain the distance value between each point in the second point cloud data and the laser radar; Calculate the first distance value of the distance value between each point and the laser radar in the static point cloud map and the second distance value of the distance value between each point and the laser radar in the semantic point cloud map respectively; determining a difference between the first distance value and the second distance value; The observation weight of each point in the second point cloud data is obtained by using the pre-established relationship between the observation weight and the difference, wherein the larger the difference, the smaller the observation weight.
3. The method for positioning an intelligent vehicle in a dynamic scene according to claim 2, characterized in that: The relationship between the observation weight and the difference is: in, It is about the distance difference The inverse exponential function, W is the observation weight, is the difference, δ is the parameter to be learned, and the value range of W is: [0,1].
4. The method for positioning an intelligent vehicle in a dynamic scene according to claim 3, characterized in that: The observation weights of each object in the second point cloud data are used to determine the current position information of the smart car, including: Selecting a plurality of feature points from the second point cloud data at the current moment; Determine the feature points whose observation weight is less than the preset threshold as static feature points; Matching multiple static feature points in the second point cloud data at the current moment with multiple static feature points in the second point cloud data at the previous moment to obtain N static feature point matching pairs; Using the three-dimensional positions of the static feature points of the N matching pairs in the map coordinate system, determine the transformation matrix from the smart car coordinate system at the previous moment to the smart car coordinate system at the current moment; The position and transformation matrix of the smart car at the previous moment are used to determine the position and posture of the smart car at the current moment.
5. The method for positioning an intelligent vehicle in a dynamic scene according to claim 4, characterized in that: The feature points include edge feature points and plane feature points.
6. A smart car positioning device for dynamic scenes, characterized in that: include: An acquisition unit, used to acquire first point cloud data collected by a 4D millimeter wave radar, second point cloud data collected by a laser radar, and an RGB image collected by an RGB camera of a target area at a current moment; A detection unit, used to process the RGB image using a target detection model to determine a rectangular frame of a movable object; a dividing unit, configured to convert the first point cloud data and the second point cloud data into a pixel coordinate system, and to divide the movable object into a static object and a dynamic object according to a speed of the first point cloud data of the rectangular frame of the movable object; A first processing unit is used to convert the second point cloud data of the movable object in the pixel coordinate system into the map coordinate system to obtain a semantic point cloud map; A second processing unit is used to convert the second point cloud data of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system into a map coordinate system to obtain a static point cloud map; A determination unit, configured to determine an observation weight of each object of the second point cloud data based on the static point cloud map and the semantic point cloud map; A positioning unit, used to determine the position and posture information of the smart car at a current moment by using the observation weight of each object in the second point cloud data; The device also includes a training unit, specifically configured to: Acquire a training sample set, wherein the training sample set includes continuous smart car sequence frame data, each smart car sequence frame data includes a first point cloud data sample, a second point cloud data sample, an RGB image sample, and an actual position and posture of the smart car; Use the object detection model to process the RGB image samples and determine the rectangular box of the movable object; converting the first point cloud data sample and the second point cloud data sample into a pixel coordinate system, and dividing the movable object into a static object and a dynamic object according to the speed of the first point cloud data sample of the rectangular frame of the movable object; Convert the second point cloud data sample of the movable object in the pixel coordinate system to the map coordinate system to obtain a semantic point cloud map sample; The second point cloud data samples of the connected area outside the rectangular frame of the movable object and the rectangular frame of the static object in the pixel coordinate system are converted into the map coordinate system to obtain a static point cloud map sample; Determining an observation weight of each object of a second point cloud data sample based on the static point cloud map sample and the semantic point cloud map sample; Obtaining the distance value between each point in the second point cloud data sample and the laser radar; Calculate a third distance value between each point and the laser radar in the static point cloud map sample and a fourth distance value between each point and the laser radar in the semantic point cloud map sample, and determine a difference between the third distance value and the fourth distance value; According to the relationship between the observation weight and the difference Determine the observation weight corresponding to the difference between the third distance value and the fourth distance value; wherein, is the inverse exponential function, W is the observation weight, is the difference, δ is the parameter to be learned, and the value range of W is: [0,1]; Determine the predicted position and posture information of the smart car in the current frame by using the observation weight of each object in the second point cloud data sample; Using the predicted position information and actual position information of the smart car in the current frame, calculate the position error; The position error is used to update the parameter δ.
7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Intelligent vehicle positioning method and system in dynamic scene
CN114170315A
Robot positioning method and apparatus, robot, and readable storage medium
WO2022183785A1
