A method and device for three-dimensional mapping of tunnels using a foot-type robot

By combining lidar and IMU information to correct the motion state of the footed robot, the problem of low accuracy of three-dimensional mapping in the tunnel environment is solved and higher measurement accuracy and stability are achieved.

CN118330672BActive Publication Date: 2024-09-13SHENZHEN UNIV +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410749173.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-13
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

During the tunnel construction and management process, due to construction dynamic interference, rough lining structure and severe measurement noise, it is difficult for the existing lidar-based SLAM method to construct a high-precision three-dimensional point cloud map in a long-distance environment, resulting in low measurement accuracy and map degradation problem.

Method used

The tunnel environment point cloud data is collected through lidar, combined with IMU information and motor rotation angle, to determine the predicted motion state of the legged robot, correct local point cloud data, eliminate motion offset, and use state estimation and error Kalman filter to construct a 3D Survey map.

Benefits of technology

It improves the accuracy of tunnel three-dimensional mapping, compensates for the accumulated error of IMU sensors, and enhances measurement accuracy and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118330672B
    Figure CN118330672B
Patent Text Reader

Abstract

The present application discloses a method and device for three-dimensional mapping of a tunnel by a foot-type robot. The method combines the motor motion state and IMU information to project the point cloud to the end of acquisition, thereby eliminating the motion offset of the point cloud. The point cloud type is determined by clustering method, and the registration residual compensation is performed according to the point cloud type, thereby improving the registration accuracy of the rough structure points. An isolated forest model based on rotation guidance is constructed by combining the registration residual and the measured distance, and the abnormal point cloud is detected with the abnormal consistency index as a constraint to reduce the cumulative error of the three-dimensional point cloud map. Finally, the Kalman filter is used to estimate the position and posture of the foot-type robot and construct a three-dimensional point cloud map of the tunnel. The present application combines multiple technologies such as laser SLAM, foot-type robot kinematics and machine learning to solve the problem of three-dimensional point cloud map degradation caused by the registration residual of the rough structure surface of the tunnel and the absolute measurement noise of the high dust and water seepage environment, thereby realizing three-dimensional mapping in the tunnel environment of the foot-type robot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of surveying robots, and in particular to a method and device for three-dimensional tunnel mapping using a legged robot. Background Art

[0002] During tunnel construction and management, lidar sensors and mobile laser scanning technology are used to acquire 3D spatial coordinate information of the environment and construct 3D point cloud maps. However, complex environmental issues such as dynamic construction interference, rough lining structures, and severe measurement noise can add challenges to 3D point cloud map construction.

[0003] LiDAR-based SLAM (Simultaneous Localization and Mapping) methods construct a 3D point cloud map by registering each frame of the point cloud to a global coordinate system. Existing methods based on raw point clouds and feature point matching are primarily used in scenes with rich structure and distinct features. However, in tunnel environments with long distances and severe noise pollution, problems such as map degradation and low measurement accuracy are easily encountered.

[0004] Therefore existing technology still needs to be improved and improved. Summary of the Invention

[0005] The technical problem to be solved by this application is to provide a method and device for three-dimensional mapping of tunnels by a legged robot in response to the shortcomings of the existing technology.

[0006] In order to solve the above technical problems, the first aspect of the present application provides a method for three-dimensional mapping of a tunnel by a legged robot, wherein the method specifically comprises:

[0007] Collecting a frame of environmental point cloud data of the tunnel using a laser radar, and obtaining IMU information and the rotation angle of each motor carried by the legged robot at each collection moment;

[0008] The first acquisition moment in chronological order is taken as the previous acquisition moment, and the target motion posture corresponding to the previous frame of environmental point cloud data is taken as the previous motion state of the previous acquisition moment. The predicted motion state of the footed robot is determined according to the IMU information, the rotation angle and the previous motion state to obtain the predicted motion state corresponding to the previous acquisition moment; the second acquisition moment is taken as the current acquisition moment, and the predicted motion posture corresponding to the previous acquisition moment is taken as the previous motion state of the current acquisition moment. The predicted motion state of the footed robot is determined according to the IMU information, the rotation angle and the previous motion state. dynamic state to obtain the predicted motion state corresponding to the current acquisition moment; the predicted motion state of the legged robot corrects the local point cloud data of the previous acquisition moment to the current acquisition moment based on the predicted motion state to update the local point cloud data corresponding to the current acquisition moment; the current acquisition moment is used as the previous acquisition moment, the next acquisition moment of the current acquisition moment is used as the current acquisition moment, and the predicted motion state of the legged robot is determined according to the IMU information, the rotation angle and the previous motion state to obtain the predicted motion state corresponding to the current acquisition moment, until the acquisition moment is ended to obtain the target point cloud data;

[0009] State estimation is performed based on the target point cloud data to obtain a target motion state of the legged robot, and a three-dimensional tunnel map is constructed based on the target motion state and the target point cloud data.

[0010] In the method for three-dimensional mapping of a tunnel by a legged robot, determining the predicted motion state of the legged robot based on the IMU information, the rotation angle, and the previous motion state specifically includes:

[0011] Determining the spatial position of each leg of the leg-type robot in a leg coordinate system according to the rotation angle;

[0012] Calculating the propulsion speed of the legged robot according to all the determined spatial positions;

[0013] Inputting the propulsion speed and the IMU information into a preset kinematic model, and determining the motion state change amount through the preset kinematic model;

[0014] Based on the motion state change and the previous motion state, a predicted motion state of the legged robot is determined.

[0015] The legged robot tunnel 3D mapping method, wherein, after obtaining the target point cloud data, the method further comprises:

[0016] Calculating the registration residual of each target point cloud in the target point cloud data, and determining the point cloud type of each target point cloud according to the registration residual;

[0017] The residual compensation of each target point cloud is performed according to the point cloud type of each target point cloud, the target point cloud data is registered using the compensated registration residual, and the registered target point cloud data is used as the target point cloud data.

[0018] In the above-mentioned method for three-dimensional mapping of a tunnel by a legged robot, the step of calculating the registration residual of each target point cloud in the target point cloud data specifically comprises:

[0019] For each target point cloud in the target point cloud data, searching for a preset number of adjacent points of the target point cloud in the submap, and constructing a neighborhood area based on the preset number of adjacent points;

