# US 2023/0266764 A1 · Path generation method for robot, robot and computer-readable storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0266764 A1
- Document ID: US20230266764A1
- Status: Published application
- Kind: A1
- Application number: 18/113,624
- Filed: 2023-02-24
- Published: 2023-08-24
- Earliest claimed: 2022-02-24
- Assignees: Ubtech Robotics Corp Ltd
- Applicants: Ubtech Robotics Corp Ltd
- Inventors: ZHIHAO ZHANG; Yizhang Liu; Huan Tan; Youjun Xiong
- Web page: https://patentgrep.com/patent/US20230266764A1

## CPC

- G05D 1/0214: {in accordance with safety or protection criteria, e.g. avoiding hazardous areas (monitoring the location of vehicles within a certain area, e.g. forbidden or allowed areas, in traffic control systems for road vehicles G08G1/13)}
- G05D 1/0246: {using a video camera in combination with image processing means}
- G05D 1/243: Means capturing signals occurring naturally from the environment, e.g. ambient optical, acoustic, gravitational or magnetic signals (using passive navigation aids external to the vehicle G05D1/244; using signals from positioning sensors located off-board the vehicle G05D1/249)
- G05D 1/622: Obstacle avoidance (predicting or avoiding probable or impending collision of road vehicles B60W30/08)
- G06T 7/75: {involving models}
- G06T 2200/04: involving 3D image data
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A path generation method for a robot includes: based on a scene model of a current scene and a machine model corresponding to the robot, combined with multiple configurations of the robot, determining a plurality of initial points between a start point and an end point in the scene model; removing redundant points from the plurality of the initial points to obtain necessary points among the initial points; and connecting the necessary points to obtain a path between the start point and the end point.

## Claims

### Claim 1

A computer-implemented path generation method for a robot, the method comprising:
based on a scene model of a current scene and a machine model corresponding to the robot, combined with multiple configurations of the robot, determining a plurality of initial points between a start point and an end point in the scene model;
removing redundant points from the plurality of the initial points to obtain necessary points among the initial points; and
connecting the necessary points to obtain a path between the start point and the end point.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the plurality of the initial points between the start point and the end point in the scene model comprises:
generating a random point according to a configuration space of the robot, the random point corresponding to a random configuration that is randomly selected from the configuration space;
performing collision detection and stability detection on a pose corresponding to the random point according to the scene model and the machine model;
in response to the pose corresponding to the random point not passing the collision detection, and/or, the stability detection, continuing to generate a new random point until a pose corresponding to the generated new random point passes the collision detection and the stability detection; and
in response to the pose corresponding to the random point passing the collision detection and the stability detection, determining the random point as a first of the initial points, and continuing to generate random points based on the first of the initial points, to obtain the plurality of the initial points between the start point and the end point.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the random point according to the configuration space of the robot comprises:
selecting randomly the random configuration from the configuration space of the robot;
determining a new configuration based on a determined previous initial point in combination with a preset step length, the new configuration being the same as or similar to the random configuration; and
determining a point corresponding to the new configuration as the random point.

### Claim 4 (depends on 2)

The method of claim 2, wherein determining the plurality of the initial points between the start point and the end point in the scene model comprises:
based on the scene model of the current scene and the machine model corresponding to the robot, combined with multiple configurations of the robot, determining the multiple initial points between the start point and the end point in the scene model using bidirectional search.

### Claim 5 (depends on 1)

The method of claim 1, wherein removing the redundant points from the plurality of the initial points to obtain necessary points among the initial points comprises:
generating a direction vector that points from an i-th initial point to an i+1-th initial point;
controlling a collision model corresponding to the i-th initial point, and performing collision detection along the direction vector in the scene model;
in response to the collision model corresponding to the i-th initial point colliding with an obstacle in the scene model, determining the i+1-th initial point as one of the necessary points, and determining an i+2-th initial point as another one of the necessary points or one of the redundant points based on the i+1-th initial point; and
in response to the collision model corresponding to the i-th initial point not colliding with any obstacles in the scene model, determining the i+1-th initial point as one of the redundant points, removing the i+1-th initial point, and determining an i+2-th initial point as one of the necessary points or one of the redundant points until the necessary points are determined.

### Claim 6 (depends on 1)

The method of claim 1, wherein connecting the necessary points to obtain the path between the start point and the end point comprises:
connecting the necessary points by using cubic spline interpolation or B-spline interpolation to obtain the path between the start point and the end point.

### Claim 7 (depends on 1)

The method of claim 1, further comprising, before determining a plurality of initial points between a start point and an end point in the scene model,
obtain one or more scene images of the current scene;
performing voxelization on the current scene according to the one or more scene images, and establishing the scene model;
establishing the machine model corresponding to the robot according to a model body corresponding to each part of the robot.

### Claim 8

A robot comprising:
one or more processors; and
a memory coupled to the one or more processors, the memory storing programs that, when executed by the one or more processors, cause performance of operations comprising:
based on a scene model of a current scene and a machine model corresponding to the robot, combined with multiple configurations of the robot, determining a plurality of initial points between a start point and an end point in the scene model;
removing redundant points from the plurality of the initial points to obtain necessary points among the initial points; and
connecting the necessary points to obtain a path between the start point and the end point.

### Claim 9 (depends on 8)

