Robot positioning method and device, computer storage medium, and electronic equipment

By using laser point clouds to project onto a raster map and remove obstacle point clouds during robot positioning, the problem of large positioning errors in dynamic scenes is solved and positioning accuracy and efficiency are improved.

CN113448326BActive Publication Date: 2024-09-24BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202010220528.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-25
Publication Date
2024-09-24
Estimated Expiration
2040-03-25

AI Technical Summary

Technical Problem

In dynamically changing unstructured scenes, the robot's positioning error is large and it may even lose its own pose. It is difficult for existing technology to effectively solve this problem.

Method used

By projecting the laser point cloud scanned by the robot into the grid cells of the raster map, the target obstacle point cloud is determined according to the number of obstacle pixels, and is eliminated. The eliminated laser point cloud is combined with the map data. The matching degree determines the particle weight value, which is used to weight the current target pose of the robot.

Benefits of technology

It effectively improves the positioning accuracy of the robot in complex scenes, reduces the loss of poses, ensures the consistency of the actual operating environment and map data, and improves positioning accuracy and operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113448326B
    Figure CN113448326B
Patent Text Reader

Abstract

The present disclosure relates to the field of artificial intelligence technology, and provides a robot positioning method, a robot positioning device, a computer storage medium, and an electronic device, wherein the robot positioning method includes: projecting a laser point cloud of the surrounding environment scanned by the robot into a grid unit corresponding to a grid map; determining a target obstacle point cloud in the laser point cloud according to the number of obstacle pixels contained in the grid unit; performing a culling process on the target obstacle point cloud; determining a particle weight value according to the matching degree between the laser point cloud after culling and the map data; wherein the particle is used to represent the robot's posture; based on the particle weight value, performing a weighted calculation on the current possible posture corresponding to the particle to obtain the robot's current target posture. The present disclosure can improve the positioning accuracy of the robot.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rapid development of artificial intelligence (AI) technology, mobile robots are widely used in various industries, such as logistics, housekeeping, electricity, and machining. Mobile robots are devices that perform environmental perception, dynamic decision-making and planning, behavioral control, and autonomous movement in unknown or partially unknown environments. For mobile robots, positioning involves determining the robot's position (including location and heading) within a map of its environment. It is not only a fundamental step in completing the robot's environmental map but also a key technology for autonomous navigation.

[0003] Currently, robot positioning is typically achieved by matching the environment information scanned by the robot with map information. However, in some unstructured scenes with frequent dynamic changes (for example, restaurants with moving people, food carts, and unknown obstacles), the environment information scanned by the robot differs significantly from the map information, resulting in large errors in the matching results, leading to large positioning errors and even loss of the robot's position.

[0004] In view of this, there is an urgent need in this field to develop a new robot positioning method and device.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this disclosure. Summary of the Invention

[0006] The purpose of the present disclosure is to provide a robot positioning method, a robot positioning device, a computer storage medium and an electronic device, thereby avoiding, at least to a certain extent, the defect in the prior art of large robot positioning errors caused by dynamic changes in the environment.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.

[0008] According to a first aspect of the present disclosure, a robot positioning method is provided, comprising: projecting a laser point cloud of a surrounding environment scanned by the robot into a grid cell corresponding to a grid map; determining a target obstacle point cloud in the laser point cloud based on the number of obstacle pixels contained in the grid cell; performing a culling process on the target obstacle point cloud; determining a particle weight value based on a degree of matching between the laser point cloud after culling and map data; wherein particles are used to represent the posture of the robot; and performing a weighted calculation on the current possible postures corresponding to the particles based on the particle weight values ​​to obtain the current target posture of the robot.

[0009] In an exemplary embodiment of the present disclosure, determining the target obstacle point cloud in the laser point cloud based on the number of obstacle pixel points contained in the grid unit includes: when the number of obstacle pixel points contained in the grid unit is less than a first quantity threshold, determining that the laser point cloud in the grid unit is the target obstacle point cloud.

[0010] In an exemplary embodiment of the present disclosure, determining the target obstacle point cloud in the laser point cloud based on the number of obstacle pixels contained in the grid cell includes: when the number of obstacle pixels contained in the grid cell is greater than or equal to the first quantity threshold, obtaining normal distribution parameters of the obstacle pixels; determining a probability density distribution value of the laser point cloud contained in the grid cell based on the number of obstacle pixels and the normal distribution parameters; if the probability density distribution value is less than a second quantity threshold, determining that the laser point cloud in the grid cell is the target obstacle point cloud.

[0011] In an exemplary embodiment of the present disclosure, the method further includes: determining the current estimated posture of the robot based on the posture change amount within a preset time period and the historical actual posture of the robot; determining the current estimated posture as the center coordinate and the preset distance as the clipping range; clipping the global map based on the center coordinate and the clipping range to obtain a local map; and rasterizing the local map to obtain the grid map.

[0012] In an exemplary embodiment of the present disclosure, the method further includes: obtaining a first posture of the robot in an odometer coordinate system at a historical moment; and obtaining a second posture of the robot in the odometer coordinate system at a current moment; determining the difference between the second posture and the first posture as a posture change within the preset time period; converting the posture change into posture parameters in a map coordinate system using a coordinate conversion algorithm; and determining the current estimated posture of the robot based on the posture parameters and the historical actual posture of the robot.