[0020] The plane normal vector and the centroid of the neighborhood area are obtained, and the registration residual corresponding to the target point cloud is calculated based on the plane normal vector and the centroid.

[0021] The legged robot tunnel 3D mapping method, wherein the residual compensation of each target point cloud according to the point cloud type of each target point cloud and the registration of the target point cloud data using the compensated registration residual specifically include:

[0022] For each target point cloud, determining a compensation method based on the point cloud type of the target point cloud;

[0023] According to the registration residuals of each adjacent point cloud and the registration residual of the target point cloud, the registration residuals of the target point cloud are compensated according to the compensation method, and the target point cloud data is registered using the compensated registration residuals.

[0024] The legged robot tunnel 3D mapping method, wherein, after obtaining the target point cloud data, the method further comprises:

[0025] Obtain the registration residual features and measurement distance features of each target point cloud to obtain the abnormal features of each target point cloud;

[0026] Taking the anomaly consistency index as a constraint, a binary search method is used to solve the target rotation angle corresponding to the target point cloud data, wherein the anomaly consistency index is used to reflect the degree of difference between the initial anomaly point cloud sequence based on the anomaly feature and the rotated anomaly point cloud sequence determined based on the rotated anomaly feature;

[0027] Determining a target rotation abnormality point cloud sequence corresponding to the target point cloud based on the rotation abnormality feature after rotation by the target rotation angle;

[0028] Based on the initial abnormal point cloud sequence and the target rotated abnormal point cloud sequence, abnormal point clouds corresponding to the target point cloud data are determined, and all determined abnormal point clouds are removed from the target point cloud.

[0029] In the method for three-dimensional mapping of a tunnel by a legged robot, the state estimation based on the target point cloud data to obtain the target motion state of the legged robot is specifically:

[0030] Based on the target point cloud data, the target motion state of the legged robot is determined by an error state Kalman filter.

[0031] A second aspect of the present application provides a three-dimensional tunnel mapping device for a legged robot, wherein the three-dimensional tunnel mapping device for a legged robot specifically comprises:

[0032] An acquisition module is used to collect a frame of environmental point cloud data of the tunnel through a laser radar, and obtain IMU information and the rotation angle of each motor carried by the legged robot at each acquisition moment;

[0033] An execution module is configured to use the collection moment that is first in chronological order as the current collection moment, and the target motion posture corresponding to the previous frame of environmental point cloud data as the previous motion state; determine the predicted motion state of the legged robot based on the IMU information, the rotation angle, and the previous motion state, and correct the end collection time of the environmental point cloud data using the local point cloud data at the current collection moment based on the predicted motion state; use the predicted motion state at the current collection moment as the previous motion state, use the collection moment of the current collection moment as the current collection moment, and repeat the steps of determining the predicted motion state of the legged robot based on the IMU information, the rotation angle, and the previous motion state until the end collection time to obtain the target point cloud data;

[0034] A construction module is used to perform state estimation based on the target point cloud data to obtain a target motion state of the legged robot, and to construct a three-dimensional tunnel map based on the target motion state and the target point cloud data.

[0035] A third aspect of the present application provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in any of the above-described methods for three-dimensional mapping of a legged robot tunnel.

[0036] A fourth aspect of the present application provides a terminal device, comprising: a processor and a memory;

[0037] The memory stores a computer-readable program executable by the processor;

[0038] When the processor executes the computer-readable program, the steps in any of the above-described methods for three-dimensional mapping of a legged robot tunnel are implemented.

[0039] Beneficial Effects: Compared to the prior art, the present application provides a method and apparatus for three-dimensional tunnel mapping using a legged robot. The method comprises collecting a frame of tunnel environmental point cloud data using a laser radar, obtaining IMU information and the rotation angles of each motor onboard the legged robot at each collection moment; determining a predicted motion state of the legged robot based on the IMU information, the rotation angles, and the previous motion state; correcting the local point cloud data collected at each collection moment by the end collection moment of the environmental point cloud data based on the predicted motion state to obtain target point cloud data; performing state estimation based on the target point cloud data to obtain a target motion state of the legged robot, and constructing a three-dimensional tunnel map based on the target motion state and the target point cloud data. The present application determines the motion posture of the legged robot by combining the motor rotation angles and IMU information, and then performs motion distortion on the environmental point cloud data based on the motion posture to project each point cloud to the end collection moment of the point cloud frame. This provides stable motion constraints through the motor rotation angles, compensates for the accumulated error of the IMU sensor over a long period of time, eliminates the motion offset of the point cloud, and improves the accuracy of three-dimensional tunnel mapping. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0041] Figure 1 Flowchart of the method for three-dimensional tunnel mapping of a legged robot provided in an embodiment of the present application.

[0042] Figure 2 A flowchart illustrating a specific implementation of the method for three-dimensional tunnel mapping by a legged robot provided in an embodiment of the present application.

[0043] Figure 3 This is a schematic diagram of the structural principles of the legged robot tunnel 3D mapping device provided in an embodiment of the present application.

[0044] Figure 4 This is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The present invention provides a method and apparatus for three-dimensional tunnel mapping using a legged robot. To clarify the purpose, technical solutions, and effects of this invention, the present invention is further described below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are intended only to illustrate this invention and are not intended to limit this invention.

[0046] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.

[0047] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0048] It should be understood that the sequence numbers and sizes of the steps in this embodiment do not imply the order of execution. The order of execution of each process is determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of this application.

[0049] Research has found that during tunnel construction and management, the large diameter and length of tunnels can lead to safety risks such as structural deformation, collapse, and rockfall, which are difficult to detect. In particular, complex geological conditions significantly increase the difficulty, cost, and risk of accurately measuring tunnel environments. Existing tunnel environment measurement methods primarily rely on manual monitoring, which places high workload and risks on monitors, and the accuracy of the monitoring data is affected by human subjectivity.

[0050] To this end, robotics is being applied in tunnel construction and management as a means of unmanned environmental monitoring, significantly reducing the time and cost of surveying tasks. However, due to high dust levels in confined spaces and rugged terrain, drones and unmanned vehicles are unable to traverse all terrains. In contrast, legged robots with high mobility have the advantage of avoiding obstacles and traversing terrain, making them widely used in tunnel surveying.

