Relocation method and device based on multimodal data
Through multi-modal data matching technology, mobile robots can accurately perform global relocation when there is a lack of GPS signals, solving the problem of insufficient robustness of the navigation system, especially when the weather changes, improving relocation accuracy and speed.
Patent Information
- Application Number
- CN202410742102.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-11
AI Technical Summary
In the absence of GPS signals, it is difficult for mobile robots to accurately perform global relocation, especially when weather changes or the environment is complex, resulting in insufficient robustness of the navigation system.
Multi-modal data (image frames and point cloud frames) are used to generate the location representation vector of the current frame. By matching the key frame location representation vector of the global map, the preselected key frames and target historical frames are determined, relocation information is generated, and weather category tags are used Select appropriate modal data for matching to improve matching accuracy and speed.
It improves the repositioning accuracy and speed of mobile robots in complex environments and enhances the robustness of the navigation system, especially in weather conditions such as rain, snow or sunny days.
Smart Images

Figure CN118310538B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of high-precision maps, and in particular to a repositioning method and device based on multimodal data. Background Art
[0002] The positioning of mobile robots in maps can be divided into two types: continuous positioning and relocalization. Continuous positioning refers to the continuous acquisition and update of the posture of the mobile robot during movement, which often occurs in the continuous posture estimation after the environment map is established; while relocalization refers to the acquisition of the robot's initial posture, which generally occurs in the case of posture estimation failure / first positioning in a known environment / or a sudden change in the robot's position caused by the "kidnapping" problem. When the GPS signal in the nearby environment is missing, the robot needs to complete global relocalization based on the map it has established. Therefore, how to accurately obtain global relocalization information is a problem that needs to be solved urgently. Summary of the invention
[0003] In view of this, the present disclosure provides a relocation method, apparatus, device, storage medium and program product based on multimodal data to solve the problem of how to accurately obtain global relocation information.
[0004] In a first aspect, the present disclosure provides a relocation method based on multimodal data, the method comprising: generating a current frame location representation vector based on multimodal frame data of a current location, wherein the multimodal frame data is a collection of data of multiple different modalities, and the difference between timestamps of data of different modalities in the collection is less than a threshold; determining a preset number of preselected key frame location representation vectors from key frame location representation vectors corresponding to each local node map of a global map based on the current frame location representation vector; wherein the local node map comprises a key frame and a preset number of historical frames before and after the key frame; obtaining historical frame location representation vectors of the local node map corresponding to the preset number of preselected key frame location representation vectors; determining a target historical frame location representation vector from the historical frame location representation vectors of each local node map based on the current frame location representation vector; generating relocation information based on the multimodal frame data of the current location and the historical frames corresponding to the target historical frame location representation vector.
[0005] The relocation method based on multimodal data provided in the embodiment of the present application adopts the current frame location representation vector generated by the multimodal frame data of the current location, and determines a preset number of pre-selected key frame location representation vectors from the key frame location representation vectors corresponding to each local node map of the global map, thereby realizing the current frame location representation vector generated based on data of different modalities and coarse-grained screening of local node maps. Since the current frame location representation vector generated based on data of different modalities is adopted, the information content of the current frame location representation vector is improved, and since only the key frame location representation vectors are matched, the speed of determining the relocation information is improved, and then the local node map is obtained. The historical frame location representation vector is obtained from the historical frame location representation vectors of each local node map, and the target historical frame location representation vector similar to the current frame location representation vector is determined, thereby realizing fine-grained matching of historical frames in the local node map. Since the current frame location representation vector with high information content is matched with the historical frame location representation vector with different detail information, the accuracy of the matching result is improved, and then based on the multimodal frame data of the current location and the historical frame corresponding to the target historical frame location representation vector, the relocation information is generated, thereby realizing refined matching of the multimodal frame data of the current location and improving the speed and accuracy of the generated relocation information.
[0006] In an optional embodiment, based on the current frame location representation vector, a preselected key frame location representation vector is determined from the key frame location representation vectors corresponding to each local node map in the global map, including: determining a first similarity between the current frame location representation vector and the key frame location representation vectors corresponding to each local node map in the global map to obtain a first similarity set; from the first similarity set, selecting a preset number of first similarities according to values from small to large; and using the key frame location representation vector corresponding to the selected first similarity as the preselected key frame location representation vector.
[0007] The multimodal data-based relocation method provided in the embodiment of the present application selects corresponding key frame location representation vectors from small to large in order of similarity based on the first similarity between the current frame location representation vector and the key frame location representation vectors corresponding to each local node map in the global map, thereby improving the accuracy of the determined pre-selected key frame location representation vectors and thus improving the accuracy of the generated relocation information.
[0008] In an optional embodiment, based on the current frame location representation vector, a target historical frame location representation vector is determined from the historical frame location representation vectors of each local node map, including: determining the second similarity between the current frame location representation vector and each vector in the historical frame location representation vector sequence of each local node map to obtain a preset number of second similarity sets; from each second similarity set, determining the target second similarity with the largest value to obtain a preset number of target second similarities; when there is a target second similarity greater than a similarity threshold in the target second similarities, determining the historical frame location representation vector corresponding to the target second similarity greater than the similarity threshold as the target historical frame location representation vector.
[0009] The multimodal data-based relocalization method provided in the embodiment of the present application clarifies the process of determining the target historical frame location representation vector that is similar to the current frame location representation vector from the historical frame location representation vectors of each local node map, thereby improving the accuracy of determining the target historical frame location representation vector, thereby improving the accuracy of the generated relocalization information.
[0010] In an optional implementation, generating a current frame location representation vector based on multimodal frame data of the current location includes: generating a current frame location representation vector based on an image frame and a point cloud frame of the current location.
[0011] The multimodal data-based relocation method provided in the embodiment of the present application can improve the information content of the generated current frame location representation vector based on the characteristics of the image frame and the point cloud frame by clarifying that the multimodal frame data includes image frames and point cloud frames, and then perform a subsequent process of generating relocation information, thereby improving the accuracy of the generated relocation information.
[0012] In an optional embodiment, a current frame location representation vector is generated based on multimodal frame data of the current location, including: generating the current frame location representation vector based on the image frame, point cloud frame, location representation vector, and weather category label of the current location; the location representation vector is determined based on the image frame and the point cloud frame; the weather category label is determined based on the image frame.
[0013] The multimodal data-based relocation method provided in the embodiment of the present application, by clarifying that the multimodal frame data includes: image frames, point cloud frames, location representation vectors determined based on image frames and point cloud frames, and weather category labels determined based on image frames, can improve the information content of the generated current frame location representation vector based on the characteristics of the image frames, point cloud frames, location representation vectors, and weather category labels of the current location, and then perform the subsequent process of generating relocation information, thereby improving the accuracy of the generated relocation information.
[0014] In an optional embodiment, relocation information is generated based on the multimodal frame data of the current location and the historical frame corresponding to the target historical frame location representation vector, including: determining the target modal frame for relocation based on the weather category label; adding the historical frame corresponding to the target historical frame location representation vector to the candidate location sequence; matching the target modal frame in the multimodal frame data of the current location with the target modal frame of the historical frame in the candidate location sequence to determine the matching result of the target modal frame; and generating relocation information based on the matching result of the target modal frame.
[0015] The relocation method based on multimodal data provided in the embodiment of the present application, when generating relocation information, determines, based on the weather category label, a target modal frame for relocation that is adapted to the weather category and can present more information details, and then generates relocation information based on the matching result between the target modal frame and the target modal frame of the historical frame in the candidate position sequence, thereby improving the accuracy of the determined relocation information.
[0016] In an optional embodiment, based on the weather category label of the multimodal frame data of the current location, a target modal frame for repositioning is determined, including at least one of the following: when the weather category label indicates night, rain and / or snowy weather, a point cloud frame is determined as the target modal frame; when the weather category label indicates daytime, sunny and / or cloudy weather, an image frame is determined as the target modal frame.
[0017] The multimodal data-based relocalization method provided in the embodiment of the present application determines the point cloud frame as the target modal frame when the weather category label indicates night, rain and / or snowy weather. Compared with the image frame, the point cloud frame has good penetration in night, rain and / or snowy weather, which increases the amount of environmental information contained in the target modal frame. When the weather category label indicates daytime, sunny and / or cloudy weather, the image frame is determined as the target modal frame. Compared with the point cloud frame, the image frame has richer detail information, which increases the amount of environmental information contained in the target modal frame.
[0018] In an optional embodiment, the target modal frame in the multimodal frame data of the current location is matched with the target modal frame of the historical frame in the candidate position sequence to determine the matching result of the target modal frame, including: using a four-point congruent set algorithm to preliminarily match the target modal frame in the multimodal frame data of the current location with the target modal frame of the historical frame in the candidate position sequence to obtain an initial matrix of the pose transformation matrix; using an iterative closest point algorithm to determine the target matrix of the pose transformation matrix based on the initial matrix; when the target matrix indicates that the overlap rate is greater than a predetermined threshold, determining that the target modal frame in the multimodal frame data of the current location matches the target modal frame of the historical frame in the candidate position sequence.
[0019] The multimodal data-based relocalization method provided in the embodiment of the present application clarifies the coarse-grained and fine-grained matching of the target modal frame in the multimodal frame data of the current location with the target modal frame of the historical frame in the candidate position sequence, and then determines the matching result of the target modal frame, thereby improving the matching efficiency and matching accuracy of the target modal frame.
[0020] In a second aspect, the present disclosure provides a relocation device based on multimodal data, the device comprising: a vector generation module, for generating a current frame location representation vector based on multimodal frame data of a current location, wherein the multimodal frame data is a collection of data of multiple different modes, and the difference between the timestamps of the data of different modes in the collection is less than a threshold; a first determination module, for determining a preset number of preselected key frame location representation vectors from key frame location representation vectors corresponding to each local node map of a global map based on the current frame location representation vector; wherein the local node map comprises a key frame and a preset number of historical frames before and after the key frame; a vector acquisition module, for acquiring historical frame location representation vectors of local node maps corresponding to the preset number of preselected key frame location representation vectors; a second determination module, for determining a target historical frame location representation vector from the historical frame location representation vectors of each local node map based on the current frame location representation vector; an information generation module, for generating relocation information based on the multimodal frame data of the current location and the historical frames corresponding to the target historical frame location representation vector.
[0021] In a third aspect, the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the multimodal data based relocation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0022] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the multimodal data-based repositioning method of the first aspect or any corresponding embodiment thereof.
[0023] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, which are used to enable a computer to execute the multimodal data-based relocalization method of the above-mentioned first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0025] Figure 1 is a flowchart of a relocation method based on multimodal data according to an embodiment of the present disclosure;
[0026] Figure 2 is a flowchart of another relocation method based on multimodal data according to an embodiment of the present disclosure;
[0027] Figure 3a is a schematic diagram of a robot constructing a local node map including key frames in an exemplary application scenario according to an embodiment of the present disclosure;
[0028] Figure 3b is a schematic diagram of calculating the transformation matrix T based on the four-point congruent set algorithm in an exemplary application scenario according to an embodiment of the present disclosure;
[0029] Figure 3c is a schematic diagram of transformation based on the transformation matrix T in an exemplary application scenario according to an embodiment of the present disclosure;
[0030] Figure 3d It is determined according to the exemplary application scenario of the embodiment of the present disclosure Schematic diagram of the subset;
[0031] Figure 4 is a structural block diagram of a relocation device based on multimodal data according to an embodiment of the present disclosure;
[0032] Figure 5 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0034] In the related art, a single point cloud or image is used for environmental perception and understanding, and a map is established based on a single modality. The single-modality method achieves good results in sunny / urban road environments. However, when facing rainy / snowy weather or climate changes, there will be obvious lack of robustness, causing the robot navigation system to malfunction or even fail to work. Therefore, the present disclosure proposes to establish a multi-modal environmental map to complete global relocalization in robot navigation.
[0035] The mobile robot disclosed in the present invention may be composed of sensors, a mobile carrier, a central processing unit CPU, a graphics processing unit GPU and a storage device: the sensor is used to sense the environment around the robot, the mobile carrier mainly refers to the power system for the robot to move, the CPU is the carrier for general operations of the mobile robot, the GPU is the computing core used by the robot when performing deep / machine learning tasks that require a large amount of computing, and the storage device generally uses a solid-state hard drive to store the data generated by the robot during driving.
[0036] It can be understood that the mobile robot in the present disclosure is only an exemplary execution subject of the multimodal data-based repositioning method of the present disclosure. Specifically, the present disclosure can be used for any mobile device that needs to be repositioned, such as autonomous driving, robots, drones, asset management, mobile phone navigation positioning, etc.
[0037] According to an embodiment of the present disclosure, an embodiment of a relocalization method based on multimodal data is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, for example, in a CPU system and / or a GPU system of the mobile robot. In addition, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than that shown here.
[0038] The multimodal data-based relocation method provided in the embodiment of the present application can be used in the above-mentioned computer system. Figure 1 is a flowchart of a relocation method based on multimodal data according to an embodiment of the present disclosure, such as Figure 1 As shown, the process includes the following steps:
[0039] Step S101, generating a current frame location representation vector based on multimodal frame data of the current location.
[0040] The multimodal frame data is a collection of data of multiple different modes, and the difference between the timestamps of the data of different modes in the collection is less than a threshold. Specifically, the multimodal frame data can be the basic component unit of the data stream, and each frame data can include multimodal data. Multimodal data refers to information frames from different sources and forms, such as image frames, point cloud frames, positioning information, network connection information, etc.
[0041] Specifically, the method for generating a current frame location representation vector based on the multimodal frame data of the current location may be a method for generating a representation vector in existing technology or future technology, such as directly defining the expression of a vector, using a function to generate a vector, using a model to extract features to generate a vector, converting a vector from a data structure, etc. This application does not limit this.
[0042] Step S102, based on the current frame location representation vector, a preset number of pre-selected key frame location representation vectors are determined from the key frame location representation vectors corresponding to each local node map of the global map.
[0043] The local node map includes a key frame and a preset number of historical frames before and after the key frame. Specifically, those skilled in the art can set the key frame of the local node map and the preset number of historical frames before and after the key frame based on application scenarios, experience and / or predetermined rules, and this application does not limit this.
[0044] Specifically, a global map refers to a map that contains all observed environmental information. The construction of a global map usually includes two steps: local map construction and global map update. In the local map construction stage, the executor of the map construction (usually also the executor of the multimodal data-based relocalization method disclosed in the present invention) obtains information about the surrounding environment through its own sensors (such as lidar, camera, etc.) and constructs a local map. Then, by aligning each frame of distance data obtained previously and fusing each local map, a global map can be obtained.
[0045] Step S103 , obtaining historical frame location representation vectors of the local node map corresponding to a preset number of pre-selected key frame location representation vectors.
[0046] The local node map corresponding to each pre-selected key frame includes a preset number of historical frames before and after the key frame, and correspondingly, the pre-selected key frame location representation vector also corresponds to multiple historical frame location representation vectors. The above-mentioned execution subject can obtain multiple historical frame location representation vectors corresponding to each of these pre-selected key frame location representation vectors.
[0047] Step S104, based on the current frame location representation vector, determine the target historical frame location representation vector from the historical frame location representation vectors of each local node map.
[0048] Among them, each local node map includes multiple historical frame location representation vectors, and the above-mentioned execution entity can select a historical frame location representation vector similar to the current frame location representation vector from the historical frame location representation vectors included in each local node map as the target historical frame location representation vector.
[0049] Step S105 , generating relocation information based on the multimodal frame data of the current location and the historical frame corresponding to the location representation vector of the target historical frame.
[0050] Among them, the multimodal frame data of the current location includes multiple information frames from different sources and forms. The above-mentioned execution subject can match the multimodal frame data with the historical frame corresponding to the target historical frame location representation vector based on the characteristics of these information frames, and determine the relocation information based on the matching degree. Specifically, the posture information corresponding to the historical frame with the highest matching degree can be determined as the relocation information.
[0051] The relocation method based on multimodal data provided in the embodiment of the present application adopts the current frame location representation vector generated by the multimodal frame data of the current location, and determines a preset number of pre-selected key frame location representation vectors from the key frame location representation vectors corresponding to each local node map of the global map, thereby realizing the current frame location representation vector generated based on data of different modalities and coarse-grained screening of local node maps. Since the current frame location representation vector generated based on data of different modalities is adopted, the information content of the current frame location representation vector is improved, and since only the key frame location representation vectors are matched, the speed of determining the relocation information is improved, and then the local node map is obtained. The historical frame location representation vector is obtained from the historical frame location representation vectors of each local node map, and the target historical frame location representation vector similar to the current frame location representation vector is determined, thereby realizing fine-grained matching of historical frames in the local node map. Since the current frame location representation vector with high information content is matched with the historical frame location representation vector with different detail information, the accuracy of the matching result is improved, and then based on the multimodal frame data of the current location and the historical frame corresponding to the target historical frame location representation vector, the relocation information is generated, thereby realizing refined matching of the multimodal frame data of the current location and improving the speed and accuracy of the generated relocation information.
[0052] In some optional embodiments, the above Figure 1 In the illustrated embodiment, based on the current frame location representation vector, determining a preselected key frame location representation vector from the key frame location representation vectors corresponding to the local node maps of the global map may include: determining a first similarity between the current frame location representation vector and the key frame location representation vectors corresponding to the local node maps in the global map to obtain a first similarity set; from the first similarity set, selecting a preset number of first similarities according to values from small to large; and using the key frame location representation vector corresponding to the selected first similarity as the preselected key frame location representation vector.
[0053] The multimodal data-based relocation method provided in the embodiment of the present application selects corresponding key frame location representation vectors from small to large in order of similarity based on the first similarity between the current frame location representation vector and the key frame location representation vectors corresponding to each local node map in the global map, thereby improving the accuracy of the determined pre-selected key frame location representation vectors and thus improving the accuracy of the generated relocation information.
[0054] In some optional embodiments, the above Figure 1 The embodiment shown is based on the current frame location representation vector, and determines the target historical frame location representation vector from the historical frame location representation vectors of each local node map, including: determining the second similarity between the current frame location representation vector and each vector in the historical frame location representation vector sequence of each local node map, and obtaining a preset number of second similarity sets; from each second similarity set, determining the target second similarity with the largest value, and obtaining a preset number of target second similarities; when there is a target second similarity greater than a similarity threshold in the target second similarities, determining the historical frame location representation vector corresponding to the target second similarity greater than the similarity threshold as the target historical frame location representation vector.
[0055] Among them, the preset number is the same as the number of local node maps. The above-mentioned execution entity can calculate the second similarity between the historical frame location representation vector included in each local node map and the current frame location representation vector, so as to obtain a second similarity set corresponding to each local node map, and then obtain a second similarity set with the same number as the number of local node maps. Afterwards, the above-mentioned execution entity can determine a target second similarity with the largest value from each similarity set, so as to obtain the most similar similarity in each local node map. Afterwards, the above-mentioned execution entity can determine whether each target second similarity is greater than the similarity threshold, and determine the historical frame location representation vector corresponding to the target second similarity greater than the similarity threshold as the target historical frame location representation vector.
[0056] The multimodal data-based relocalization method provided in the embodiment of the present application clarifies the process of determining the target historical frame location representation vector that is similar to the current frame location representation vector from the historical frame location representation vectors of each local node map, thereby improving the accuracy of determining the target historical frame location representation vector, thereby improving the accuracy of the generated relocalization information.
[0057] In some optional embodiments, the above Figure 1 In the illustrated embodiment, generating a current frame location representation vector based on multimodal frame data of the current location may include: generating a current frame location representation vector based on an image frame and a point cloud frame of the current location.
[0058] The multimodal data-based relocation method provided in the embodiment of the present application can improve the information content of the generated current frame location representation vector based on the characteristics of the image frame and the point cloud frame by clarifying that the multimodal frame data includes image frames and point cloud frames, and then perform a subsequent process of generating relocation information, thereby improving the accuracy of the generated relocation information.
[0059] In this embodiment, a relocation method based on multimodal data is also provided, which can be used in the above-mentioned computer system. Figure 2 is a flowchart of another relocation method based on multimodal data according to an embodiment of the present disclosure, such as Figure 2 As shown, the process includes the following steps:
[0060] Step S201, generating a current frame location representation vector based on the image frame, point cloud frame, location representation vector, and weather category label of the current location.
[0061] The location representation vector is determined based on the image frame and the point cloud frame; the weather category label is determined based on the image frame. Specifically, the method for generating the location representation vector of the current frame based on the multimodal frame data of the current location can be a method for generating a representation vector in the existing technology or future technology, such as directly defining the expression of the vector, using a function to generate a vector, using a model to extract features to generate a vector, converting a vector from a data structure, etc. This application does not limit this.
[0062] Step S202: Based on the current frame location representation vector, a preset number of pre-selected key frame location representation vectors are determined from the key frame location representation vectors corresponding to each local node map of the global map.
[0063] The local node map includes a key frame and a preset number of historical frames before and after the key frame. Specifically, those skilled in the art can set the key frame of the local node map and the preset number of historical frames before and after the key frame based on application scenarios, experience and / or predetermined rules, and this application does not limit this.
[0064] For details, please see Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.
[0065] Step S203, obtaining historical frame location representation vectors of the local node map corresponding to a preset number of pre-selected key frame location representation vectors.
[0066] The local node map corresponding to each pre-selected key frame includes a preset number of historical frames before and after the key frame, and correspondingly, the pre-selected key frame location representation vector also corresponds to multiple historical frame location representation vectors. The above-mentioned execution subject can obtain multiple historical frame location representation vectors corresponding to each of these pre-selected key frame location representation vectors.
[0067] Step S204, based on the current frame location representation vector, determine the target historical frame location representation vector from the historical frame location representation vectors of each local node map.
[0068] Among them, each local node map includes multiple historical frame location representation vectors, and the above-mentioned execution entity can select a historical frame location representation vector similar to the current frame location representation vector from the historical frame location representation vectors included in each local node map as the target historical frame location representation vector.
[0069] Step S205: determining a target modal frame for relocalization based on the weather category label.
[0070] Among them, the weather category label indicates the current weather category situation. For different weather category situations, the amount of information contained in the data of different modalities has its own characteristics. For example, the penetration of the lidar sensor is strong. In bad weather with poor visibility such as rain and snow, the information content of the point cloud frame obtained by the lidar sensor is significantly higher than that of the image frame, and it is richer in information content. For another example, the information of the image obtained by the camera is richer. In good weather with good visibility such as sunny days, the information content of the image frame obtained by the camera is significantly higher than that of the point cloud frame. Therefore, based on the weather category label, the single-modal data with more information content in the multimodal frame data can be determined as the target modality frame for repositioning.
[0071] In some specific examples, when the weather category label indicates night, rain and / or snow weather, the point cloud frame can be determined as the target modality frame; alternatively or additionally, when the weather category label indicates daytime, sunny and / or cloudy weather, the image frame can be determined as the target modality frame. This determination of the target modality frame for relocation increases the amount of environmental information contained in the target modality frame.
[0072] Step S206 , adding the historical frame corresponding to the target historical frame location representation vector to the candidate position sequence.
[0073] Among them, each target historical frame location representation vector corresponds to a historical frame. In order to subsequently relocate from the historical frame, the historical frame corresponding to the target historical frame location representation vector can be added to the candidate position sequence.
[0074] Step S207 , matching the target modality frame in the multimodal frame data of the current location with the target modality frame of the historical frame in the candidate location sequence, and determining a matching result of the target modality frame.
[0075] Among them, the target modal frame in the multimodal frame data of the current location is matched with the target modal frame of the historical frame in the candidate position sequence to determine the matching result of the target modal frame.
[0076] Specifically, the target modal frame of the historical frame that is most similar to the target modal frames of the historical frames in the candidate position sequences may be determined as the matching result of the target modal frame.
[0077] The matching method may be a matching method in the existing technology or in the technology to be developed in the future, and this application does not limit this. For example, a grayscale-based matching algorithm, a feature-based matching algorithm, or a histogram-based matching algorithm may be used to match two target modal frames.
[0078] Step S208: Generate relocation information based on the matching result of the target modal frame.
[0079] Among them, the matching result of the target modal frame can use the pose information of the target modal frame of the historical frame corresponding to the matching result as the relocation information.
[0080] The relocation method based on multimodal data provided in the embodiment of the present application, by clarifying that the multimodal frame data includes: image frames, point cloud frames, location representation vectors determined based on image frames and point cloud frames, and weather category labels determined based on image frames, can improve the information content of the generated current frame location representation vector based on the characteristics of the image frame, point cloud frame, location representation vector, and weather category label of the current location, and then perform the subsequent process of generating relocation information, thereby improving the accuracy of the generated relocation information. When generating the relocation information, based on the weather category label, a target modal frame for relocation that is adapted to the weather category and can present more information details is determined, and then based on the matching result of the target modal frame with the target modal frame of the historical frame in the candidate position sequence, the relocation information is generated, thereby improving the accuracy of the determined relocation information.
[0081] In some optional implementations of step S207, the target modal frame in the multimodal frame data of the current location is matched with the target modal frame of the historical frame in the candidate position sequence to determine the matching result of the target modal frame, including: using a four-point congruent set algorithm to preliminarily match the target modal frame in the multimodal frame data of the current location with the target modal frame of the historical frame in the candidate position sequence to obtain an initial matrix of the pose transformation matrix; using an iterative closest point algorithm to determine the target matrix of the pose transformation matrix based on the initial matrix; when the overlap rate determined by the target matrix is greater than a predetermined threshold, determining that the target modal frame in the multimodal frame data of the current location matches the target modal frame of the historical frame in the candidate position sequence.
[0082] After obtaining the point cloud / image features, the four-point congruent set algorithm (Super4PCS) rough matching + iterative closest point algorithm (ICP) fine matching can be used for location matching and pose estimation. Super4PCS solves the pose transformation between two point sets through the four-point method. Assume that the point sets of the two-frame point cloud / image features are and , select four coplanar points from the two point sets to form a four-point pair, then calculate the pose transformation matrix of the point pair, transform one point set to the coordinate system of the other point set, and calculate the overlap rate between the two point sets. The overlap rate is defined as: Assume is a constant that marks the distance, and finds a subset such that any point ,point , both have , then the overlap ratio is:
[0083]
[0084] in, is the pose transformation matrix calculated above, Represents the point set Points in according to Transform to In the point set coordinate system, the point set Need to exist in and The distance between them is less than a fixed value . Find the point set All points in the point set that satisfy the mapping There is a distance less than A subset of the points of , then calculate and The overlap rate.
[0085] When the overlap rate of the two point sets is greater than or equal to the preset threshold (for example, a value between 80% and 90%), the location match is considered successful, and the calculated pose transformation matrix is used as the initial matrix for ICP fine matching. After ICP fine matching, the final fine pose transformation matrix is obtained to confirm the current position of the robot; when the overlap rate between the two point sets is less than the preset threshold, the two locations are considered unmatched, and location matching continues for the next frame in the candidate position sequence.
[0086] The multimodal data-based relocalization method provided in the embodiment of the present application clarifies the coarse-grained and fine-grained matching of the target modal frame in the multimodal frame data of the current location with the target modal frame of the historical frame in the candidate position sequence, and then determines the matching result of the target modal frame, thereby improving the matching efficiency and matching accuracy of the target modal frame.
[0087] In a specific example scenario of the embodiment of the above-mentioned relocalization method based on multimodal data, the above-mentioned relocalization method based on multimodal data may include the following steps:
[0088] S1: The mobile robot can be equipped with cameras, 3D lidar and GPS to travel in outdoor environments. The sensors collect data about the surrounding environment at a certain frequency.
[0089] S2: The mobile robot can perform data preprocessing. The processor on the robot preprocesses the images collected by the camera and the point cloud collected by the 3D LiDAR, resizes the images, removes noise and downsamples the point cloud. Noise removal refers to removing points that are too far from the origin of the LiDAR coordinate system. Since they are too far away from the sensor, such noise cannot represent the surrounding environment characteristics, but will have an adverse effect on the understanding of the environment. Therefore, the noise is filtered out in the preprocessing stage.
[0090] S3: The mobile robot can construct a frame sequence, and form the above-mentioned pre-processed multimodal data into one frame of data. During the operation of the robot, the sensor will collect a large amount of environmental data, and the raw data collected by the multi-sensor includes both images and point clouds. The image contains tens of millions of pixels, and the point cloud also contains the location information of hundreds of thousands of scanning points. If each frame is stored, the storage device carried by the robot will encounter significant pressure. Therefore, it is necessary to select a suitable frame rate for data storage. The present disclosure constructs frame data for multimodal data (point cloud and image) at a frequency of 5Hz. Since the point cloud and image come from different sensors, the timestamps between the point cloud and the image need to be aligned. The timestamp of each frame of the point cloud is used as the reference to query the image data with the closest timestamp. If the corresponding time difference between the two timestamps is less than or equal to 0.05s, the frame of point cloud and the corresponding image are regarded as one frame of data. If the corresponding time difference between the two timestamps is greater than 0.05s, the frame of point cloud is discarded. Finally, a 5Hz frame sequence is constructed in chronological order. ,in, Represents the map of each frame, Represents the image of each frame, Represents the point cloud for each frame.
[0091] S4: Location representation and weather recognition. Use the existing multimodal location representation network to extract features from the images and point cloud data in the frame sequence, obtain a time series of surrounding environment location representation vectors, and add them to the map multimodal frame data corresponding to the frame sequence. The smaller the Euclidean distance between the location representation vectors, the more similar the two locations are. The larger the Euclidean distance between the location representation vectors, the more dissimilar the two locations are. The distance threshold is set according to the application algorithm. When the distance between the two location representation vectors is higher than this threshold, they are considered to be different locations. When it is lower than this threshold, they are considered to be the same location. In addition, it is necessary to use the existing network to judge the current environmental weather based on the image information in the frame sequence, and judge whether it is night, sunny, cloudy, rainy or snowy, and add the weather category label to the corresponding map multimodal frame data in the frame sequence. The frame sequence is expanded to , as shown in Table 1 below, each frame of the map multimodal frame data Include images , Point Cloud , location representation vector and weather category labels .
[0092] Table 1. Map multimodal frame data:
[0093]
[0094] The subsequent steps are all performed on the expanded frame sequence shown in Table 2 below.
[0095] Table 2. Frame sequence:
[0096]
[0097] S5: Local node map construction. A running robot generates 5 frames of data per second. If the robot performs pose estimation for each frame during navigation, or performs frame-by-frame fine matching during relocalization, it will consume a huge amount of computing resources and a lot of time. Therefore, the present invention optimizes this by constructing a local node map. Figure 3a As shown, in the frame sequence, one frame is set as a key frame every 20 frames, and the 11 frames of data before and after the key frame constitute a local node map. Table 3 below shows an example of a key frame sequence.
[0098] Table 3. Key frame sequence:
[0099]
[0100] It is understandable that the interval of 20 frames is only a rough value, and the actual choice may be adjusted according to specific scenarios and needs. For example, in scenarios where the road environment is relatively stable, such as highways, a larger interval can be selected; while in scenarios where the environment is complex and changeable, such as urban roads, a smaller interval may be required to ensure the accuracy and real-time performance of the map.
[0101] S6: The robot moves continuously in the outdoor environment and establishes several local node maps as shown in Table 4. All local node maps constitute the historical global map Table 5 shows the construction structure of the global map.
[0102] Table 4. Local node map:
[0103]
[0104] Table 5. Global map:
[0105]
[0106] S7: After building the historical global map, global repositioning can be performed. After the posture information is lost, it is necessary to determine the current posture of the robot and identify its own position. This disclosure uses the key frame coarse matching + node historical frame fine matching method to find the candidate position and establish the candidate position sequence:
[0107] ① Collect multimodal frame data of the current location, calculate the Euclidean distance between the current frame location representation vector and the historical key frame location representation vector, and obtain the first Euclidean distance set;
[0108] ② Select three key frames with the smallest Euclidean distance from the first Euclidean distance set, and their corresponding local node maps are the similar local node maps;
[0109] ③ Calculate the Euclidean distances between the current frame location representation vector and all historical frame location representation vectors in the three similar local node maps to form three Euclidean distance sets;
[0110] ④ Find three similar historical frames corresponding to the minimum Euclidean distances in the three Euclidean distance sets. If the Euclidean distance between the current frame and a similar historical frame is less than the feature distance threshold, add the frame to the candidate position sequence;
[0111] ⑤If the candidate location sequence is empty, that is, the distance between the location representation vectors of the three similar historical frames and the feature vector of the current frame is greater than the threshold, then the location is considered to appear for the first time, and the initial pose and map are re-established, and the next step of location matching and pose estimation is no longer performed.
[0112] S8: Perform location matching and pose estimation in the candidate location sequence. Determine which modality of data to use as features for matching based on the weather recognition results of the image: at night and in rainy and snowy weather, use point cloud data for matching. Since the point cloud itself carries location information, it can be matched directly. In sunny and cloudy weather, use image features for matching. Since the image itself does not contain location information, it is necessary to first extract feature descriptors such as Oriented FAST and Rotated BRIEF (ORB) that are rotationally invariant, and then perform matching.
[0113] S9: After obtaining the point cloud / image features, you can use the four-point congruent set algorithm (Super4PCS) rough matching + iterative closest point algorithm (ICP) fine matching to perform location matching and pose estimation. Figure 3b , Figure 3c , Figure 3d As shown, Figure 3b A schematic diagram showing the calculation of the transformation matrix (ie, the posture transformation matrix in the above embodiment) T based on the four-point congruent set algorithm is shown; Figure 3c A schematic diagram of transformation based on the transformation matrix T is shown; Figure 3d Shows the determination Schematic diagram of the subset. Super4PCS solves the pose transformation between two point sets through the four-point method. Assume that the point sets of the two-frame point cloud / image features are and , select four coplanar points from the two point sets to form a four-point pair, then calculate the pose transformation matrix T of the point pair, transform one point set to the coordinate system of the other point set, and calculate the overlap rate between the two point sets. The overlap rate is defined as: Assume is a constant that marks the distance, and finds a subset such that any point ,point , both have , then the overlap ratio is:
[0114]
[0115] in, is the pose transformation matrix calculated above, Represents the point set Points in according to Transform to In the point set coordinate system, the point set Need to exist in and The distance between them is less than a fixed value . Find the point set All points in the point set that satisfy the mapping There is a distance less than A subset of the points of , then calculate and The overlap rate.
[0116] When the overlap rate of the two point sets is greater than or equal to the preset threshold (e.g. 80%), the location is considered to be matched successfully, and the calculated pose transformation matrix is used as the initial matrix of ICP fine matching. After ICP fine matching, the final fine pose transformation matrix is obtained to confirm the current position of the robot; when the overlap rate between the two point sets is less than the preset threshold, the two locations are considered to be unmatched, and the location matching continues for the next frame in the candidate location sequence. If all candidate frames in the candidate location sequence do not meet the overlap rate requirements of Super4PCS matching, it is considered that the robot has never reached the current location, and the location is re-mapped as the initial location.
[0117] In the present embodiment, a relocation device based on multimodal data is also provided, and the device is used to realize the above-mentioned embodiment and preferred implementation mode, and the description that has been made is not repeated. As used below, the term "unit" can realize the combination of software and / or hardware of predetermined function. Although the device described in the following embodiments is preferably realized with software, the realization of hardware, or the combination of software and hardware is also possible and conceived.
[0118] This embodiment provides a relocation device based on multimodal data, such as Figure 4 As shown, including:
[0119] A vector generation module 401 is used to generate a current frame location representation vector based on multimodal frame data of the current location, wherein the multimodal frame data is a collection of data of multiple different modes, and the difference between the timestamps of the data of different modes in the collection is less than a threshold value;
[0120] A first determination module 402 is used to determine a preset number of pre-selected key frame location representation vectors from key frame location representation vectors corresponding to each local node map of the global map based on the current frame location representation vector; wherein the local node map includes a key frame and a preset number of historical frames before and after the key frame;
[0121] The vector acquisition module 403 is used to acquire the historical frame location representation vectors of the local node map corresponding to a preset number of pre-selected key frame location representation vectors respectively;
[0122] A second determination module 404 is used to determine a target historical frame location representation vector from historical frame location representation vectors of each local node map based on the current frame location representation vector;
[0123] The information generation module 405 is used to generate relocation information based on the multimodal frame data of the current location and the historical frame corresponding to the location representation vector of the target historical frame.
[0124] In some optional embodiments, the first determination module 402 is further used to: determine the first similarity between the current frame location representation vector and the key frame location representation vector corresponding to each local node map in the global map to obtain a first similarity set; from the first similarity set, select a preset number of first similarities according to the numerical value from small to large; and use the key frame location representation vector corresponding to the selected first similarity as the pre-selected key frame location representation vector.
[0125] In some optional embodiments, the second determination module 404 is further used to: determine the second similarity between the current frame location representation vector and each vector in the historical frame location representation vector sequence of each local node map, and obtain a preset number of second similarity sets; from each second similarity set, determine the target second similarity with the largest value, and obtain a preset number of target second similarities; when there is a target second similarity greater than a similarity threshold in the target second similarities, determine the historical frame location representation vector corresponding to the target second similarity greater than the similarity threshold as the target historical frame location representation vector.
[0126] In some optional implementations, the vector generation module 401 is further used to generate a current frame location representation vector based on the image frame and the point cloud frame of the current location.
[0127] In some optional embodiments, the vector generation module 401 is further used to: generate a current frame location representation vector based on the image frame, point cloud frame, location representation vector, and weather category label of the current location; the location representation vector is determined based on the image frame and the point cloud frame; the weather category label is determined based on the image frame.
[0128] In some optional embodiments, the information generation module 405 is further used to: determine the target modal frame for repositioning based on the weather category label; add the historical frame corresponding to the target historical frame location representation vector to the candidate location sequence; match the target modal frame in the multimodal frame data of the current location with the target modal frame of the historical frame in the candidate location sequence to determine the matching result of the target modal frame; and generate repositioning information based on the matching result of the target modal frame.
[0129] In some optional embodiments, the information generation module 405 is further used for at least one of the following: determining a point cloud frame as a target modal frame when the weather category label indicates night, rain and / or snowy weather; determining an image frame as a target modal frame when the weather category label indicates day, sunny and / or cloudy weather.
[0130] In some optional embodiments, the information generation module 405 is further used to: use a four-point congruent set algorithm to preliminarily match the target modal frame in the multimodal frame data of the current location with the target modal frame of the historical frame in the candidate position sequence to obtain an initial matrix of the pose transformation matrix; use an iterative closest point algorithm to determine the target matrix of the pose transformation matrix based on the initial matrix; and determine that the target modal frame in the multimodal frame data of the current location matches the target modal frame of the historical frame in the candidate position sequence when the overlap rate determined by the target matrix is greater than a predetermined threshold.
[0131] The multimodal data-based relocation device in this embodiment is presented in the form of a computer system. The further functional description of each of the above units is the same as that of the above corresponding multimodal data-based relocation method embodiment, which will not be repeated here.
[0132] The present disclosure also provides a computer device having the above Figure 4 The multimodal data based relocalization device is shown.
[0133] See also Figure 5 , Figure 5 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present disclosure, such as Figure 5As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0134] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0135] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0136] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of an electronic device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0137] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0138] The electronic device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0139] The input device 30 can receive input data words or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0140] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0141] The disclosed embodiments also provide a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0142] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A relocalization method based on multimodal data, characterized in that: The method comprises: Generate a current frame location representation vector based on multimodal frame data of the current location, wherein the multimodal frame data is a collection of data of multiple different modes, a difference between timestamps of data of different modes in the collection is less than a threshold, and the multimodal frame data includes a weather category label; Based on the current frame location representation vector, a preset number of pre-selected key frame location representation vectors are determined from the key frame location representation vectors corresponding to each local node map of the global map; wherein the local node map includes a key frame and a preset number of historical frames before and after the key frame; the key frame is determined based on the following steps: in the frame sequence of the global map, map frames separated by a preset number of frames are determined as key frames; Obtaining historical frame location representation vectors of a local node map corresponding to a preset number of preselected key frame location representation vectors; Based on the current frame location representation vector, determine a target historical frame location representation vector from the historical frame location representation vectors of each local node map; Relocation information is generated based on the multimodal frame data of the current location and the historical frame corresponding to the target historical frame location representation vector, including: based on the weather category label, determining the unimodal frame data with more information content in the multimodal frame data as the target modal frame for relocation; and generating relocation information based on the matching result of the target modal frame in the multimodal frame data of the current location and the historical frame corresponding to the target historical frame location representation vector.
2. The method according to claim 1, characterized in that The step of determining a preselected key frame location representation vector from key frame location representation vectors corresponding to each local node map of the global map based on the current frame location representation vector includes: Determine a first similarity between the current frame location representation vector and key frame location representation vectors corresponding to each local node map in the global map to obtain a first similarity set; From the first similarity set, a preset number of first similarities are selected according to values from small to large; The key frame location representation vector corresponding to the selected first similarity is used as the pre-selected key frame location representation vector.
3. The method according to claim 1 or 2, characterized in that: The determining of a target historical frame location representation vector from historical frame location representation vectors of each local node map based on the current frame location representation vector includes: Determine a second similarity between the current frame location representation vector and each vector in a sequence of historical frame location representation vectors of each local node map to obtain a preset number of second similarity sets; From each second similarity set, determine the target second similarity with the largest value, and obtain a preset number of target second similarities; When there is a target second similarity greater than a similarity threshold among the target second similarities, the historical frame location representation vector corresponding to the target second similarity greater than the similarity threshold is determined as the target historical frame location representation vector.
4. The method according to claim 1, characterized in that: The step of generating a current frame location representation vector based on the multimodal frame data of the current location includes: Based on the image frame and point cloud frame of the current location, a current frame location representation vector is generated.
5. The method according to claim 1, characterized in that The step of generating a current frame location representation vector based on the multimodal frame data of the current location includes: Based on the image frame, point cloud frame, location representation vector and weather category label of the current location, a current frame location representation vector is generated; the location representation vector is determined based on the image frame and the point cloud frame; the weather category label is determined based on the image frame.
6. The method according to claim 5, characterized in that The generating of relocation information based on the multimodal frame data of the current location and the historical frame corresponding to the location representation vector of the target historical frame includes: Based on the weather category label, determining a target modal frame for relocalization; Adding the historical frame corresponding to the target historical frame location representation vector to the candidate position sequence; Matching the target modality frame in the multimodal frame data of the current location with the target modality frame of the historical frame in the candidate location sequence to determine a matching result of the target modality frame; Based on the matching result of the target modality frame, relocation information is generated.
7. The method according to claim 6, characterized in that The determining, based on the weather category label, a target modal frame for relocation includes at least one of the following: When the weather category label indicates night, rain and / or snow weather, determining the point cloud frame as the target modal frame; When the weather category label indicates daytime, sunny and / or cloudy weather, the image frame is determined as the target modality frame.
8. The method according to claim 6 or 7, characterized in that: Matching the target modality frame in the multimodal frame data of the current location with the target modality frame of the historical frame in the candidate location sequence to determine the matching result of the target modality frame includes: Using a four-point congruent set algorithm, a target modality frame in the multimodal frame data of the current location is preliminarily matched with a target modality frame of a historical frame in the candidate position sequence to obtain an initial matrix of a posture transformation matrix; Determine a target matrix of a pose transformation matrix based on the initial matrix using an iterative closest point algorithm; When the overlap rate determined by the target matrix is greater than a predetermined threshold, it is determined that the target modality frame in the multimodal frame data of the current location matches the target modality frame of the historical frame in the candidate position sequence.
9. A relocation device based on multimodal data, characterized in that: The device comprises: A vector generation module, configured to generate a current frame location representation vector based on multimodal frame data of a current location, wherein the multimodal frame data is a collection of data of multiple different modes, a difference between timestamps of data of different modes in the collection is less than a threshold, and the multimodal frame data includes a weather category label; A first determination module is used to determine a preset number of pre-selected key frame location representation vectors from key frame location representation vectors corresponding to each local node map of the global map based on the current frame location representation vector; wherein the local node map includes a key frame and a preset number of historical frames before and after the key frame; the key frame is determined based on the following steps: in the frame sequence of the global map, map frames separated by a preset number of frames are determined as key frames; A vector acquisition module, used to acquire historical frame location representation vectors of a local node map corresponding to a preset number of pre-selected key frame location representation vectors; A second determination module is used to determine a target historical frame location representation vector from historical frame location representation vectors of each local node map based on the current frame location representation vector; An information generation module is used to generate relocation information based on the multimodal frame data of the current location and the historical frame corresponding to the target historical frame location representation vector, including: based on the weather category label, determining the unimodal frame data with more information content in the multimodal frame data as the target modal frame for relocation; based on the matching result of the target modal frame in the multimodal frame data of the current location and the historical frame corresponding to the target historical frame location representation vector, generating relocation information.
10. A computer device, characterized in that: The computer device comprises: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the multimodal data-based repositioning method according to any one of claims 1 to 8 by executing the computer instructions.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the multimodal data-based repositioning method according to any one of claims 1 to 8.
12. A computer program product, characterized in that The invention comprises computer instructions, wherein the computer instructions are used to make a computer execute the multimodal data-based repositioning method according to any one of claims 1 to 8.