[0013] In an exemplary embodiment of the present disclosure, the method further includes: obtaining a possible historical posture corresponding to each particle in the particle swarm; wherein the particle swarm represents a probability distribution of posture; updating the possible historical posture according to the posture parameters to obtain a current possible posture corresponding to each particle in the particle swarm.

[0014] In an exemplary embodiment of the present disclosure, the laser point cloud includes multiple laser points; projecting the laser point cloud of the surrounding environment scanned by the robot into the grid cells corresponding to the grid map includes: obtaining coordinate data of each laser point in the robot coordinate system; using the coordinate conversion algorithm to convert the coordinate data into position coordinates in the map coordinate system; and projecting the laser point cloud into the grid cells corresponding to the grid map according to the position coordinates.

[0015] According to a second aspect of the present disclosure, a robot positioning device is provided, comprising: a data mapping module for projecting a laser point cloud of the surrounding environment scanned by the robot into a grid cell corresponding to a grid map; a data screening module for determining a target obstacle point cloud in the laser point cloud based on the number of obstacle pixels contained in the grid cell; a data removal module for removing the target obstacle point cloud; a data matching module for determining a particle weight value based on the degree of matching between the laser point cloud after removal and the map data; wherein particles are used to represent the posture of the robot; and a posture correction module for performing weighted calculation on the current possible postures corresponding to the particles based on the particle weight values ​​to obtain the current target posture of the robot.

[0016] According to a third aspect of the present disclosure, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the robot positioning method described in the first aspect is implemented.

[0017] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the robot positioning method described in the first aspect above by executing the executable instructions.

[0018] As can be seen from the above technical solutions, the robot positioning method, robot positioning device, computer storage medium, and electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:

[0019] In the technical solutions provided by some embodiments of the present disclosure, on the one hand, the laser point cloud of the surrounding environment scanned by the robot is projected into the grid cell corresponding to the grid map; based on the number of obstacle pixels contained in the grid cell, the target obstacle point cloud in the laser point cloud is determined, and the target obstacle point cloud is eliminated, which can avoid the interference of dynamic obstacles on the positioning algorithm in complex scenes (for example, restaurant scenes), ensure the consistency of the actual operating environment and the map data stored by the robot, effectively improve the positioning accuracy of the robot, and reduce the loss of posture. On the other hand, based on the matching degree between the laser point cloud and the map data after the elimination process, the particle weight value (particles are used to represent the posture of the robot) is determined, and based on the particle weight value, the current possible posture corresponding to the particle is weightedly calculated to obtain the current target posture of the robot, which can correct the current estimated posture, improve the positioning accuracy of the robot, and ensure the operating efficiency of the robot.

[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0022] Figure 1 A schematic flow chart showing a robot positioning method in an exemplary embodiment of the present disclosure is shown;

[0023] Figure 2 A schematic diagram of a sub-process of a robot positioning method in an exemplary embodiment of the present disclosure is shown;

[0024] Figure 3 A schematic diagram of a sub-process of a robot positioning method in an exemplary embodiment of the present disclosure is shown;

[0025] Figure 4 A schematic diagram of a sub-process of a robot positioning method in an exemplary embodiment of the present disclosure is shown;

[0026] Figure 5 A schematic diagram of a sub-process of a robot positioning method in an exemplary embodiment of the present disclosure is shown;

[0027] Figure 6 A schematic diagram showing the overall process of a robot positioning method in an exemplary embodiment of the present disclosure is shown;

[0028] Figure 7 A schematic structural diagram of a robot positioning device in an exemplary embodiment of the present disclosure is shown;

[0029] Figure 8 A schematic diagram showing the structure of a computer storage medium in an exemplary embodiment of the present disclosure is shown;

[0030] Figure 9 A schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0031] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present disclosure will be more comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or that other methods, components, devices, steps, etc. may be employed. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0032] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0033] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the drawings represent identical or similar parts, and thus repeated descriptions thereof will be omitted. Some of the blocks shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically separate entities.

[0034] Currently, the robot's positioning is typically achieved by matching the environmental information scanned by the robot with map information. However, in some unstructured scenes with frequent dynamic changes (for example, restaurants with moving people, food carts, and unknown obstacles), the environmental information scanned by the robot differs significantly from the map information, resulting in large errors in the matching results. Furthermore, errors in the odometry information can lead to inaccurate estimated poses, resulting in large positioning errors. In severe cases, the positioning results can be completely incorrect, and the robot can lose its position.

[0035] In the embodiments of the present disclosure, a robot positioning method is first provided, which at least to some extent overcomes the defect in the prior art of large robot positioning errors caused by dynamic changes in the environment.

[0036] Figure 1 A schematic flow chart of a robot positioning method in an exemplary embodiment of the present disclosure is shown. The execution subject of the robot positioning method may be a server that performs positioning processing on the robot.

[0037] refer to Figure 1 According to an embodiment of the present disclosure, a robot positioning method includes the following steps:

[0038] Step S110, projecting the laser point cloud of the surrounding environment scanned by the robot into the corresponding grid cells of the grid map;

[0039] Step S120, determining a target obstacle point cloud in the laser point cloud according to the number of obstacle pixel points contained in the grid unit;

[0040] Step S130, removing the target obstacle point cloud;

[0041] Step S140, determining a particle weight value based on the matching degree between the laser point cloud after the elimination process and the map data; wherein the particle is used to represent the position and posture of the robot;

[0042] Step S150: Based on the particle weight value, a weighted calculation is performed on the current possible postures corresponding to the particles to obtain the current target posture of the robot.