[0051] When using foot-mounted robots for tunnel surveying, the common approach is to use LiDAR-based SLAM (Simultaneous Localization and Mapping) methods to construct a 3D point cloud map by registering each frame of the point cloud to a global coordinate system. However, in tunnel environments with long distances and severe noise pollution (for example, dynamic interference from construction vehicles, workers, and machinery, as well as absolute measurement noise from water seepage, dust, and concrete surface reflections), the collected point cloud data can be noisy. This noisy point cloud can affect the pose estimation of the current point cloud frame relative to the global coordinate system. The accumulated errors over long periods of measurement can affect the accuracy of the 3D point cloud map, leading to low measurement precision.

[0052] To solve the above problems, in an embodiment of the present application, a frame of environmental point cloud data of the tunnel is collected by a laser radar, and the IMU information and the rotation angle of each motor carried by the legged robot at each collection moment are obtained; the predicted motion state of the legged robot is determined based on the IMU information, the rotation angle, and the previous motion state; based on the predicted motion state, the local point cloud data collected at each collection moment is corrected to the end collection moment of the environmental point cloud data to obtain the target point cloud data; state estimation is performed based on the target point cloud data to obtain the target motion state of the legged robot, and a three-dimensional tunnel map is constructed based on the target motion state and the target point cloud data. The present application determines the motion posture of the legged robot by combining the rotation angle of the motor and the IMU information, and then performs motion distortion on the environmental point cloud data based on the motion posture to project each point cloud to the end collection moment of the point cloud frame. In this way, stable motion constraints can be provided by the rotation angle of the motor, which compensates for the accumulated error of the IMU sensor working for a long time, thereby eliminating the motion offset of the point cloud and improving the accuracy of the three-dimensional tunnel map.

[0053] The application content will be further explained below through description of embodiments in conjunction with the accompanying drawings.

[0054] This embodiment provides a method for three-dimensional mapping of a tunnel by a legged robot. Figure 1 As shown, the method includes:

[0055] S10. Collect a frame of environmental point cloud data of the tunnel through a laser radar, and obtain IMU information at each collection moment and the rotation angle of each motor carried by the legged robot.

[0056] Specifically, the legged robot is equipped with a laser radar, a motor and an inertial sensor. The laser radar is used to collect environmental point cloud data in the tunnel. The motor is mounted on the leg of the legged robot to drive the legged robot to move. The inertial sensor is used to collect IMU information, which includes posture information and position information.

[0057] It should be noted that the acquisition frequency of the lidar is lower than that of the inertial sensor, so that within the acquisition cycle of the lidar collecting one frame of environmental point cloud data, the inertial sensor will collect multiple IMU information. For example, the lidar collects one frame of environmental point cloud data at time 0-9, and the inertial sensor collects 10 IMU information at time 0-9. Therefore, the current acquisition moment refers to an acquisition moment within the acquisition cycle of environmental point cloud data. At this acquisition moment, the lidar will collect local point cloud data, the inertial sensor will collect one IMU information, and the motors carried by the legged robot will be in a rotational state, so that the IMU information at each acquisition moment, the rotation angle of each motor carried by the legged robot, and the local point cloud data can be obtained.

[0058] S20. The first acquisition moment in chronological order is taken as the previous acquisition moment, and the target motion posture corresponding to the previous frame of environmental point cloud data is taken as the previous motion state of the previous acquisition moment. The predicted motion state of the footed robot is determined according to the IMU information, the rotation angle and the previous motion state to obtain the predicted motion state corresponding to the previous acquisition moment. The second acquisition moment is taken as the current acquisition moment, and the predicted motion posture corresponding to the previous acquisition moment is taken as the previous motion state of the current acquisition moment. The predicted motion state of the footed robot is determined according to the IMU information, the rotation angle and the previous motion state. The method comprises the following steps: measuring the motion state of the legged robot to obtain the predicted motion state corresponding to the current acquisition moment; correcting the local point cloud data of the previous acquisition moment to the current acquisition moment based on the predicted motion state to update the local point cloud data corresponding to the current acquisition moment; taking the current acquisition moment as the previous acquisition moment, taking the acquisition moment next to the current acquisition moment as the current acquisition moment, and repeating the steps of determining the predicted motion state of the legged robot according to the IMU information, the rotation angle and the previous motion state to obtain the predicted motion state corresponding to the current acquisition moment, until the acquisition moment is ended to obtain the target point cloud data.

[0059] Specifically, the collection cycle of each frame of environmental point cloud data includes several collection moments, and each collection moment has a timestamp, so that the collection moments can be sorted in chronological order to obtain a collection moment sequence. The prior knowledge corresponding to the first collection moment is the target motion posture corresponding to the previous frame of environmental point cloud data. In other words, for each frame of environmental point cloud data, the previous frame of environmental point cloud data is its prior knowledge. In addition, it should be noted that for the first collection moment in the first frame of environmental point cloud data, the prior knowledge can be 0 or other preset prior knowledge, which is not specifically limited here.

[0060] The predicted motion state is the motion state predicted based on the IMU information, which is used to transform the local point cloud data at the current acquisition moment to the next acquisition moment of the current acquisition moment of the environmental point cloud data. The predicted motion state can include the position, attitude, velocity and weight gravity vector in the global coordinate system, the attitude and position in the IMU coordinate system, and the IMU bias. Accordingly, the predicted motion state can be expressed as ,in, represents the position in the global coordinate system, represents the posture in the global coordinate system, represents the velocity in the global coordinate system, represents the gravity vector in the global coordinate system, Indicates the posture in the IMU coordinate system, Indicates the position in the IMU coordinate system, and Indicates the IMU bias, affected by Gaussian noise and Influence, represents the posture of the legged robot in the coordinate system, Represents the position in the legged robot coordinate system. By predicting the motion state, we can determine the transformation matrix from the LiDAR coordinate system at the current acquisition moment to the LiDAR coordinate system at the end of acquisition. This transformation matrix can be used to transform the local point cloud data to the end of acquisition.

[0061] In one implementation, determining the predicted motion state of the legged robot based on the IMU information, the rotation angle, and the previous motion state specifically includes:

