High-precision map construction and navigation method for humanoid robot in multiple scenes
By using inertial measurement units and depth cameras in humanoid robots, combined with visual networks and natural language processing modules, a high-precision topological map is constructed, which solves the problems of navigation accuracy and storage costs, and achieves efficient navigation and intelligent interaction.
Patent Information
- Application Number
- CN202410841018.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, humanoid robots have insufficient map construction and navigation accuracy, and have high storage costs, making it difficult to achieve efficient navigation and intelligent human-computer interaction.
The inertial measurement unit and depth camera are used together with the visual network and natural language processing module to build a high-precision topological map. Through semantic segmentation, instance segmentation and scene classification, the robot's movement path between different small scenes is recorded, and natural language description is used to perform Navigation, calculate feature similarity to determine target location, and navigate to the destination step by step.
It improves the accuracy of map construction and navigation, reduces storage costs, and realizes intelligent human-computer interaction and efficient navigation capabilities.
Smart Images

Figure CN118730089A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of robotics technology, and in particular relates to a high-precision map construction and navigation method for a humanoid robot in multiple scenarios. Background Art
[0002] Point cloud, raster and topology are three main map representation forms, which play a key role in humanoid robot technology. Point cloud is composed of a large number of points distributed in three-dimensional space, which can capture and reconstruct complex environmental details with high accuracy, making it very suitable for precise navigation and obstacle avoidance of humanoid robots, but its disadvantage is that it requires a lot of data processing power and storage space. Raster map encodes environmental information into a grid form by pixelation, which simplifies the image processing process and facilitates humanoid robots to perform rapid terrain analysis and path planning. However, its spatial resolution limits the representation of details and may affect navigation accuracy. Topological map emphasizes the spatial relationship between geographical elements, such as connectivity and adjacency, and optimizes the dynamic path planning of robots, but its complex data structure requires high data processing technology. The development and application of these map technologies provide strong support for the functionality and efficiency of humanoid robots, enabling them to operate more freely in complex and changing environments.
[0003] Among them, the representation of topological maps is more valuable, and the storage cost is the lowest. On this basis, it is less difficult to implement navigation functions, and the calculation cost is lower. The disadvantage is that the accuracy is lower. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the present invention provides a high-precision map construction and navigation method for a humanoid robot in multiple scenes, aiming to solve the problem of insufficient map construction and navigation accuracy in the prior art. The method comprises the following steps: first, the hardware part is prepared by an inertial measurement unit (IMU) and a depth camera; then a network model including a visual network and a natural language processing module is constructed, wherein the visual network is used to realize the semantic segmentation and instance segmentation of a 2D image, as well as the classification of the entire scene, and the natural language processing module is used to extract object features from the description and align them with the visual features; then, a high-precision topological map is constructed, including path representation, boundary point pairs and small scene features, to record the movement path of the robot between different small scenes; finally, navigation is performed based on the natural language description, and the location of the target object or scene is determined by calculating the similarity between the object or scene features and the features recorded in the map, and the boundary point pairs are searched in sequence to gradually navigate to the target location. The present invention improves the accuracy of map construction and navigation, reduces storage costs, and realizes intelligent human-computer interaction and efficient navigation capabilities.
[0005] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0006] Step 1: The hardware part of the high-precision map construction and navigation method needs to be equipped with an inertial measurement unit IMU and a depth camera;
[0007] Step 2: Build a network model, including the following parts:
[0008] Visual part: realize semantic segmentation and instance segmentation of 2D images, and classify the entire scene;
[0009] Backbone network: Both pixel-by-pixel encoding and whole-image encoding are composed of convolutional layers. The output of pixel-by-pixel encoding is [h, w, dim], and the output of whole-image encoding is [1, dim]. The batch dimension is omitted in the output. h, w, and dim are the height, width, and encoding dimensions of the image, respectively. The backbone network consists of N layers, each of which is a resnet.
[0010] Image segmentation: Pixel-by-pixel features are used for semantic segmentation and instance segmentation, while whole-image features are used for object classification and scene classification. After instance segmentation, the pixel feature set of an object is (fet pix (1, dim)*N), N is the number of pixels, then the feature of the object is object fet =AVG((fet pix (1, dim)*N)); fet pix Represents pixel-by-pixel features;
[0011] Scene classification: If a scene has N pictures, the features of the N pictures are averaged and the dimension is upgraded to obtain the final scene features; suppose there are num objects in a scene, represented by (AVG((fet pix (1, dim)*N)), num), the feature representation of the scene is map fet =AVG((AVG((fet pix (1, dim)*N)), num));
[0012] The total loss function is set as: L total =L Cross +L Dice +L Cross2 +L BinaryCross Among them, L Cross , L Dice , L Cross2 , L BinaryCross They are the cross entropy loss for semantic segmentation, the L1 loss for instance segmentation, the cross entropy loss for scene classification, and the binary cross entropy loss for whether the object belongs to a specific scene;
[0013] Natural language processing part: The natural language processing part extracts the part representing the object from a sentence and obtains the final feature; let the feature of the object be object lan The features of an object obtained through natural language processing need to be aligned with the features of the visual network, which is called knowledge distillation.
[0014] The feature alignment loss function between the natural language processing model and the visual model is defined as: L lan =1-cos(F lan ,F vis ),F lan 、F vis They are the linguistic features and visual features of the object;
[0015] Step 3: Build the map;
[0016] Path representation: A path is represented as an ordered list of coordinates, denoted as way = {(x1, y1), (x2, y2)…(x n ,y n ),angle1((x i ,y i ),(x j ,y j ),α)…angle n ((x i ,y i ),(x j ,y j ),α)}, where angle represents the situation where the distance from one point to another is not a straight line and needs to be rotated, and α is the angle of rotation; (x i ,y i ),(x j ,y j ) represent the coordinates of different locations in the scene;
[0017] Boundary point pair: The scene is divided at the following scale: If there is only one passable road between two scenes, and there is no object of interest to the user on the road, or a boundary that just allows the robot to pass through, then this place is used as the boundary to divide the scene into two small scenes. The boundary between the two small scenes is called a "boundary point" in the topological map. The data structure of the boundary point is coord(x,y), where the boundary point coordinates between the two small scenes are connected, plus the high-dimensional features between the two scenes, which is a boundary point pair, expressed as:
[0018] lcoord=([coord(x,y),fet(1,dim)],way,[coord(x,y),fet(1,dim)])
[0019] Small scene relative coordinates: The data structure of the small scene is object = [coord (x, y), fet (1, dim)];
[0020] Object coordinates inside a small scene: A high-dimensional feature is used to represent the relative category, expressed as object = (coord (x, y), fet (1, dim));
[0021] Construction of the internal map of the small scene:
[0022] Make the robot move between objects in a small scene, or between a boundary point and an object. Use IMU to record the robot's walking status. If it is a straight line, record its coordinates every t1 seconds as the path while walking. If it rotates, record its rotation angle. Left rotation is negative, right rotation is negative. When walking to the coordinates of the object, the path recording ends once, and the recorded path structure is (object1, object2, way). And reverse the structure to get (object2, object1, way), where all the points of way are arranged in reverse order, the angle part of way is also reversed, and the angle is the opposite number. It represents the path from object 2 to object 1. After the recording is completed, a new round of recording begins.
[0023] After a small scene is built, you need to go to the boundary points to reach another small scene;
[0024] Construction from a small scene to another small scene:
[0025] When reaching the boundary point inside the small scene, the channel from the small scene to another scene is identified, and two structures are recorded, namely: the coordinates of the boundary point and the path from the previous object to the boundary point; if the current small scene has been recorded, go to the boundary point and reach the next scene; record the data structure (lcoord, fet_1, fet2), which represents the boundary point pair from the small scene to another small scene, as well as the high-dimensional features of the two scenes;
[0026] Step 4: Navigation;
[0027] Give the robot a description of an object or scene, rather than a fixed destination description. The robot uses this description to determine the location of the object or given scene, and then searches the database for navigation;
[0028] Step 4-1: Case 1;
[0029] Step 4-1-1: Given a description of an object: First, the natural language features of the object need to be extracted;
[0030] Step 4-1-2: Set the extracted natural language object feature as object lan , first of all, you need to determine the small scene where the object is located. At this time, calculate the similarity between the object and the small scene; set a threshold α, if the similarity score is greater than α, then add this small scene to the pre-selected scene; if the object is located in the current scene, jump to step 4-1-8;
[0031] Step 4-1-3: If the small scene is large, that is, a small scene has multiple features, the similarity with multiple features is calculated separately, and the score is the maximum value of the similarity scores with these features;
[0032] Step 4-1-4: Arrange multiple small scenes according to their similarity scores;
[0033] Step 4-1-5: Calculate the similarity between the object features and the natural language features in the small scene in order, and take the object with the maximum score as the target object;
[0034] Step 4-1-6: In the current scene, perform diffusion search in a tree structure; that is, search for all boundary point pairs starting from the current scene, and then repeat this process with all small scenes where the search results are located; until the corresponding scene is found, and all the boundary point pairs found are added to a list;
[0035] Step 4-1-7: According to the boundary point pair list, the boundary point pair represents the path from one small scene to another small scene. When reaching the entrance of a small scene, find the next boundary point pair, that is, the boundary point of the next target small scene under the current small scene; carry out this process step by step until all boundary point pairs are found;
[0036] Step 4-1-8: After arriving at the corresponding scene, broadcast the location of the target object according to the current boundary point or the location of the object, and obtain a list with elements (object1, object2, way). Navigate according to the way element in the list;
[0037] Step 4-2: Case 2;
[0038] Step 4-2-1: Given a description of a scene, extract the natural language features of the scene;
[0039] Step 4-2-2: Set the extracted natural language object feature as object lan , calculate object lan For the similarity between the small scene and the scene, a threshold α is set for accuracy. If the similarity score is greater than α, the small scene is added to the pre-selected scene.
[0040] Step 4-2-3: If the small scene is large, that is, a small scene has multiple features, the similarity with multiple features is calculated separately, and the score is the maximum value of the similarity scores with these features;
[0041] Step 4-2-4: Arrange multiple small scenes according to their similarity scores;
[0042] Step 4-2-5: In the current scene, perform diffusion search in a tree structure; that is, search for all boundary point pairs starting from the current scene, and then repeat this process with all small scenes where the search results are located; until the corresponding scene is found, and all the boundary point pairs found are added to a list;
[0043] Step 4-2-6: According to the list of boundary point pairs, the boundary point pair represents the path from one small scene to another small scene. When you reach the entrance of a small scene, find the next boundary point pair, that is, under the current small scene, the boundary point of the next target small scene; perform this process step by step until all boundary point pairs are found.
[0044] Preferably, t1=0.1.
[0045] The beneficial effects of the present invention are as follows:
[0046] 1. A new topological map representation method is given, which improves the accuracy and reduces the cost of map storage.
[0047] 2. A new way to represent scenes and objects is proposed, which uses soft classification and always uses high-dimensional features to represent objects.
[0048] 3. Combine deep learning to achieve more intelligent navigation. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a schematic diagram of the backbone network structure of the present invention.
[0050] Figure 2 The present invention provides a navigation flow chart. DETAILED DESCRIPTION
[0051] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0052] The present invention proposes a high-precision topological map construction method combined with deep learning, and combined with natural language processing, it can achieve more intelligent human-computer interaction, and on this basis, search and navigate objects in the scene.
[0053] The technical problems to be solved by the present invention are as follows:
[0054] 1. Robot navigation problems in multiple scenarios.
[0055] 2. The problem of finding objects and navigating in a scene.
[0056] 3. Solve the problem of low map accuracy at a lower storage cost.
[0057] 4. Solve the human-computer interaction problem of traditional maps.
[0058] A high-precision map construction and navigation method for a humanoid robot in multiple scenarios, comprising:
[0059] Hardware: Inertial measurement unit (IMU) and depth camera are required;
[0060] Network model requirements:
[0061] For the visual part, we only need to implement semantic segmentation and instance segmentation of 2D images and classify the entire scene. Next, we will introduce the backbone network:
[0062] Both pixel-by-pixel encoding and whole-image encoding are composed of convolutional layers. The output of pixel-by-pixel encoding is [h, w, dim], and the output of whole-image encoding is [1, dim], and the batch dimension is omitted in the output. h, w, dim are the height, width, and encoding dimensions of the image, respectively. The backbone network consists of N layers, each of which is a small resnet.
[0063] Image segmentation: Pixel-by-pixel features are used for semantic segmentation and instance segmentation, while whole-image features are used for object classification and scene classification.
[0064] Assume: After instance segmentation, the pixel feature set of an object is (fet pix (1, dim)*N), N is the number of pixels, then the feature of the object is object fet =AVG((fet pix (1, dim)*N)).
[0065] Scene classification: If a scene consists of N pictures, the features of the N pictures are averaged and the dimensions are increased to obtain the final scene features.
[0066] Assume there are num objects in a scene, represented as:
[0067] (AVG((fet pix (1, dim)*N)), num).
[0068] The characteristics of the scene are expressed as:
[0069] map fet =AVG((AVG((fet pix(1, dim)*N)), num)).
[0070] Determine whether an object belongs to a specific scene: Given an object feature and a scene feature, it is necessary to determine whether the object belongs to the scene.
[0071] For these three features, the loss function is set as:
[0072] L total =L Cross +L Dice +L Cross2 +L BinaryCross
[0073] Among them, the four loss functions are cross entropy loss for semantic segmentation, L1 loss for instance segmentation, cross entropy loss for scene classification, and binary cross entropy loss for whether the object belongs to a specific scene.
[0074] Natural language processing part: The natural language processing part only needs a simple structure to extract the part representing the object from a sentence and get the final feature. Let the feature of the object be object lan It should be noted that the features of an object obtained by natural language processing need to be aligned with the features of the visual network, that is, knowledge distillation is required.
[0075] For this, the loss function is defined as: L lan =1-cos(F lan ,F vis ),F lan ,F vis They are the linguistic features and visual features of the object respectively.
[0076] The map representation does not classify scenes or objects in the traditional sense, but rather performs a soft classification, that is, using high-dimensional features to represent objects and scenes.
[0077] Map construction:
[0078] Introducing the concept of the present invention:
[0079] Path representation: A path is represented as an ordered list of coordinates, denoted as way = {(x1, y1), (x2, y2)…(x n ,y n ),angle1((x i ,y i ),(x j ,y j ),α)…anglen((x i ,y i ),(x j ,yj ),α)}, where angle represents the situation where the distance from one point to another is not a straight line and needs to be rotated, and α is the angle of rotation.
[0080] Boundary point pair: The present invention divides the large scene that needs to be mapped into scenes. The scale of the division is that if there is a place in a large scene where the robot can only pass through and walk, the large scene is divided into two small scenes with this place as the boundary. The boundary between the two small scenes is called a "boundary point" in the topological map. The data structure of the boundary point is coord(x, y), where the coordinates of the two boundary points between the two scenes, plus the high-latitude features between the two scenes, is a boundary point pair, expressed as:
[0081] lcoord=([coord(x,y),fet(1,dim)],way,[coord(x,y),fet(1,dim)])
[0082] Small scene relative coordinates: The data structure of the small scene representation is object = [coord(x,y),fet(1,dim)]. Because each small scene may be connected to multiple small scenes, and the paths from multiple small scenes to a small scene are different, the small scene may have multiple representations, and the specific representation depends on which small scene the robot is in. That is, coord(x,u) will change, but fet(1,dim) will not change.
[0083] Object coordinates in a small scene: Usually, only the category and coordinates of the objects in the scene are simply recorded. The present invention does not record the absolute category, but records its coordinates and high-dimensional features. The reason is that the present invention considers that a single category cannot represent all the information of an object, such as color, size, etc., and in actual applications, when searching for an object, the user may have multiple descriptions of the object. Therefore, a high-dimensional feature is used to represent the relative category, which is expressed as:
[0084] object=(coord(x,y),fet(1,dim))
[0085] Construction of the internal map of the small scene:
[0086] Make the robot move between objects in a small scene, or between a boundary point and an object. Use IMU to record the robot's walking status. If it is a straight line, record its coordinates every 0.1 seconds (the time can be changed accordingly according to the speed) as the path. If it rotates, record its rotation angle. Left rotation is negative, and right rotation is negative. When walking to the coordinates of the object, the path recording ends once, and the recorded path structure is (object1, object2, way). And reverse the structure to get (object2, object1, way), where all the points of way are arranged in reverse order, the angle part of way is also reversed, and the angle is the opposite number. It represents the path from object 2 to object 1. After the recording is completed, a new round of recording begins.
[0087] After a small scene is built, you need to go to the boundary point to reach another small scene.
[0088] Construction from a small scene to another small scene:
[0089] When reaching the boundary point inside the small scene, the passage from the small scene to another scene is identified, and two structures are recorded, namely, the coordinates of the boundary point and the path from the previous object to the boundary point. If the current small scene has been recorded, go to the boundary point and reach the next scene. The recorded data structure (lcoord, fet_1, fet2) represents the boundary point pair from the small scene to another small scene, as well as the high-dimensional features of the two scenes.
[0090] Optimization of small scene maps:
[0091] The map inside the small scene is represented as a path from one object to another. In actual automatic navigation, there may be a time loss, that is, from the position of one object to the position of another object. If there are adjacent objects between the two objects and there are no obstacles and they can be reached in a straight line, a new path is added. Small scene map optimization will increase storage costs, and whether to optimize needs to be selected based on actual conditions.
[0092] Optimization of small scene features:
[0093] A single feature is used to represent an entire scene. If the scene is too complex, poor performance may occur. In this case, a large scene is sliced, that is, a large scene is divided, and then scene features are extracted from the divided large scene. The sliced features are used as a set to represent a larger small scene.
[0094] After the above steps, the map construction has been completed. Next, we will introduce the navigation part.
[0095] First, introduce the applicable scenarios and give the robot a description of an object or scene instead of a fixed destination description. The robot needs to determine the location of the object or given scene through this description, and then search the database for navigation.
[0096] Case 1:
[0097] 1. Given a description of an object: First, you need to extract the natural language features of the object.
[0098] 2. Let the extracted natural language object feature be object lan ,First, we need to determine the small scene where the object is located. At this time, we calculate the similarity between the object and the small scene. For accuracy, we set a threshold α. If the similarity score is greater than α, the small scene is added to the pre-selected scene. If the object is located in the current scene, jump to 8.
[0099] 3. If a small scene is large, that is, a small scene has multiple features, the similarity with multiple features is calculated separately, and the score is the maximum value of the similarity scores with these features.
[0100] 4. Arrange multiple small scenes according to their similarity scores.
[0101] 5. Calculate the similarity between the object features and the natural language features in the small scene in sequence, and take the object with the maximum score as the target object.
[0102] 6. In the current scene, perform diffusion search in a tree structure. That is, search for all boundary point pairs starting from the current scene, and then repeat this process with all small scenes where the search results are located. Until the corresponding scene is found, and all the boundary point pairs found are added to a list.
[0103] 7. According to the boundary point pair list, the boundary point pair represents the path from one small scene to another small scene. When you reach the entrance of a small scene, find the next boundary point pair, that is, the boundary point of the next target small scene in the current small scene. This process is carried out step by step until all boundary point pairs are found.
[0104] 8. After arriving at the corresponding scene, broadcast the location of the target object according to the current boundary point or the location of the object, and obtain a list with elements (object1, object2, way). Navigate according to the way element in the list.
[0105] Case 2:
[0106] 1. Given a description of a scene, extract the natural language features of the scene.
[0107] 2. Let the extracted natural language object feature be object lan , calculate object lan For the similarity between the small scene and the scene, a threshold α is set for accuracy. If the similarity score is greater than α, the small scene is added to the pre-selected scenes.
[0108] 3. If a small scene is large, that is, a small scene has multiple features, the similarity with multiple features is calculated separately, and the score is the maximum value of the similarity scores with these features.
[0109] 4. Arrange multiple small scenes according to their similarity scores.
[0110] 5. In the current scene, perform diffusion search in a tree structure. That is, search for all boundary point pairs starting from the current scene, and then repeat this process with all small scenes where the search results are located. Until the corresponding scene is found, and all the boundary point pairs found are added to a list.
[0111] 6. According to the boundary point pair list, the boundary point pair represents the path from one small scene to another small scene. When you reach the entrance of a small scene, find the next boundary point pair, that is, the boundary point of the next target small scene in the current small scene. This process is carried out step by step until all boundary point pairs are found.
Claims
1. A high-precision map construction and navigation method for a humanoid robot in multiple scenarios, characterized in that: The steps include: Step 1: The hardware part of the high-precision map construction and navigation method needs to be equipped with an inertial measurement unit IMU and a depth camera; Step 2: Build a network model, including the following parts: Visual part: realize semantic segmentation and instance segmentation of 2D images, and classify the entire scene; Backbone network: Both pixel-by-pixel encoding and whole-image encoding are composed of convolutional layers. The output of pixel-by-pixel encoding is [h, w, dim], and the output of whole-image encoding is [1, dim]. The batch dimension is omitted in the output. h, w, and dim are the height, width, and encoding dimensions of the image, respectively. The backbone network consists of N layers, each of which is a resnet. Image segmentation: Pixel-by-pixel features are used for semantic segmentation and instance segmentation, while whole-image features are used for object classification and scene classification. After instance segmentation, the pixel feature set of an object is (fet pix (1, dim)*N), N is the number of pixels, then the feature of the object is object fet =AVG((fet pix (1, dim)*N)); fet pix Represents pixel-by-pixel features; Scene classification: If a scene has N pictures, the features of the N pictures are averaged and the dimensions are increased to obtain the final scene features; set up In a scene, there are num objects, represented as (AVG((fet pix (1, dim)*N)), num), the feature representation of the scene is map fet =AVG((AVG((fet pix (1, dim)*N)), num)); The total loss function is set as: L total =L Cross +L Dice +L Cross2 +L BinaryCross Among them, L Cross , L Dice , L Cross2 , L BinaryCross They are the cross entropy loss for semantic segmentation, the L1 loss for instance segmentation, the cross entropy loss for scene classification, and the binary cross entropy loss for whether the object belongs to a specific scene; Natural language processing part: The natural language processing part extracts the part representing the object from a sentence and obtains the final feature; let the feature of the object be object lan The features of an object obtained through natural language processing need to be aligned with the features of the visual network, which is called knowledge distillation. The feature alignment loss function between the natural language processing model and the visual model is defined as: L lan =1-cos(F lan ,F vis ),F lan 、F vis They are the linguistic features and visual features of the object; Step 3: Build the map; Path representation: A path is represented as an ordered list of coordinates, denoted as way = {(x1, y1), (x2, y2)…(x n ,y n ),angle1((x i ,y i ),(x j ,y j ),α)…angle n ((x i ,y i ),(x j ,y j ),α)}, where angle represents the situation where the distance from one point to another is not a straight line and needs to be rotated, and α is the angle of rotation; (x i ,y i ),(x j ,y j ) represent the coordinates of different locations in the scene; Boundary point pair: divide the scene. The scale of division is: if there is only one passable road between two scenes, and there is no object of interest to the user on the road, or a boundary that just allows the robot to pass, then this place is used as the boundary to divide the scene into two small scenes. The boundary between the two small scenes is called a "boundary point" in the topological map. The data structure of the boundary point is coord(x,y), where the boundary point coordinates between the two small scenes are connected, plus the high-dimensional features between the two scenes, which is a boundary point pair, expressed as: lcoord=([coord(x,y),fet(1,dim)],way,[coord(x,y),fet(1,dim)]) Small scene relative coordinates: The data structure of the small scene is object = [coord (x, y), fet (1, dim)]; Object coordinates inside a small scene: A high-dimensional feature is used to represent the relative category, expressed as object = (coord (x, y), fet (1, dim)); Construction of the internal map of the small scene: The robot is made to move between objects in a small scene, or between a boundary point and an object. The IMU is used to record the walking status of the robot. If it is a straight line, its coordinates are recorded every t1 seconds as the path during walking. If it rotates, its rotation angle is recorded. Left rotation is negative, and right rotation is negative. When walking to the coordinates of the object, the path recording ends once, and the recorded path structure is (object1, object2, way); and the structure is reversed to obtain (object2, object1, way), in which all the points of way are arranged in reverse order, the angle part of way is also reversed, and the angle is taken as the opposite number; it represents the path from object 2 to object 1; after the recording ends, a new round of recording begins; After a small scene is built, you need to go to the boundary points to reach another small scene; Construction from a small scene to another small scene: When reaching the boundary point inside the small scene, the channel from the small scene to another scene is identified, and two structures are recorded, namely: the coordinates of the boundary point and the path from the previous object to the boundary point; if the current small scene has been recorded, go to the boundary point and reach the next scene; record the data structure (lcoord, fet_1, fet2), which represents the boundary point pair from the small scene to another small scene, as well as the high-dimensional features of the two scenes; Step 4: Navigation; Give the robot a description of an object or scene, rather than a fixed destination description. The robot uses this description to determine the location of the object or given scene, and then searches the database for navigation; Step 4-1: Case 1; Step 4-1-1: Given a description of an object: First, the natural language features of the object need to be extracted; Step 4-1-2: Set the extracted natural language object feature as object lan First, we need to determine the small scene where the object is located; at this time, calculate the similarity between the object and the small scene; set a threshold α, if the similarity score is greater than α, then add this small scene to the pre-selected scene; if the object is located in the current scene, jump to step 4-1-8; Step 4-1-3: If the small scene is large, that is, a small scene has multiple features, the similarity with multiple features is calculated separately, and the score is the maximum value of the similarity scores with these features; Step 4-1-4: Arrange multiple small scenes according to their similarity scores; Step 4-1-5: Calculate the similarity between the object features and the natural language features in the small scene in order, and take the object with the maximum score as the target object; Step 4-1-6: In the current scene, perform diffusion search in a tree structure; that is, search for all boundary point pairs starting from the current scene, and then repeat this process with all small scenes where the search results are located; until the corresponding scene is found, and all the boundary point pairs found are added to a list; Step 4-1-7: According to the boundary point pair list, the boundary point pair represents the path from one small scene to another small scene. When reaching the entrance of a small scene, find the next boundary point pair, that is, the boundary point of the next target small scene under the current small scene; carry out this process step by step until all boundary point pairs are found; Step 4-1-8: After arriving at the corresponding scene, broadcast the location of the target object according to the current boundary point or the location of the object, and obtain a list with elements (object1, object2, way). Navigate according to the way element in the list; Step 4-2: Case 2; Step 4-2-1: Given a description of a scene, extract the natural language features of the scene; Step 4-2-2: Set the extracted natural language object feature as object lan , calculate object lan For the similarity between the small scene and the scene, a threshold α is set for accuracy. If the similarity score is greater than α, the small scene is added to the pre-selected scene. Step 4-2-3: If the small scene is large, that is, a small scene has multiple features, the similarity with multiple features is calculated separately, and the score is the maximum value of the similarity scores with these features; Step 4-2-4: Arrange multiple small scenes according to their similarity scores; Step 4-2-5: In the current scene, perform diffusion search in a tree structure; that is, search for all boundary point pairs starting from the current scene, and then repeat this process with all small scenes where the search results are located; until the corresponding scene is found, and all the boundary point pairs found are added to a list; Step 4-2-6: According to the list of boundary point pairs, the boundary point pair represents the path from one small scene to another small scene. When you reach the entrance of a small scene, find the next boundary point pair, that is, under the current small scene, the boundary point of the next target small scene; perform this process step by step until all boundary point pairs are found.
2. According to claim 1, a high-precision map construction and navigation method for a humanoid robot in multiple scenarios is characterized in that: The t1=0.1.