[0043] exist Figure 1 In the technical solution provided by the illustrated embodiment, on the one hand, the laser point cloud of the surrounding environment scanned by the robot is projected into the grid cell corresponding to the grid map; based on the number of obstacle pixels contained in the grid cell, the target obstacle point cloud in the laser point cloud is determined, and the target obstacle point cloud is eliminated. This can avoid the interference of dynamic obstacles on the positioning algorithm in complex scenes (for example, restaurant scenes), ensure the consistency of the actual operating environment and the map data stored by the robot, effectively improve the positioning accuracy of the robot, and reduce the loss of posture. On the other hand, based on the matching degree between the laser point cloud and the map data after the elimination process, the particle weight value (the particle is used to represent the posture of the robot) is determined. Based on the particle weight value, the current possible posture corresponding to the particle is weightedly calculated to obtain the current target posture of the robot, which can correct the current estimated posture, improve the positioning accuracy of the robot, and ensure the operating efficiency of the robot.

[0044] The following Figure 1 The specific implementation process of each step is described in detail:

[0045] In the exemplary embodiments of this disclosure, a robot refers to a device that performs environmental perception, dynamic decision-making and planning, behavioral control, and autonomous movement in an unknown or partially unknown environment. For example, the robot may be a food delivery robot operating in a complex location with high population mobility, such as a restaurant. It should be noted that the specific operating environment of the robot can be customized based on actual circumstances and remains within the scope of protection of this disclosure.

[0046] In an exemplary embodiment of the present disclosure, the robot may be provided with devices such as an odometer, a gyroscope, and a radar.

[0047] Exemplarily, the odometer in the present disclosure may be a wheel encoder, or, in order to make the change in posture within a preset time period more accurate, an odometer that integrates an encoder and an IMU (Inertial measurement unit, abbreviated as: IMU, a device that measures the three-axis attitude angle and acceleration of an object) may be used instead of a single encoder odometer. The odometer is a device installed on a robot to measure the distance traveled. It can detect the change in the robot's mileage and estimate the change in the robot's motion, so that the robot's posture at the current moment can be estimated based on the posture at the previous moment combined with the change estimated by the odometer. However, since the odometer has certain errors, the posture estimated by the odometer cannot meet the accuracy requirements. Through the odometer, the posture observation value of the robot at the current moment can be roughly obtained.

[0048] A gyroscope is a device that detects the angular motion of a high-speed rotating body around one or two axes orthogonal to the rotation axis, using the kinetic energy of the housing to sense the relative inertial space. It can be used to detect the offset angle of a robot.

[0049] Radar is a transliteration of the English word "Radar," which comes from the abbreviation of "radio detection and ranging." It means "radio detection and ranging," which means using radio methods to detect targets and determine their spatial positions. Therefore, radar is also called "radio positioning." Radar is an electronic device that uses electromagnetic waves to detect targets. Radar emits a laser signal (or other electromagnetic wave signal) to illuminate the target and receives its echo signal. Then, by calculating the time difference between transmission and reception, it obtains information such as the distance from the target to the electromagnetic wave emission point, the rate of change of distance (radial velocity), azimuth, and altitude.

[0050] In step S201, the current estimated posture of the robot is determined based on the posture change amount within a preset time period and the historical actual posture of the robot.

[0051] In the exemplary embodiments of the present disclosure, reference may be made to Figure 3 , Figure 3 A schematic diagram of a sub-process of a robot positioning method in an exemplary embodiment of the present disclosure is shown, specifically a schematic diagram of a sub-process of determining the current estimated posture of the robot, including steps S301 to S304. Figure 3 Specific implementation methods are explained.

[0052] In step S301, the first pose of the robot in the odometer coordinate system at a historical moment is obtained; and the second pose of the robot in the odometer coordinate system at a current moment is obtained.

[0053] In the exemplary embodiments of the present disclosure, pose represents the robot's position and orientation, namely, two-dimensional coordinates and angles, which can be expressed as [abscissa, ordinate, offset direction]. The historical actual pose can be the robot's actual pose at the previous moment. The current estimated pose is the robot's current approximate, rough pose.

[0054] In an exemplary embodiment of the present disclosure, the first pose (O) of the robot at a historical moment (t-1) in the odometer coordinate system can be obtained by using the odometer installed on the robot. t-1 ); and, obtain the second position (O) of the robot at the current moment (t) in the odometer coordinate system t ). For example, in the odometer coordinate system, the first pose of the robot at the historical moment (t-1 moment) can be expressed as O t-1 =(ox t-1 ,oy t-1 ,or t-1 ) T , the second pose at the current moment (t moment) can be expressed as O t =(ox t ,oy t ,or t ) T , where ox, oy, and or represent the horizontal coordinate, vertical coordinate, and offset direction of the robot in the odometry coordinate system, respectively.

[0055] For example, in the map coordinate system, the robot's actual historical pose can be expressed as where u, v, They represent the horizontal coordinate, vertical coordinate and offset direction of the robot in the map coordinate system respectively.

[0056] In step S302, the difference between the second posture and the first posture is determined as the posture change within a preset time period.

[0057] In an exemplary embodiment of the present disclosure, the difference between the second posture and the first posture is determined as the posture change amount (0 t -O t-1). Referring to the relevant explanations of the above steps, the change in posture within the preset time period can be expressed as:

[0058]

[0059] In step S303, a coordinate conversion algorithm is used to convert the pose change in the odometer coordinate system into pose parameters in the map coordinate system.