[0062] Step S21: determining the spatial position of each leg of the leg-type robot in a leg coordinate system according to the rotation angle;

[0063] Step S22: Calculate the propulsion speed of the legged robot according to all the determined spatial positions;

[0064] Step S23: inputting the propulsion speed and the IMU information into a preset kinematic model, and determining the motion state change amount by the preset kinematic model;

[0065] Step S24: Determine the predicted motion state of the legged robot based on the motion state change and the previous motion state.

[0066] Specifically, in step S21, each leg of the legged robot is equipped with at least one motor, for example, two, three, or four motors. The rotation angle includes the rotation angle of each motor mounted on each leg of the legged robot. In the embodiment of the present application, an example is provided in which each leg is equipped with three motors, one at the hip joint, one at the thigh, and one at the calf. When obtaining the rotation angle, the rotation angles of the hip joint motor, the thigh motor, and the calf motor mounted on each leg are obtained, for a total of 12 rotation angles.

[0067] After obtaining the rotation angles of the hip joint motor, thigh motor, and calf motor carried by each leg, the hip link length, thigh link length, and calf link length of each leg can be obtained. Then, based on the hip link length, thigh link length, and calf link length corresponding to each leg and the rotation angles obtained by the hip joint motor, thigh motor, and calf motor, the spatial position of each leg in the leg coordinate system can be calculated. The calculation formula for the spatial position can be:

[0068] ;

[0069] ;

[0070] ;

[0071] in, Indicates the The legs rotate at different motor angles The foot end coordinates are =0,1,2,3, 、 and They represent the hip link length, thigh link length, and calf link length, respectively.

[0072] Furthermore, in step S22, after obtaining the spatial position, the movement speed of the legged robot at the previous acquisition moment and the current acquisition moment can be determined according to the spatial position, wherein the calculation formula of the movement speed can be:

[0073] ;

[0074] in, represents the movement speed of the leg robot in the leg coordinate system, 、 and Respectively represent The change in the spatial position of the leg at the previous acquisition moment relative to the spatial position at the current acquisition moment, Indicates the time interval between the previous collection time and the current collection time.

[0075] Furthermore, after obtaining the motion speed of the leg robot in the leg coordinate system, since the transformation from the leg coordinate system to the IMU coordinate system is a rigid body transformation, that is, the coordinate system will not be deformed and mainly relies on the mutual conversion of rotation transformation and translation transformation, the rotation matrix and translation matrices The propulsion speed can be obtained, where the propulsion speed can be expressed as:

[0076] ;

[0077] in, Indicates the propulsion speed of the legged robot in the IMU coordinate system.

[0078] Further, in step S23, the preset kinematic model is constructed based on IMU information and propulsion speed. Since the propulsion speed can be determined according to the rotation angle, the preset kinematic model is constructed based on IMU information and rotation angle. By using the leg rotation angle to determine the foot movement speed, stable speed information can be provided for the kinematic model, thereby avoiding compensating for the accumulated errors caused by the long-term operation of the IMU sensor.

[0079] In one implementation, the preset kinematic model can be expressed as:

[0080] ;

[0081] in, Indicates IMU information, represents the noise description, and represents the bias noise of the IMU, and Indicates the preset coefficient, Represents the rotation angle set of each motor.

[0082] Further, in step S24, the previous motion state is a priori knowledge acquired in advance, which can be pre-set or determined based on the predicted motion state at the previous acquisition moment corresponding to the previous motion state. The predicted motion state at the current acquisition moment can be the sum of the previous motion state and the motion state change, or it can be obtained by weighting the previous motion state and the motion state variable.

[0083] In the embodiment of the present application, the previous motion state is the predicted motion state at the acquisition moment before the current acquisition moment. The predicted motion state at the current acquisition moment may be the sum of the previous motion state and the motion state change. The predicted motion state at the current acquisition moment and its covariance matrix can be predicted based on a preset kinematic model. The predicted motion state and its covariance matrix can be expressed as:

[0084] ;

[0085] ;

[0086] in, Indicates the predicted motion state at the current acquisition moment, which is used to reflect the motion state at the next acquisition moment after the current acquisition moment. express The previous motion state of the moment, express IMU information at all times, express The set of rotation angles at the moment; and represents the state matrix and noise matrix, Represents noise The covariance of .

[0087] Furthermore, after obtaining the predicted motion state, a transformation relationship can be determined based on the predicted motion state at the current acquisition time and the previous motion state at the current acquisition time. Each point cloud in the local point cloud data corresponding to the previous acquisition time is then corrected to the current acquisition time to eliminate the motion offset of the point cloud. The process of determining the transformation relationship based on the previous motion state and the predicted motion state at the current acquisition time can be performed using existing methods and will not be described in detail here.

[0088] In addition, each point cloud in the local point cloud data corresponding to the previous acquisition time is corrected to the current acquisition time, and then transformed into the global coordinate system to obtain the transformed local point cloud data, wherein the transformed local point cloud data can be expressed as:

[0089] ;

[0090] in, Represents the transformation matrix between the lidar coordinate system and the IMU coordinate system, Represents the transformation matrix between the IMU coordinate system and the global coordinate system, Represents the target local point cloud data, Represents the transformed local point cloud data.

[0091] In addition, it should be noted that for the first acquisition moment in each frame of environmental point cloud data, no local point cloud data needs to be corrected to that acquisition moment, so the motion state at that acquisition moment needs to be used as the prior knowledge for the next acquisition moment. Therefore, for the first acquisition moment, this acquisition moment can be used as the previous acquisition moment for the second acquisition moment. Then, it is only necessary to predict the predicted motion state at the first acquisition moment based on the IMU information and rotation angle information obtained at the first acquisition moment and the target motion state of the previous environmental point cloud data. The predicted motion state is then used as the prior knowledge for the second acquisition moment.

