Four-legged robot navigation and positioning method based on handheld mapping

By using a handheld device to fuse LiDAR and a vision camera to generate a high-precision 3D point cloud map, the problem of large point cloud errors and positioning drift caused by the posture fluctuations of quadruped robots is solved. This enables high-precision navigation and positioning, adapts to different sites, reduces costs and computational load, and improves the practicality and flexibility of autonomous operation.

CN123175282APending Publication Date: 2026-11-27SUZHOU HENGWEN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611426578.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing quadruped robots suffer from low point cloud map accuracy and large errors due to posture fluctuations during autonomous mapping, and the positioning drift phenomenon is serious, which affects the reliability of autonomous operation. Fixed equipment mapping is costly and inflexible.

Method used

A handheld device integrating LiDAR, a vision camera, and a positioning module is used to fuse visual SLAM and LiDAR SLAM data to generate a high-precision 3D point cloud map. Redundant information and biases are removed through point cloud preprocessing, and the map is converted into a 2D grid map. The ICP algorithm is then used for global robot localization. By integrating global localization and dynamic obstacle avoidance navigation methods, map updates and optimizations are achieved.

Benefits of technology

It improves the integrity and accuracy of point cloud maps, provides reliable positioning benchmarks, suppresses positioning drift, reduces collision risks, lowers costs, adapts to environmental changes, and enhances the accuracy and stability of navigation path tracking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175282A_ABST
    Figure CN123175282A_ABST
Patent Text Reader

Abstract

The application discloses a four-legged robot navigation and positioning method based on handheld mapping, relates to the technical field of robot navigation and positioning, and comprises the following steps: S1, initializing a handheld device, initializing a device posture and necessary parameters for mapping; and S2, reconstructing a site point cloud map.Compared with the prior art, the application has the beneficial effects that: the application avoids the problem of large map errors caused by posture fluctuations and position offsets during robot movement, provides a reliable reference for positioning and navigation, improves the integrity and precision of the point cloud map, realizes direct adaptation of the map data and the navigation framework, effectively suppresses the positioning drift phenomenon, improves the navigation path tracking precision, is lower in cost, stronger in applicability, can quickly adapt to changes in the site environment, improves the practicality and flexibility of the method, reduces the calculation load, improves the real-time performance and stability of the positioning and navigation, and is suitable for autonomous operation of four-legged robots in various application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot navigation and positioning technology, specifically a method for navigation and positioning of quadruped robots based on handheld mapping. Background Technology

[0002] Quadruped robots, with their excellent terrain adaptability and mobility, are widely used in autonomous inspection, material transportation, and environmental detection. High-precision navigation and global positioning are the core prerequisites for their autonomous operation. Currently, most quadruped robot navigation and positioning adopt the "robot autonomous mapping + real-time positioning and navigation" model. That is, the robot is equipped with sensors and completes map building and positioning and navigation simultaneously during operation. However, this method has obvious technical defects: First, quadruped robots are prone to posture fluctuations and positional deviations during movement, which leads to deviations in the data collected by their onboard sensors. This results in low accuracy and large errors in the constructed point cloud map, which cannot provide a reliable benchmark for subsequent positioning and navigation. Second, during the robot's autonomous mapping process, limitations in body height and observation angle can easily lead to problems such as point cloud holes and excessive redundant point clouds, further reducing map quality. In addition, positioning and navigation based on low-precision autonomous mapping are prone to positioning drift, causing the robot to deviate from the navigation path or even collide, seriously affecting the reliability of quadruped robot autonomous operation.

[0003] In existing technologies, some solutions use fixed equipment for mapping to improve map accuracy. However, fixed equipment is cumbersome to deploy, costly, and cannot flexibly adapt to target sites of different sizes and terrains. Some solutions reduce errors by optimizing the robot's autonomous mapping algorithm, but the effect is limited due to the robot's own posture fluctuations, and it is still difficult to completely solve the problems of large map errors and positioning drift. Therefore, there is an urgent need for a quadruped robot navigation and global positioning method that can achieve high-precision map pre-construction and effectively avoid positioning drift. This method uses a handheld device to pre-construct a high-precision map of the site and combines point cloud preprocessing to generate a map adapted to the robot's navigation framework, providing the robot with a reliable global positioning benchmark. Summary of the Invention