[0060] In an exemplary embodiment of the present disclosure, after obtaining the above-mentioned pose change, the pose change ΔO in the odometer coordinate system can be converted using a coordinate conversion algorithm. t Transformed into the pose parameter ΔO' in the map coordinate system t , for example, you can get the coordinate transformation matrix in the map coordinate system Furthermore, the pose change ΔO can be t Multiply the coordinate transformation matrix Z1 on the basis of , so as to convert the pose change in the odometer coordinate system into the pose parameter ΔO' in the map coordinate system t :

[0061]

[0062] In step S304 , the current estimated pose of the robot is determined based on the pose parameters and the historical actual pose of the robot.

[0063] Get the pose parameter ΔO' in the above map coordinate system t Afterwards, based on the above-mentioned posture parameter ΔO' t and the robot's historical actual pose p t-1 , determine the robot's current estimated pose p' t , for example, the robot's current estimated pose p' t It can be expressed as:

[0064]

[0065] In this way, the current rough position of the robot can be obtained, which provides a reference for the subsequent determination of the current target posture of the robot, avoids excessive deviation of subsequent data, and improves data credibility.

[0066] Continue to refer Figure 2 In step S202, the current estimated pose is determined as the center coordinate, the preset distance is determined as the clipping range, and the global map is clipped based on the center coordinate and the clipping range to obtain a local map.

[0067] After obtaining the above current estimated pose p' t Afterwards, the current estimated pose p' can be calculated based on the above t, cropping the pre-built global map to obtain a local map. The global map is constructed by the robot using the SLAM (Simultaneous Localization and Mapping) algorithm. The global map can be divided into three parts: obstacle pixels, free pixels, and unknown pixels. Obstacle pixels indicate that there are obstacles that prevent the robot from reaching the location during map construction, such as walls or tables; free pixels indicate that there are no obstacles at the location during map construction; and unknown pixels indicate that no environmental information at the location was scanned during map construction.

[0068] By clipping the global map to obtain a local map, we can determine a small-scale map (containing less data) with the current estimated posture as the center coordinate, avoiding the impact of a large amount of invalid data contained in the global map (data with a large deviation from the actual posture of the robot) on the data processing process, and improving the efficiency of subsequent data processing.

[0069] In an exemplary embodiment of the present disclosure, the current estimated pose p' t Determine as the center coordinate of the map, set the preset distance (for example: 20 meters) as the clipping range, clip the global map based on the above center coordinate and clipping range, and obtain a local map with the current estimated pose as the center coordinate. For example, the global map can be clipped to obtain a side length of 20 meters and the center coordinate of the current estimated pose p' t The global map can also be cropped to obtain a circle with a radius of 20 meters and a center coordinate of the current estimated pose p' t The specific cropping method and the specific value of the preset distance can be set according to the actual situation and fall within the scope of protection of this disclosure.

[0070] In step S203, the local map is rasterized to obtain a raster map.

[0071] In an exemplary embodiment of the present disclosure, after the above-mentioned local map is obtained by clipping, the above-mentioned local map can be rasterized to obtain the current estimated posture p' t A grid map with center coordinates.

[0072] The specific process of rasterization processing may be: determining the grid accuracy according to the accuracy requirement; and dividing the above-mentioned local map into a grid map containing multiple map grids using the grid corresponding to the determined grid accuracy; wherein the accuracy of the grid is not lower than the accuracy indicated by the accuracy requirement, that is, the area of ​​the grid is less than or equal to the square value of the accuracy requirement; for example, when the accuracy requirement is 0.5 meters, the accuracy of the grid should be less than or equal to 0.5 meters, that is, the area of ​​the grid is less than or equal to 0.25 square meters.

[0073] For example, based on the coordinate system of the above-mentioned global map, the local map can be processed into a grid map containing multiple map grids using a grid whose side length meets the accuracy requirements (the grid side length corresponds to the grid accuracy, for example, when the grid accuracy is 1 meter and the grid is square, the corresponding grid side length is less than or equal to 1 meter).

[0074] After the local map is divided into map grids, the coverage of each map grid can be determined based on the accuracy of the map grid (i.e., the side length). It should be noted that the map grid can also be other shapes, such as triangles, rectangles, etc., which can be set according to actual conditions and fall within the scope of protection of this disclosure.

[0075] Continue to refer Figure 1 In step S110, the laser point cloud of the surrounding environment scanned by the robot is projected into the grid unit corresponding to the grid map.

[0076] In an exemplary embodiment of the present disclosure, referring to the explanations of the above steps, the radar installed on the robot can perform an omnidirectional scan every preset time interval to obtain a laser point cloud. For example, the laser point cloud scanned by the robot at the current moment can be determined as the laser point cloud Xs scanned by the robot at the current moment. Then, the laser point cloud Xs is mapped to a grid map with the current estimated pose as the center coordinate to obtain the position coordinate X' of each laser point mapped on the local grid map. si .

[0077] Specifically, first, the coordinate data of each laser point in the robot coordinate system can be obtained. Laser point cloud X s It is the scanning data of the surrounding environment obtained from the robot's radar, a frame of laser point cloud X s It consists of m laser points, X s ={X s1 ,X s2 ,X s3 ...X si}(i represents the serial number of the laser point in a frame of laser point cloud, i=1, 2, 3...m). The laser point has no direction, so the coordinates of each laser point in the robot coordinate system only include the horizontal coordinate u and the vertical coordinate v, that is, X si=(u,v) T .X si Is a frame of laser point cloud X s One of the laser dots in the.

