Vehicle positioning method and device, vehicle and program product
By constructing and using target maps on urban roads and integrating multiple sensory information, the problem of insufficient positioning accuracy and robustness is solved, and the stability and user experience of autonomous driving are improved.
Patent Information
- Application Number
- CN202410903105.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-01
AI Technical Summary
The accuracy and robustness of driving positioning on urban roads are not high, and the lack of semantic elements in high-precision maps makes it impossible to achieve stable matching and positioning, affecting autonomous driving functions and user experience.
By obtaining the current position of the vehicle, it is judged whether it is close to the location in the preset location database. If it is close, it is judged whether there is a target map. If it exists, the target map is used for positioning. Otherwise, the target map is constructed during the driving process and integrates road semantic elements. Vehicle information, surrounding features and radar point cloud information generate a target map for positioning during the next drive.
It greatly improves the positioning effect, reduces the frequency of autonomous driving takeover, ensures stable matching positioning on urban roads, and improves the coherence and user experience of autonomous driving functions.
Smart Images

Figure CN118730135A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle positioning method, device, vehicle and program product. Background Art
[0002] With the continuous advancement of technology, autonomous driving has gradually moved from high-speed to urban scenarios. In recent years, the rapid development of NGP (Navigation Guided Pilot) functions has led to the rapid evolution of high-precision positioning technology, and traditional positioning technology has gradually failed to meet the needs of complex scenarios.
[0003] In related technologies, vehicle positioning technology is obtained by integrating matching positioning, IMU (Inertial Measurement Unit) and GPS (Global Positioning System). Among them, matching positioning is an important part of vehicle positioning. It obtains positioning information by matching the forward-looking and surround-looking cameras with the high-precision map vector elements provided by the map provider. It can compensate for the positioning accuracy when the GPS signal is poor and improve the scope of autonomous driving scenarios.
[0004] However, there are still some problems with the matching and positioning in related technologies, among which the greater influence of semantic elements is a more prominent problem. When faced with a scenario where semantic elements are missing from high-precision maps, stable matching and positioning cannot be achieved, resulting in the degradation of autonomous driving functions and affecting user experience. Summary of the invention
[0005] The present application provides a vehicle positioning method, device, vehicle and program product to solve the problems of low driving positioning accuracy and robustness on urban roads, lack of semantic elements in high-precision maps, inability to achieve stable matching positioning, resulting in degradation of autonomous driving functions and affecting user experience, etc., greatly improving the positioning effect and reducing the frequency of autonomous driving takeover.
[0006] The first aspect of the present application provides a vehicle positioning method, comprising the following steps:
[0007] Get the current location of the vehicle;
[0008] If the distance between the current position and any location in the preset location library is less than a preset distance, determining whether there is a target map corresponding to the current position and any location in the preset map library;
[0009] If the target map exists, the vehicle is positioned based on the target map; otherwise, when the vehicle travels from the current position to any location, the target map is constructed so that the vehicle can be positioned based on the target map the next time the vehicle travels from the current position to any location.
[0010] Optionally, in some embodiments, constructing the target map includes:
[0011] Obtain road semantic elements, road vehicle information, surrounding feature information and radar point cloud information;
[0012] Based on the preset time synchronization information, a visual semantic layer and a visual point cloud layer are obtained according to the road semantic elements, the road vehicle information, and the surrounding feature information, and a laser point cloud layer is obtained according to the radar point cloud information;
[0013] The visual semantic layer, the visual point cloud layer and the laser point cloud layer are fused to generate the target map.
[0014] Optionally, in some embodiments, before positioning the vehicle based on the target map, the method further includes:
[0015] Acquire current positioning information based on the current position, and determine whether the current positioning information matches the positioning information in the target map;
[0016] If the current positioning information matches the positioning information in the target map, a map matching mode is entered.
[0017] Optionally, in some embodiments, before positioning the vehicle based on the target map, the method further includes:
[0018] If the current positioning information cannot be obtained, a repositioning operation is performed based on the visual point cloud layer and the preset semantic element memory map until the current positioning information matches the positioning information in the target map.
[0019] Optionally, in some embodiments, it is characterized in that before positioning the vehicle based on the target map, it also includes:
[0020] Determine whether a location-enabling instruction from the user has been received;
[0021] If the positioning start instruction of the user is not received, there is no need to construct the target map.
[0022] A second aspect of the present application provides a vehicle positioning device, including:
[0023] An acquisition module is used to obtain the current position of the vehicle;
[0024] A judgment module, used for judging whether a target map corresponding to the current position and any location in the preset location library exists in the preset map library when the distance between the current position and any location in the preset location library is less than a preset distance;
[0025] A positioning module is used to locate the vehicle based on the target map when the target map exists; otherwise, when the vehicle travels from the current position to any location, the target map is constructed to locate the vehicle based on the target map when the vehicle travels from the current position to any location next time.
[0026] Optionally, in some embodiments, the positioning module is specifically used to:
[0027] Obtain road semantic elements, road vehicle information, surrounding feature information and radar point cloud information;
[0028] Based on the preset time synchronization information, a visual semantic layer and a visual point cloud layer are obtained according to the road semantic elements, the road vehicle information, and the surrounding feature information, and a laser point cloud layer is obtained according to the radar point cloud information;
[0029] The visual semantic layer, the visual point cloud layer and the laser point cloud layer are fused to generate the target map.
[0030] Optionally, in some embodiments, before positioning the vehicle based on the target map, the positioning module is further configured to:
[0031] Acquire current positioning information based on the current position, and determine whether the current positioning information matches the positioning information in the target map;
[0032] When the current positioning information matches the positioning information in the target map, a map matching mode is entered.
[0033] Optionally, in some embodiments, before positioning the vehicle based on the target map, the positioning module is further configured to:
[0034] In the case where the current positioning information cannot be obtained, a repositioning operation is performed based on the visual point cloud layer and the preset semantic element memory map until the current positioning information matches the positioning information in the target map.
[0035] Optionally, in some embodiments, before positioning the vehicle based on the target map, the positioning module is further configured to:
[0036] Determine whether a location-enabling instruction from the user has been received;
[0037] If the positioning start instruction of the user is not received, there is no need to construct the target map.
[0038] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle positioning method as described in the above embodiment.
[0039] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, the program being executed by a processor to implement the vehicle positioning method as described in the above embodiment.
[0040] Therefore, by obtaining the current position of the vehicle, if the distance between the current position and any location in the preset location library is less than the preset distance, it is determined whether there is a target map corresponding to the current position and any location in the preset map library. If there is a target map, the vehicle is positioned based on the target map. Otherwise, when the vehicle travels from the current position to any location, a target map is constructed so that the vehicle can be positioned based on the target map the next time the vehicle travels from the current position to any location. In this way, the low driving positioning accuracy and robustness on urban roads, the lack of semantic elements in high-precision maps, and the inability to achieve stable matching positioning, which leads to the degradation of autonomous driving functions and affects user experience, etc., greatly improves the positioning effect and reduces the frequency of autonomous driving takeover.
[0041] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0043] Figure 1 A flowchart of a vehicle positioning method provided according to an embodiment of the present application;
[0044] Figure 2 is a flow chart of a vehicle positioning method according to a specific embodiment of the present application;
[0045] Figure 3 A block diagram of a vehicle positioning device provided according to an embodiment of the present application;
[0046] Figure 4It is a block diagram of a vehicle provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0047] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0048] The following describes the positioning method, device, vehicle and program product of the vehicle of the embodiment of the present application with reference to the accompanying drawings. In view of the low positioning accuracy and robustness of driving on urban roads mentioned in the above background technology, the lack of semantic elements in the high-precision map, the inability to achieve stable matching positioning, resulting in the degradation of the automatic driving function and affecting the user experience, the present application provides a vehicle positioning method, in which the current position of the vehicle is obtained; if the distance between the current position and any location in the preset location library is less than the preset distance, it is determined whether there is a target map corresponding to the current position and any location in the preset map library; if there is a target map, the vehicle is positioned based on the target map, otherwise, when the vehicle travels from the current position to any location, a target map is constructed, so that the vehicle is positioned based on the target map when the vehicle travels from the current position to any location next time. In this way, the low positioning accuracy and robustness of driving on urban roads, the lack of semantic elements in the high-precision map, the inability to achieve stable matching positioning, resulting in the degradation of the automatic driving function and affecting the user experience, etc., greatly improve the positioning effect, and reduce the frequency of automatic driving takeover.
[0049] Specifically, Figure 1 A schematic flow chart of a vehicle positioning method provided in an embodiment of the present application.
[0050] like Figure 1 As shown, the vehicle positioning method includes the following steps:
[0051] In step S101, the current position of the vehicle is acquired.
[0052] Among them, the current position of the vehicle in the embodiment of the present application is the latitude and longitude of the current vehicle.
[0053] Optionally, the embodiments of the present application can obtain the current position of the vehicle through a global satellite navigation system, an inertial navigation system, a map matching technology, and a fusion positioning technology.
[0054] In step S102, if the distance between the current position and any location in the preset location library is less than a preset distance, it is determined whether there is a target map corresponding to the current position and any location in the preset map library.
[0055] The location locations in the preset location library of the embodiment of the present application are fixed commuting locations set by the user in advance through the system, such as home address, office front door, shopping mall front door, etc. In the case of a commuting trip, 5 commonly used routes can be edited and saved locally in the system.
[0056] It can be understood that the embodiment of the present application proposes to construct a commuting memory map for positioning, which can be used for scenarios with fixed commuting routes to and from work. By establishing a memory map of the commuting route in advance for positioning, the positioning effect can be greatly improved and the frequency of autonomous driving takeover can be reduced.
[0057] The positioning method in the related technology is to use GPS / RTK (Global Positioning System / Real Time Kinematic) for positioning. This method is limited by the scope of use of GPS / RTK and cannot be positioned in environments such as occlusion. High-precision maps were subsequently added, forming the existing multi-source positioning method that mainly uses visual matching high-precision map positioning and is supplemented by GPS / RTK. Based on this positioning method, the basic NGP positioning needs can be met, but the accuracy error range of high-precision maps is at the sub-meter level. At the same time, it is limited by map elements and cannot perform semantic positioning when there is no map element range.
[0058] Therefore, in order to solve the above problems, the embodiment of the present application constructs a memory map for fixed scenes, which can provide more accurate positioning results for the NGP function. The map library preset in the embodiment of the present application is a driving memory map for fixed scenes, and a feature map for fixed commuting scenes is added to make up for the low driving positioning accuracy and robustness on urban roads. This solution can not only improve the experience of autonomous driving in commuting scenes, but also avoid excessively increasing memory usage and workload. It is very suitable for both users and car manufacturers.
[0059] Specifically, when the vehicle enters a pre-set location range, it is usually determined by the longitude and latitude provided by GPS. When the location interval is less than a certain range, it prompts that initial positioning can be performed. Then, the starting point and the end point are selected, and the system determines whether there is a target map corresponding to the current location and any location.
[0060] In step S103, if a target map exists, the vehicle is positioned based on the target map. Otherwise, when the vehicle travels from the current position to any location, a target map is constructed so that the vehicle can be positioned based on the target map the next time the vehicle travels from the current position to any location.
[0061] It is understandable that if a target map exists, you can select this target map or rebuild the map, and overwrite the current map after the map is built; if the target map does not exist, you can choose to build the target map.
[0062] Specifically, the target map constructed in the embodiment of the present application is obtained by running once, and the constructed target map is used for subsequent positioning. The principle of constructing the target map in the embodiment of the present application is to achieve accurate observation of the local range based on the fusion of perception information, and to construct a global memory map in combination with GPS and other information.
[0063] Optionally, in some embodiments, constructing a target map includes: obtaining road semantic elements, road vehicle information, surrounding feature information and radar point cloud information; based on preset time synchronization information, obtaining a visual semantic layer and a visual point cloud layer according to the road semantic elements, road vehicle information and surrounding feature information, and obtaining a laser point cloud layer according to the radar point cloud information; fusing the visual semantic layer, the visual point cloud layer and the laser point cloud layer to generate a target map.
[0064] Specifically, the embodiment of the present application is based on the fusion of perception information to achieve precise observation in a local area, and uses vision and radar to perceive road environment information. Vision constructs a target map by capturing road semantic elements, road vehicle information, and surrounding feature information, wherein road semantic elements are semantic elements required for positioning and matching, including static elements such as lane lines, road edges, arrows, speed bumps, streetlight poles, and signs. Road vehicle information refers to vehicles on the road, including dynamic elements such as large trucks, small cars, engineering vehicles, and special vehicles. Peripheral feature information refers to peripheral visual features, which can be superpoint or ORB (Oriented FAST and Rotated BRIEF, directional FAST and rotated BRIEF) features.
[0065] Furthermore, the embodiment of the present application senses road environment information through radar and captures radar point cloud information through radar. It should be noted that the radar in the embodiment of the present application is usually a solid-state radar. Therefore, through the above sensor information, effective capture of road information can be achieved.
[0066] Furthermore, after acquiring the visual and radar information, the embodiment of the present application fuses them through the pre-made time synchronization and precise calibration results to form laser and visual layers, wherein the visual layer is divided into two layers, the visual semantic layer and the visual point cloud layer, and the laser layer is a laser point cloud layer.
[0067] It should be noted that the visual semantic layer of the embodiment of the present application is to match the previous and next frames through the captured semantic elements and lay them on the visual point cloud layer. The visual point cloud layer generates a local map after feature extraction and matching through superpoint, and then generates a layer through loop detection. The principle of establishing the laser point cloud layer is similar to that of the visual point cloud layer, and will not be repeated here to avoid redundancy.
[0068] Optionally, in some embodiments, before locating the vehicle based on the target map, it also includes: obtaining current positioning information based on the current position, and determining whether the current positioning information matches the positioning information in the target map; if the current positioning information matches the positioning information in the target map, entering the map matching mode.
[0069] Specifically, when positioning the vehicle based on the target map, the vehicle first accesses the GPS / RTK information at the selected position, and obtains the current positioning information based on the current position. If it is determined that the GPS / RTK information matches the location information in the map, the map matching mode of the embodiment of the present application can be entered.
[0070] Optionally, in some embodiments, before locating the vehicle based on the target map, it also includes: if the current positioning information cannot be obtained, a repositioning operation is performed based on the visual point cloud layer and a preset semantic element memory map until the current positioning information matches the positioning information in the target map.
[0071] It is understandable that GPS / RTK information may be unavailable due to occlusion or other reasons. In order to ensure the continuous availability of the autonomous driving function, the embodiment of the present application can use the real-time perceived visual point cloud information and the map to match the repositioning strategy. After the match is successful, the map matching mode can be entered. If it is unsuccessful, failure is returned and it is necessary to move a certain distance before re-matching.
[0072] Therefore, during the NGP autonomous driving process, the embodiment of the present application greatly improves the positioning accuracy by combining the positioning results obtained through map matching with GPS / RTK and IMU results. At the same time, compared with the high-precision map matching positioning provided by vision and map providers in related technologies, the accuracy and robustness are higher, and the positioning drift problem is greatly reduced.
[0073] Optionally, in some embodiments, before locating the vehicle based on the target map, it also includes: determining whether a positioning start instruction from the user is received; if the positioning start instruction from the user is not received, there is no need to build the target map.
[0074] It is understandable that, since the privacy and autonomy of the user are very important, before locating the vehicle based on the target map, it is first determined whether the user's positioning start instruction is received. If the user's positioning start instruction is not received, it is unnecessary to build the target map at this time because the user may not want to use the positioning function, or they may just be performing other operations unrelated to positioning. In some cases, if the user's positioning start instruction is received, the target map is built (if it has not been successfully built yet).
[0075] This protects the privacy and autonomy of users. At the same time, it makes the system's behavior more transparent and predictable, improving the user experience.
[0076] In order to enable those skilled in the art to further understand the vehicle positioning method of the embodiment of the present application, the following embodiments are listed to exemplarily illustrate the implementation steps of the method.
[0077] Specifically, Figure 2 This is a flow chart of a vehicle positioning method according to a specific embodiment of the present application, such as Figure 2 As shown, the vehicle positioning method includes the following steps:
[0078] (1) Determine the positioning range based on GPS / RTK. When the vehicle enters the pre-set location range and the position interval is less than a certain range, it will prompt that initial positioning can be performed and determine whether there is a map at this location;
[0079] (2) If no map exists, determine whether the positioning function is enabled. If the positioning function is enabled, start building a driving memory map;
[0080] (3) Receive the original image and semantic information from the camera, extract features based on the original image, generate point cloud information, perform visual semantic mapping and point cloud mapping, obtain radar point cloud data, perform radar point cloud mapping, perform multi-feature layer fusion, and generate the final version of the driving memory map;
[0081] (4) Perform NGP high-precision positioning based on driving memory maps.
[0082] Therefore, this application combines high-precision maps with semantic elements to achieve stable matching and positioning, ensure the continuity of autonomous driving functions, and enhance the user's driving experience.
[0083] According to the vehicle positioning method proposed in the embodiment of the present application, by obtaining the current position of the vehicle, if the distance between the current position and any location in the preset location library is less than the preset distance, it is determined whether there is a target map corresponding to the current position and any location in the preset map library. If there is a target map, the vehicle is positioned based on the target map. Otherwise, when the vehicle travels from the current position to any location, a target map is constructed so that the vehicle can be positioned based on the target map the next time the vehicle travels from the current position to any location. In this way, the problems of low driving positioning accuracy and robustness on urban roads, lack of semantic elements in high-precision maps, inability to achieve stable matching positioning, resulting in degradation of autonomous driving functions and affecting user experience are solved, and the positioning effect is greatly improved, and the frequency of autonomous driving takeover is reduced.
[0084] Next, a vehicle positioning device according to an embodiment of the present application will be described with reference to the accompanying drawings.
[0085] Figure 3 It is a block diagram of a vehicle positioning device according to an embodiment of the present application.
[0086] like Figure 3 As shown, the vehicle positioning device 10 includes: an acquisition module 100 , a judgment module 200 and a positioning module 300 .
[0087] Specifically, the acquisition module 100 is used to obtain the current position of the vehicle; the judgment module 200 is used to judge whether there is a target map corresponding to the current position and any location in the preset map library when the distance between the current position and any location in the preset location library is less than a preset distance; the positioning module 300 is used to locate the vehicle based on the target map when there is a target map, otherwise, when the vehicle travels from the current position to any location, construct a target map, so as to locate the vehicle based on the target map when the vehicle travels from the current position to any location next time.
[0088] Optionally, in some embodiments, the positioning module 300 is specifically used to: obtain road semantic elements, road vehicle information, surrounding feature information and radar point cloud information; based on preset time synchronization information, obtain a visual semantic layer and a visual point cloud layer according to the road semantic elements, road vehicle information, and surrounding feature information, and obtain a laser point cloud layer according to the radar point cloud information; fuse the visual semantic layer, the visual point cloud layer and the laser point cloud layer to generate a target map.
[0089] Optionally, in some embodiments, before locating the vehicle based on the target map, the positioning module 300 is also used to: obtain current positioning information based on the current position, and determine whether the current positioning information matches the positioning information in the target map; and enter a map matching mode when the current positioning information matches the positioning information in the target map.
[0090] Optionally, in some embodiments, before locating the vehicle based on the target map, the positioning module 300 is also used to: when the current positioning information cannot be obtained, perform a repositioning operation based on the visual point cloud layer and the preset semantic element memory map until the current positioning information matches the positioning information in the target map.
[0091] Optionally, in some embodiments, before positioning the vehicle based on the target map, the positioning module 300 is further used to: determine whether a positioning start instruction from the user is received; if no positioning start instruction from the user is received, there is no need to build the target map.
[0092] It should be noted that the above explanation of the embodiment of the vehicle positioning method is also applicable to the vehicle positioning device of this embodiment, which will not be repeated here.
[0093] According to the vehicle positioning device proposed in the embodiment of the present application, by obtaining the current position of the vehicle, if the distance between the current position and any location in the preset location library is less than the preset distance, it is determined whether there is a target map corresponding to the current position and any location in the preset map library. If there is a target map, the vehicle is positioned based on the target map. Otherwise, when the vehicle travels from the current position to any location, a target map is constructed so that the vehicle can be positioned based on the target map the next time the vehicle travels from the current position to any location. In this way, the low driving positioning accuracy and robustness on urban roads, the lack of semantic elements in high-precision maps, and the inability to achieve stable matching positioning, which leads to the degradation of the automatic driving function and affects the user experience, etc., greatly improves the positioning effect and reduces the frequency of automatic driving takeover.
[0094] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0095] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0096] When the processor 402 executes the program, the vehicle positioning method provided in the above embodiment is implemented.
[0097] Furthermore, the vehicle also includes:
[0098] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0099] The memory 401 is used to store computer programs that can be executed on the processor 402 .
[0100] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0101] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0102] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0103] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0104] An embodiment of the present application also provides a computer program product, on which a computer program is stored, and when the program is executed, the above vehicle positioning method is implemented.
[0105] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0106] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0107] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0108] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0109] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0110] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A vehicle positioning method, characterized in that: The method comprises the following steps: Get the current location of the vehicle; If the distance between the current position and any location in the preset location library is less than a preset distance, determining whether there is a target map corresponding to the current position and any location in the preset map library; If the target map exists, the vehicle is positioned based on the target map; otherwise, when the vehicle travels from the current position to any location, the target map is constructed so that the vehicle can be positioned based on the target map the next time the vehicle travels from the current position to any location.
2. The method according to claim 1, characterized in that The constructing of the target map comprises: Obtain road semantic elements, road vehicle information, surrounding feature information and radar point cloud information; Based on the preset time synchronization information, a visual semantic layer and a visual point cloud layer are obtained according to the road semantic elements, the road vehicle information, and the surrounding feature information, and a laser point cloud layer is obtained according to the radar point cloud information; The visual semantic layer, the visual point cloud layer and the laser point cloud layer are fused to generate the target map.
3. The method according to claim 2, characterized in that Before positioning the vehicle based on the target map, the method further includes: Acquire current positioning information based on the current position, and determine whether the current positioning information matches the positioning information in the target map; If the current positioning information matches the positioning information in the target map, a map matching mode is entered.
4. The method according to claim 3, characterized in that Before positioning the vehicle based on the target map, the method further includes: If the current positioning information cannot be obtained, a repositioning operation is performed based on the visual point cloud layer and the preset semantic element memory map until the current positioning information matches the positioning information in the target map.
5. The method according to claim 1, characterized in that Before positioning the vehicle based on the target map, the method further includes: Determine whether a location-enabling instruction from the user has been received; If the positioning start instruction of the user is not received, there is no need to construct the target map.
6. A vehicle positioning device, characterized in that: The device comprises: An acquisition module is used to obtain the current position of the vehicle; A judgment module, used for judging whether a target map corresponding to the current position and any location in the preset location library exists in the preset map library when the distance between the current position and any location in the preset location library is less than a preset distance; A positioning module is used to locate the vehicle based on the target map when the target map exists; otherwise, when the vehicle travels from the current position to any location, the target map is constructed to locate the vehicle based on the target map when the vehicle travels from the current position to any location next time.
7. The device according to claim 6, characterized in that The positioning module is specifically used for: Obtain road semantic elements, road vehicle information, surrounding feature information and radar point cloud information; Based on the preset time synchronization information, a visual semantic layer and a visual point cloud layer are obtained according to the road semantic elements, the road vehicle information, and the surrounding feature information, and a laser point cloud layer is obtained according to the radar point cloud information; The visual semantic layer, the visual point cloud layer and the laser point cloud layer are fused to generate the target map.
8. The device according to claim 7, characterized in that Before positioning the vehicle based on the target map, the positioning module is further used to: Acquire current positioning information based on the current position, and determine whether the current positioning information matches the positioning information in the target map; When the current positioning information matches the positioning information in the target map, a map matching mode is entered.
9. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle positioning method as described in any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that The computer program is executed to implement the vehicle positioning method as described in any one of claims 1-5.