[0004] This invention provides a navigation and localization method for quadruped robots based on handheld mapping to solve the problems mentioned in the background art.

[0005] According to an embodiment of the present invention, a navigation and localization method for a quadruped robot based on handheld mapping is provided, comprising the following steps:

[0006] Step S1: Initialize the handheld device, including the device attitude and necessary mapping parameters;

[0007] Step S2: Reconstruct the site point cloud map, fuse visual SLAM and laser SLAM data, reconstruct the site with high precision, and obtain the original 3D point cloud map;

[0008] Step S3: Point cloud map preprocessing, removing redundant information and correcting deviations from the original 3D point cloud map, and converting it into a raster map, wherein the raster map is a 2D raster map;

[0009] Step S4: Map and robot initialization. Load the 3D point cloud map and 2D grid map into the navigation framework and initialize the robot parameters. If the initialization is successful, proceed to step S5; otherwise, return to step S3.

[0010] Step S5: Global localization of the quadruped robot. Match the robot's local point cloud with the 3D point cloud map and calculate the pose. The robot's local point cloud is collected by the sensors on the robot itself.

[0011] Step S6: Autonomous navigation of the quadruped robot. The autonomous navigation method of the quadruped robot, which integrates global positioning and dynamic obstacle avoidance, guides the quadruped robot to move autonomously within the target area. If the environment changes, proceed to step S7.

[0012] Step S7: Map update and optimization, a map update and navigation adaptation method that adapts to environmental changes.

[0013] As a further aspect of the present invention: In step S1, the handheld device integrates a lidar, a vision camera, and a positioning module. The handheld device is calibrated to complete the timestamp alignment and spatial coordinate calibration of the lidar and the vision camera. The necessary parameters for mapping include the point cloud acquisition frequency, the image acquisition frame rate, and the point cloud accuracy threshold.

[0014] As a further aspect of the present invention: step S1 further includes establishing a global coordinate system, with a preset reference point of the target site as the origin, the X-axis along the length of the site, the Y-axis along the width of the site, and the Z-axis perpendicular to the ground.

[0015] As a further aspect of the present invention: In step S2, the fusion of visual SLAM and laser SLAM data specifically includes: using laser radar point cloud as the base data, using visual image features to perform constraint optimization on pose estimation, and using filtering estimation or graph optimization methods to perform joint registration and fusion.

[0016] As a further aspect of the present invention: in step S3, the removal of redundant information and correction of deviations include: using a region selection algorithm to crop the point cloud outside the site boundary, using a planar cropping algorithm to remove invalid point clouds that are too high above the ground and below the ground, and performing statistical filtering to remove noise and correct outliers; the specific process of converting to a 2D grid map is as follows: extracting the ground point cloud and projecting it onto a 2D plane, dividing the grid into grid units according to a preset resolution, and marking obstacle areas and passable areas according to the point cloud occupancy status.

[0017] As a further aspect of the present invention: in step S4, the navigation framework is the move_base framework in the ROS system; the initialized robot parameters include maximum forward speed, stride range, gait type, obstacle avoidance distance threshold, and point cloud matching threshold.

[0018] As a further aspect of the present invention: in step S5, the matching adopts the ICP algorithm or the NDT algorithm; during the positioning process, the matching degree between the local point cloud and the 3D point cloud map is calculated in real time, and the matching operation is re-executed when the matching degree is lower than a preset threshold.

[0019] As a further aspect of the present invention: In step S6, the control method that integrates global positioning and dynamic obstacle avoidance includes: planning a global path based on a graph search algorithm, planning a local obstacle avoidance path based on a dynamic window method, and adjusting the gait, stride and body posture in combination with the walking dynamics model of the quadruped robot; during navigation, when the deviation of the robot from the global path exceeds a preset threshold, the local path is replanned to correct the deviation.

[0020] As a further aspect of the present invention: in step S7, the adaptive map update includes: when the detected environmental change exceeds a preset threshold, returning to step S1 to generate a new 3D point cloud map and a 2D grid map, and importing them into the robot navigation framework.