[0078] Secondly, the coordinate transformation algorithm can be used to transform the coordinate data of each laser point in the robot coordinate system into the position coordinates in the map coordinate system. Specifically, the coordinate transformation matrix can be used to transform the coordinate data of each laser point in the robot coordinate system into the position coordinates in the map coordinate system. And the above current estimated pose p' t , for each laser point X contained in the laser point cloud si The coordinates are converted to obtain the corresponding position coordinates X' of each laser point in the grid map si ,Right now:

[0079]

[0080] Furthermore, the laser point can be projected into the corresponding grid unit of the grid map according to the above position coordinates.

[0081] In step S120 , the target obstacle point cloud in the laser point cloud is determined according to the number of obstacle pixel points contained in the grid unit.

[0082] In an exemplary embodiment of the present disclosure, after projecting the laser point cloud of the surrounding environment scanned by the robot into the grid cells corresponding to the grid map, the position coordinates corresponding to each laser point in the laser point cloud can be obtained. Furthermore, the target obstacle point cloud in the laser point cloud can be determined based on the number of obstacle pixel points in the grid cells where each position coordinate is located.

[0083] The target obstacle point cloud is the point cloud data corresponding to the target obstacle. The target obstacle may be a dynamic obstacle that does not exist when the map is built but appears after the map is built and during robot operation, such as waiters and food carts moving around in a restaurant environment.

[0084] Specifically, when the number of obstacle pixels within the grid cell where the aforementioned location coordinates are located is less than a first threshold (the number of obstacle pixels pre-acquired when building the map, which can be set based on actual conditions), the laser point cloud within the grid cell can be determined to be a target obstacle point cloud, i.e., the obstacle corresponding to the laser point cloud within the grid cell is the target obstacle. This allows for accurate and comprehensive identification of newly added target obstacles in the environment, facilitating subsequent removal of the target obstacles and ensuring consistency between the environmental information scanned by the radar and the map information.

[0085] When the number of obstacle pixels in a grid cell is greater than or equal to the first threshold, you can refer to Figure 4 , Figure 4A schematic diagram of a sub-process of a robot positioning method in an exemplary embodiment of the present disclosure is shown, including steps S401-S403. Figure 4 Step S120 is explained.

[0086] In step S401, when the number of obstacle pixels contained in a grid unit is greater than or equal to a first quantity threshold, normal distribution parameters of the obstacle pixels are obtained.

[0087] In an exemplary embodiment of the present disclosure, when the number of obstacle pixels within the grid cell where the location coordinates are located is greater than or equal to the first quantity threshold, the coordinates of the obstacle pixels can be considered as random variables, and the normal distribution parameters of the random variables can be obtained. The normal distribution parameters can include the mean and covariance.

[0088] Specifically, the mean is a quantity that represents the trend of a set of data. It refers to the sum of all the data in a set of data divided by the number of data in this set. It is an indicator that reflects the trend of the data set. In probability theory and statistics, covariance is used to measure the overall error of two variables. Covariance Where i = 1, 2, ..., n, n represents the number of obstacle pixels in the grid unit, x i Represents the coordinates of each obstacle pixel in the grid unit.

[0089] In step S402, the probability density distribution value of the laser point cloud contained in the grid unit is determined according to the number of obstacle pixels and normal distribution parameters.

[0090] In an exemplary embodiment of the present disclosure, after obtaining the normal distribution parameters, the probability density distribution value of the laser point cloud contained in the grid unit can be determined according to the number of obstacle pixels and the normal distribution parameters.