[0092] For all acquisition moments except the first one, there is a need to calibrate the local point cloud data to that acquisition moment. Therefore, after obtaining the predicted motion state of each acquisition moment except the first one, a correction operation is performed to calibrate the local point cloud data corresponding to the previous acquisition moment of that acquisition moment to that acquisition moment. Specifically, for two adjacent acquisition moments, the previous acquisition moment is used as the previous acquisition moment, and the next acquisition moment is used as the current acquisition moment. Then, the predicted motion state of the current acquisition moment is predicted based on the previous acquisition moment. Then, a transformation relationship is constructed based on the predicted motion state corresponding to the previous acquisition moment and the predicted motion state of the current acquisition moment to calibrate the local point cloud data corresponding to the previous acquisition moment to the next acquisition moment, wherein the local point cloud data corresponding to the previous acquisition moment includes the point cloud data calibrated to that acquisition moment. In this way, by accumulating transformations in sequence, the local point cloud data collected at each acquisition moment can be transformed to the end acquisition moment.

[0093] In one implementation, after obtaining the target point cloud data, as shown in FIG. Figure 2 As shown, the method also includes a residual compensation process, which identifies the rough structure surface in the tunnel environment and compensates for the point cloud residual, thereby improving the registration accuracy of the rough structure points. The residual compensation process specifically includes:

[0094] H10. Calculate the registration residual of each target point cloud in the target point cloud data, and determine the point cloud type of each target point cloud according to the registration residual;

[0095] H20. Perform residual compensation on each target point cloud according to its point cloud type, register the target point cloud data using the compensated registration residual, and use the registered target point cloud data as the target point cloud data.

[0096] Specifically, in step H10, the registration residual is used to register the point cloud position of the target point cloud, and the point cloud type is used to reflect the structural position of the target point cloud, where the point cloud type may include a plane structure, a bad angle structure, and a curved surface structure.

[0097] The registration residual may be determined based on adjacent points of the target point cloud, or may be determined based on the plane normal vector and centroid of a fitting plane formed by fitting the target point cloud and the adjacent points. In a specific implementation of the embodiment of the present application, calculating the registration residual of each target point cloud in the target point cloud data specifically includes:

[0098] For each target point cloud in the target point cloud data, searching for a preset number of adjacent points of the target point cloud in the submap, and constructing a neighborhood area based on the preset number of adjacent points;

[0099] The plane normal vector and the centroid of the neighborhood area are obtained, and the registration residual corresponding to the target point cloud is calculated based on the plane normal vector and the centroid.

[0100] Specifically, the submap is a three-dimensional measurement map constructed from all registered environmental point cloud data prior to the current acquisition time. The first preset number can be pre-set, for example, 5, 6, 7, etc. For example, if the first preset number is 5, the five first neighboring points corresponding to the target point cloud can be searched in the submap using the nearest neighbor search method. After obtaining the preset number of neighboring points, a neighborhood region is formed by the preset number of neighboring points, and the surface normal vector and centroid of the neighborhood region are extracted to obtain the plane normal vector and centroid of the neighborhood region. The neighborhood region can be obtained by performing a least squares method on the preset number of neighboring points to obtain a region fitting.

[0101] Furthermore, after obtaining the plane normal vector and centroid of the neighborhood area, the registration residual corresponding to the target point cloud can be calculated based on the plane normal vector and centroid of the neighborhood area, wherein the registration residual corresponding to the target point cloud can be:

[0102] ;

[0103] in, Indicates the The centroid corresponding to the target point cloud, represents the predicted motion state at the last acquisition moment, represents the beam direction noise, Indicates the target point cloud, Indicates the The plane normal vector corresponding to the target point cloud, Indicates the The registration residual of the target point cloud.

[0104] Furthermore, after calculating the registration residual of each target point cloud, the point cloud type of each target point cloud can be determined by the K-means clustering algorithm. The specific process can be:

[0105] First, the number of initial centroids is initialized according to the number of point cloud types, and the registration residuals are divided by minimizing the Euclidean distance between the residual values ​​to obtain clusters of each type. The minimization of the Euclidean distance between the residual values ​​can be expressed as:

[0106] ;

[0107] in, Indicates the The centroids of the clusters.

[0108] Secondly, iteratively update the centroid of each cluster to obtain the final cluster. Each final cluster corresponds to a structure type. The point cloud type of each target point cloud in the final cluster is the structure type corresponding to the final cluster. Among them, in each final cluster, the minimum centroid ( ) corresponds to a plane structure point, and the center of mass ( ) corresponds to a bad corner structure point, and the maximum centroid ( ) The corresponding structure type is surface structure point.

[0109] Furthermore, in step H20, after determining the point cloud type of each target point cloud, the update method can be determined according to the point cloud type of each target point cloud, and the registration residual can be updated using the update method. The residuals of each target point cloud can be supplemented based on the updated registration residuals. The target point cloud that needs to be compensated can also be determined according to the point cloud type, and then the target point cloud whose registration residual needs to be compensated can be used to perform residual compensation, etc.

[0110] In one implementation, performing residual compensation on each target point cloud according to the point cloud type of each target point cloud and registering the target point cloud data using the compensated registration residual specifically includes:

[0111] For each target point cloud, determining a compensation method based on the point cloud type of the target point cloud;

[0112] According to the registration residuals of each adjacent point cloud and the registration residual of the target point cloud, the registration residuals of the target point cloud are compensated according to the compensation method, and the target point cloud data is registered using the compensated registration residuals.

[0113] Specifically, the compensation method is determined according to the point cloud type. The correspondence between the point cloud type and the compensation method can be:

[0114] ;

[0115] in, represents the registration residual after compensation, represents the number of adjacent point clouds, represents the registration residual of the target point cloud, Indicates the The registration residual of the second neighboring point cloud, Indicates the point cloud type of the target point cloud.

[0116] It should be noted that the second preset number can be set according to actual needs, for example, 5, 6, 7, etc. The second adjacent point cloud can be obtained by using a nearest neighbor search, or can be determined based on the Euclidean distance between point clouds.

[0117] In this implementation method of the embodiment of the present application, by classifying the target point cloud in the target point cloud data, and then keeping the registration residual of the target point cloud of the planar structure unchanged, the target point cloud of the poor-angle structure and the curved surface structure is residually compensated by the registration residual of the second adjacent point, the accuracy of the registration residual of the poor-angle structure and the curved surface structure can be improved.

