Large scene layer switching positioning transition method and device
By layering the large scene and using the master-slave positioning module for reverse positioning, the problem of complex arrangement of reflective columns and poor flexibility in the large scene is solved, and a more flexible layer switching transition is achieved.
Patent Information
- Application Number
- CN202010828697.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-08-17
AI Technical Summary
In large scenes, the accuracy and consistency of reflective column layout and global map construction increase as the scene area increases, resulting in a complex, time-consuming and inflexible anti-positioning process for reflective columns.
Layer the large scene into multiple layers, and use the master positioning module and the slave positioning module to perform reverse positioning respectively to obtain the pose of the vehicle, and determine whether to switch layers based on the pose and the anchor point of the overlapping area. and updating the reflective pillar map.
It reduces the difficulty of arranging reflective columns and mapping in large scenes, and improves the flexibility of layer switching.
Smart Images

Figure CN111949753B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of large-scene map processing, and in particular to a large-scene layer switching positioning transition method and device. Background Art
[0002] At present, in the process of reflective positioning, the requirements for the arrangement of reflective columns and the accuracy and consistency of global map construction are gradually increased with the increase of scene area. Therefore, the process of reflective positioning of reflective columns in large scenes is a complicated process, which is time-consuming and has poor flexibility. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a large scene layer switching positioning transition method and device to improve the above-mentioned technical problems.
[0004] In a first aspect, an embodiment of the present invention provides a large scene layer switching positioning transition method, the method comprising the following steps:
[0005] Mapping a large scene in layers into multiple layers and numbering the multiple layers, wherein when there is an overlapping area between two layers, the two layers are determined as a first layer and a second layer, and the number of the overlapping area is only one, and the shape of the overlapping area is circular;
[0006] According to the number of the layer where the vehicle is located, the reflective column map of the first layer is used as the reflective column map used by the main positioning module, and the main positioning module is used to perform reverse positioning to obtain the first posture of the vehicle, wherein the first posture includes the first position and the first heading angle of the vehicle;
[0007] When the vehicle enters the overlapping area, the reflective column map of the second layer is used as the reflective column map used by the slave positioning module, and the slave positioning module is used to perform reverse positioning to obtain a second posture of the vehicle, wherein the second posture includes a second position and a second heading angle of the vehicle;
[0008] Determine a final pose output based on the first pose and the second pose;
[0009] Determining whether to switch layers according to the final pose output, the overlapping area, and the anchor points of the first layer and the second layer, wherein the anchor point is the center of gravity of all reflective columns in the first layer or the second layer, and is used to indicate the position of the first layer or the second layer in the large scene;
[0010] If yes, transition is made from the first layer to the second layer and the number is updated to the number of the second layer, and the reflective column map of the main positioning module and the reflective column map of the slave positioning module are interchanged.
[0011] In combination with the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein the step of performing reverse positioning using the main positioning module to obtain the first posture of the vehicle includes:
[0012] Extracting the currently detected reflective column information from the radar raw scanning data by using the vehicle through the main positioning module, and searching for the reflective column information in the first layer that uniquely matches the reflective column information;
[0013] The position and posture of the vehicle is calculated based on the reflective column information in the first layer to obtain the first position and posture of the vehicle.
[0014] In combination with the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, wherein the step of performing reverse positioning using the slave positioning module to obtain a second posture of the vehicle includes:
[0015] Extracting the currently detected reflective column information from the radar raw scanning data by using the vehicle through the main positioning module, and searching for the reflective column information in the second layer that uniquely matches the reflective column information;
[0016] The position and posture of the vehicle is calculated in combination with the reflective column information in the second layer to obtain a second position and posture of the vehicle.
[0017] In combination with the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the step of determining the final posture output based on the first posture and the second posture includes:
[0018] Determining whether a difference between the first posture and the second posture is less than a predetermined threshold;
[0019] If yes, determining the mean of the first posture and the second posture as the final posture output;
[0020] If not, the first pose is determined as the final pose output.
[0021] In combination with the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the step of determining whether to perform layer switching according to the final pose output, the overlapping area, and the anchor points of the first layer and the second layer includes:
[0022] Calculating a first threshold and a second threshold according to area information of the overlapping area and respective anchor points of the first layer and the second layer, wherein the area information is a center point and a radius of the overlapping area;
[0023] Whether to switch layers is determined according to the vehicle position in the final posture output, the first threshold and the second threshold, and the anchor points of the first layer and the second layer.
[0024] In combination with the fourth possible implementation manner of the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein the first threshold is a square root of the sum of a distance from the center of the overlapping area to the anchor point of the first layer and a square of a radius of the overlapping area;
[0025] The second threshold is a square root of the sum of a distance from the center of the overlapping area to the anchor point of the second layer and a square of a radius of the overlapping area.
[0026] In combination with the fifth possible implementation manner of the first aspect, the embodiment of the present invention provides a sixth possible implementation manner of the first aspect, wherein the step of determining whether to switch layers according to the vehicle position in the final pose output, the first threshold and the second threshold, and the anchor points of the first layer and the second layer respectively includes:
[0027] When and only when the distance between the vehicle position in the final pose output and the anchor point of the first layer is greater than the first threshold, and the distance between the vehicle position in the final pose output and the anchor point of the second layer is less than the second threshold, it is determined to switch the layer.
[0028] In a second aspect, an embodiment of the present invention further provides a large scene layer switching positioning transition device, the device comprising:
[0029] A layered mapping module, used for layering a large scene into multiple layers and numbering the multiple layers, wherein when there is an overlapping area between two layers, the two layers are determined as a first layer and a second layer, and the number of the overlapping area is one and only one, and the shape of the overlapping area is circular;
[0030] A first posture acquisition module, used to use the reflective column map of the first layer as the reflective column map used by the main positioning module according to the number of the layer where the vehicle is located, and use the main positioning module to perform reverse positioning to obtain the first posture of the vehicle, wherein the first posture includes a first position and a first heading angle of the vehicle;
[0031] A second posture acquisition module is used for, when the vehicle enters the overlapping area, using the reflective column map of the second layer as the reflective column map used by the slave positioning module, and performing reverse positioning using the slave positioning module to acquire a second posture of the vehicle, wherein the second posture includes a second position and a second heading angle of the vehicle;
[0032] A final posture output acquisition module, used to determine a final posture output based on the first posture and the second posture;
[0033] A judgment module, used to judge whether to switch layers according to the final posture output, the overlapping area, and the anchor points of the first layer and the second layer, wherein the anchor point is the center of gravity of all reflective columns in the first layer or the second layer, and is used to indicate the position of the first layer or the second layer in the large scene;
[0034] A transition module is used to, if yes, transition from the first layer to the second layer and update the number to the number of the second layer, and interchange the reflective column map of the main positioning module and the reflective column map of the slave positioning module.
[0035] In a third aspect, an embodiment of the present invention further provides a server, comprising: a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method described above.
[0036] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method described above.
[0037] The embodiments of the present invention bring the following beneficial effects: the embodiments of the present invention provide a large scene layer switching positioning transition method and device, obtain the large scene layered mapping into multiple layers and number them; respectively use the main positioning module and the slave positioning module to perform reverse positioning, obtain the first pose and the second pose of the vehicle, and determine the final pose output according to the first pose and the second pose; determine whether to switch layers according to the final pose output, the overlapping area, and the respective anchor points of the first layer and the second layer; if so, swap the reflective column map of the main positioning module and the reflective column map of the slave positioning module. The large scene layer switching positioning transition method and device of the embodiments of the present invention achieve the technical effects of reducing the difficulty of mapping, reducing the difficulty of arranging reflective columns, and making the layer switching transition more flexible by mapping the large scene in layers and designing the transition positioning of the vehicle in the overlapping area of the two layers.
[0038] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained in the structures particularly pointed out in the description, claims and drawings.
[0039] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the specific implementation methods of the present invention 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 invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 A flowchart of a large scene layer switching positioning transition method provided by an embodiment of the present invention;
[0042] Figure 2 A flowchart of another large scene layer switching positioning transition method provided by an embodiment of the present invention;
[0043] Figure 3 A structural block diagram of a large scene layer switching positioning transition device provided by an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0046] At present, in the process of anti-positioning, the requirements for the arrangement of reflective columns and the accuracy and consistency of the construction of the global map are gradually increased as the scene area increases. Therefore, the process of anti-positioning the reflective columns of a large scene is a complicated process, which is time-consuming and has poor flexibility. Based on this, an embodiment of the present invention provides a large scene layer switching positioning transition method and device to alleviate the above problems.
[0047] In order to facilitate the understanding of this embodiment, a large scene layer switching positioning transition method disclosed in an embodiment of the present invention is first introduced in detail.
[0048] In a possible implementation, the present invention provides a large scene layer switching positioning transition method. Figure 1 The flowchart of a large scene layer switching positioning transition method provided by an embodiment of the present invention is shown, and the method includes the following steps:
[0049] Step S102: Mapping the large scene in layers into multiple layers and numbering the multiple layers.
[0050] When there is an overlapping area between two layers, the two layers are determined as a first layer and a second layer, and the number of the overlapping area is one and only one, and the shape of the overlapping area is a circle.
[0051] Step S104: according to the number of the layer where the vehicle is located, the reflective column map of the first layer is used as the reflective column map used by the main positioning module, and the main positioning module is used to perform reflective positioning to obtain the first position of the vehicle.
[0052] The first posture includes a first position and a first heading angle of the vehicle.
[0053] Step S106: When the vehicle enters the overlapping area, the reflective column map of the second layer is used as the reflective column map used by the slave positioning module, and the slave positioning module is used to perform reverse positioning to obtain a second posture of the vehicle.
[0054] The second posture includes a second position and a second heading angle of the vehicle.
[0055] Step S108: Determine a final posture output based on the first posture and the second posture.
[0056] Step S110: determining whether to perform layer switching according to the final posture output, the overlapping area, and the anchor points of the first layer and the second layer.
[0057] The anchor point is the center of gravity of all reflective columns in the first layer or the second layer, and is used to indicate the position of the first layer or the second layer in the large scene.
[0058] Step S112: If yes, transition from the first layer to the second layer and update the number to the number of the second layer, and exchange the reflective column map of the main positioning module and the reflective column map of the slave positioning module.
[0059] Among them, when the vehicle moves between layers, it must pass through the overlapping area of the two layers before the layer switching positioning transition can be performed. That is to say, when the vehicle moves from one layer to another, it must pass through the overlapping area of the two layers.
[0060] It should be further explained that while the reflective column map of the main positioning module and the reflective column map of the slave positioning module are interchanged, the two positioning modules still perform reverse positioning until the vehicle leaves the overlapping area of the two layers, at which time the slave positioning module stops positioning.
[0061] That is, in the overlapping area of the layers, two positioning modules are always used for positioning and an attempt is made to fuse the positioning results.
[0062] The embodiments of the present invention bring the following beneficial effects: the embodiments of the present invention obtain the hierarchical mapping of a large scene into multiple layers and number them through a large scene layer switching positioning transition method; respectively use the main positioning module and the slave positioning module to perform reverse positioning to obtain the first pose and the second pose of the vehicle, and determine the final pose output according to the first pose and the second pose; determine whether to switch layers according to the final pose output, the overlapping area, and the respective anchor points of the first layer and the second layer; if so, swap the reflective column map of the main positioning module with the reflective column map of the slave positioning module. The large scene layer switching positioning transition method and device of the embodiment of the present invention achieves the technical effects of reducing the difficulty of mapping, reducing the difficulty of arranging reflective columns, and making the layer switching transition more flexible by mapping the large scene in layers and designing the transition positioning of the vehicle in the overlapping area of the two layers.
[0063] In actual use, in order to Figure 1 The process of the method in is described in more detail. The embodiment of the present invention is Figure 2 FIG. 4 is a flowchart of another large scene layer switching positioning transition method provided by an embodiment of the present invention, and the method comprises the following steps:
[0064] Step S202: Mapping the large scene in layers into multiple layers and numbering the multiple layers.
[0065] When there is an overlapping area between two layers, the two layers are determined as a first layer and a second layer, and the number of the overlapping area is one and only one, and the shape of the overlapping area is a circle.
[0066] Step S204: according to the number of the layer where the vehicle is located, the reflective column map of the first layer is used as the reflective column map used by the main positioning module, and the vehicle is used to extract the currently detected reflective column information from the radar raw scanning data through the main positioning module, and search for the reflective column information in the first layer that uniquely matches the reflective column information.
[0067] It should be further explained that the matching of the currently detected reflective column information with the reflective column information in the first layer is based on the principle that the Euclidean distance between the two reflective columns is unchanged in the local coordinate system and the global coordinate system, and is found using the distance matching method.
[0068] Step S206: Calculate the position and posture of the vehicle in combination with the reflective column information in the first layer to obtain the first position and posture of the vehicle.
[0069] Step S208: When the vehicle enters the overlapping area, the reflective column map of the second layer is used as the reflective column map used by the slave positioning module, and the vehicle is used to extract the currently detected reflective column information from the radar raw scanning data through the main positioning module, and the reflective column information in the second layer that uniquely matches the reflective column information is searched.
[0070] Step S210: Calculate the posture of the vehicle in combination with the reflective column information in the second layer to obtain a second posture of the vehicle.
[0071] Step S212: Determine whether the difference between the first posture and the second posture is less than a predetermined threshold.
[0072] Step S214: If yes, then determine the average of the first posture and the second posture as the final posture output; if no, then determine the first posture as the final posture output.
[0073] Step S216: Calculate a first threshold and a second threshold according to the area information of the overlapping area and the anchor points of the first layer and the second layer.
[0074] The area information is the center and radius of the overlapping area.
[0075] It should be further explained that the first threshold is the square root of the sum of the distance from the center of the overlapping area to the anchor point of the first layer and the square of the radius of the overlapping area;
[0076] The second threshold is a square root of the sum of a distance from the center of the overlapping area to the anchor point of the second layer and a square of a radius of the overlapping area.
[0077] Step S218: determining whether to switch layers according to the vehicle position in the final posture output, the first threshold and the second threshold, and the anchor points of the first layer and the second layer.
[0078] The anchor point is the center of gravity of all reflective columns in the first layer or the second layer, and is used to indicate the position of the first layer or the second layer in the large scene.
[0079] It should be further explained that the above step of determining whether to switch layers according to the vehicle position in the final posture output, the first threshold and the second threshold, and the anchor points of the first layer and the second layer includes:
[0080] When and only when the distance between the vehicle position in the final pose output and the anchor point of the first layer is greater than the first threshold, and the distance between the vehicle position in the final pose output and the anchor point of the second layer is less than the second threshold, it is determined to switch the layer.
[0081] Step S220: If yes, transition from the first layer to the second layer and update the number to the number of the second layer, and exchange the reflective column map of the main positioning module and the reflective column map of the slave positioning module.
[0082] In summary, the large scene layer switching positioning transition method and device of the present invention obtains the large scene layered mapping into multiple layers and numbering them; respectively uses the main positioning module and the slave positioning module to perform reverse positioning to obtain the first pose and the second pose of the vehicle, and determines the final pose output according to the first pose and the second pose; determines whether to switch layers according to the final pose output, the overlapping area, and the respective anchor points of the first layer and the second layer; if so, transitions the reflective column map of the main positioning module to the reflective column map of the slave positioning module. The large scene layer switching positioning transition method and device of the embodiment of the present invention achieves the technical effect of reducing the difficulty of mapping, reducing the difficulty of arranging reflective columns, and making the layer switching transition more flexible by mapping the large scene in layers and designing the transition positioning of the vehicle in the overlapping area of the two layers.
[0083] In another possible implementation manner, corresponding to the large scene layer switching positioning transition method provided in the above implementation manner, an embodiment of the present invention further provides a large scene layer switching positioning transition device, Figure 3 The structural block diagram of a large scene layer switching positioning transition device provided by an embodiment of the present invention. Figure 3 As shown, the device comprises:
[0084] The layered mapping module 301 is used to map a large scene in layers into multiple layers and number the multiple layers.
[0085] When there is an overlapping area between two layers, the two layers are determined as a first layer and a second layer, and the number of the overlapping area is one and only one, and the shape of the overlapping area is a circle.
[0086] The first posture acquisition module 302 is used to use the reflective column map of the first layer as the reflective column map used by the main positioning module according to the number of the layer where the vehicle is located, and use the main positioning module to perform reverse positioning to obtain the first posture of the vehicle.
[0087] The first posture includes a first position and a first heading angle of the vehicle.
[0088] The second posture acquisition module 303 is used to use the reflective column map of the second layer as the reflective column map used by the slave positioning module when the vehicle enters the overlapping area, and use the slave positioning module to perform reverse positioning to obtain the second posture of the vehicle.
[0089] The second posture includes a second position and a second heading angle of the vehicle.
[0090] The final posture output acquisition module 304 is used to determine the final posture output based on the first posture and the second posture.
[0091] The judgment module 305 is used to judge whether to switch layers according to the final posture output, the overlapping area, and the anchor points of the first layer and the second layer.
[0092] The anchor point is the center of gravity of all reflective columns in the first layer or the second layer, and is used to indicate the position of the first layer or the second layer in the large scene.
[0093] The transition module 306 is used to, if yes, transition from the first layer to the second layer and update the number to the number of the second layer, and exchange the reflective column map of the main positioning module and the reflective column map of the slave positioning module.
[0094] In another possible implementation manner, the embodiment of the present invention further provides a server, Figure 4 A schematic diagram of the structure of a server provided by an embodiment of the present invention is shown. Figure 4 The server includes: a processor 400, a memory 401, a bus 402 and a communication interface 403, wherein the processor 400, the memory 401, the communication interface 403 are connected via the bus 402; the processor 400 is used to execute an executable module stored in the memory 401, such as a computer program.
[0095] The memory 401 stores computer executable instructions that can be executed by the processor 400 , and the processor 400 executes the computer executable instructions to implement the method described above.
[0096] Furthermore, the memory 401 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0097] The bus 402 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0098] Among them, the memory 401 is used to store programs, and the processor 400 executes the program after receiving the program execution instruction. The large scene layer switching positioning transition method disclosed in any of the aforementioned embodiments of the present invention can be applied to the processor 400, or implemented by the processor 400.
[0099] In addition, the processor 400 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 400. The above processor 400 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401 and completes the steps of the above method in combination with its hardware.
[0100] In another possible implementation, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method described above.
[0101] The large scene layer switching positioning transition device provided in the embodiment of the present invention has the same technical features as the large scene layer switching positioning transition method provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.
[0102] The computer program product of the large scene layer switching positioning transition method and device provided in the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0104] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0105] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RanDom Access Memory), disk or optical disk, and other media that can store program codes.
[0106] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0107] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A large scene layer switching positioning transition method, characterized in that: The method comprises: Mapping a large scene in layers into multiple layers and numbering the multiple layers, wherein when there is an overlapping area between two layers, the two layers are determined as a first layer and a second layer, and the number of the overlapping area is only one, and the shape of the overlapping area is circular; According to the number of the layer where the vehicle is located, the reflective column map of the first layer is used as the reflective column map used by the main positioning module, and the main positioning module is used to perform reverse positioning to obtain the first posture of the vehicle, wherein the first posture includes the first position and the first heading angle of the vehicle; When the vehicle enters the overlapping area, the reflective column map of the second layer is used as the reflective column map used by the slave positioning module, and the slave positioning module is used to perform reverse positioning to obtain a second posture of the vehicle, wherein the second posture includes a second position and a second heading angle of the vehicle; Determine a final pose output based on the first pose and the second pose; Determining whether to switch layers according to the final pose output, the overlapping area, and the anchor points of the first layer and the second layer, wherein the anchor point is the center of gravity of all reflective columns in the first layer or the second layer, and is used to indicate the position of the first layer or the second layer in the large scene; The step of judging whether to switch layers according to the final posture output, the overlapping area, and the respective anchor points of the first layer and the second layer comprises: calculating a first threshold and a second threshold according to area information of the overlapping area and the respective anchor points of the first layer and the second layer, wherein the area information is the center and radius of the overlapping area; judging whether to switch layers according to the vehicle position in the final posture output, the first threshold and the second threshold, and the respective anchor points of the first layer and the second layer; the first threshold is the square root of the sum of the squares of the distance from the center of the overlapping area to the anchor point of the first layer and the radius of the overlapping area; the second threshold is the square root of the sum of the squares of the distance from the center of the overlapping area to the anchor point of the second layer and the radius of the overlapping area; The step of determining whether to perform layer switching according to the vehicle position in the final pose output, the first threshold and the second threshold, and the respective anchor points of the first layer and the second layer comprises: determining to perform layer switching when and only when the distance between the vehicle position in the final pose output and the anchor point of the first layer is greater than the first threshold, and the distance between the vehicle position in the final pose output and the anchor point of the second layer is less than the second threshold; If yes, transition is made from the first layer to the second layer and the number is updated to the number of the second layer, and the reflective column map of the main positioning module and the reflective column map of the slave positioning module are interchanged.
2. The method according to claim 1, characterized in that: The step of using the main positioning module to perform reverse positioning to obtain the first position of the vehicle includes: Extracting the currently detected reflective column information from the radar raw scanning data by using the vehicle through the main positioning module, and searching for the reflective column information in the first layer that uniquely matches the reflective column information; The position and posture of the vehicle is calculated based on the reflective column information in the first layer to obtain the first position and posture of the vehicle.
3. The method according to claim 1, characterized in that: The step of performing reverse positioning using the slave positioning module to obtain a second posture of the vehicle includes: Extracting the currently detected reflective column information from the radar raw scanning data by using the vehicle through the main positioning module, and searching for the reflective column information in the second layer that uniquely matches the reflective column information; The position and posture of the vehicle is calculated in combination with the reflective column information in the second layer to obtain a second position and posture of the vehicle.
4. The method according to claim 1, characterized in that: The step of determining a final posture output based on the first posture and the second posture comprises: Determining whether a difference between the first posture and the second posture is less than a predetermined threshold; If yes, determining the mean of the first posture and the second posture as the final posture output; If not, the first pose is determined as the final pose output.
5. A large scene layer switching positioning transition device, characterized in that: The device comprises: A layered mapping module, used for layering a large scene into multiple layers and numbering the multiple layers, wherein when there is an overlapping area between two layers, the two layers are determined as a first layer and a second layer, and the number of the overlapping area is one and only one, and the shape of the overlapping area is circular; A first posture acquisition module, used to use the reflective column map of the first layer as the reflective column map used by the main positioning module according to the number of the layer where the vehicle is located, and use the main positioning module to perform reverse positioning to obtain the first posture of the vehicle, wherein the first posture includes a first position and a first heading angle of the vehicle; A second posture acquisition module is used for, when the vehicle enters the overlapping area, using the reflective column map of the second layer as the reflective column map used by the slave positioning module, and performing reverse positioning using the slave positioning module to acquire a second posture of the vehicle, wherein the second posture includes a second position and a second heading angle of the vehicle; A final posture output acquisition module, used to determine a final posture output based on the first posture and the second posture; A judgment module is used to judge whether to switch layers according to the final posture output, the overlapping area, and the respective anchor points of the first layer and the second layer, wherein the anchor point is the center of gravity of all reflective columns in the first layer or the second layer, and is used to indicate the position of the first layer or the second layer in the large scene; the step of judging whether to switch layers according to the final posture output, the overlapping area, and the respective anchor points of the first layer and the second layer comprises: calculating a first threshold and a second threshold according to area information of the overlapping area and the respective anchor points of the first layer and the second layer, wherein the area information is the center and radius of the overlapping area; calculating a first threshold and a second threshold according to the vehicle position in the final posture output, the first threshold and the second threshold, and the first The first threshold is the square root of the sum of the distance from the center of the overlapping area to the anchor point of the first layer and the square of the radius of the overlapping area; the second threshold is the square root of the sum of the distance from the center of the overlapping area to the anchor point of the second layer and the square of the radius of the overlapping area; the step of determining whether to switch layers according to the vehicle position in the final pose output, the first threshold and the second threshold, and the anchor points of the first layer and the second layer, includes: determining to switch layers when and only when the distance between the vehicle position in the final pose output and the anchor point of the first layer is greater than the first threshold, and the distance between the vehicle position in the final pose output and the anchor point of the second layer is less than the second threshold; A transition module is used to, if yes, transition from the first layer to the second layer and update the number to the number of the second layer, and interchange the reflective column map of the main positioning module and the reflective column map of the slave positioning module.
6. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Natural positioning method and system of fused reflection column
CN111273304A
Mobile body, mobile body management system, and computer program
JP2019036227A