[0091] Specifically, the laser point cloud contains multiple laser points, and the probability density distribution value p(X') of each laser point can be calculated based on the following formula 5: si ):

[0092]

[0093] Among them, p(X' si ) is the probability density distribution value of each laser point in the laser point cloud, X' si For each laser point in the laser point cloud, q represents the mean, C -1 represents the inverse of the covariance matrix.

[0094] In step S403 , if the probability density distribution value is less than the second quantity threshold, the laser point cloud within the grid cell is determined to be a target obstacle point cloud.

[0095] In an exemplary embodiment of the present disclosure, after calculating the aforementioned probability density distribution value, if the aforementioned probability density distribution value is less than a second threshold value (a pre-set probability density distribution value that can be modified based on actual conditions), the laser point cloud within the grid cell can be determined to be a target obstacle point cloud, i.e., the obstacle corresponding to the laser point cloud within the grid cell is the aforementioned target obstacle. This allows for accurate and comprehensive identification of newly added target obstacles in the environment, facilitating subsequent removal of the target obstacles and ensuring consistency between the environmental information scanned by the LiDAR and the map information.

[0096] In step S130 , the target obstacle point cloud is removed.

[0097] In an exemplary embodiment of the present disclosure, when it is determined that the obstacle corresponding to the above-mentioned laser point cloud is the target obstacle, the above-mentioned laser point cloud can be eliminated, thereby avoiding the interference of dynamic obstacles in complex scenes (for example, restaurant scenes) on the positioning algorithm, ensuring the consistency between the actual operating environment and the map data stored by the robot, effectively improving the positioning accuracy of the robot, and reducing the loss of posture.

[0098] In step S140, the particle weight value is determined according to the matching degree between the laser point cloud after the elimination process and the map data; wherein the particles are used to represent the posture of the robot.

[0099] In an exemplary embodiment of the present disclosure, after the above-mentioned laser point cloud is subjected to culling processing, the laser point cloud after culling processing can be matched with the map data of the above-mentioned global map to determine the particle weight value. The laser point cloud represents the surrounding environment information scanned by the robot (for example, object information or obstacle information), and the map data of the global map represents the pre-stored operating environment information of the robot (for example, object information or obstacle information). Exemplarily, the position coordinates corresponding to the remaining laser points after the above-mentioned culling processing in the global map can be matched with the position coordinates of the objects contained in the map data of the global map to obtain the particle weight value of each particle.

[0100] It should be noted that the present disclosure uses the AMCL algorithm (Adaptive Monte Carlo Localization, AMCL) to localize the robot. The AMCL algorithm represents pose uncertainty using probability, representing the robot's pose as a probability distribution over all possible poses. It employs a particle filter to track the robot's pose within a known map.

[0101] For example, when there are three particles (particle a, particle b, particle c), then the corresponding current possible poses of the three robots (pose s a , pose s b , pose s c ). The above-mentioned current possible posture can be determined by the possible historical posture of each particle and the above-mentioned posture transformation amount. For details, please refer to Figure 5 , Figure 5 A schematic diagram of a sub-process of a robot positioning method in an exemplary embodiment of the present disclosure is shown, specifically a schematic diagram of a process of obtaining the current possible posture of the robot, including steps S501-S502, and the following is combined with Figure 5 Specific implementation methods are explained.

[0102] In step S501, the possible historical pose corresponding to each particle in the particle swarm is obtained.

[0103] In an exemplary embodiment of the present disclosure, the possible historical poses corresponding to each particle in the particle swarm can be obtained. Wherein, the particle swarm represents the probability distribution of the poses. For example, the possible historical poses of particle a can be l a , the possible historical position of particle b can be l b , the possible historical poses of particle c can be l c .

[0104] In step S502, the possible historical postures are updated according to the posture parameters to obtain the current possible posture corresponding to each particle in the particle swarm; wherein the particle swarm represents the probability distribution of the posture.

[0105] In an exemplary embodiment of the present disclosure, after obtaining the possible historical poses corresponding to each particle, the possible historical poses corresponding to each particle can be updated according to the above pose parameters to obtain the current possible poses corresponding to each particle in the particle swarm. For example, the above pose parameter ΔO' can be added to the above possible historical poses. t , and obtain the current possible position of each particle in the particle swarm. For example, the current possible position of the particle a can be obtained as l a +ΔO' t =s a , the current possible position of the particle b is l b +ΔO' t =s b , the current possible position of the particle c is l c +ΔO' t =s c .

[0106] Then, the robot can be positioned in the current possible position s aThe matching degree between the laser point cloud scanned at and the map data is determined as the weight value w of particle a a ; The robot is in the current possible position s b The matching degree between the laser point cloud scanned at and the map data is determined as the weight value w of particle b b ; The robot is in the current possible position s c The matching degree between the laser point cloud scanned at and the map data is determined as the weight value w of particle c c .

[0107] In step S150, based on the particle weight value, a weighted calculation is performed on the current possible postures corresponding to the particles to obtain the current target posture of the robot.

[0108] In an exemplary embodiment of the present disclosure, after determining the particle weight value (w a 、w b 、w c ) can be used to calculate the current possible position (s) of the particle. a 、s b 、s c ) is weighted and calculated to obtain the current target posture of the robot. For example, the current target posture can be expressed as Therefore, the current estimated pose with errors recorded in the odometer can be corrected, the positioning accuracy of the robot can be improved, and the operating efficiency of the robot can be ensured.

[0109] In an exemplary embodiment of the present disclosure, Figure 6 The overall flow chart of the robot positioning method in an exemplary embodiment of the present disclosure is shown, including steps S601 to S612. Figure 6 Specific implementation methods are explained.

[0110] In step S601, the current estimated posture of the robot is obtained;

[0111] In step S602, the global map is clipped according to the current estimated pose to obtain a local map;

[0112] In step S603, the obtained local map is rasterized;

[0113] In step S604, the laser point cloud is converted into a grid map to obtain the position coordinates of each laser point;

[0114] In step S605, it is determined whether the number of obstacle pixels in the grid unit where the position coordinates of the laser point are located is greater than or equal to a first number threshold (N);

[0115] If not (less than the first quantity threshold), the laser point cloud in the grid cell is determined to be a target obstacle point cloud, and the process jumps to step S606 to filter out the target obstacle point cloud in the laser point cloud;

[0116] If so, the process jumps to step S607, where the probability density distribution value of each laser point after conversion is calculated based on the number of obstacle pixels in the grid cell where the position coordinates are located and the normal distribution parameters of the obstacle pixels in the grid cell.

[0117] In step S608, it is determined whether the probability density distribution value is less than a second quantity threshold;

[0118] If so (less than the second quantity threshold), the laser point cloud in the grid cell is determined to be a target obstacle point cloud, and the process jumps to step S606 to filter out the target obstacle point cloud in the laser point cloud;

[0119] If not (greater than or equal to the second quantity threshold), jump to step S609 to determine whether the data has been processed;

[0120] If not (not processed), jump to step S605;

[0121] If (processing completed), jump to step S610 and output the laser point cloud after the elimination process;

[0122] In step S611, the particle weight value is determined according to the matching degree between the laser point cloud after the elimination process and the map data;

[0123] In step S612, based on the particle weight value, a weighted calculation is performed on the current possible postures corresponding to the particles to obtain the current target posture of the robot.

[0124] Therefore, the present disclosure can avoid the interference of dynamic obstacles on the positioning algorithm in complex scenes (for example, restaurant scenes), ensure the consistency of the actual operating environment and the map data stored by the robot, effectively improve the positioning accuracy and positioning speed of the robot, and reduce the loss of posture.

[0125] The present disclosure also provides a robot positioning device, Figure 7 FIG. 1 shows a schematic structural diagram of a robot positioning device in an exemplary embodiment of the present disclosure; FIG. Figure 7 As shown, the robot positioning device 700 may include a data mapping module 701, a data screening module 702, a data elimination module 703, a data matching module 704 and a posture correction module 705.

[0126] The data mapping module 701 is used to project the laser point cloud of the surrounding environment scanned by the robot into the corresponding grid cells of the grid map.

[0127] In an exemplary embodiment of the present disclosure, a laser point cloud includes multiple laser points; a data mapping module is used to obtain coordinate data of each laser point in a robot coordinate system; a coordinate conversion algorithm is used to convert the coordinate data into position coordinates in a map coordinate system; and based on the position coordinates, the laser point cloud is projected into a grid cell corresponding to a grid map.

[0128] The data screening module 702 is used to determine the target obstacle point cloud in the laser point cloud according to the number of obstacle pixel points contained in the grid unit.

[0129] In an exemplary embodiment of the present disclosure, the data screening module is configured to determine that the laser point cloud within a grid cell is a target obstacle point cloud when the number of obstacle pixel points contained in the grid cell is less than a first quantity threshold.

[0130] In an exemplary embodiment of the present disclosure, the data screening module is used to obtain the normal distribution parameters of the obstacle pixels when the number of obstacle pixels contained in the grid cell is greater than or equal to a first quantity threshold; determine the probability density distribution value of the laser point cloud contained in the grid cell based on the number of obstacle pixels and the normal distribution parameters; if the probability density distribution value is less than a second quantity threshold, determine that the laser point cloud in the grid cell is a target obstacle point cloud.

[0131] In an exemplary embodiment of the present disclosure, a data screening module is used to determine the current estimated posture of the robot based on the posture change amount within a preset time period and the historical actual posture of the robot; determine the current estimated posture as the center coordinate, and determine the preset distance as the clipping range; clip the global map based on the center coordinate and the clipping range to obtain a local map; and rasterize the local map to obtain a grid map.

[0132] In an exemplary embodiment of the present disclosure, a data screening module is used to obtain the first posture of the robot in the odometer coordinate system at a historical moment; and to obtain the second posture of the robot in the odometer coordinate system at a current moment; determine the difference between the second posture and the first posture as the posture change within a preset time period; use a coordinate conversion algorithm to convert the posture change into posture parameters in the map coordinate system; and determine the current estimated posture of the robot based on the posture parameters and the robot's historical actual posture.

[0133] The data elimination module 703 is used to eliminate the target obstacle point cloud.

[0134] In an exemplary embodiment of the present disclosure, the data elimination module is used to perform elimination processing on the target obstacle point cloud.

[0135] The data matching module 704 is used to determine the particle weight value according to the matching degree between the laser point cloud after the elimination process and the map data.

[0136] In an exemplary embodiment of the present disclosure, the data matching module is used to determine the particle weight value according to the matching degree between the laser point cloud after the elimination process and the map data; wherein the particles are used to represent the posture of the robot.

[0137] The posture correction module 705 is used to perform weighted calculation on the current possible postures corresponding to the particles based on the particle weight values ​​to obtain the current target posture of the robot.

[0138] In an exemplary embodiment of the present disclosure, a posture correction module is used to obtain the possible historical posture corresponding to each particle in the particle swarm; wherein the particle swarm represents the probability distribution of the posture; the possible historical posture is updated according to the posture parameters to obtain the current possible posture corresponding to each particle in the particle swarm.

[0139] The specific details of each module in the above-mentioned robot positioning device have been described in detail in the corresponding robot positioning method, so they will not be repeated here.

[0140] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0141] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0142] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0143] In exemplary embodiments of the present disclosure, a computer storage medium capable of implementing the aforementioned method is also provided. A program product capable of implementing the aforementioned method is stored on the computer storage medium. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product comprising program code. When the program product is executed on a terminal device, the program code is configured to cause the terminal device to execute the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present disclosure.