[0118] In some implementations, such as Figure 2 As shown in the figure, after performing residual compensation on the registration residuals, outlier points can be removed from the target point cloud to reduce the cumulative error of the 3D point cloud map. Specifically, the outlier point cloud removal is based on a rotation-guided strategy, which introduces an outlier consistency index as a constraint to complete the detection and removal of outlier point clouds. This can avoid the problem of false detection caused by the depth and degree of anomalies of the point cloud when the segmentation line of the isolation forest tends to be in the area where the point cloud is concentrated, thereby improving the accuracy of outlier point cloud removal.

[0119] Specifically, this implementation method performs a planar rotation on the abnormal features of the target point cloud, and constructs a rotational isolation forest based on the abnormal features before and after the rotation. The initial abnormal point cloud sequence and the rotational abnormal point cloud sequence are then determined using the degree of abnormality before and after the rotation. An abnormal consistency index is then constructed based on the initial abnormal point cloud sequence and the rotational abnormal point cloud sequence. The target rotation angle corresponding to the target point cloud data is then determined using the abnormal consistency index as a constraint. Finally, the abnormal point cloud in the target point cloud data is determined and removed based on the abnormal features and the rotational abnormal features after the target rotation angle. Accordingly, the abnormal point removal process may specifically include:

[0120] Obtain the registration residual features and measurement distance features of each target point cloud to obtain the abnormal features of each target point cloud;

[0121] Taking the anomaly consistency index as a constraint, a binary search method is used to solve the target rotation angle corresponding to the target point cloud data, wherein the anomaly consistency index is used to reflect the degree of difference between the initial anomaly point cloud sequence based on the anomaly feature and the rotated anomaly point cloud sequence determined based on the rotated anomaly feature;

[0122] Determining a target rotation abnormality point cloud sequence corresponding to the target point cloud based on the rotation abnormality feature after rotation by the target rotation angle;

[0123] Based on the initial abnormal point cloud sequence and the target rotated abnormal point cloud sequence, abnormal point clouds corresponding to the target point cloud data are determined, and all determined abnormal point clouds are removed from the target point cloud.

[0124] Specifically, the registration residual feature is the registration residual supplemented by the residual, and the measurement distance feature is the Euclidean measurement distance of the target point cloud. The registration residual feature and the measurement distance feature are used as two abnormal features of the target point cloud, and the registration residual feature and the measurement distance feature are processed by standardization to obtain the abnormal feature, and then the abnormal feature is rotated to obtain the rotated abnormal feature. The abnormal feature and the rotated abnormal feature can be expressed as:

[0125] ;

[0126] ;

[0127] in, Indicates abnormal characteristics, Indicates the measured distance characteristics after standardization, represents the standard registration residual feature, Indicates the rotation angle, Indicates abnormal features after rotation.

[0128] The target point cloud is trained by sequentially training the isolation forest through the rotation processing Depth is the number of edges from the root node to the leaf node. The average depth of the binary tree can be expressed as:

[0129] ;

[0130] in, The depth used for normalization , Indicates the size of the target point cloud data, represents the harmonic number, which can be estimated as (Euler constant), the degree of anomaly can be expressed as:

[0131] ;

[0132] in, Target point cloud The expected depth.

[0133] Determine the abnormal degree of the target point cloud before rotation based on the abnormal features, determine the abnormal degree of the target point cloud after rotation based on the abnormal features after rotation, and then construct the initial abnormal point queue based on the abnormal degree before rotation , build a rotation anomaly point queue based on the degree of anomaly after rotation Finally, the initial outlier queue and the rotation outlier queue construct an outlier consistency index, where the outlier consistency index is expressed as:

[0134] .

[0135] When the abnormal consistency index is positive, it means that the angle is When the anomaly degree is not affected by the segmentation line, if the anomaly consistency index is negative, it indicates that the anomaly degree is misdetected, and it is necessary to consider rotating the anomaly point queue for detection and eliminating the anomaly point cloud.

[0136] Based on this, the rotation angle It is the key to abnormal point cloud detection and elimination, by accurately solving the rotation angle The accuracy of abnormal point cloud removal can be improved. In this implementation, a binary search method is used to solve the rotation angle, and the target rotation angle is approached by continuously narrowing the rotation angle range. Specifically, the process of using the binary search method to solve the target rotation angle corresponding to the target point cloud data can include three key steps: determining the initial range of the rotation angle, applying the judgment criteria, and applying the termination condition. Specifically,

[0137] First, based on the horizontal and vertical cutting methods, take as the initial range.

[0138] Secondly, initialize the parameters 、 and , represent the abnormal consistency index at the initial (leftmost) rotation angle, the rightmost rotation angle and the intermediate rotation angle, respectively. , and .

[0139] Then, update the rotation angle, such as , then updating the binary search range by comparing the index can be expressed as:

[0140] ;

[0141] when or range When it is less than 1, the search is terminated and the intermediate rotation angle is output. To obtain the target rotation angle and its index .

[0142] After obtaining the target rotation angle, the abnormal feature is rotated by the target rotation angle to determine the target rotation abnormal point cloud sequence, and then based on the initial abnormal point cloud sequence and the target rotation abnormal point cloud sequence, the abnormal point cloud detection corresponding to the target point cloud data is determined, wherein the abnormal point cloud can be expressed as:

[0143] .

[0144] S30. Perform state estimation based on the target point cloud data to obtain a target motion state of the legged robot, and construct a three-dimensional tunnel map based on the target motion state and the target point cloud data.

[0145] Specifically, the target point cloud data is a frame of corrected environmental point cloud data, and the target motion state of the legged robot can be determined based on the target point cloud data, wherein the target motion state of the legged robot can directly adopt the predicted motion state at the last acquisition moment, or can adopt the predicted motion state at any acquisition moment. In an embodiment of the present application, in order to improve the accuracy of the target motion state, after acquiring the target point cloud data, an error-state-based Kalman filter is used to determine the target motion state corresponding to the target point cloud data. Based on this, the state estimation based on the target point cloud data to obtain the target motion state of the legged robot is specifically as follows:

[0146] Based on the target point cloud data, the target motion state of the legged robot is determined by an error state Kalman filter.

[0147] Specifically, the point cloud data is iteratively observed and the error state is calculated using the maximum a posteriori estimation method. , the error state to be estimated It can be expressed as:

[0148] ;