[0021] Compared with existing technologies, the beneficial effects of this invention are as follows: The quadruped robot navigation and localization method based on handheld mapping completely avoids the problem of large map errors caused by posture fluctuations and position shifts during robot movement, providing a reliable benchmark for localization and navigation, improving the integrity and accuracy of point cloud maps, achieving direct adaptation between map data and navigation framework without additional format conversion, effectively suppressing positioning drift, improving navigation path tracking accuracy, and reducing collision risks during robot operation. Compared with fixed equipment mapping, it is lower in cost and more applicable. At the same time, a map update mechanism is set up to quickly adapt to changes in the site environment, improving the practicality and flexibility of the method, reducing computational load, and improving the real-time performance and stability of localization and navigation. It is suitable for autonomous operation of quadruped robots in various application scenarios. Attached Figure Description

[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a flowchart illustrating the navigation and localization method for a quadruped robot based on handheld mapping, as provided in an embodiment of the present invention. Detailed Implementation

[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] Please see Figure 1 A navigation and localization method for quadruped robots based on handheld mapping includes the following steps:

[0026] Step S1: Initialize the handheld device, including the device attitude and necessary mapping parameters;

[0027] Step S2: Reconstruct the site point cloud map, fuse visual SLAM and laser SLAM data, reconstruct the site with high precision, and obtain the original 3D point cloud map;

[0028] Step S3: Point cloud map preprocessing, removing redundant information and correcting deviations from the original 3D point cloud map, and converting it into a raster map, wherein the raster map is a 2D raster map;

[0029] Step S4: Map and robot initialization. Load the 3D point cloud map and 2D grid map into the navigation framework and initialize the robot parameters. If the initialization is successful, proceed to step S5; otherwise, return to step S3.

[0030] Step S5: Global localization of the quadruped robot. Match the robot's local point cloud with the 3D point cloud map and calculate the pose. The robot's local point cloud is collected by the sensors on the robot itself.

[0031] Step S6: Autonomous navigation of the quadruped robot. The autonomous navigation method of the quadruped robot, which integrates global positioning and dynamic obstacle avoidance, guides the quadruped robot to move autonomously within the target area. If the environment changes, proceed to step S7.

[0032] Step S7: Map update and optimization, a map update and navigation adaptation method that adapts to environmental changes.

[0033] Furthermore, in step S1, the handheld device integrates a lidar, a vision camera, and a positioning module. The handheld device is calibrated to complete the timestamp alignment and spatial coordinate calibration of the lidar and the vision camera. The necessary parameters for mapping include the point cloud acquisition frequency, the image acquisition frame rate, and the point cloud accuracy threshold.

[0034] In a specific embodiment, the aforementioned lidar is a 16-line lidar with a sampling frequency of 10Hz and an accuracy of 0.03 meters; the aforementioned vision camera is a high-definition RGB camera with a sampling frame rate of 2 frames / second and an effective pixel count of 16 million; the aforementioned positioning module adopts an inertial measurement unit (IMU) and a GPS-assisted positioning module to improve the accuracy of device motion state estimation.

[0035] Furthermore, step S1 also includes establishing a global coordinate system with the preset reference point of the target site as the origin, the X-axis along the length of the site, the Y-axis along the width of the site, and the Z-axis perpendicular to the ground.

[0036] In a specific embodiment, the aforementioned preset reference points include site entrances, workshop doors, site corners, or manually marked points.

[0037] Furthermore, in step S2, the fusion of visual SLAM and laser SLAM data specifically includes: using laser radar point cloud as the base data, using visual image features to perform constrained optimization of pose estimation, and using filtering estimation or graph optimization methods to perform joint registration and fusion.

[0038] In a specific embodiment, the aforementioned lidar point cloud reflects the three-dimensional positions of roads, streetlights, and fire hydrants; the visual image provides texture and contour features; the fusion adopts a built-in Kalman filter lidar-visual fusion algorithm; the accuracy of the original three-dimensional point cloud map obtained by the above reconstruction is better than 0.05 meters.

[0039] Further, in step S3, the removal of redundant information and correction of deviations include: using a region selection algorithm to crop the point cloud outside the site boundary, using a planar cropping algorithm to remove invalid point clouds that are too high above the ground and below the ground, and performing statistical filtering to remove noise and correct outliers; the specific process of converting to a 2D raster map is as follows: extracting the ground point cloud and projecting it onto a 2D plane, dividing it into raster units according to a preset resolution, and marking obstacle areas and passable areas according to the point cloud occupancy status.

[0040] In a specific embodiment, the aforementioned region selection algorithm selects the effective region (X: 0-800 meters, Y: -1-2 meters, Z: 0-2 meters), removing redundant point clouds such as trees and building exteriors beyond 5 meters on both sides of the road, reducing the data volume by approximately 40%; the planar clipping algorithm, based on the ground height (Z=0), clips and removes the top point clouds of tall trees with Z>2 meters and invalid point clouds below the road surface with Z<0, retaining only the ground point cloud and the effective obstacle point clouds such as streetlights and fire hydrants with Z=0-2 meters; the deviation correction uses statistical filtering for noise reduction, specifically, each point is considered an outlier if the number of point clouds in its neighborhood is less than 30 and is removed, and the ground point cloud is fitted with a plane to correct abnormal height values; the conversion to a raster map involves extracting the ground point cloud, fitting the ground plane using the RANSAC algorithm, projecting the ground point cloud onto the XY two-dimensional plane, and dividing it into raster cells with a resolution of 0.05 meters. For each grid cell, if it contains obstacle point cloud (height > 0.1 meters), it is marked as "occupied" (occupying map pixel value 100); otherwise, it is marked as "passable" (pixel value 0). A two-dimensional grid map in Occupancy Grid format is generated, while the preprocessed three-dimensional point cloud map is retained as a global positioning reference.

[0041] Furthermore, in step S4, the navigation framework is the move_base framework in the ROS system; the initialized robot parameters include maximum forward speed, stride range, gait type, obstacle avoidance distance threshold, and point cloud matching threshold.

[0042] In a specific embodiment, the above-mentioned initial robot parameters include: maximum forward speed of 0.8 m / s, stride range of 0.1-0.18 meters, gait of diagonal gait (trot gait), obstacle avoidance distance threshold of 0.3 meters, and point cloud matching threshold of 0.8.

[0043] Furthermore, in step S5, the matching adopts the ICP algorithm or the NDT algorithm; during the positioning process, the matching degree between the local point cloud and the 3D point cloud map is calculated in real time, and the matching operation is re-executed when the matching degree is lower than a preset threshold.

[0044] In a specific embodiment, the aforementioned ICP algorithm is specifically an ICP point cloud registration algorithm, which matches the local point cloud with the preprocessed 3D point cloud map to calculate the robot's real-time absolute pose in the global coordinate system, with the global positioning error controlled within 0.05 meters. When the point cloud matching degree is lower than the preset threshold of 0.8, ICP registration is automatically re-executed to ensure stable positioning, with a maximum of 3 retries. If it is still lower than the preset threshold of 0.8, a re-localization mode is triggered to expand the search range.

[0045] Furthermore, in step S6, the control method that integrates global positioning and dynamic obstacle avoidance includes: planning a global path based on a graph search algorithm, planning a local obstacle avoidance path based on a dynamic window method, and adjusting the gait, stride and body posture in combination with the walking dynamics model of the quadruped robot; during navigation, when the deviation of the robot from the global path exceeds a preset threshold, the local path is replanned to correct the deviation.

[0046] In a specific embodiment, the above-mentioned global path planning adopts a graph search-based path planning method. Specifically, based on the A* algorithm, a two-dimensional grid map is used as input, combined with the robot's real-time pose (starting point), to plan the globally optimal path from the starting point to the ending point, avoiding the obstacle areas marked in the grid map. The local obstacle avoidance path planning adopts the dynamic window method. Specifically, during the robot's movement, the real-time LiDAR detects obstacles within 3 meters in front, and the dynamic window method is used to sample in the velocity space (linear velocity 0-0.8 m / s, angular velocity -0.5~0.5 rad / s), evaluate the trajectory safety (distance from obstacle > 0.3 meters), and generate a local obstacle avoidance path.

[0047] Further, in step S7, the adaptive map update includes: when the detected environmental change exceeds a preset threshold, returning to step S1 to generate a new 3D point cloud map and a 2D grid map, and importing them into the robot navigation framework.

[0048] In the quadruped robot navigation and localization method based on handheld mapping of this invention, the target site is taken as the road surrounding a workshop in an industrial park. The site is flat, with a few fixed obstacles (such as streetlights and fire hydrants), no obvious terrain undulations, and good GPS signal. The operator places the handheld device at the preset starting point (the ground marking at the workshop entrance), starts the device for initialization, and after initialization, the operator moves the handheld device along the preset "S"-shaped mapping path around the workshop road at a speed controlled at 0.4 m / s to ensure coverage of the entire road area and obstacles on both sides. The device simultaneously collects LiDAR point clouds (reflecting the road, The system uses 3D location data of streetlights and fire hydrants, visual images (providing texture and contour features), and GPS+IMU pose data (position, attitude, and velocity). Through data fusion of visual SLAM and laser SLAM, the site is reconstructed with high precision to obtain an original 3D point cloud map. This map undergoes point cloud map preprocessing and map and robot initialization steps. If the four robot groups fail to initialize successfully, the point cloud map preprocessing is repeated. If the four robot groups successfully initialize, global localization and autonomous navigation of the quadruped robots are performed, guiding them to move autonomously within the target area. During navigation, the system continuously refines the data based on real-time global localization results. To correct the robot's navigation deviation, when the deviation exceeds a preset threshold, the local path is replanned to ensure the quadruped robot completes autonomous navigation smoothly and accurately. When the target environment undergoes significant changes (such as the addition of large-scale obstacles, removal of existing obstacles, or changes in ground terrain), the operator manually re-engages the radar-visual fusion device to collect data along the changed site path, repeating the point cloud map reconstruction process to obtain a new original 3D point cloud map. The point cloud map preprocessing process is then repeated to update the 2D grid map and the 3D point cloud map, and the updated map is re-imported into the quadruped robot's navigation system. The control module ensures that the robot's navigation and positioning can adapt to changes in the site environment, improving the practicality and adaptability of the method. For example, if the target site is an indoor warehouse with obstacles such as shelves and material stacking areas and no GPS signal, when the operator initializes the handheld device, since there is no GPS signal, the positioning module adopts the IMU+visual SLAM combined positioning method to establish a global coordinate system. Specifically, the origin is the cross mark point on the ground at the warehouse entrance, the X-axis is along the length of the warehouse, the Y-axis is along the width, and the Z-axis is perpendicular to the ground and upward. The point cloud accuracy threshold is set to 0.02 meters, and then the steps S2-S7 are completed.

[0049] This invention employs a handheld laser-visual fusion device to pre-construct a point cloud map of the site, replacing the autonomous mapping by a quadruped robot. This completely avoids the problem of large map errors caused by posture fluctuations and positional shifts during robot movement. Combining a laser-visual fusion algorithm, it integrates high-precision distance data from the LiDAR with texture features from the visual camera, resulting in a highly accurate reconstructed original 3D point cloud map that provides a reliable benchmark for subsequent positioning and navigation. Through multi-step point cloud preprocessing methods including cropping, trimming, and optimization, redundant data is removed, point cloud holes are filled, and point cloud distortion is corrected. This reduces data volume, improves processing efficiency, and enhances the integrity and accuracy of the point cloud map. Simultaneously, it generates an adaptive move_base. The navigation framework uses a 2D grid map, while the positioning uses a 3D point cloud map, enabling direct adaptation of map data to the navigation framework without additional format conversion. Based on a pre-built high-precision 3D point cloud map as a global positioning reference, combined with the ICP point cloud registration algorithm, high-precision global positioning of the quadruped robot is achieved, with positioning errors controlled within 0.05 meters. This effectively suppresses positioning drift, improves navigation path tracking accuracy, and reduces the risk of collisions during robot operation. The handheld device offers flexible deployment and convenient operation, adaptable to target sites of different sizes and terrains (both indoor and outdoor). Compared to fixed-device mapping, it is lower in cost and more applicable. A map update mechanism is also included to quickly adapt to changes in the site environment, enhancing the method's practicality and flexibility. The high-precision map construction process is decoupled from the robot navigation and positioning process. Mapping is completed in advance, and the robot only performs positioning and navigation tasks during operation, thereby reducing computational load and improving the real-time performance and stability of positioning and navigation. It is suitable for autonomous quadruped robot operations in various application scenarios.

[0050] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

[0051] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A method for navigation and localization of a quadruped robot based on handheld mapping, characterized in that, Includes the following steps: Step S1: Initialize the handheld device, including the device attitude and necessary mapping parameters; Step S2: Reconstruct the site point cloud map, fuse visual SLAM and laser SLAM data, reconstruct the site with high precision, and obtain the original 3D point cloud map; Step S3: Point cloud map preprocessing, removing redundant information and correcting deviations from the original 3D point cloud map, and converting it into a raster map, wherein the raster map is a 2D raster map; Step S4: Map and robot initialization. Load the 3D point cloud map and 2D grid map into the navigation framework and initialize the robot parameters. If the initialization is successful, proceed to step S5; otherwise, return to step S3. Step S5: Global localization of the quadruped robot. Match the robot's local point cloud with the 3D point cloud map and calculate the pose. The robot's local point cloud is collected by the sensors on the robot itself. Step S6: Autonomous navigation of the quadruped robot. The autonomous navigation method of the quadruped robot, which integrates global positioning and dynamic obstacle avoidance, guides the quadruped robot to move autonomously within the target area. If the environment changes, proceed to step S7. Step S7: Map update and optimization, a map update and navigation adaptation method that adapts to environmental changes.

2. The method for navigation and localization of a quadruped robot based on handheld mapping as described in claim 1, characterized in that, In step S1, the handheld device integrates a lidar, a vision camera, and a positioning module. The handheld device is calibrated to complete the timestamp alignment and spatial coordinate calibration of the lidar and the vision camera. The necessary parameters for mapping include the point cloud acquisition frequency, the image acquisition frame rate, and the point cloud accuracy threshold.

3. The method for navigation and localization of a quadruped robot based on handheld mapping according to claim 1, characterized in that, Step S1 also includes establishing a global coordinate system, with the preset reference point of the target site as the origin, the X-axis along the length of the site, the Y-axis along the width of the site, and the Z-axis perpendicular to the ground.

4. The method for navigation and localization of a quadruped robot based on handheld mapping according to claim 1, characterized in that, In step S2, the fusion of visual SLAM and laser SLAM data specifically includes: using laser radar point cloud as the base data, using visual image features to perform constraint optimization on pose estimation, and using filtering estimation or graph optimization methods to perform joint registration and fusion.

5. The method for navigation and localization of a quadruped robot based on handheld mapping according to claim 1, characterized in that, In step S3, the removal of redundant information and correction of deviations include: using a region selection algorithm to crop the point cloud outside the site boundary, using a planar cropping algorithm to remove invalid point clouds that are too high above the ground and below the ground, and performing statistical filtering to remove noise and correct outliers; the specific process of converting to a 2D raster map is as follows: extracting the ground point cloud and projecting it onto a 2D plane, dividing it into raster units according to a preset resolution, and marking obstacle areas and passable areas according to the point cloud occupancy status.

6. The method for navigation and localization of a quadruped robot based on handheld mapping according to claim 1, characterized in that, In step S4, the navigation framework is the move_base framework in the ROS system; the initialized robot parameters include maximum forward speed, stride range, gait type, obstacle avoidance distance threshold, and point cloud matching threshold.

7. The method for navigation and localization of a quadruped robot based on handheld mapping according to claim 1, characterized in that, In step S5, the matching adopts the ICP algorithm or the NDT algorithm; during the positioning process, the matching degree between the local point cloud and the 3D point cloud map is calculated in real time, and the matching operation is re-executed when the matching degree is lower than the preset threshold.

8. The method for navigation and localization of a quadruped robot based on handheld mapping according to claim 1, characterized in that, In step S6, the control method that integrates global positioning and dynamic obstacle avoidance includes: planning a global path based on a graph search algorithm, planning a local obstacle avoidance path based on a dynamic window method, and adjusting the gait, stride and body posture in combination with the walking dynamics model of the quadruped robot; during navigation, when the robot deviates from the global path by more than a preset threshold, the local path is replanned to correct the deviation.

9. The method for navigation and localization of a quadruped robot based on handheld mapping according to claim 1, characterized in that, In step S7, the adaptive map update includes: when the detected environmental change exceeds a preset threshold, returning to step S1 to generate a new 3D point cloud map and a 2D grid map, and importing them into the robot navigation framework.