[0144] refer to Figure 8 As shown, a program product 800 for implementing the above method according to an embodiment of the present disclosure is described. The program product 800 may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0145] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0146] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0147] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0148] The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0149] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0150] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."

[0151] Refer to the following Figure 9 1 and 2 to describe the electronic device 900 according to this embodiment of the present disclosure. Figure 9 The electronic device 900 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0152] like Figure 9 As shown, electronic device 900 is implemented as a general-purpose computing device. Components of electronic device 900 may include, but are not limited to, the aforementioned at least one processing unit 910, the aforementioned at least one storage unit 920, a bus 930 connecting various system components (including storage unit 920 and processing unit 910), and a display unit 940.

[0153] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps described in the "Exemplary Method" section of the present disclosure according to various exemplary embodiments. For example, the processing unit 910 can perform the following steps: Figure 1As shown in: Step S110, projecting the laser point cloud of the surrounding environment scanned by the robot into the grid cell corresponding to the grid map; Step S120, determining the target obstacle point cloud in the laser point cloud according to the number of obstacle pixels contained in the grid cell; Step S130, removing the target obstacle point cloud; Step S140, determining the particle weight value according to the matching degree between the laser point cloud after the removal process and the map data; wherein the particle is used to represent the robot's posture; Step S150, performing weighted calculation on the current possible posture corresponding to the particle based on the particle weight value to obtain the current target posture of the robot.

