SLAM positioning method and device based on three-dimensional laser and inertial navigation and storage medium
By combining three-dimensional laser and inertial navigation technology, local and global factor diagrams are established, and the problem of real-time positioning and obtaining relative position information in SLAM technology is solved, and the autonomous positioning and map construction accuracy of unmanned vehicles in port dock scenes is improved, thus achieving the global Accurate positioning.
Patent Information
- Application Number
- CN202310618273.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-11-29
AI Technical Summary
The existing SLAM technology in port dock scenarios obtains relative position information in real-time positioning, which belongs to a local coordinate system and cannot cover the global coordinate system, resulting in low map construction accuracy and inaccurate autonomous positioning of unmanned vehicles.
Using the SLAM positioning method based on three-dimensional laser and inertial navigation, the three-dimensional lidar and inertial navigation equipment are calibrated, point cloud data and inertial measurement data are obtained, and the local factor diagram is constructed through closed-loop detection and optimization to realize the The precise positioning of the global vehicle.
The construction accuracy of the global map and the autonomous positioning accuracy of unmanned vehicles are improved, and accurate positioning of vehicles within the global map range is achieved.
Smart Images

Figure CN119043304A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of SLAM technology, and in particular to a SLAM positioning method, device and storage medium based on three-dimensional laser and inertial navigation. Background Art
[0002] my country has many ports and terminals, and a large amount of cargo is handled every year, which has a great demand for truck drivers. For ports, realizing the automation of horizontal transportation of existing containers with an economically feasible solution is the only way to catch up with world-class ports.
[0003] With the maturity of Beidou positioning technology, the positioning and navigation field of port and terminal scenes has reached a new height. Simultaneous Localization And Mapping (SLAM) technology, as a technology that relies only on its own sensors for autonomous positioning, can be described as: the unmanned vehicle starts moving from an unknown position in an unknown environment, and locates itself according to the position and map during the movement. At the same time, it builds an incremental map based on its own positioning to achieve autonomous positioning and navigation of the unmanned vehicle.
[0004] However, the real-time positioning obtains relative position information, which belongs to the local coordinate system and cannot cover the global coordinate system. This leads to low map construction accuracy and inaccurate autonomous positioning and navigation of the unmanned vehicle. Summary of the invention
[0005] In order to overcome the shortcomings of the existing Simultaneous Localization And Mapping (SLAM) technology in the above-mentioned background technology, that is, the real-time positioning obtains relative position information, belongs to the local coordinate system, and cannot cover the global coordinate system, which leads to low map construction accuracy and inaccurate autonomous positioning and navigation of unmanned vehicles, the purpose of the present invention is to provide a SLAM positioning method based on three-dimensional laser and inertial navigation.
[0006] In order to achieve the above purpose, the present invention adopts the following technical solution:
[0007] The first aspect of the present invention provides a SLAM positioning method based on three-dimensional laser and inertial navigation, comprising the following:
[0008] Calibrate 3D LiDAR and inertial navigation equipment;
[0009] Acquire point cloud data from the calibrated three-dimensional laser radar, process the point cloud data into feature point cloud, and perform local map registration on the feature point cloud through SLAM to obtain point cloud registration factors;
[0010] Acquiring inertial measurement data of the vehicle from a calibrated inertial navigation device; converting the inertial measurement data into a pre-integrated observation factor;
[0011] Establishing a local factor graph according to the pre-integrated observation factor and the point cloud registration factor;
[0012] Performing a closed-loop detection on the local factor graph to obtain a closed-loop result;
[0013] Optimizing the local factor graph to obtain the optimal posture of the local vehicle and the optimized local factor graph;
[0014] The global factor graph is constructed by optimizing the local factor graph.
[0015] The global factor graph is globally optimized by incremental recursion according to the closed-loop detection result to obtain a precise global vehicle posture.
[0016] The beneficial effects of the present invention are as follows: a local factor graph is established by pre-integrating observation factors and point cloud registration factors, and the local factor graph is optimized to obtain the optimal posture of the vehicle in the local map; a global factor graph is constructed by the local factor graph, the construction accuracy of the global map is improved, the posture of the vehicle in the global map is obtained, and the precise posture of the vehicle is obtained by global optimization of the incremental recursion of the closed-loop detection results; and accurate positioning of the vehicle within the global map is achieved.
[0017] In some possible implementations, the lidar trajectory T is obtained by continuous point cloud registration. WL , the inertial navigation trajectory T is obtained by the inertial navigation device WB , calibration parameters T of 3D laser radar and inertial navigation equipment BL The calculation formula is as follows:
[0018] T WL ·(T BL ) -1 =T WB ·T BL
[0019] In some possible implementations, optimizing the local factor graph to obtain the optimal posture of the local vehicle specifically includes the following steps: adjusting each first variable node in the local factor graph so that the loss function of the constraint edge between the first variable nodes is minimized, thereby obtaining the optimal posture of the local vehicle;
[0020] Among them, the first variable node is an optimized vehicle posture within a local time window, and the vehicle postures are connected by two constraint factors, the pre-integrated observation factor and the point cloud registration factor.
[0021] In some possible implementations, the feature point cloud includes ground feature points, plane feature points, edge feature points, and high reflection intensity feature points.
[0022] In some possible implementations, performing closed-loop detection on the local factor graph to obtain a closed-loop result specifically includes the following steps:
[0023] Encode the high reflection intensity feature points and ground feature points, plane feature points, and edge feature points of each frame of the feature point cloud in the local factor graph to obtain the feature descriptor of the feature point cloud of the current frame;
[0024] By comparing the similarity between the feature descriptor of the current frame feature point cloud and the other feature descriptors, a candidate frame feature point cloud with a closed loop is screened out;
[0025] The current frame feature point cloud is matched with the candidate frame feature point cloud, and a closed-loop result is confirmed according to the matching result.
[0026] In some possible implementations, the feature point cloud of the current frame is matched with the feature point cloud of the candidate frame by iterative nearest neighbor point matching.
[0027] In some possible implementations, performing incremental recursive global optimization on the global factor graph according to the closed-loop detection result to obtain the global vehicle precise posture specifically includes the following steps:
[0028] Whenever a closed loop is detected, the relative pose between the two keyframe nodes established by the closed loop constraint is added to the global factor graph, and a global optimization is performed to obtain the precise pose of the vehicle corresponding to the global keyframe node;
[0029] Among them, the second variable nodes in the global factor graph are composed of vehicle postures corresponding to key frame nodes, and the constraints between the second variable nodes are local vehicle optimal postures.
[0030] The second aspect of the present invention provides a SLAM positioning device based on three-dimensional laser and inertial navigation, comprising:
[0031] Sensor calibration module: calibrate 3D lidar and inertial navigation equipment;
[0032] Point cloud registration module: obtains point cloud data from the calibrated 3D laser radar, processes the point cloud data into feature point cloud, and performs local map registration on the feature point cloud through SLAM to obtain point cloud registration factor;
[0033] Pre-integration processing module: obtains the inertial measurement data of the vehicle through the calibrated inertial navigation device, and converts the inertial measurement data into pre-integration observation factors;
[0034] A local factor graph construction module: establishing a local factor graph according to the pre-integrated observation factor and the point cloud registration factor;
[0035] A closed-loop detection module: performs closed-loop detection on the local factor graph to obtain a closed-loop result;
[0036] Local optimization module: optimizes the local factor graph to obtain the optimal posture of the local vehicle and the optimized local factor graph;
[0037] Full local factor graph construction module: constructs a global factor graph through the optimized local factor graph.
[0038] Global optimization module: performing incremental recursive global optimization on the global factor graph according to the closed-loop detection result to obtain the precise global vehicle posture.
[0039] In some possible implementations, the lidar trajectory T is obtained by continuous point cloud registration. WL , the inertial navigation trajectory T is obtained by the inertial navigation device WB , calibration parameters T of 3D laser radar and inertial navigation equipment BL The calculation formula is as follows:
[0040] T WL ·(T BL ) -1 =T WB ·T BL
[0041] In some possible implementations, optimizing the local factor graph to obtain the optimal posture of the local vehicle specifically includes the following steps: adjusting each first variable node in the local factor graph so that the loss function of the constraint edge between the first variable nodes is minimized, thereby obtaining the optimal posture of the local vehicle;
[0042] Among them, the first variable node is an optimized vehicle posture within a local time window, and the vehicle postures are connected by two constraint factors, the pre-integrated observation factor and the point cloud registration factor.
[0043] In some possible implementations, the feature point cloud includes ground feature points, plane feature points, edge feature points, and high reflection intensity feature points.
[0044] In some possible implementations, performing closed-loop detection on the local factor graph to obtain a closed-loop result specifically includes the following steps:
[0045] Encode the high reflection intensity feature points and ground feature points, plane feature points, and edge feature points of each frame of the feature point cloud in the local factor graph to obtain the feature descriptor of the feature point cloud of the current frame;
[0046] By comparing the similarity between the feature descriptor of the current frame feature point cloud and the other feature descriptors, a candidate frame feature point cloud with a closed loop is screened out;
[0047] The current frame feature point cloud is matched with the candidate frame feature point cloud, and a closed-loop result is confirmed according to the matching result.
[0048] In some possible implementations, the feature point cloud of the current frame is matched with the feature point cloud of the candidate frame by iterative nearest neighbor point matching.
[0049] In some possible implementations, performing incremental recursive global optimization on the global factor graph according to the closed-loop detection result to obtain the global vehicle precise posture specifically includes the following steps:
[0050] Whenever a closed loop is detected, the relative pose between the two keyframe nodes established by the closed loop constraint is added to the global factor graph, and a global optimization is performed to obtain the precise pose of the vehicle corresponding to the global keyframe node;
[0051] Among them, the second variable nodes in the global factor graph are composed of vehicle postures corresponding to key frame nodes, and the constraints between the second variable nodes are local vehicle optimal postures.
[0052] According to a third aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a computer program for executing the SLAM positioning method based on three-dimensional laser and inertial navigation as described in any one of claims 1 to 7. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 The present invention is a flowchart of the overall steps of the SLAM positioning method based on three-dimensional laser and inertial navigation according to an embodiment of the present invention;
[0054] Figure 2 A flowchart of the steps of closed-loop detection according to an embodiment of the present invention;
[0055] Figure 3 It is a schematic diagram of the structure of a SLAM positioning device based on three-dimensional laser and inertial navigation according to an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0057] See attached Figure 1 As shown, this embodiment provides a SLAM positioning method based on three-dimensional laser and inertial navigation, which specifically includes the following:
[0058] S1: Calibrate the 3D LiDAR and inertial navigation equipment.
[0059] The specific calibration is as follows: unify the time and space references of the measurement data of the 3D laser radar and the inertial navigation device (inertial / GNSS combined navigation device) to obtain the observation information under the same reference system. Use the classic hand-eye calibration method and perform it in advance in an outdoor environment with good GNSS signals. Obtain the laser radar trajectory T by continuous point cloud registration WL , the inertial navigation trajectory T is obtained by the inertial navigation device WB , calibration parameters T of 3D laser radar and inertial navigation equipment BL The calculation formula is as follows:
[0060] T WL ·(T BL ) -1 =T WB ·T BL S2: Obtain point cloud data from the calibrated 3D laser radar, process the point cloud data into feature point cloud, and perform local map registration on the feature point cloud through SLAM to obtain point cloud registration factors. The feature point cloud includes ground feature points, plane feature points, edge feature points and high reflection intensity feature points.
[0061] Point cloud registration refers to establishing data association between the point cloud at the current moment and the target point cloud. In the actual system, data association will be established between the current frame and the previous frame point cloud, as well as the current frame and the map. The data association of feature points can effectively make up for the situation where geometric features cannot be correctly associated in a degraded environment. In addition, the roll angle and pitch angle of the vehicle can be better estimated based on the ground features, avoiding the deviation of vehicle posture estimation caused by inaccurate point cloud registration due to bumpy roads.
[0062] S3: Acquire inertial measurement data of the vehicle from the calibrated inertial navigation device; convert the inertial measurement data into a pre-integrated observation factor.
[0063] For inertial navigation equipment, since its output frequency is much higher than that of 3D laser radar and is affected by Gaussian white noise and zero bias, direct integration for pose estimation will produce redundant variables on the one hand and lead to serious error accumulation on the other hand. The pre-integration algorithm is used to convert the inertial measurement data in a short period of time into pre-integrated observations for subsequent optimization calculations.
[0064] S4: Establish a local factor graph based on the pre-integrated observation factors and point cloud registration factors.
[0065] S5: Perform a closed loop detection on the local factor graph to obtain a closed loop result. Figure 2 As shown, specifically including the following:
[0066] S51: Encode the high reflection intensity feature points and ground feature points, plane feature points, and edge feature points of each frame feature point cloud in the local factor graph to obtain a feature descriptor of the feature point cloud of the current frame.
[0067] S52: Screening out candidate frame feature point clouds with closed loops by comparing the similarity between the feature descriptor of the current frame feature point cloud and the remaining feature descriptors.
[0068] S53: Match the feature point cloud of the current frame with the feature point cloud of the candidate frame through the nearest neighbor point iteration (ICP), and confirm the closed-loop result according to the matching result.
[0069] The task of closed loop detection is to judge "whether you have been here before". If the closed loop is ignored, the system will regard the entire environment as an "endless corridor" and explore new areas indefinitely. If a closed loop exists, it means that the environment forms an intersection in space, which can help the system better understand the real topological structure of the environment. Once the complete topological structure is established, all the pose points and map points in the closed loop will establish a closed network, so that it can be optimized as a whole, which can effectively suppress the divergence of the trajectory and greatly improve the consistency of the map.
[0070] S6: Optimize the local factor graph to obtain the optimal posture of the local vehicle and the optimized local factor graph.
[0071] Specifically, it includes the following: adjusting each first variable node in the local factor graph so that the loss function of the constraint edge between the first variable nodes is minimized, thereby obtaining the optimal posture of the local vehicle; wherein, the first variable node is an optimized vehicle posture within a local time window, and the vehicle postures are connected by two constraint factors, the pre-integrated observation factor and the point cloud registration factor.
[0072] To ensure the real-time operation capability of the system, the local factor graph should not be too large, and generally only maintains the poses within a few local time ranges. At the same time, the local time window slides over time, and the poses that slide out of the window use the marginalization algorithm to convert their pose estimation results into the prior information of the factor graph and add them to the optimization calculation.
[0073] S7: Construct the global factor graph through the optimized local factor graph.
[0074] S8: Performing incremental recursive global optimization on the global factor graph according to the closed-loop detection result to obtain the global vehicle accurate position and posture. Specifically, it includes the following:
[0075] Whenever a closed loop is detected, the relative posture between the two key frame nodes established by the closed loop constraint is added to the global factor graph, and a global optimization is performed to obtain the precise posture of the vehicle corresponding to the global key frame node; wherein, the second variable node in the global factor graph is composed of the vehicle posture corresponding to the key frame node, and the constraint between the second variable nodes is the local optimal posture of the vehicle.
[0076] A local factor graph is established by pre-integrating observation factors and point cloud registration factors, and the local factor graph is optimized to obtain the optimal posture of the vehicle in the local map. A global factor graph is constructed through the local factor graph to obtain the posture of the vehicle in the global map. The precise posture of the vehicle is obtained through global optimization of incremental recursion of closed-loop detection results. Accurate positioning of the vehicle within the global map is achieved.
[0077] See attached Figure 3 As shown, this embodiment also provides a SLAM positioning device based on three-dimensional laser and inertial navigation, which is applied to the above method, and the device includes:
[0078] Sensor calibration module: calibrate 3D lidar and inertial navigation equipment;
[0079] Point cloud registration module: obtains point cloud data from the calibrated 3D laser radar, processes the point cloud data into feature point cloud, and performs local map registration on the feature point cloud through SLAM to obtain point cloud registration factor;
[0080] Pre-integration processing module: obtains the inertial measurement data of the vehicle through the calibrated inertial navigation device, and converts the inertial measurement data into pre-integration observation factors;
[0081] A local factor graph construction module: establishing a local factor graph according to the pre-integrated observation factor and the point cloud registration factor;
[0082] A closed-loop detection module: performs closed-loop detection on the local factor graph to obtain a closed-loop result;
[0083] Local optimization module: optimizes the local factor graph to obtain the optimal posture of the local vehicle and the optimized local factor graph;
[0084] Full local factor graph construction module: constructs a global factor graph through the optimized local factor graph.
[0085] Global optimization module: performing incremental recursive global optimization on the global factor graph according to the closed-loop detection result to obtain the precise global vehicle posture.
[0086] In some embodiments, the lidar trajectory T is obtained by continuous point cloud registration. WL , the inertial navigation trajectory T is obtained by the inertial navigation device WB, calibration parameters T of 3D laser radar and inertial navigation equipment BL The calculation formula is as follows:
[0087] T WL ·(T BL ) -1 =T WB ·T BL In some implementations, optimizing the local factor graph to obtain the optimal posture of the local vehicle specifically includes the following steps: adjusting each first variable node in the local factor graph so that the loss function of the constraint edge between the first variable nodes is minimized, thereby obtaining the optimal posture of the local vehicle;
[0088] Among them, the first variable node is an optimized vehicle posture within a local time window, and the vehicle postures are connected by two constraint factors, the pre-integrated observation factor and the point cloud registration factor.
[0089] In some possible implementations, the feature point cloud includes ground feature points, plane feature points, edge feature points, and high reflection intensity feature points.
[0090] In some implementations, performing closed-loop detection on the local factor graph to obtain a closed-loop result specifically includes the following steps:
[0091] Encode the high reflection intensity feature points and ground feature points, plane feature points, and edge feature points of each frame of the feature point cloud in the local factor graph to obtain the feature descriptor of the feature point cloud of the current frame;
[0092] By comparing the similarity between the feature descriptor of the current frame feature point cloud and the other feature descriptors, a candidate frame feature point cloud with a closed loop is screened out;
[0093] The current frame feature point cloud is matched with the candidate frame feature point cloud, and a closed-loop result is confirmed according to the matching result.
[0094] In some embodiments, the feature point cloud of the current frame is matched with the feature point cloud of the candidate frame by iterative nearest neighbor point matching.
[0095] In some implementations, performing incremental recursive global optimization on the global factor graph according to the closed-loop detection result to obtain the global vehicle precise posture specifically includes the following steps:
[0096] Whenever a closed loop is detected, the relative pose between the two keyframe nodes established by the closed loop constraint is added to the global factor graph, and a global optimization is performed to obtain the precise pose of the vehicle corresponding to the global keyframe node;
[0097] Among them, the second variable nodes in the global factor graph are composed of vehicle postures corresponding to key frame nodes, and the constraints between the second variable nodes are local vehicle optimal postures.
[0098] This embodiment also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the SLAM positioning method based on three-dimensional laser and inertial navigation as described in any one of claims 1 to 7.
[0099] The processor may also be referred to as a CPU (Central Processing Unit). The processor may be an integrated circuit chip with signal processing capabilities. The processor may be:
[0100] DSP (Digital Signal Processor, digital signal processor, digital signal processor is a processor composed of large-scale or ultra-large-scale integrated circuit chips to complete certain signal processing tasks. It has gradually developed to meet the needs of high-speed real-time signal processing tasks. With the development of integrated circuit technology and digital signal processing algorithms, the implementation methods of digital signal processors are constantly changing, and the processing functions are constantly improving and expanding.)
[0101] ASIC (Application Specific Integrated Circuit) is an integrated circuit designed and manufactured to meet the needs of specific users and specific electronic devices.
[0102] FPGA (Field Programmable Gate Array) is a product further developed on the basis of programmable devices such as PAL (Programmable Array Logic) and GAL (generic array logic). It emerged as a semi-custom circuit in the field of application-specific integrated circuits (ASICs), which not only solves the shortcomings of custom circuits, but also overcomes the shortcomings of the limited number of gate circuits of the original programmable devices.
[0103] A general-purpose processor may be a microprocessor or any conventional processor.
[0104] Other programmable logic devices, discrete gate or transistor logic devices and discrete hardware components, etc.
[0105] The storage medium stores program instructions that can implement all the above methods, wherein the program instructions can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or a terminal device such as a computer, a server, a mobile phone, or a tablet.
[0106] The above implementation modes are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with this technology to understand the content of the present invention and implement it, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. The SLAM positioning method based on three-dimensional laser and inertial navigation is characterized by: These include: Calibrate 3D LiDAR and inertial navigation equipment; Acquire point cloud data from the calibrated three-dimensional laser radar, process the point cloud data into feature point cloud, and perform local map registration on the feature point cloud through SLAM to obtain point cloud registration factors; Acquiring inertial measurement data of the vehicle from a calibrated inertial navigation device, and converting the inertial measurement data into a pre-integrated observation factor; Establishing a local factor graph according to the pre-integrated observation factor and the point cloud registration factor; Performing a closed-loop detection on the local factor graph to obtain a closed-loop result; Optimizing the local factor graph to obtain the optimal posture of the local vehicle and the optimized local factor graph; The global factor graph is constructed by optimizing the local factor graph. The global factor graph is globally optimized by incremental recursion according to the closed-loop detection result to obtain a precise global vehicle posture.
2. The SLAM positioning method based on three-dimensional laser and inertial navigation according to claim 1 is characterized in that: The lidar trajectory T is obtained by continuous point cloud registration WL , the inertial navigation trajectory T is obtained by the inertial navigation device WB , calibration parameters T of 3D laser radar and inertial navigation equipment BL The calculation formula is as follows: T WL ·(T BL ) -1 =T WB ·T BL。 3. The SLAM positioning method based on three-dimensional laser and inertial navigation according to claim 1 is characterized in that: Optimizing the local factor graph to obtain the optimal posture of the local vehicle specifically includes the following steps: adjusting each first variable node in the local factor graph so that the loss function of the constraint edge between the first variable nodes is minimized, thereby obtaining the optimal posture of the local vehicle; Among them, the first variable node is an optimized vehicle posture within a local time window, and the vehicle postures are connected by two constraint factors, the pre-integrated observation factor and the point cloud registration factor.
4. The SLAM positioning method based on three-dimensional laser and inertial navigation according to claim 1 is characterized in that: The feature point cloud includes ground feature points, plane feature points, edge feature points and high reflection intensity feature points.
5. The SLAM positioning method based on three-dimensional laser and inertial navigation according to claim 4 is characterized in that: Performing a closed-loop detection on the local factor graph to obtain a closed-loop result specifically includes the following steps: Encode the high reflection intensity feature points and ground feature points, plane feature points, and edge feature points of each frame of the feature point cloud in the local factor graph to obtain the feature descriptor of the feature point cloud of the current frame; By comparing the similarity between the feature descriptor of the current frame feature point cloud and the other feature descriptors, a candidate frame feature point cloud with a closed loop is screened out; The current frame feature point cloud is matched with the candidate frame feature point cloud, and a closed-loop result is confirmed according to the matching result.
6. The SLAM positioning method based on three-dimensional laser and inertial navigation according to claim 5 is characterized in that: The feature point cloud of the current frame is matched with the feature point cloud of the candidate frame through the nearest neighbor iteration.
7. The SLAM positioning method based on three-dimensional laser and inertial navigation according to claim 5 is characterized in that: The global factor graph is incrementally recursively optimized according to the closed-loop detection result to obtain the global vehicle precise posture, which specifically includes the following steps: Whenever a closed loop is detected, the relative pose between the two keyframe nodes established by the closed loop constraint is added to the global factor graph, and a global optimization is performed to obtain the precise pose of the vehicle corresponding to the global keyframe node; Among them, the second variable nodes in the global factor graph are composed of vehicle postures corresponding to key frame nodes, and the constraints between the second variable nodes are local vehicle optimal postures.
8. A SLAM positioning device based on three-dimensional laser and inertial navigation, characterized in that: include Sensor calibration module: calibrate 3D lidar and inertial navigation equipment; Point cloud registration module: obtains point cloud data from the calibrated 3D laser radar, processes the point cloud data into feature point cloud, and performs local map registration on the feature point cloud through SLAM to obtain point cloud registration factor; Pre-integration processing module: obtains the inertial measurement data of the vehicle through the calibrated inertial navigation device, and converts the inertial measurement data into pre-integration observation factors; A local factor graph construction module: establishing a local factor graph according to the pre-integrated observation factor and the point cloud registration factor; A closed-loop detection module: performs closed-loop detection on the local factor graph to obtain a closed-loop result; Local optimization module: optimizes the local factor graph to obtain the optimal posture of the local vehicle and the optimized local factor graph; Full local factor graph construction module: constructs a global factor graph through the optimized local factor graph. Global optimization module: performing incremental recursive global optimization on the global factor graph according to the closed-loop detection result to obtain the precise global vehicle posture.
9. The SLAM positioning device based on three-dimensional laser and inertial navigation according to claim 8, characterized in that: The lidar trajectory T is obtained by continuous point cloud registration WL , the inertial navigation trajectory T is obtained by the inertial navigation device WB , calibration parameters T of 3D laser radar and inertial navigation equipment BL The calculation formula is as follows: T WL ·(T BL ) -1 =T WB ·T BL。 10. The SLAM positioning device based on three-dimensional laser and inertial navigation according to claim 8, characterized in that: Optimizing the local factor graph to obtain the optimal posture of the local vehicle specifically includes the following steps: adjusting each first variable node in the local factor graph so that the loss function of the constraint edge between the first variable nodes is minimized, thereby obtaining the optimal posture of the local vehicle; Among them, the first variable node is an optimized vehicle posture within a local time window, and the vehicle postures are connected by two constraint factors, the pre-integrated observation factor and the point cloud registration factor.
11. The SLAM positioning device based on three-dimensional laser and inertial navigation according to claim 8, characterized in that: The feature point cloud includes ground feature points, plane feature points, edge feature points and high reflection intensity feature points.
12. The SLAM positioning device based on three-dimensional laser and inertial navigation according to claim 8, characterized in that: Performing a closed-loop detection on the local factor graph to obtain a closed-loop result specifically includes the following steps: Encode the high reflection intensity feature points and ground feature points, plane feature points, and edge feature points of each frame of the feature point cloud in the local factor graph to obtain the feature descriptor of the feature point cloud of the current frame; By comparing the similarity between the feature descriptor of the current frame feature point cloud and the other feature descriptors, a candidate frame feature point cloud with a closed loop is screened out; The current frame feature point cloud is matched with the candidate frame feature point cloud, and a closed-loop result is confirmed according to the matching result.
13. The SLAM positioning device based on three-dimensional laser and inertial navigation according to claim 12, characterized in that: The feature point cloud of the current frame is matched with the feature point cloud of the candidate frame through the nearest neighbor iteration.
14. The SLAM positioning device based on three-dimensional laser and inertial navigation according to claim 12, characterized in that: The global factor graph is incrementally recursively optimized according to the closed-loop detection result to obtain the global vehicle precise posture, which specifically includes the following steps: Whenever a closed loop is detected, the relative pose between the two keyframe nodes established by the closed loop constraint is added to the global factor graph, and a global optimization is performed to obtain the precise pose of the vehicle corresponding to the global keyframe node; Among them, the second variable nodes in the global factor graph are composed of vehicle postures corresponding to key frame nodes, and the constraints between the second variable nodes are local vehicle optimal postures.
15. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the SLAM positioning method based on three-dimensional laser and inertial navigation as described in any one of claims 1 to 7.
Citation Information
Cited By
Unmanned fire extinguishing robot navigation method and device based on 4D millimeter wave radar
CN119354205A