The robot of claim 8, wherein determining the plurality of the initial points between the start point and the end point in the scene model comprises:
generating a random point according to a configuration space of the robot, the random point corresponding to a random configuration that is randomly selected from the configuration space;
performing collision detection and stability detection on a pose corresponding to the random point according to the scene model and the machine model;
in response to the pose corresponding to the random point not passing the collision detection, and/or, the stability detection, continuing to generate a new random point until a pose corresponding to the generated new random point passes the collision detection and the stability detection; and
in response to the pose corresponding to the random point passing the collision detection and the stability detection, determining the random point as a first of the initial points, and continuing to generate random points based on the first of the initial points, to obtain the plurality of the initial points between the start point and the end point.

### Claim 10 (depends on 9)

The robot of claim 9, wherein generating the random point according to the configuration space of the robot comprises:
selecting randomly the random configuration from the configuration space of the robot;
determining a new configuration based on a determined previous initial point in combination with a preset step length, the new configuration being the same as or similar to the random configuration; and
determining a point corresponding to the new configuration as the random point.

### Claim 11 (depends on 9)

The robot of claim 9, wherein determining the plurality of the initial points between the start point and the end point in the scene model comprises:
based on the scene model of the current scene and the machine model corresponding to the robot, combined with multiple configurations of the robot, determining the multiple initial points between the start point and the end point in the scene model using bidirectional search.

### Claim 12 (depends on 8)

The robot of claim 8, wherein removing the redundant points from the plurality of the initial points to obtain necessary points among the initial points comprises:
generating a direction vector that points from an i-th initial point to an i+1-th initial point;
controlling a collision model corresponding to the i-th initial point, and performing collision detection along the direction vector in the scene model;
in response to the collision model corresponding to the i-th initial point colliding with an obstacle in the scene model, determining the i+1-th initial point as one of the necessary points, and determining an i+2-th initial point as another one of the necessary points or one of the redundant points based on the i+1-th initial point; and
in response to the collision model corresponding to the i-th initial point not colliding with any obstacles in the scene model, determining the i+1-th initial point as one of the redundant points, removing the i+1-th initial point, and determining an i+2-th initial point as one of the necessary points or one of the redundant points until the necessary points are determined.

### Claim 13 (depends on 8)

The robot of claim 8, wherein connecting the necessary points to obtain the path between the start point and the end point comprises:
connecting the necessary points by using cubic spline interpolation or B-spline interpolation to obtain the path between the start point and the end point.

### Claim 14 (depends on 8)

The robot of claim 8, wherein the method further comprises, before determining a plurality of initial points between a start point and an end point in the scene model,
obtain one or more scene images of the current scene;
performing voxelization on the current scene according to the one or more scene images, and establishing the scene model;
establishing the machine model corresponding to the robot according to a model body corresponding to each part of the robot.

### Claim 15

A non-transitory computer-readable storage medium storing instructions that, when executed by at least one processor of a robot, cause the at least one processor to perform a method, the method comprising:
based on a scene model of a current scene and a machine model corresponding to the robot, combined with multiple configurations of the robot, determining a plurality of initial points between a start point and an end point in the scene model;
removing redundant points from the plurality of the initial points to obtain necessary points among the initial points; and
connecting the necessary points to obtain a path between the start point and the end point.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein determining the plurality of the initial points between the start point and the end point in the scene model comprises:
generating a random point according to a configuration space of the robot, the random point corresponding to a random configuration that is randomly selected from the configuration space;
performing collision detection and stability detection on a pose corresponding to the random point according to the scene model and the machine model;
in response to the pose corresponding to the random point not passing the collision detection, and/or, the stability detection, continuing to generate a new random point until a pose corresponding to the generated new random point passes the collision detection and the stability detection; and
in response to the pose corresponding to the random point passing the collision detection and the stability detection, determining the random point as a first of the initial points, and continuing to generate random points based on the first of the initial points, to obtain the plurality of the initial points between the start point and the end point.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein generating the random point according to the configuration space of the robot comprises:
selecting randomly the random configuration from the configuration space of the robot;
determining a new configuration based on a determined previous initial point in combination with a preset step length, the new configuration being the same as or similar to the random configuration; and
determining a point corresponding to the new configuration as the random point.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein determining the plurality of the initial points between the start point and the end point in the scene model comprises:
based on the scene model of the current scene and the machine model corresponding to the robot, combined with multiple configurations of the robot, determining the multiple initial points between the start point and the end point in the scene model using bidirectional search.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein removing the redundant points from the plurality of the initial points to obtain necessary points among the initial points comprises:
generating a direction vector that points from an i-th initial point to an i+1-th initial point;
controlling a collision model corresponding to the i-th initial point, and performing collision detection along the direction vector in the scene model;
in response to the collision model corresponding to the i-th initial point colliding with an obstacle in the scene model, determining the i+1-th initial point as one of the necessary points, and determining an i+2-th initial point as another one of the necessary points or one of the redundant points based on the i+1-th initial point; and
in response to the collision model corresponding to the i-th initial point not colliding with any obstacles in the scene model, determining the i+1-th initial point as one of the redundant points, removing the i+1-th initial point, and determining an i+2-th initial point as one of the necessary points or one of the redundant points until the necessary points are determined.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein connecting the necessary points to obtain the path between the start point and the end point comprises:
connecting the necessary points by using cubic spline interpolation or B-spline interpolation to obtain the path between the start point and the end point.