[0154] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 9201 and / or a cache memory unit 9202 , and may further include a read-only memory unit (ROM) 9203 .

[0155] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0156] Bus 930 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0157] The electronic device 900 can also communicate with one or more external devices 1000 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 900, and / or any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 950. Furthermore, the electronic device 900 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 900, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0158] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0159] Furthermore, the figures above are merely illustrative of the processes included in the methods according to exemplary embodiments of the present disclosure and are not intended to be limiting. It is readily understood that the processes illustrated in the figures above do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0160] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow from the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.

Claims

1. A robot positioning method, characterized in that: include: Project the laser point cloud of the surrounding environment scanned by the robot into the grid cells corresponding to the grid map; Determining a target obstacle point cloud in the laser point cloud according to the number of obstacle pixel points contained in the grid unit; Determining a target obstacle point cloud in the laser point cloud according to the number of obstacle pixel points contained in the grid unit includes: When the number of obstacle pixels contained in the grid unit is less than a first quantity threshold, determining the laser point cloud in the grid unit as the target obstacle point cloud; When the number of obstacle pixels contained in the grid unit is greater than or equal to the first quantity threshold, obtaining normal distribution parameters of the obstacle pixels; Determining a probability density distribution value of the laser point cloud contained in the grid unit according to the number of obstacle pixels and the normal distribution parameter; If the probability density distribution value is less than a second quantity threshold, determining that the laser point cloud in the grid unit is the target obstacle point cloud; Eliminating the target obstacle point cloud; Determine the particle weight value according to the matching degree between the laser point cloud after the elimination process and the map data; wherein the particle is used to represent the position and posture of the robot; Based on the particle weight value, a weighted calculation is performed on the current possible posture corresponding to the particle to obtain the current target posture of the robot.

2. The method according to claim 1, characterized in that The method further comprises: Determining the current estimated posture of the robot according to the posture change amount within a preset time period and the historical actual posture of the robot; Determine the current estimated pose as the center coordinate, and determine the preset distance as the clipping range; Clipping the global map based on the center coordinates and the clipping range to obtain a local map; The local map is rasterized to obtain the raster map.

3. The method according to claim 2, characterized in that The method further comprises: Obtaining a first posture of the robot in the odometer coordinate system at a historical moment; and obtaining a second posture of the robot in the odometer coordinate system at a current moment; Determine the difference between the second posture and the first posture as the posture change amount within the preset time period; The position and posture change is converted into position and posture parameters in a map coordinate system by using a coordinate conversion algorithm; Based on the posture parameters and the historical actual postures of the robot, a current estimated posture of the robot is determined.

4. The method according to claim 3, characterized in that The method further comprises: Obtaining possible historical positions and postures corresponding to each particle in a particle swarm; wherein the particle swarm represents a probability distribution of the position and posture; The possible historical posture is updated according to the posture parameter to obtain the current possible posture corresponding to each particle in the particle swarm.

5. The method according to claim 3, characterized in that: The laser point cloud includes a plurality of laser points; The step of projecting the laser point cloud of the surrounding environment scanned by the robot into a grid cell corresponding to the grid map includes: Get the coordinate data of each laser point in the robot coordinate system; Using the coordinate conversion algorithm to convert the coordinate data into position coordinates in the map coordinate system; According to the position coordinates, the laser point cloud is projected into a grid cell corresponding to the grid map.

6. A robot positioning device, characterized in that: include: A data mapping module is used to project the laser point cloud of the surrounding environment scanned by the robot into the grid cells corresponding to the grid map; A data screening module, used to determine a target obstacle point cloud in the laser point cloud according to the number of obstacle pixel points contained in the grid unit; The data screening module is further used to determine that the laser point cloud in the grid cell is the target obstacle point cloud when the number of obstacle pixel points contained in the grid cell is less than a first quantity threshold; When the number of obstacle pixels contained in the grid unit is greater than or equal to the first quantity threshold, obtaining normal distribution parameters of the obstacle pixels; Determining a probability density distribution value of the laser point cloud contained in the grid unit according to the number of obstacle pixels and the normal distribution parameter; If the probability density distribution value is less than a second quantity threshold, determining that the laser point cloud in the grid unit is the target obstacle point cloud; A data removal module, used to remove the target obstacle point cloud; A data matching module, used to determine the particle weight value according to the matching degree between the laser point cloud after the elimination process and the map data; wherein the particle is used to represent the position and posture of the robot; The posture correction module is used to perform weighted calculation on the current possible posture corresponding to the particle based on the particle weight value to obtain the current target posture of the robot.

7. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the robot positioning method according to any one of claims 1 to 5 is implemented.

8. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the robot positioning method according to any one of claims 1 to 5 by executing the executable instructions.

Citation Information

Patent Citations

  • Service mobile robot navigation method in dynamic environment

    CN103558856A

  • Global self-positioning method and device for mobile robot

    CN109144056A

  • Robot positioning method and device, robot and computer storage medium

    CN109579849A

  • Robot positioning method and device

    CN110530368A

  • Robot positioning method and device and storage medium

    CN110823171A