[0149] According to the previous motion state of the kinematic model After eliminating point cloud motion distortion and performing residual compensation, the registration residual between the target point cloud data and the sub-map is is zero, that is, the expression of the observation model can be:

[0150] ;

[0151] in, is the registration residual compensation value.

[0152] The expression of the observation model predicts the motion state at the last acquisition moment The first-order Taylor expansion linear approximation is:

[0153] ;

[0154] in, Represents the observation model about The Jacobian matrix with values ​​at zero, represents the measurement noise, Denotes the covariance. The target motion state of the legged robot By the estimated error state and the predicted motion state at the last acquisition moment The prior distribution of the error state is as follows:

[0155] ;

[0156] ;

[0157] in, yes about The partial differential of , represents the covariance of the error state. By combining the observation model with the prior distribution, the posterior distribution of the error state is expressed as a maximum a posteriori estimate:

[0158] ;

[0159] Iteratively solve the error state to compensate the motion state, which is used as the input of the previous motion state for the next iteration. We can get:

[0160] ;

[0161] ;

[0162] when When it is less than a given threshold or reaches the maximum number of iterations, the iterative process terminates. The posterior estimate of the motion state and the posterior covariance of the error state can be expressed as:

[0163] ;

[0164] ;

[0165] Since the 3D point cloud map is a collection of LiDAR scans and poses, The three-dimensional mapping results constructed in the system can be expressed as:

[0166] .

[0167] In summary, this embodiment provides a method for three-dimensional mapping of a tunnel by a legged robot, the method comprising collecting a frame of environmental point cloud data of the tunnel through a lidar, and obtaining the IMU information, rotation angle, and local point cloud data at the current acquisition moment; determining a predicted motion state based on the IMU information and rotation angle; correcting the local point cloud data to the end acquisition moment based on the predicted motion state, and so on until the target point cloud data is obtained; performing state estimation based on the target point cloud data to obtain the target motion state, and constructing a three-dimensional mapping of the tunnel based on the target motion state and the target point cloud data. This application determines the motion posture of the legged robot by combining the rotation angle of the motor and the IMU information, and then performs motion distortion on the environmental point cloud data based on the motion posture to project each point cloud to the end acquisition moment of the point cloud frame, thereby eliminating the motion offset of the point cloud and improving the accuracy of the three-dimensional mapping of the tunnel.

[0168] Based on the above-mentioned three-dimensional mapping method of a legged robot tunnel, this embodiment provides a three-dimensional mapping device for a legged robot tunnel, such as Figure 3 As shown, the legged robot tunnel 3D mapping device specifically includes:

[0169] The acquisition module 100 is used to collect a frame of environmental point cloud data of the tunnel through a laser radar, and obtain the IMU information and the rotation angle of each motor carried by the legged robot at each acquisition moment;

[0170] The execution module 200 is configured to use the collection moment that is first in chronological order as the current collection moment, and the target motion posture corresponding to the previous frame of environmental point cloud data as the previous motion state; determine the predicted motion state of the legged robot based on the IMU information, the rotation angle, and the previous motion state, and correct the end collection time of the environmental point cloud data using the local point cloud data at the current collection moment based on the predicted motion state; use the predicted motion state at the current collection moment as the previous motion state, use the collection moment of the current collection moment as the current collection moment, and repeat the steps of determining the predicted motion state of the legged robot based on the IMU information, the rotation angle, and the previous motion state until the end collection time to obtain the target point cloud data;

[0171] The construction module 300 is configured to perform state estimation based on the target point cloud data to obtain a target motion state of the legged robot, and to construct a three-dimensional tunnel map based on the target motion state and the target point cloud data.

[0172] Based on the above-mentioned legged robot tunnel three-dimensional mapping method, this embodiment provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the legged robot tunnel three-dimensional mapping method as described in the above-mentioned embodiment.

[0173] Based on the above-mentioned three-dimensional mapping method of a legged robot tunnel, this application also provides a terminal device, such as Figure 4 As shown, it includes at least one processor 20; a display screen 21; and a memory 22. It may also include a communications interface 23 and a bus 24. The processor 20, display screen 21, memory 22, and communications interface 23 can communicate with each other via bus 24. The display screen 21 is configured to display a preset user guidance interface in the initial setup mode. The communications interface 23 can transmit information. The processor 20 can invoke logic instructions in the memory 22 to execute the method described in the above embodiment.

[0174] In addition, the logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0175] The memory 22, as a computer-readable storage medium, can be configured to store software programs or computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the software programs, instructions, or modules stored in the memory 22 to perform functional applications and data processing, thereby implementing the methods in the above embodiments.

[0176] The memory 22 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data created based on the use of the terminal device. In addition, the memory 22 may include high-speed random access memory and non-volatile memory. For example, various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.

[0177] In addition, the specific process of loading and executing the multiple instructions in the storage medium and the processor in the terminal device has been described in detail in the above method and will not be described here one by one.

