Navigation method of robot, method for constructing navigation map, and robot
By retrieving target nodes from a pre-built navigation map and generating a 3D occupancy grid by combining multi-view images, the high storage requirements of traditional navigation methods and the blind spot obstacle avoidance problem of semantic maps are solved, enabling efficient navigation of robots in complex environments and dynamic scenes.
Patent Information
- Application Number
- CN202611328065.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-27
AI Technical Summary
Traditional navigation methods rely on high-resolution dense point cloud maps or dense feature point maps, which have large storage requirements, high deployment costs, and are difficult to apply to complex environments and dynamic scenarios. Semantic map navigation methods cannot perceive comprehensive field of view information, resulting in problems such as ambiguous positioning and poor blind spot obstacle avoidance capabilities.
By retrieving target nodes from a pre-built navigation map and generating a 3D occupancy grid by combining multi-view images, the robot's movement direction is determined. Motion control signals are then generated based on the 3D occupancy grid and the movement direction, thus realizing the construction of the navigation map and the movement of the robot.
This reduces the storage dependency and deployment cost of the navigation system, and improves the robustness and control accuracy of the robot in complex environments and dynamic scenarios.
Smart Images

Figure CN123175274A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a robot navigation method, a navigation map construction method, and a robot. Background Technology
[0002] Currently, robots primarily employ traditional navigation methods based on LiDAR or visual sensors, or navigation methods based on semantic maps that combine geometric and semantic information from the environment, when moving based on navigation. These methods suffer from the following problems: Traditional navigation methods rely on high-resolution dense point cloud maps or dense feature point maps, resulting in high storage requirements, high deployment costs, and difficulty in adapting to complex environments and dynamic scenarios; semantic map navigation methods cannot perceive comprehensive field-of-view information, leading to ambiguous localization and poor obstacle avoidance capabilities in blind spots. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a robot navigation method, a navigation map construction method, and a robot, which can reduce the storage dependency requirements and deployment costs of the navigation system, and improve the robustness and control accuracy of the robot's movement in complex environments and dynamic scenarios.
[0004] To achieve the above objectives, according to one aspect of the present invention, a robot navigation method is provided, comprising: Retrieve the target node corresponding to the natural language command and the current node corresponding to the robot's real-time position from the pre-built navigation map; The global path node sequence is determined based on the current node and the target node, and the robot's movement direction is determined based on the global path node sequence. Acquire multi-view images of the robot from multiple different orientations, and generate a 3D occupancy mesh containing the positions of stationary obstacles based on the depth information contained in the multi-view images. The robot generates motion control signals based on the 3D occupancy grid and the direction of movement, and moves according to the motion control signals.
[0005] Optionally, a 3D occupancy mesh containing the positions of stationary obstacles is generated based on the depth information contained in the multi-view images, including: Determine scene depth information based on any two adjacent viewpoint images; The scene depth information from multiple perspective images is projected into three-dimensional space to obtain the position of stationary obstacles; Based on the position of stationary obstacles, the grids occupied by the obstacles are marked in three-dimensional space to obtain the three-dimensional occupied grid.
[0006] Optionally, after generating a 3D occupancy mesh containing the positions of stationary obstacles based on the depth information contained in the multi-view images, the method further includes: Based on the change in luminance of each viewpoint image over time within a preset period, the optical flow field corresponding to each viewpoint image is obtained; The orientation and velocity of dynamic obstacles are determined based on the differences in the optical flow fields between multiple viewpoint images. Update the 3D occupancy mesh based on the orientation and velocity of dynamic obstacles.
[0007] Optionally, motion control signals for the robot are generated based on the 3D occupied mesh and the direction of movement, including: The 3D occupied grid is sliced according to height, and the corresponding 2D local cost map is determined based on multiple slices within a preset height range; Candidate action control signals are selected within a preset range. Based on the candidate action control signals and the two-dimensional local cost map, the updated position of the robot after a preset time step is determined. Based on the updated position corresponding to multiple candidate motion control signals and the robot's movement direction, the robot's motion control signal is determined from the multiple candidate motion control signals.
[0008] Secondly, embodiments of the present invention provide a method for constructing a navigation map, comprising: Move the robot sequentially to multiple key locations. Each time the robot moves to a key location, perform the following operations: Acquire multi-view images of the robot from multiple different locations and extract visual features from the multi-view images; Obtain natural language descriptions corresponding to multi-view images and extract semantic features from multi-view images; Construct corresponding nodes for each key location in the navigation map based on visual and semantic features; Based on the reachability between key locations and adjacent key locations, construct edges between corresponding nodes of key locations and adjacent key locations in the navigation map.
[0009] Optionally, visual features of the multi-view images are extracted, including: Based on the camera parameters acquired for each viewpoint image, determine the viewpoint encoding for each viewpoint image; The image encoding for each viewpoint image is determined based on the pixel values of each viewpoint image; Image encoding and view encoding of images from multiple perspectives are mapped to the visual features of the images from multiple perspectives.
[0010] Thirdly, embodiments of the present invention provide a robot, comprising: The planning module is used to retrieve the target node corresponding to the natural language command and the current node corresponding to the robot's real-time position from the pre-built navigation map; determine the global path node sequence based on the current node and the target node; and determine the robot's movement direction based on the global path node sequence. The control module is used to acquire multi-view images of the robot from multiple different directions, generate a three-dimensional occupancy grid containing the positions of stationary obstacles based on the depth information contained in the multi-view images, generate motion control signals for the robot based on the three-dimensional occupancy grid and the direction of movement, and move according to the motion control signals.
[0011] Fourthly, embodiments of the present invention provide an electronic device, comprising: One or more processors; A storage device for storing one or more programs that, when executed by one or more processors, cause the one or more processors to implement the methods of any of the above embodiments.
[0012] Fifthly, embodiments of the present invention provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method of any of the above embodiments.
[0013] Sixthly, embodiments of the present invention provide a computer program product, including a computer program, which, when executed by a processor, implements the method of any of the above embodiments.
[0014] One embodiment of the above invention has the following advantages or beneficial effects: by retrieving the semantic information of the navigation command corresponding to the target node in the natural language command from the pre-built navigation map, and converting it into location information containing spatial description; based on the reachability information contained in the navigation map, the global path node sequence from the current node position to the target node position is directly determined, and the robot's movement direction is determined; the above steps focus on solving the macro-planning problem of positioning and orientation; then, a three-dimensional occupancy grid containing obstacle positions is constructed in real time using the depth information contained in the robot's multi-view images, and the robot's motion control signals are generated based on the three-dimensional occupancy grid and movement direction, focusing on solving the micro-obstacle avoidance control problem, ensuring smooth and safe movement. Therefore, the robot navigation method, navigation map construction method, and robot of the above embodiments can reduce the storage dependency requirements and deployment costs of the navigation system, and improve the robustness and control accuracy of the robot's movement in complex environments and dynamic scenarios.
[0015] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description
[0016] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein: Figure 1 This is a schematic diagram of the main flow of a robot navigation method provided in one embodiment of the present invention; Figure 2 This is a flowchart illustrating a robot navigation method provided in another embodiment of the present invention; Figure 3 This is a schematic diagram of the main flow of a navigation map construction method provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the main modules of a robot provided in one embodiment of the present invention; Figure 5 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied; Figure 6 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation
[0017] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0018] It should be noted that the collection, gathering, updating, analysis, processing, use, transmission, and storage of user personal information involved in this disclosed technical solution all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.
[0019] Figure 1 This is a robot navigation method provided in one embodiment of the present invention, such as... Figure 1 As shown, it includes the following steps: Step S101: Retrieve the target node corresponding to the natural language command and the current node corresponding to the robot's real-time position from the pre-built navigation map.
[0020] The method of this invention is applied to scenarios where robots navigate and move according to natural language instructions. Here, "robot" refers to an intelligent mechanical device composed of mechanical mechanisms, drive systems, control systems, and sensing systems, including but not limited to (humanoid) robots, dog-like robots, or other intelligent mechanical devices that need to navigate and move according to instructions in a real environment.
[0021] The navigation map used in this embodiment of the invention is a topological map constructed from multi-view images, containing multi-view visual features of key location images, natural language description features, and spatial location reachability relationships. Specifically, the multi-view visual features and natural language description features of key locations are stored in the nodes of the topological map, while the spatial location reachability relationships are stored in the edges between nodes.
[0022] Retrieving target nodes corresponding to natural language commands from a pre-built navigation map includes: mapping the natural language command into a text semantic embedding vector, which serves as the query vector; and selecting the node with the highest semantic similarity as the target node by checking the semantic similarity between the query vector and the feature vectors of the navigation map nodes. The feature vectors of the navigation map nodes include visual features and semantic features, which can be fused through methods such as concatenation or attention-based encoding. Correspondingly, when querying based on natural language commands, the semantic feature portion of the feature vector can be queried directly, or an attention-based mechanism can be used to query the feature vector.
[0023] Among them, checking the similarity between the query vector and the feature vector of the navigation map node can be done by using methods such as approximate nearest neighbor to recall multiple nodes with high similarity, so as to improve the efficiency of retrieving the target node.
[0024] The current node corresponding to the robot's real-time position can be determined by matching it with the coordinate range, room number and other identification parameters pre-stored in the nodes of the navigation map; or it can be determined by retrieving the nodes of the navigation map after extracting the visual features and / or natural language description features of the current room (mapped to the feature space of the navigation map nodes) based on the real-time images acquired by the robot.
[0025] In some embodiments, robot navigation and navigation map construction can be performed simultaneously. For example: in response to the inability to retrieve a target node corresponding to a natural language command from a pre-built navigation map, the robot is moved to a new key location, and the following operations are performed: acquiring multi-view images of the robot from multiple different orientations; extracting visual features from the multi-view images; acquiring a natural language description corresponding to the multi-view images; constructing a corresponding node for each key location in the navigation map based on the visual features and the natural language description; constructing edges between the key location and its adjacent key locations in the navigation map based on the reachability between the key location and its adjacent key locations; repeating the movement of the robot to the new key location and the corresponding operations until the currently acquired multi-view image contains features corresponding to the natural language command, at which point navigation is complete.
[0026] Step S102: Determine the global path node sequence based on the current node and the target node, and determine the robot's movement direction based on the global path node sequence.
[0027] In some embodiments, the global path node sequence is determined based on the current node and the target node, and one or more of the following principles may be followed: finding the path with the fewest intermediate nodes (e.g., using breadth-first search / depth-first search); finding the path with the shortest distance / time between nodes (e.g., Dijkstra's algorithm, A*). (Algorithms, etc.)
[0028] Determining the robot's movement direction based on the global path node sequence can include: determining the intermediate target direction as the robot's movement direction based on the straight line connecting the current node and the next node. If there are obstacles between the straight lines connecting the current node and the next node, the intermediate target direction can be determined as the robot's movement direction using direction parameters pre-stored in the nodes / edges of the navigation map.
[0029] Step S103: Acquire multi-view images of the robot from multiple different orientations, and generate a three-dimensional occupancy mesh containing the positions of stationary obstacles based on the depth information contained in the multi-view images.
[0030] The robot can simultaneously acquire multi-view images from multiple cameras located on its body facing different directions. For example, a camera array consisting of four wide-angle lenses (front, rear, left, and right) can cover a 360° field of view; or a combination of fisheye lenses can be used; or a camera array can be set up along the robot's height to obtain a vertical field of view.
[0031] In some embodiments, generating a three-dimensional occupied grid containing the positions of stationary obstacles based on the depth information contained in the multi-view images includes: determining scene depth information based on any two adjacent view images; projecting the scene depth information of the multiple view images into a three-dimensional space to obtain the positions of stationary obstacles; and marking the grid occupied by the obstacles in the three-dimensional space based on the positions of the stationary obstacles to obtain a three-dimensional occupied grid.
[0032] Here, depth information refers to the depth map representing the physical distance from each pixel to the camera. Determining scene depth information based on any two adjacent viewpoint images includes: performing epipolar correction on the two adjacent viewpoint images based on the parameters of the cameras that acquired them; selecting any corrected image as a reference image and calculating a disparity map based on the horizontal coordinate position deviation of matching pixels in the two viewpoint images; and obtaining scene depth information based on the reference image using the disparity map, the baseline distance between the two adjacent viewpoint cameras, and the camera focal length.
[0033] Optionally, determining scene depth information based on any two adjacent viewpoint images includes: selecting any image from the adjacent viewpoint images as a reference image to generate an initial hypothetical depth map; reprojecting the initial hypothetical depth map onto another image from the adjacent viewpoint images to obtain projection points; updating and iterating the initial hypothetical depth map based on the luminance difference between the initial hypothetical depth map and the projection point pixels of the other image (using gradient descent or similar methods) until the luminance difference meets a preset threshold; and using the corrected initial hypothetical depth map as scene depth information based on the reference image.
[0034] Projecting scene depth information from multiple viewpoint images into three-dimensional space to obtain the location of stationary obstacles includes: determining the object surface by judging edges through gradient changes and judging regions / planes through depth differences based on scene depth information from multiple viewpoint images; after projecting scene depth information into three-dimensional space, judging whether the object surface is a stationary obstacle according to preset rules (ground judgment, independent object judgment, negative obstacle judgment such as stairs, potholes, etc.) to obtain the location of stationary obstacles.
[0035] In some embodiments, after generating a three-dimensional occupancy grid containing the position of stationary obstacles based on the depth information contained in the multi-view images, the method further includes: obtaining the optical flow field corresponding to each view image based on the change value of luminosity of each view image over time within a preset period of time; determining the orientation and velocity of dynamic obstacles based on the difference value between the optical flow fields of multiple view images; and updating the three-dimensional occupancy grid based on the orientation and velocity of dynamic obstacles.
[0036] The process of determining the orientation and velocity of a dynamic obstacle based on the differences between the optical flow fields of multiple viewpoint images includes: back-projecting the optical flow fields of multiple viewpoint images into three-dimensional space to obtain the three-dimensional motion vector field under each viewpoint; identifying the locations where there are differences between the optical flow fields of multiple viewpoint images as dynamic obstacle regions; determining the current orientation of the dynamic obstacle based on the region of the dynamic obstacle; and determining the three-dimensional motion velocity vector of the dynamic obstacle based on the three-dimensional motion vector field of the dynamic obstacle region (which can be filtered in the time domain, such as Kalman filtering or sliding window smoothing), to obtain the velocity of the dynamic obstacle.
[0037] The 3D occupancy grid is updated based on the orientation and velocity of the dynamic obstacle, including: for each future time step: based on the current orientation and velocity of the dynamic obstacle, the occupancy position of the dynamic obstacle in each future time step is estimated, and the 3D occupancy grid is updated based on the occupancy position.
[0038] Step S104: Generate motion control signals for the robot based on the 3D occupied grid and the direction of movement, and move according to the motion control signals.
[0039] In some embodiments, generating motion control signals for the robot based on a three-dimensional occupancy grid and a movement direction includes: slicing the three-dimensional occupancy grid according to height, determining a corresponding two-dimensional local cost map based on multiple slices within a preset height range; selecting candidate motion control signals within a preset range, determining the updated position of the robot after a preset time step based on the candidate motion control signals and the two-dimensional local cost map; and determining the robot's motion control signal from among the multiple candidate motion control signals based on the updated position corresponding to the multiple candidate motion control signals and the robot's movement direction.
[0040] The process of determining a corresponding two-dimensional local cost map based on multiple slices within a preset height range includes: selecting a three-dimensional occupied grid slice at the navigation height as a reference map, and correcting the reference map based on the robot's expansion parameters, motion constraint parameters, etc., to obtain a two-dimensional local cost map marking impassable areas; or comparing multiple slices within a preset height range, and using the three-dimensional occupied grid slice with the largest obstacle area as a reference map, and correcting it to obtain a two-dimensional local cost map.
[0041] Candidate motion control signals may include at least one of the following types of parameters: robot speed and angular velocity, position and orientation of each joint, force / torque of mechanical mechanism, etc.
[0042] Based on the updated position corresponding to multiple candidate motion control signals and the robot's movement direction, the robot's motion control signal is determined from the multiple candidate motion control signals. This includes: scoring each candidate motion control signal using a pre-set reward function (e.g., quantifying and scoring based on whether it approaches the movement direction, avoids obstacles, or performs smooth movement) and the updated position; determining the cumulative expectation of each candidate motion control signal based on the scoring results; and selecting the candidate motion control signal with the highest cumulative expectation as the robot's motion control signal.
[0043] In some embodiments, after outputting the robot's motion control signal, the robot's coordinate pose for the next position can be determined based on the motion control signal and the current position, and multiple sets of robot motion control signals can be continuously generated.
[0044] Figure 2 This is another embodiment of the robot navigation method provided by the present invention, such as... Figure 2 As shown, it includes the following steps: Step S201: Receive natural language instructions and retrieve the corresponding target node and the current node corresponding to the robot's real-time position from the pre-built navigation map according to the natural language instructions.
[0045] In this embodiment of the invention, robot navigation is performed through a two-layer planning and control system. The planning system refers to the system in steps S201-S202 that determines the robot's direction of movement using natural language commands and a navigation map; the control system refers to the system in steps S203-S204 that performs local obstacle avoidance and motion control through multi-view perception.
[0046] In some embodiments, receiving natural language commands can be achieved through the robot's voice interaction module, text input module, communication module, etc.
[0047] Upon receiving a natural language instruction, the planning system searches multiple nodes on the navigation map. For example, if the natural language instruction is "go into the room with the TV," the system will look for nodes containing both visual and semantic features related to "TV." Because the nodes on the navigation map store multi-view information, even if the TV is only partially visible in a previous side view, the planning system can still identify it through multi-view feature association, thus determining the accurate target node.
[0048] At the same time, the planning system will determine the corresponding current node in the navigation map based on the robot's current coordinates.
[0049] Step S202: Determine the global path node sequence using a path planning algorithm, and determine the robot's movement direction based on the global path node sequence.
[0050] Determining the global path node sequence based on the current node and the target node can be achieved using path planning algorithms such as breadth-first search / depth-first search, Dijkstra's algorithm, and A*. Algorithms, etc.
[0051] After determining the global path node sequence based on the current node and the target node, the planning system can output an intermediate target direction as the robot's movement direction. Optionally, it can also output a natural language scene description of the next key location and / or a natural language scene description of the target node.
[0052] Step S203: Acquire multi-view images of the robot from multiple different orientations and the depth information they contain. Project the depth information of the multi-view images into a three-dimensional voxel space to obtain a three-dimensional occupancy grid containing the positions of stationary obstacles.
[0053] After receiving the robot's movement direction, the control system, combined with real-time multi-view images, outputs motion control signals for the robot, such as velocity v and angular velocity. The control system is not responsible for understanding semantic information such as "this is a sofa," but rather for understanding "this is an obstacle," that is, converting visual information into information such as coordinates and azimuth angles that the robot can understand.
[0054] Specifically, by utilizing the overlapping fields of view of adjacent cameras (such as forward-looking and right forward-looking), epipolar correction is performed on two adjacent view images; either corrected image is selected as a reference image, and a disparity map is calculated based on the abscissa position deviation of matching pixels in the two view images; based on the disparity map, the baseline distance between the two adjacent view cameras, and the camera focal length, scene depth information based on the reference image is obtained.
[0055] Alternatively, select any image from adjacent viewpoints as a reference image to generate an initial hypothetical depth map; reproject the initial hypothetical depth map onto another image from adjacent viewpoints to obtain projection points; update and iterate the initial hypothetical depth map based on the luminance difference between the initial hypothetical depth map and the projection point pixels of the other image (gradient descent method, etc.) until the luminance difference meets a preset threshold; use the corrected initial hypothetical depth map as scene depth information based on the reference image.
[0056] The depth information from multiple perspectives is projected into the three-dimensional voxel space surrounding the robot, as expressed by the following formula: ; Where P is in The probability that a voxel is occupied in the three-dimensional voxel space formed by the image; This represents the depth information of the N-view image.
[0057] By using panoramic information provided by multi-view images, the control system can construct a local three-dimensional environment without blind spots. Even if the camera directly in front is blinded by strong light, the side cameras can still provide the side outline of obstacles in front, filling in the depth gaps.
[0058] Dynamic obstacles can be detected by utilizing optical flow fields from multiple perspectives. When the optical flow fields detected by multiple perspective images are inconsistent (e.g., the object appears stationary in the front view image, but moving in the side view image), the control system can determine that there are dynamic obstacles (such as pedestrians) cutting in laterally.
[0059] Step S204: Generate a two-dimensional local cost map based on the three-dimensional occupancy grid; output the robot's motion control signal based on the two-dimensional local cost map and the robot's movement direction; move according to the motion control signal.
[0060] A two-dimensional local cost map is generated based on the three-dimensional occupancy grid. The high-precision depth information brought by multiple perspectives enables the control system to identify negative obstacles (such as stairs, potholes, etc.).
[0061] Finally, based on the two-dimensional local cost map and the robot's movement direction, the robot's motion control signals are output as follows: ; in, It can include velocity v and angular velocity. ; For pre-learned mapping strategies; It is a two-dimensional local cost map. This represents the direction of the robot's movement.
[0062] In some embodiments, after outputting the robot's motion control signal, the robot's coordinate pose for the next position can be determined based on the motion control signal and the current position, and multiple sets of robot motion control signals can be continuously generated.
[0063] The robot moves according to one or more sets of generated robot motion control signals.
[0064] Figure 3 Another embodiment of the present invention provides a method for constructing a navigation map, such as... Figure 3 As shown, it includes the following steps: S301: Move the robot to multiple key positions in sequence. Each time the robot moves to a key position, proceed to steps S302-S305.
[0065] In some embodiments, the scope of the navigation map can be a closed, fixed area (such as an office building or interior space) or part of an open area (such as a street block). Key locations can be pre-defined within the scope of the navigation map; for example, multiple rooms can be designated as key locations within an office building. Preferably, each key location has a visual marker, such as a television or a blue sofa.
[0066] S302: Acquire multi-view images of the robot from multiple different orientations and extract the visual features of the multi-view images.
[0067] The robot can simultaneously acquire multi-view images from multiple cameras located on its body, facing different directions. For example, a camera array consisting of four wide-angle lenses (front, rear, left, and right) can cover a 360° field of view; or a combination of fisheye lenses can be used; a camera array can also be set up along the robot's height to obtain a vertical field of view. When navigating based on a topology map, the cameras used by the robot may differ from those used to construct the topology map, but they must have the same field of view or the same coverage, focal length, and other parameters of the multi-view images obtained from the camera array.
[0068] When acquiring multi-view images of a robot, multiple acquisitions can be performed according to a preset time step, and the acquisition results can be preprocessed for visual feature extraction. Preprocessing may include: filtering and denoising, normalization, standardization, geometric correction, size correction, and temporal alignment.
[0069] In some embodiments, the multi-view image acquired at time t It can be stored as a collection, for example: ; Where N represents the total number of cameras, The image is captured by the camera from viewpoints 1 to N at time t.
[0070] In some embodiments, visual features of multi-view images are extracted ( The process includes: determining the view encoding of each view image based on the camera parameters acquired for each view image; determining the image encoding of each view image based on the pixel values of each view image; and mapping the image encoding and view encoding of multiple view images to the visual features of the multi-view image.
[0071] The camera parameters may include intrinsic parameters such as focal length and distortion parameters, and extrinsic parameters such as the camera's rotation and translation matrix relative to the robot. Based on the camera parameters acquired for each viewpoint image, the viewpoint encoding for each viewpoint image is determined. This may involve normalizing the camera parameters acquired for each viewpoint image and then mapping them to a set of feature vectors through linear mapping, multilayer perceptrons, embedding layers, etc., to obtain the viewpoint encoding for each viewpoint image.
[0072] Based on the pixel values of each viewpoint image, determine the image encoding for each viewpoint image. This may include using a convolutional neural network with shared weights, a visual Transformer network, or other methods to map the pixel values of each viewpoint image to a high-dimensional vector space through a linear transformation.
[0073] Mapping image codes and view codes from multiple viewpoint images to visual features of the multi-viewpoint image can include: concatenating the image codes and view codes of multiple viewpoint images and mapping them to visual features of the multi-viewpoint image; or using a neural network layer based on an attention mechanism to cross-fuse the image codes and view codes and then mapping them to visual features of the multi-viewpoint image.
[0074] S303: Obtain the natural language description corresponding to the multi-view images and extract the semantic features of the multi-view images.
[0075] Natural language descriptions corresponding to multi-view images refer to descriptions of visual landmarks, orientations, and other information within images from multiple perspectives. Natural language descriptions can be natural language commands, including robot actions and their subsequent descriptions in multiple perspectives, such as "Turn left to see the sofa." Natural language descriptions can originate from natural language commands recorded during robot testing and control, or from manually annotating images acquired by the robot, or from automated annotation based on visual models, large language models, etc.
[0076] Semantic information from multi-view images can be obtained using a self-attention-based multimodal encoder or text encoder.
[0077] S304: Construct corresponding nodes for each key location in the navigation map based on visual and semantic features.
[0078] In some embodiments, constructing a corresponding node for each key location in the navigation map based on visual and semantic features includes: fusing the visual and semantic features, and storing the fused feature vector in the corresponding node for each key location. The fusion of visual and semantic features can be achieved through methods such as concatenation or attention-based encoding. Correspondingly, when querying based on natural language instructions, the semantic feature portion of the feature vector can be queried directly, or an attention mechanism can be used to query the feature vector.
[0079] For example: key nodes in a navigation map It can be expressed by the following formula: ; in, Let be the visual features of the images from viewpoints 1 to N at time t, and let Instruction be the semantic features extracted from the natural language instruction.
[0080] Through the attention mechanism, navigation map nodes automatically focus on perspectives strongly correlated with natural language commands. For example, if the natural language command is "turn left to see the sofa", then when performing feature encoding or querying, the focus will be on the features of the left-side perspective, thereby improving the accuracy of the robot's navigation and positioning.
[0081] S305: Based on the reachability between key locations and adjacent key locations, construct edges between corresponding nodes of key locations and adjacent key locations in the navigation map.
[0082] Reachability can be directly mapped to a corresponding code, such as 1 for reachable and 0 for unreachable. In this embodiment, the reachability code is stored in the edges between key locations and their corresponding nodes in the navigation map. The edges of the navigation map can also be used to store information such as the straight-line distance between key locations, the actual distance traveled, and the travel time.
[0083] Figure 4 This is a schematic diagram of the main modules of a robot provided in one embodiment of the present invention, as shown below. Figure 4 As shown, robot 400 includes: The planning module 401 is used to retrieve the target node corresponding to the natural language command and the current node corresponding to the robot's real-time position from the pre-built navigation map; determine the global path node sequence based on the current node and the target node; and determine the robot's movement direction based on the global path node sequence. The control module 402 is used to acquire multi-view images of the robot from multiple different directions, generate a three-dimensional occupancy grid containing the positions of stationary obstacles based on the depth information contained in the multi-view images, generate motion control signals for the robot based on the three-dimensional occupancy grid and the robot's movement direction, and move according to the motion control signals.
[0084] Figure 5 An exemplary system architecture 500 for a robot to which embodiments of the present invention can be applied is shown.
[0085] like Figure 5As shown, system architecture 500 may include terminal devices 501, 502, and 503, a network 504, and a server 505. Network 504 serves as the medium for providing communication links between terminal devices 501, 502, and 503 and server 505. Network 504 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0086] Users can use terminal devices 501, 502, and 503 to interact with server 505 via network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, and 503, such as robot operating platforms / operating systems, navigation applications, and web browser applications.
[0087] Terminal devices 501, 502, and 503 can be various intelligent mechanical devices or internal control systems composed of mechanical mechanisms, drive systems, control systems, and sensing systems, including but not limited to (humanoid) robots, dog-like robots, or other intelligent mechanical devices that need to navigate and move according to instructions in a real environment.
[0088] Server 505 can be a server that provides various services, such as a backend management server that supports the robot operation platform browsed by users using terminal devices 501, 502, and 503. The backend management server can analyze and process received data such as natural language commands, and feed back the processing results (such as robot motion control signals) to the terminal devices.
[0089] It should be noted that the robot navigation method provided in this embodiment of the invention is generally executed by server 505.
[0090] It should be understood that Figure 5 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0091] The following is for reference. Figure 6 It shows a schematic diagram of the structure of a computer system 600 suitable for implementing a terminal device of the present invention. Figure 6 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0092] like Figure 6As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 602 or programs loaded from storage section 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the system 600. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0093] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.
[0094] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the functions defined above in the system of this invention.
[0095] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0097] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor; for example, a processor can be described as including a planning module and a control module. The names of these modules do not necessarily limit the module itself; for example, a planning module can also be described as "a module that determines the robot's direction of movement based on natural language instructions."
[0098] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to perform the robot navigation method of the first aspect, including: Retrieve the target node corresponding to the natural language command and the current node corresponding to the robot's real-time position from the pre-built navigation map; The global path node sequence is determined based on the current node and the target node, and the robot's movement direction is determined based on the global path node sequence. Acquire multi-view images of the robot from multiple different orientations, and generate a 3D occupancy mesh containing the positions of stationary obstacles based on the depth information contained in the multi-view images. The robot generates motion control signals based on the 3D occupancy grid and the direction of movement, and moves according to the motion control signals.
[0099] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A navigation method for a robot, characterized in that, include: Retrieve the target node corresponding to the natural language command and the current node corresponding to the robot's real-time position from the pre-built navigation map; A global path node sequence is determined based on the current node and the target node, and the robot's movement direction is determined based on the global path node sequence. Acquire multi-view images of the robot from multiple different orientations, and generate a three-dimensional occupancy mesh containing the positions of stationary obstacles based on the depth information contained in the multi-view images. The robot generates motion control signals based on the three-dimensional occupancy grid and the direction of movement, and moves according to the motion control signals.
2. The method according to claim 1, characterized in that, Generate a 3D occupancy mesh containing the positions of stationary obstacles based on the depth information contained in the multi-view images, including: Determine scene depth information based on any two adjacent viewpoint images; The scene depth information from multiple perspective images is projected into three-dimensional space to obtain the position of stationary obstacles; Based on the position of the stationary obstacle, the grid occupied by the obstacle is marked in the three-dimensional space to obtain the three-dimensional occupied grid.
3. The method according to claim 1, characterized in that, After generating a three-dimensional occupancy mesh containing the positions of stationary obstacles based on the depth information contained in the multi-view images, the method further includes: Based on the change in luminance of each viewpoint image over time within a preset period, the optical flow field corresponding to each viewpoint image is obtained; The orientation and velocity of dynamic obstacles are determined based on the differences in the optical flow fields between multiple viewpoint images. The three-dimensional occupancy mesh is updated based on the orientation and velocity of the dynamic obstacle.
4. The method according to claim 1, characterized in that, Generate motion control signals for the robot based on the three-dimensional occupancy grid and the direction of movement, including: The three-dimensional occupied grid is sliced according to height, and a corresponding two-dimensional local cost map is determined based on multiple slices within a preset height range; Candidate action control signals are selected within a preset range, and the updated position of the robot after a preset time step is determined based on the candidate action control signals and the two-dimensional local cost map. Based on the updated position corresponding to multiple candidate motion control signals and the direction of movement, the motion control signal of the robot is determined from the multiple candidate motion control signals.
5. A method for constructing a navigation map, characterized in that, include: Move the robot sequentially to multiple key locations. Each time the robot moves to a key location, perform the following operations: Acquire multi-view images of the robot from multiple different locations, and extract the visual features of the multi-view images; Obtain natural language descriptions corresponding to the multi-view images and extract semantic features from the multi-view images; Construct corresponding nodes for each key location in the navigation map based on the visual and semantic features; Based on the reachability between the key location and adjacent key locations, edges are constructed in the navigation map between the corresponding nodes of the key location and adjacent key locations.
6. The method according to claim 5, characterized in that, Extracting the visual features of the multi-view images, including: Based on the camera parameters acquired for each viewpoint image, determine the viewpoint encoding for each viewpoint image; The image encoding for each viewpoint image is determined based on the pixel values of each viewpoint image; Image encoding and view encoding of images from multiple perspectives are mapped to the visual features of the images from multiple perspectives.
7. A robot, characterized in that, include: The planning module is used to retrieve target nodes corresponding to natural language commands and current nodes corresponding to the robot's real-time position from a pre-built navigation map; determine a global path node sequence based on the current node and the target node; and determine the robot's movement direction based on the global path node sequence. The control module is used to acquire multi-view images of the robot from multiple different directions, generate a three-dimensional occupancy grid containing the positions of stationary obstacles based on the depth information contained in the multi-view images, generate motion control signals for the robot based on the three-dimensional occupancy grid and the direction of movement, and move the robot according to the motion control signals.
8. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.
9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-6.