[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for three-dimensional mapping of tunnels by a legged robot, characterized in that: The three-dimensional mapping method of a foot-type robot tunnel specifically comprises: Collect a frame of environmental point cloud data of the tunnel through a laser radar, and obtain IMU information at each collection moment and the rotation angle of each motor carried by the legged robot; The first acquisition moment in chronological order is used as the preceding acquisition moment, the target motion posture corresponding to the previous frame of environmental point cloud data is used as the preceding motion state of the preceding acquisition moment, and the predicted motion state of the legged robot is determined according to the IMU information, the rotation angle and the preceding motion state, so as to obtain the predicted motion state corresponding to the preceding acquisition moment; The second acquisition moment is used as the current acquisition moment, and the predicted motion posture corresponding to the previous acquisition moment is used as the previous motion state of the current acquisition moment. The predicted motion state of the legged robot is determined according to the IMU information, the rotation angle, and the previous motion state to obtain the predicted motion state corresponding to the current acquisition moment. Correcting the local point cloud data at the previous acquisition moment to the current acquisition moment based on the predicted motion state, so as to update the local point cloud data corresponding to the current acquisition moment; The current acquisition moment is used as the previous acquisition moment, the next acquisition moment of the current acquisition moment is used as the current acquisition moment, and the predicted motion state of the legged robot is determined according to the IMU information, the rotation angle and the previous motion state to obtain the predicted motion state corresponding to the current acquisition moment, until the acquisition moment is ended to obtain the target point cloud data; Performing state estimation based on the target point cloud data to obtain a target motion state of the legged robot, and constructing a three-dimensional tunnel map based on the target motion state and the target point cloud data; Wherein, determining the predicted motion state of the legged robot according to the IMU information, the rotation angle and the previous motion state specifically includes: Determining the spatial position of each leg of the footed robot in a leg coordinate system according to the rotation angle; Calculating the propulsion speed of the legged robot according to all the determined spatial positions; Inputting the propulsion speed and the IMU information into a preset kinematics model, and determining the motion state change amount through the preset kinematics model; Based on the motion state change and the previous motion state, the predicted motion state of the legged robot is determined.

2. The method for three-dimensional mapping of a tunnel by a foot-type robot according to claim 1, characterized in that: After obtaining the target point cloud data, the method further includes: Calculating the registration residual of each target point cloud in the target point cloud data, and determining the point cloud type of each target point cloud according to the registration residual; Residual compensation is performed on each target point cloud according to its point cloud type, the target point cloud data is registered using the compensated registration residual, and the registered target point cloud data is used as the target point cloud data.

3. The method for three-dimensional mapping of a tunnel by a foot-type robot according to claim 2, characterized in that: The step of calculating the registration residual of each target point cloud in the target point cloud data specifically includes: For each target point cloud in the target point cloud data, searching for a preset number of adjacent points of the target point cloud in the submap, and constructing a neighborhood area based on the preset number of adjacent points; The plane normal vector and the centroid of the neighborhood area are obtained, and the registration residual corresponding to the target point cloud is calculated according to the plane normal vector and the centroid.

4. The method for three-dimensional mapping of a tunnel by a foot-type robot according to claim 2, characterized in that: The performing residual compensation on each target point cloud according to the point cloud type of each target point cloud and registering the target point cloud data using the compensated registration residual specifically includes: For each target point cloud, determining a compensation method based on the point cloud type of the target point cloud; According to the registration residuals of each adjacent point cloud and the registration residual of the target point cloud, the registration residuals of the target point cloud are compensated according to the compensation method, and the compensated registration residuals are used to register the target point cloud data.

5. The method for three-dimensional mapping of a tunnel by a foot-type robot according to any one of claims 2 to 4, characterized in that: After obtaining the target point cloud data, the method further includes: Obtaining the registration residual features and measurement distance features of each target point cloud to obtain the abnormal features of each target point cloud; Taking the abnormal consistency index as a constraint, a binary search method is used to solve the target rotation angle corresponding to the target point cloud data, wherein the abnormal consistency index is used to reflect the degree of difference between the initial abnormal point cloud sequence based on the abnormal feature and the rotated abnormal point cloud sequence determined based on the abnormal feature after rotation; Determine a target rotation abnormality point cloud sequence corresponding to the target point cloud based on the rotation abnormality feature after rotation by the target rotation angle; Based on the initial abnormal point cloud sequence and the target rotated abnormal point cloud sequence, the abnormal point clouds corresponding to the target point cloud data are determined, and all determined abnormal point clouds are removed from the target point cloud.

6. The method for three-dimensional mapping of a tunnel by a legged robot according to claim 1, characterized in that: The state estimation based on the target point cloud data to obtain the target motion state of the legged robot is specifically: Based on the target point cloud data, the target motion state of the legged robot is determined by an error state Kalman filter.

7. A three-dimensional mapping device for a foot-type robot tunnel, characterized in that: The foot-type robot tunnel three-dimensional mapping device specifically comprises: A collection module, used to collect a frame of environmental point cloud data of the tunnel through a laser radar, and obtain IMU information at each collection moment and the rotation angle of each motor carried by the legged robot; The execution module is used to take the first collection moment in chronological order as the previous collection moment, take the target motion posture corresponding to the previous frame of environmental point cloud data as the previous motion state of the previous collection moment, and determine the predicted motion state of the footed robot according to the IMU information, the rotation angle and the previous motion state to obtain the predicted motion state corresponding to the previous collection moment; take the second collection moment as the current collection moment, take the predicted motion posture corresponding to the previous collection moment as the previous motion state of the current collection moment, and determine the predicted motion state according to the IMU information, the rotation angle and the previous motion state. The predicted motion state of the legged robot is obtained to obtain the predicted motion state corresponding to the current acquisition moment; based on the predicted motion state, the local point cloud data of the previous acquisition moment is corrected to the current acquisition moment to update the local point cloud data corresponding to the current acquisition moment; the current acquisition moment is used as the previous acquisition moment, the next acquisition moment of the current acquisition moment is used as the current acquisition moment, and the predicted motion state of the legged robot is determined according to the IMU information, the rotation angle and the previous motion state to obtain the predicted motion state corresponding to the current acquisition moment, until the acquisition moment is ended to obtain the target point cloud data; A construction module, configured to perform state estimation based on the target point cloud data to obtain a target motion state of the legged robot, and to construct a three-dimensional tunnel map based on the target motion state and the target point cloud data; Wherein, determining the predicted motion state of the legged robot according to the IMU information, the rotation angle and the previous motion state specifically includes: Determining the spatial position of each leg of the footed robot in a leg coordinate system according to the rotation angle; Calculating the propulsion speed of the legged robot according to all the determined spatial positions; Inputting the propulsion speed and the IMU information into a preset kinematics model, and determining the motion state change amount through the preset kinematics model; Based on the motion state change and the previous motion state, the predicted motion state of the legged robot is determined.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the legged robot tunnel three-dimensional mapping method as described in any one of claims 1-6.

9. A terminal device, characterized in that: include: Processor and memory; The memory stores a computer-readable program executable by the processor; When the processor executes the computer-readable program, the steps of the legged robot tunnel three-dimensional mapping method as described in any one of claims 1-6 are implemented.

Citation Information

Patent Citations

  • A method and equipment for constructing a point cloud map

    CN109710724A

  • Environmental map construction method fusing multiple sensors

    CN116045965A

  • Mapping and localization system for autonomous vehicles

    US20220270268A1

  • Operation map construction method and apparatus, mowing robot, and storage medium

    WO2024008016A1

  • KR20240015464A