WO2022126352A1 - Robot obstacle avoidance method and apparatus, robot, and storage medium - Google Patents

Robot obstacle avoidance method and apparatus, robot, and storage medium Download PDF

Info

Publication number
WO2022126352A1
WO2022126352A1 PCT/CN2020/136354 CN2020136354W WO2022126352A1 WO 2022126352 A1 WO2022126352 A1 WO 2022126352A1 CN 2020136354 W CN2020136354 W CN 2020136354W WO 2022126352 A1 WO2022126352 A1 WO 2022126352A1
Authority
WO
WIPO (PCT)
Prior art keywords
obstacle
movement trajectory
concave
convex
intersection
Prior art date
Application number
PCT/CN2020/136354
Other languages
French (fr)
Chinese (zh)
Inventor
郑大可
刘益彰
庞建新
谭欢
熊友军
Original Assignee
深圳市优必选科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市优必选科技股份有限公司 filed Critical 深圳市优必选科技股份有限公司
Priority to PCT/CN2020/136354 priority Critical patent/WO2022126352A1/en
Publication of WO2022126352A1 publication Critical patent/WO2022126352A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions

Definitions

  • the invention relates to the technical field of robots, and in particular, to a method and device for avoiding obstacles of a robot, a robot and a storage medium.
  • robots such as robotic arms, unmanned aerial vehicles, mobile robots, underwater robots, etc. all need to perform desired tasks in more and more complex environments.
  • UAVs In the workshop environment, to carry objects or work together with humans, UAVs need to shuttle in complex geographical environments to complete corresponding reconnaissance tasks and so on.
  • the robot in order to ensure the safety of people, other robots and the robot itself, and to be able to complete the corresponding work tasks, the robot needs to avoid concave obstacles in the working environment in real time, such as shelves, trees, workers, tables, other robots, etc.
  • concave obstacles in the working environment such as shelves, trees, workers, tables, other robots, etc.
  • the main purpose of the present invention is to provide a robot obstacle avoidance method and device, a robot and a storage medium, which can effectively realize the obstacle avoidance of concave obstacles.
  • a first aspect of the present invention provides a method for avoiding obstacles for a robot, the method comprising:
  • the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other.
  • the intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
  • the initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  • a second aspect of the present invention provides a robot obstacle avoidance device, the device includes: a processor and a memory, a computer program is stored in the memory, and when the processor executes the computer program, the processor is caused to perform the following steps:
  • the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other.
  • the intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
  • the initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  • a third aspect of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, causes the processor to perform the following steps:
  • the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other.
  • the intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
  • the initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  • a fourth aspect of the present invention provides a robotic arm, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps :
  • the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other.
  • the intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
  • the initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  • the present invention provides an obstacle avoidance method for a robot.
  • the method includes: if the robot detects a concave obstacle in the process of traveling along an initial moving track, dividing the concave obstacle into two groups according to the shape of the concave obstacle.
  • the intersecting convex obstacles determine the intersection position of the two convex obstacles at the intersection point of the pair on the intersection line of the surface of the concave obstacle, and predict that when the initial movement trajectory reaches the concave obstacle, the initial movement trajectory
  • the intersection point with the surface of the concave obstacle; the initial movement trajectory is corrected for obstacle avoidance according to the above intersection point and intersection line to obtain the target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  • the obstacle avoidance problem of the concave obstacle can be transformed into two intersecting convex obstacles It simplifies the difficulty of avoiding obstacles of concave obstacles, and the initial movement trajectory can be carried out based on the predicted intersection points and the intersection positions of the two intersecting convex obstacles on the intersecting line of the surface of the concave obstacles.
  • the obstacle avoidance correction makes it possible to effectively realize the obstacle avoidance of concave obstacles.
  • FIG. 1 is a schematic flowchart of a robot obstacle avoidance method in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a concave obstacle in an embodiment of the present invention.
  • FIG. 3 is another schematic flowchart of a method for obstacle avoidance of a robot in an embodiment of the present invention
  • Fig. 4 is another schematic diagram of the concave obstacle in the embodiment shown in Fig. 2;
  • FIG. 5 is a structural block diagram of a robot in an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a robot obstacle avoidance method according to an embodiment of the present invention.
  • the method includes:
  • Step 101 If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two intersecting convex obstacles according to the shape of the concave obstacle, and determines the two intersecting convex obstacles.
  • the intersection of two convex obstacles is the intersection line of the surface of the concave obstacle;
  • the robot after the robot receives the task instruction, it will determine the initial movement trajectory required to complete the task based on the task instruction. For example, after the drone receives the instruction to fly to the target location, it will The location of the location and the geographic location data of the environment determine the flight path, which is the initial movement trajectory.
  • the robot will travel along the initial moving trajectory, and will detect obstacles in real time during the process of traveling, and perform obstacle avoidance processing in real time.
  • the obstacle if an obstacle is detected, it will be further determined whether the obstacle is a convex obstacle or a concave obstacle, wherein the concave obstacle is the tangent of the outer edge of the shape of the object, and the object can be divided according to its shape
  • convex obstacles do not have the above-mentioned tangents that can be divided. It can be understood that other obstacles other than concave obstacles can be called convex obstacles.
  • the concave obstacle when a concave obstacle is detected, the concave obstacle will be divided into two intersecting convex obstacles according to the shape of the concave obstacle, and the The intersection line where the intersection is on the surface of the concave obstacle. It can be understood that the above-mentioned two-by-two intersection refers to the combination of convex obstacles. In the scenario of dividing into multiple convex obstacles, the multiple convex obstacles are connected by intersection to form the entire concave obstacle. the whole of things.
  • FIG. 2 is a schematic diagram of a concave obstacle in an embodiment of the present invention. As shown in FIG. 2 , the concave obstacle is an electric drill as an example.
  • the three convex obstacles are convex obstacle 1, convex obstacle 2 and convex obstacle 3, among which, convex obstacle 1 and convex obstacle 2
  • Two-by-two, convex obstacle 2 and convex obstacle 3 intersect two-by-two, and the intersecting position of the two-by-two convex obstacles is the intersection line
  • the intersection lines are A and B , among which, the range of intersection line A is between point c1 and point c2, and the range of intersection line B is between point c3 and point c4.
  • Figure 2 is only represented in the form of a plan view.
  • a line is a line with a first connected closed loop. It can be understood that, for any concave obstacle, it can be divided into a plurality of convex obstacles.
  • the obstacle avoidance problem of the concave obstacle can be transformed into the obstacle avoidance problem of a plurality of convex obstacles, which simplifies the The difficulty of avoiding the concave obstacles makes it possible to avoid the concave obstacles.
  • Step 102 predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
  • the intersection point of the initial movement trajectory and the surface of the concave obstacle is also predicted, so as to avoid the obstacle.
  • the obstacle avoidance of the robot is real-time during the movement of the robot, and the detection of a concave obstacle is usually a moment before reaching the concave obstacle, or before reaching the concave obstacle.
  • the preset duration which is usually short, enables the robot to determine its obstacle avoidance strategy before reaching the concave obstacle. Therefore, it can be understood that the obstacle avoidance of the concave obstacle is determined before reaching the concave obstacle. After the robot detects the concave obstacle, it can predict when it reaches the concave obstacle according to its initial movement trajectory. , the intersection of the initial movement trajectory with the surface of the concave obstacle.
  • the steps of dividing the concave obstacle into a plurality of convex obstacles that intersect in pairs and the step of determining the intersection point are not limited.
  • the sequence, in the embodiment shown in FIG. 1, is described by first dividing into a plurality of convex obstacles and then determining the intersection points.
  • the concave obstacles Divide into multiple convex obstacles, or, the steps of determining the intersection point and dividing the concave obstacles into convex obstacles can also be performed at the same time. In practical applications, the execution sequence of the above steps can be determined based on specific needs , which is not limited here.
  • Step 103 Perform obstacle avoidance correction on the initial movement trajectory according to the intersection point and the intersection line to obtain a target movement trajectory, and perform obstacle avoidance according to the target movement trajectory.
  • the concave obstacle when a concave obstacle is detected, the concave obstacle is divided into two intersecting convex obstacles, so that the obstacle avoidance problem of the concave obstacle can be transformed into two
  • the obstacle avoidance problem of two intersecting convex obstacles simplifies the difficulty of concave obstacle avoidance, and can be based on the predicted intersection point and the intersection position of the two intersecting convex obstacles on the surface of the concave obstacle.
  • the intersection line performs obstacle avoidance correction on the initial movement trajectory, so that the obstacle avoidance of concave obstacles can be effectively realized.
  • FIG. 3 is another schematic flowchart of the method for obstacle avoidance of the robot in the embodiments of the present invention, including:
  • Step 301 If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two intersecting convex obstacles according to the shape of the concave obstacle, and determines the two intersecting convex obstacles.
  • the intersection of two convex obstacles is the intersection line of the surface of the concave obstacle;
  • Step 302 predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
  • the above-mentioned initial movement trajectory may be a movement trajectory determined based on a dynamic system (Dynamic System, DS).
  • DS is a concept in mathematics. There is a fixed rule in the DS system, which describes the evolution of a point in the geometric space with time.
  • the robot can be used as a moving point, or the movable part of the robot can be used as a moving point, and the movement trajectory of the robot can be described based on DS.
  • the robot After the robot receives the task command, it will use the task command and the continuous function based on the dynamic system to determine the initial movement trajectory of the robot. Specifically, after receiving the task instruction, the robot can determine the task content according to the task instruction, and use the task content and the collected environmental data to determine the original travel path, and further, according to the following dynamic system formula, This travel path is converted into the above-mentioned initial movement trajectory, wherein the formula of the dynamic system is as follows:
  • f( ⁇ ) is a continuous function based on the dynamic system.
  • the initial movement trajectory of the robot based on the dynamic system can be determined in the above manner.
  • the teaching motion DS model library of the robot in its application scenario may also be determined first, and the teaching motion DS model library is generated based on the teaching data of the teaching motion sample task.
  • the movement trajectory of the robot arm refers to the movement trajectory of the end of the robot arm, and the movement trajectory of the robot arm can be described based on the DS principle.
  • the task can consist of one action or multiple actions.
  • the human teaching activity can be: raising an arm, lowering an arm, picking up a cup, opening the refrigerator door, etc., which can be represented by A person performing the teaching activity actually demonstrates the operations of "raise the arm”, “lower the arm”, “pick up the refrigerator” and “open the refrigerator door”, and obtain the video data of the person demonstrating the above actions, based on the DS principle Confirm the position of the end of the arm in the video data, and obtain the movement trajectory of the end of the arm in the process of performing the above action.
  • the arm of the above-mentioned person corresponds to the mechanical arm, and the palm part of the arm is the end of the arm, and Corresponding to the end of the manipulator, the manipulator can simulate the arm of the above-mentioned personnel to perform tasks, and the movement trajectory of the end of the arm obtained based on the DS principle can be used as the movement trajectory of the DS model of the robot arm.
  • the movement trajectory of the DS model corresponding to the corresponding action is obtained, so that the above-mentioned teaching motion DS model library can be obtained through the above method, and the robot arm can perform tasks by simulating real human actions, so as to have the ability to determine the movement autonomously and flexibly
  • the ability of trajectory improves the autonomy and flexibility of the robotic arm.
  • the corresponding relationship between the task content and the movement trajectory of the DS model can also be established based on the task content actually indicated by the teaching activity, so that the robotic arm is receiving
  • the task content can be obtained by parsing the task instruction, and based on the task content, the corresponding relationship in the teaching motion DS model library is searched, and the movement trajectory of the DS model corresponding to the task content is determined. For example, if the task instruction is "pick up the water glass", the content of the task can be parsed, and it can be determined that the content of the task is to pick up the object. Therefore, you can search for the corresponding "pick up object” in the teaching motion DS model library.
  • the movement trajectory of the DS model is used as the above-mentioned initial movement trajectory.
  • Step 303 Determine the target modal matrix according to the intersection point and the intersection line;
  • Step 304 using the target modal matrix to perform obstacle avoidance correction on the initial movement trajectory to obtain the target movement trajectory.
  • a target modal matrix for performing obstacle avoidance correction on the initial movement trajectory will be determined based on the intersection point and intersection line, so as to realize obstacle avoidance on the initial movement trajectory Correction to get the target movement trajectory.
  • determining the target modal matrix according to the intersection point and the intersection line specifically includes:
  • Step a calculate the surface function of each convex obstacle, and determine the positional relationship between the intersection point and the intersection line;
  • Step b Determine the target modal matrix according to the surface function and positional relationship of each convex obstacle.
  • the center point of the multiple convex obstacles will be determined, and the target pose information when the initial movement trajectory of the robot reaches the surface of the concave obstacle will be determined, and calculate the vector between the above-mentioned target pose information and the center points of multiple convex obstacles respectively, obtain the initial vector of each convex obstacle, and further determine the preset standard coordinate system of each convex obstacle
  • the length values on each axis of determine the surface function of each convex obstacle based on the above-mentioned initial vector of each convex obstacle and the length value on each axis, where the surface function is used to describe the convex obstacle surface shape.
  • the above-mentioned standard coordinate system may be a Cartesian coordinate system.
  • 3 represents the three direction axes of the standard coordinate system
  • the standard coordinate system is a Cartesian coordinate system, it represents the X axis, the Y axis and the Z axis
  • j represents the jth axis axis
  • the convex obstacle may be a spherical, ellipsoidal or square object.
  • the surface function of each convex obstacle can be obtained.
  • the positional relationship between the intersection point and the intersection line can be determined.
  • the target pose information of the intersection point and the pose information of the intersection line can be used to compare, if the target pose information of the intersection line includes the intersection point. If the target pose information is used, the positional relationship between the intersection point and the intersection line is determined as: the intersection point is located on the intersection line, otherwise, the intersection point is not located on the intersection line, as shown in Figure 2, it is necessary to determine whether the intersection point is located at the intersection point. On line A and intersection line B, as long as it is located on any intersection line, it can be determined that the intersection point is located on the intersection line.
  • the positional relationship between the intersection point and the intersection line determines the method for determining the target modal matrix, which will be described separately below:
  • each convex obstacle can be used.
  • the modal matrix of each convex obstacle is obtained by the surface function of the obstacle;
  • the combined modal matrix is obtained by combining the modal matrix of each convex obstacle, and the combined modal matrix is used as the target modal matrix.
  • the normal vector of the i-th convex obstacle can be obtained by using the surface function of the i-th convex obstacle, as follows:
  • the modal matrix of the i-th convex obstacle will be further determined according to the following formula:
  • the modal matrix of each convex obstacle can be obtained, and the modal matrix of each convex obstacle can be combined according to the following formula to obtain the combined modal matrix.
  • the modal matrix can be regarded as the target modal matrix, and the formula of the combined modal matrix is as follows:
  • N represents the number of convex obstacles
  • N represents the combined modal matrix
  • the initial movement trajectory of the robot can be used to perform obstacle avoidance correction to obtain the target movement trajectory, wherein the formula of the target movement trajectory is as follows:
  • f( ⁇ ) represents the initial movement trajectory
  • f( ⁇ ) represents the combined modal matrix
  • FIG. 4 is another schematic diagram of the concave obstacle shown in FIG. 2 in the embodiment of the present invention.
  • this schematic diagram represents the center point of convex obstacle 1, represents the center point of convex obstacle 2, Represents the center point of convex obstacle 3.
  • the intersection line in Figure 4 is the intersection line.
  • the combined modal matrix when the intersection point is on the convex obstacle 3 can be effectively realized, and the combined modal component can be used as the target modal matrix to perform obstacle avoidance correction, thereby effectively realizing obstacle avoidance processing.
  • the first surface function may be used to determine the first normal vector of the intersection point at the first convex obstacle
  • the second surface function may be used to determine the second normal vector of the second convex obstacle. If the intersection point is It means that the first convex obstacle is a convex obstacle m, and the second convex obstacle is a convex obstacle n, and the first difference between the intersection point and the center point of the convex obstacle m can be calculated, that is, And the second difference between the intersection point and the center point of the convex obstacle n can be calculated, that is Using the first difference and the second difference, calculate the normal vector of the convex obstacle m, which is the first normal vector of the first convex obstacle, and calculate the normal vector of the convex obstacle m, that is, is the second normal vector of the second convex obstacle.
  • the formula of the first normal vector is as follows:
  • the intersection point will be constructed by using the first surface function, the second surface function, the first normal vector and the second normal vector The target modal matrix of the concave obstacle at .
  • the target modal matrix is as follows:
  • pinv() stands for pseudo-inverse.
  • the target modal matrix can be used to perform obstacle avoidance correction on the initial movement trajectory of the robot to obtain the target movement trajectory, wherein the formula of the target movement trajectory is as follows:
  • f( ⁇ ) represents the initial movement trajectory
  • Representation based on intersection point Determine the target modal matrix
  • the above-mentioned obstacle avoidance correction method enables the robot to correct the path along the intersection line where the first convex obstacle and the second convex obstacle intersect, so as to realize the real-time tracking of the concave obstacle by the robot Avoidance.
  • FIG. 4 is another schematic diagram of the concave obstacle shown in FIG. 2 in the embodiment of the present invention.
  • this schematic diagram represents the center point of convex obstacle 1, represents the center point of convex obstacle 2, Represents the center point of convex obstacle 3.
  • the intersection line in Figure 4 is the intersection line.
  • e 12 represents the first normal vector of convex obstacle 1 and the second normal of convex obstacle 2
  • the vectors are all vertical vectors, and this vector is the obstacle avoidance direction of the initial movement trajectory, that is, the corrected target movement trajectory can move in this direction to achieve obstacle avoidance.
  • the above-mentioned method can solve the obstacle avoidance process for concave obstacles in the scenario that the intersection point is located on the intersection line, so that obstacle avoidance can be effectively realized.
  • a robot obstacle avoidance device includes: a processor and a memory, where a computer program is stored in the memory, and when the processor executes the computer program, the processor executes the following steps:
  • the robot If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it will divide the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determine the two convex obstacles that intersect each other.
  • the intersection position of the shaped obstacle is the intersection line of the surface of the concave obstacle;
  • the initial movement trajectory is corrected for obstacle avoidance, and the target movement trajectory is obtained, and obstacle avoidance is carried out according to the target movement trajectory.
  • the content involved in the steps in the above-mentioned robot obstacle avoidance device is similar to the content described in the above-mentioned embodiments related to the robot obstacle avoidance method.
  • the content in the foregoing method embodiment please refer to the content in the foregoing method embodiment. No further elaboration here.
  • the obstacle avoidance problem of the concave obstacle can be transformed into two intersecting convex obstacles It simplifies the difficulty of avoiding obstacles of concave obstacles, and the initial movement trajectory can be carried out based on the predicted intersection points and the intersection positions of the two intersecting convex obstacles on the intersecting line of the surface of the concave obstacles.
  • the obstacle avoidance correction makes it possible to effectively realize the obstacle avoidance of concave obstacles.
  • Figure 5 shows an internal structure diagram of the robot in one embodiment.
  • the robot may be a terminal or a server.
  • the robot includes a processor, memory and network interface connected through a system bus.
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the robot stores an operating system, and also stores a computer program.
  • the processor can implement the age recognition method.
  • a computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor may execute the age identification method.
  • a robot comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
  • the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other.
  • the intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
  • the initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  • a computer-readable storage medium which stores a computer program, and when the computer program is executed by a processor, causes the processor to perform the following steps:
  • the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other.
  • the intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
  • the initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Road (Synchlink) DRAM
  • SLDRAM synchronous chain Road (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

A robot obstacle avoidance method and apparatus, a robot, and a storage medium, the method comprising: if a robot detects a concave obstacle during the process of travelling along an initial movement trajectory then, by dividing the concave obstacle into pairs of intersecting convex obstacles, the obstacle avoidance problem of the concave obstacle can be transformed into an obstacle avoidance problem of the pairs of intersecting convex obstacles, simplifying the difficulty of the obstacle avoidance of concave obstacles and, when the initial movement trajectory reaches the concave obstacle, enabling prediction of the intersection point of the initial movement trajectory and the surface of the concave obstacle; on the basis of the intersection point and intersection line, implementing obstacle avoidance correction of the initial movement trajectory to obtain a target movement trajectory, and implementing obstacle avoidance according to the target movement trajectory; the present method can implement effective obstacle avoidance of concave obstacles.

Description

机器人避障方法及装置、机器人及存储介质Robot obstacle avoidance method and device, robot and storage medium 技术领域technical field
本发明涉及机器人技术领域,尤其涉及一种机器人避障方法及装置、机器人及存储介质。The invention relates to the technical field of robots, and in particular, to a method and device for avoiding obstacles of a robot, a robot and a storage medium.
背景技术Background technique
随着对机器人的不断研究和应用,机器人如:机械臂、无人机、移动机器人、水下机器人等都需要在越来越复杂的环境下执行期望的任务,例如,机械臂需要在复杂的车间环境中搬运物体或与人工协同工作,无人机则需要在复杂的地理环境下穿梭,完成相应的侦查任务等等。在这些情况下,为了保证人、其他机器人及机器人自身的安全,同时为了能够完成相应的工作任务,机器人需要实时的避开工作环境中的凹形障碍物,例如,架子、树、工人、桌子、其他机器人等等。对于机器人研究来说,如何在具有凹形障碍物的场景下,保证机器人安全有效的避开凹形障碍物,是一个具有重要实际应用价值并具有挑战的问题。With the continuous research and application of robots, robots such as robotic arms, unmanned aerial vehicles, mobile robots, underwater robots, etc. all need to perform desired tasks in more and more complex environments. In the workshop environment, to carry objects or work together with humans, UAVs need to shuttle in complex geographical environments to complete corresponding reconnaissance tasks and so on. In these cases, in order to ensure the safety of people, other robots and the robot itself, and to be able to complete the corresponding work tasks, the robot needs to avoid concave obstacles in the working environment in real time, such as shelves, trees, workers, tables, other robots, etc. For robotics research, how to ensure that the robot can safely and effectively avoid concave obstacles in a scenario with concave obstacles is an important and challenging problem with practical application value.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供一种机器人避障方法及装置、机器人及存储介质,能够有效的实现对凹形障碍物的避障。The main purpose of the present invention is to provide a robot obstacle avoidance method and device, a robot and a storage medium, which can effectively realize the obstacle avoidance of concave obstacles.
为实现上述目的,本发明第一方面提供一种机器人避障方法,所述方法包括:In order to achieve the above object, a first aspect of the present invention provides a method for avoiding obstacles for a robot, the method comprising:
机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
为实现上述目的,本发明第二方面提供一种机器人避障装置,所述装置包括:处理器及存储器,存储器中存储有计算机程序,处理器执行计算机程序时,使得处理器执行以下步骤:In order to achieve the above object, a second aspect of the present invention provides a robot obstacle avoidance device, the device includes: a processor and a memory, a computer program is stored in the memory, and when the processor executes the computer program, the processor is caused to perform the following steps:
机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
为实现上述目的,本发明第三方面提供一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:In order to achieve the above object, a third aspect of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, causes the processor to perform the following steps:
机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
为实现上述目的,本发明第四方面提供一种机械臂,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:In order to achieve the above object, a fourth aspect of the present invention provides a robotic arm, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps :
机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两 相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
采用本发明实施例,具有如下有益效果:Adopting the embodiment of the present invention has the following beneficial effects:
本发明提供一种机器人避障方法,该方法包括:机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照该凹形障碍物的形状将凹形障碍物划分为两两相交的凸形障碍物,确定该两两相交点的两个凸形障碍物的相交位置在凹形障碍物的表面的相交线,预测该初始移动轨迹到达凹形障碍物时,该初始移动轨迹与凹形障碍物的表面的相交点;根据上述的相交点及相交线对初始移动轨迹进行避障修正,得到目标移动轨迹,并按照该目标移动轨迹进行避障。在检测到凹形障碍物时,通过将该凹形障碍物划分为两两相交的凸形障碍物的方式,使得能够将凹形障碍物的避障问题转化成两两相交的凸形障碍物的避障问题,简化凹形障碍物避障的难度,且可基于预测到的相交点及两两相交的凸形障碍物的相交位置在凹形障碍物的表面的相交线对初始移动轨迹进行避障修正,使得能够有效的实现对凹形障碍物的避障。The present invention provides an obstacle avoidance method for a robot. The method includes: if the robot detects a concave obstacle in the process of traveling along an initial moving track, dividing the concave obstacle into two groups according to the shape of the concave obstacle. The intersecting convex obstacles, determine the intersection position of the two convex obstacles at the intersection point of the pair on the intersection line of the surface of the concave obstacle, and predict that when the initial movement trajectory reaches the concave obstacle, the initial movement trajectory The intersection point with the surface of the concave obstacle; the initial movement trajectory is corrected for obstacle avoidance according to the above intersection point and intersection line to obtain the target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory. When a concave obstacle is detected, by dividing the concave obstacle into two intersecting convex obstacles, the obstacle avoidance problem of the concave obstacle can be transformed into two intersecting convex obstacles It simplifies the difficulty of avoiding obstacles of concave obstacles, and the initial movement trajectory can be carried out based on the predicted intersection points and the intersection positions of the two intersecting convex obstacles on the intersecting line of the surface of the concave obstacles. The obstacle avoidance correction makes it possible to effectively realize the obstacle avoidance of concave obstacles.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
其中:in:
图1为本发明实施例中机器人避障方法的流程示意图;1 is a schematic flowchart of a robot obstacle avoidance method in an embodiment of the present invention;
图2为本发明实施例中凹形障碍物的示意图;2 is a schematic diagram of a concave obstacle in an embodiment of the present invention;
图3为本发明实施例中机器人避障方法的另一流程示意图;FIG. 3 is another schematic flowchart of a method for obstacle avoidance of a robot in an embodiment of the present invention;
图4为图2所示实施例中的凹形障碍物的另一示意图;Fig. 4 is another schematic diagram of the concave obstacle in the embodiment shown in Fig. 2;
图5为本发明实施例中机器人的结构框图。FIG. 5 is a structural block diagram of a robot in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
请查阅图1,为本发明实施例中机器人避障方法的流程示意图,该方法包括:Please refer to FIG. 1, which is a schematic flowchart of a robot obstacle avoidance method according to an embodiment of the present invention. The method includes:
步骤101、机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照凹形障碍物的形状将凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在凹形障碍物的表面的相交线;Step 101: If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two intersecting convex obstacles according to the shape of the concave obstacle, and determines the two intersecting convex obstacles. The intersection of two convex obstacles is the intersection line of the surface of the concave obstacle;
在本发明实施例中,机器人在接收到任务指令之后,将基于该任务指令确定完成任务所需要的初始移动轨迹,例如,无人机在接收到飞往目标地点的指令之后,将基于该目标地点的位置及环境的地理位置数据确定飞行路径,该飞行路径即为初始移动轨迹。In the embodiment of the present invention, after the robot receives the task instruction, it will determine the initial movement trajectory required to complete the task based on the task instruction. For example, after the drone receives the instruction to fly to the target location, it will The location of the location and the geographic location data of the environment determine the flight path, which is the initial movement trajectory.
且在确定初始移动轨迹之后,机器人将沿着该初始移动轨迹行进,且在行进的过程中实时进行障碍物的检测,并实时进行障碍物的避障处理。其中,若检测到障碍物,将进一步的确定该障碍物是凸形障碍物还是凹形障碍物,其中,凹形障碍物是值物体的形状的外边缘的切线可以按照其形状将该物体划分成至少两个部分的物体,凸形障碍物则不存在上述的可以划分的切线,可以理解的是,除了凹形障碍物以外的其他障碍物都可以称为凸形障碍物。And after the initial moving trajectory is determined, the robot will travel along the initial moving trajectory, and will detect obstacles in real time during the process of traveling, and perform obstacle avoidance processing in real time. Wherein, if an obstacle is detected, it will be further determined whether the obstacle is a convex obstacle or a concave obstacle, wherein the concave obstacle is the tangent of the outer edge of the shape of the object, and the object can be divided according to its shape For objects that can be divided into at least two parts, convex obstacles do not have the above-mentioned tangents that can be divided. It can be understood that other obstacles other than concave obstacles can be called convex obstacles.
其中,在检测到凹形障碍物时,将按照该凹形障碍物的形状将该凹形障碍物划分为两两相交的凸形障碍物,并确定两两相交的两个凸形障碍物的相交位 置在凹形障碍物表面的相交线。可以理解的是,上述的两两相交是指凸形障碍物的组合方式,在划分成多个凸形障碍物的情景下,该多个凸形障碍物通过相交的方式连接构成整个凹形障碍物的整体。为了更好地理解对凹形障碍物的划分,请参阅图2,为本发明实施例中凹形障碍物的一个示意图,如图2所示该凹形障碍物是以电钻为例,其可划分为三个凸形障碍物,该三个凸形障碍物分别为凸形障碍物1、凸形障碍物2及凸形障碍物3,其中,凸形障碍物1和凸形障碍物2之间两两相交,凸形障碍物2和凸形障碍物3之间两两相交,且两两相交的凸形障碍物的相交的位置为相交线,在图2中,相交线为A和B,其中,相交线A的范围为点c1至点c2之间,相交线B的范围为点c3至点c4之间,可以理解的是,图2只是以平面图的形式表示,在实际应用,相交线是一条首位相连闭环的线。可以理解的是,对于任何一个凹形障碍物,都可以划分成多个凸形障碍物。Wherein, when a concave obstacle is detected, the concave obstacle will be divided into two intersecting convex obstacles according to the shape of the concave obstacle, and the The intersection line where the intersection is on the surface of the concave obstacle. It can be understood that the above-mentioned two-by-two intersection refers to the combination of convex obstacles. In the scenario of dividing into multiple convex obstacles, the multiple convex obstacles are connected by intersection to form the entire concave obstacle. the whole of things. In order to better understand the division of concave obstacles, please refer to FIG. 2 , which is a schematic diagram of a concave obstacle in an embodiment of the present invention. As shown in FIG. 2 , the concave obstacle is an electric drill as an example. Divided into three convex obstacles, the three convex obstacles are convex obstacle 1, convex obstacle 2 and convex obstacle 3, among which, convex obstacle 1 and convex obstacle 2 Two-by-two, convex obstacle 2 and convex obstacle 3 intersect two-by-two, and the intersecting position of the two-by-two convex obstacles is the intersection line, in Figure 2, the intersection lines are A and B , among which, the range of intersection line A is between point c1 and point c2, and the range of intersection line B is between point c3 and point c4. It can be understood that Figure 2 is only represented in the form of a plan view. A line is a line with a first connected closed loop. It can be understood that, for any concave obstacle, it can be divided into a plurality of convex obstacles.
可以理解的是,通过将凹形障碍物划分为多个两两相交的凸形障碍物,使得能够将凹形障碍物的避障问题转化成对多个凸形障碍物的避障问题,简化对凹形障碍物进行避障的难度,使得对凹形障碍物的避障成为可能。It can be understood that, by dividing the concave obstacle into a plurality of convex obstacles that intersect each other, the obstacle avoidance problem of the concave obstacle can be transformed into the obstacle avoidance problem of a plurality of convex obstacles, which simplifies the The difficulty of avoiding the concave obstacles makes it possible to avoid the concave obstacles.
步骤102、预测初始移动轨迹到达凹形障碍物时,初始移动轨迹与凹形障碍物的表面的相交点; Step 102, predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
在本发明实施例中,在检测到凹形障碍物之后,还对初始移动轨迹与凹形障碍物的表面的相交点进行预测,以便进行避障。In the embodiment of the present invention, after the concave obstacle is detected, the intersection point of the initial movement trajectory and the surface of the concave obstacle is also predicted, so as to avoid the obstacle.
可以理解的是,在机器人的行进过程中,对障碍物的避障是实时的,在检测到凹形障碍物通常是到达凹形障碍物之前的一个时刻,或者是到达凹形障碍物之前的预设时长,通常该预设时长的时间较短,且使得机器人在到达凹形障碍物之前就可以确定其避障策略。因此,可以理解的是,对凹形障碍物的避障是在达到凹形障碍物之前就确定的,机器人在检测到凹形障碍物之后,可以预测按照其初始移动轨迹达到凹形障碍物时,初始移动轨迹与凹形障碍物的表面的相交点。It can be understood that the obstacle avoidance of the robot is real-time during the movement of the robot, and the detection of a concave obstacle is usually a moment before reaching the concave obstacle, or before reaching the concave obstacle. The preset duration, which is usually short, enables the robot to determine its obstacle avoidance strategy before reaching the concave obstacle. Therefore, it can be understood that the obstacle avoidance of the concave obstacle is determined before reaching the concave obstacle. After the robot detects the concave obstacle, it can predict when it reaches the concave obstacle according to its initial movement trajectory. , the intersection of the initial movement trajectory with the surface of the concave obstacle.
需要说明的是,在本发明实施例中,在检测到凹形障碍物之后,并不限定将凹形障碍物划分为两两相交的多个凸形障碍物的步骤和确定相交点的步骤的先后顺序,在图1所述实施例中,是以先划分为多个凸形障碍物再确定相交点为例描述的,此外,也可以在确定上述的相交点之后,再将凹形障碍物划分为多个凸形障碍物,或者,还可以同时执行确定相交点,及将凹形障碍物划分为凸形障碍物的步骤,在实际应用中,可以基于具体的需要确定上述步骤的执行顺序,此处不做限定。It should be noted that, in this embodiment of the present invention, after a concave obstacle is detected, the steps of dividing the concave obstacle into a plurality of convex obstacles that intersect in pairs and the step of determining the intersection point are not limited. The sequence, in the embodiment shown in FIG. 1, is described by first dividing into a plurality of convex obstacles and then determining the intersection points. In addition, after determining the above intersection points, the concave obstacles Divide into multiple convex obstacles, or, the steps of determining the intersection point and dividing the concave obstacles into convex obstacles can also be performed at the same time. In practical applications, the execution sequence of the above steps can be determined based on specific needs , which is not limited here.
步骤103、根据相交点及相交线对初始移动轨迹进行避障修正,得到目标移动轨迹,并按照目标移动轨迹进行避障。Step 103: Perform obstacle avoidance correction on the initial movement trajectory according to the intersection point and the intersection line to obtain a target movement trajectory, and perform obstacle avoidance according to the target movement trajectory.
在本发明实施例中,在检测到凹形障碍物时,通过将该凹形障碍物划分为两两相交的凸形障碍物的方式,使得能够将凹形障碍物的避障问题转化成两两相交的凸形障碍物的避障问题,简化凹形障碍物避障的难度,且可基于预测到的相交点及两两相交的凸形障碍物的相交位置在凹形障碍物的表面的相交线对初始移动轨迹进行避障修正,使得能够有效的实现对凹形障碍物的避障。In the embodiment of the present invention, when a concave obstacle is detected, the concave obstacle is divided into two intersecting convex obstacles, so that the obstacle avoidance problem of the concave obstacle can be transformed into two The obstacle avoidance problem of two intersecting convex obstacles simplifies the difficulty of concave obstacle avoidance, and can be based on the predicted intersection point and the intersection position of the two intersecting convex obstacles on the surface of the concave obstacle. The intersection line performs obstacle avoidance correction on the initial movement trajectory, so that the obstacle avoidance of concave obstacles can be effectively realized.
为了更好地理解本发明实施例中的技术方案,请参阅图3,为本发明实施例中机器人避障方法的另一流程示意图,包括:In order to better understand the technical solutions in the embodiments of the present invention, please refer to FIG. 3 , which is another schematic flowchart of the method for obstacle avoidance of the robot in the embodiments of the present invention, including:
步骤301、机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照凹形障碍物的形状将凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在凹形障碍物的表面的相交线;Step 301: If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two intersecting convex obstacles according to the shape of the concave obstacle, and determines the two intersecting convex obstacles. The intersection of two convex obstacles is the intersection line of the surface of the concave obstacle;
步骤302、预测初始移动轨迹到达凹形障碍物时,初始移动轨迹与凹形障碍物的表面的相交点; Step 302, predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
在本发明实施例中,上述步骤301和步骤302分别与图1所示实施例中的步骤101及步骤102描述的内容相似,具体可以参阅图1所示实施例中的相关描述,此处不做赘述。In this embodiment of the present invention, the foregoing steps 301 and 302 are similar to the descriptions of steps 101 and 102 in the embodiment shown in FIG. 1 , respectively. For details, please refer to the relevant descriptions in the embodiment shown in FIG. 1 . Do repeat.
在一种可行的实现方式中,上述的初始移动轨迹可以是基于动态系统(Dynamical System,DS)确定的移动轨迹。其中,DS是数学上的一个概念, 在DS系统中存在一个固定规则,描述了几何空间中的一个点随时间演化情况。在本发明实施例中,可以将机器人作为一个移动点,或者将机器人可移动的部分作为一个移动点,基于DS描述该机器人的移动轨迹。In a feasible implementation manner, the above-mentioned initial movement trajectory may be a movement trajectory determined based on a dynamic system (Dynamic System, DS). Among them, DS is a concept in mathematics. There is a fixed rule in the DS system, which describes the evolution of a point in the geometric space with time. In this embodiment of the present invention, the robot can be used as a moving point, or the movable part of the robot can be used as a moving point, and the movement trajectory of the robot can be described based on DS.
其中,机器人在接收到任务指令之后,将利用该任务指令及基于动态系统的连续函数,确定机器人的初始移动轨迹。具体的,机器人在接收到任务指令之后,可根据该任务指令确定任务内容,并利用该任务内容和采集到的环境数据确定原始的行进路径,且进一步地,可按照如下动态系统的公式,将该行进路径转换成上述的初始移动轨迹,其中,动态系统的公式如下:Among them, after the robot receives the task command, it will use the task command and the continuous function based on the dynamic system to determine the initial movement trajectory of the robot. Specifically, after receiving the task instruction, the robot can determine the task content according to the task instruction, and use the task content and the collected environmental data to determine the original travel path, and further, according to the following dynamic system formula, This travel path is converted into the above-mentioned initial movement trajectory, wherein the formula of the dynamic system is as follows:
Figure PCTCN2020136354-appb-000001
Figure PCTCN2020136354-appb-000001
其中,
Figure PCTCN2020136354-appb-000002
表示初始移动轨迹,
Figure PCTCN2020136354-appb-000003
表示基于上述的行进路径确定的机器人的位姿信息,f(·)为基于动态系统的连续函数。
in,
Figure PCTCN2020136354-appb-000002
represents the initial movement trajectory,
Figure PCTCN2020136354-appb-000003
represents the pose information of the robot determined based on the above-mentioned travel path, and f(·) is a continuous function based on the dynamic system.
可以理解的是,可以按照上述方式确定机器人基于动态系统的初始移动轨迹。It can be understood that the initial movement trajectory of the robot based on the dynamic system can be determined in the above manner.
在另一种可行的实现方式中,还可以先确定机器人在其应用场景下的示教运动DS模型库,该示教运动DS模型库是基于示教运动的样本任务的示教数据生成的。以该机器人为机械臂为例,机械臂的移动轨迹是指机械臂的末端的移动轨迹,可以基于DS原理描述该机械臂的移动轨迹,具体的:人类示教活动是指人类使用手臂真实的完成一个任务,该任务可以由一个动作构成,也可以是由多个动作构成,例如,该人类示教活动可以是:举起手臂,放下手臂,拿起杯子、打开冰箱门等等,可以由一个进行示教活动的人员真实的演示“举起手臂”、“放下手臂”、“拿起冰箱”及“打开冰箱门”的操作,并拍摄得到该人员演示上述动作的视频数据,基于DS原理对该视频数据中的手臂的末端的位置进行确认,得到手臂的末端在执行上述动作的过程中的移动轨迹,上述人员的手臂则对应着机械臂,手臂的手掌部分则为手臂的末端,且对应着机械臂的末端,机械臂可以模拟上述人员的手臂执行任务,即可将基于DS原理得到的手臂的末端的移动轨迹作为机械臂的DS模型移动轨迹使用,因此,基于该 移动轨迹即可得到相应的动作对应的DS模型移动轨迹,使得可以通过上述方式,得到上述的示教运动DS模型库,且机械臂能够通过模拟人类真实的动作的方式执行任务,以便具有自主且灵活地确定运动轨迹的能力,提高了机械臂的自主性及灵活性。In another feasible implementation manner, the teaching motion DS model library of the robot in its application scenario may also be determined first, and the teaching motion DS model library is generated based on the teaching data of the teaching motion sample task. Taking the robot as a mechanical arm as an example, the movement trajectory of the robot arm refers to the movement trajectory of the end of the robot arm, and the movement trajectory of the robot arm can be described based on the DS principle. To complete a task, the task can consist of one action or multiple actions. For example, the human teaching activity can be: raising an arm, lowering an arm, picking up a cup, opening the refrigerator door, etc., which can be represented by A person performing the teaching activity actually demonstrates the operations of "raise the arm", "lower the arm", "pick up the refrigerator" and "open the refrigerator door", and obtain the video data of the person demonstrating the above actions, based on the DS principle Confirm the position of the end of the arm in the video data, and obtain the movement trajectory of the end of the arm in the process of performing the above action. The arm of the above-mentioned person corresponds to the mechanical arm, and the palm part of the arm is the end of the arm, and Corresponding to the end of the manipulator, the manipulator can simulate the arm of the above-mentioned personnel to perform tasks, and the movement trajectory of the end of the arm obtained based on the DS principle can be used as the movement trajectory of the DS model of the robot arm. Therefore, based on the movement trajectory The movement trajectory of the DS model corresponding to the corresponding action is obtained, so that the above-mentioned teaching motion DS model library can be obtained through the above method, and the robot arm can perform tasks by simulating real human actions, so as to have the ability to determine the movement autonomously and flexibly The ability of trajectory improves the autonomy and flexibility of the robotic arm.
可以理解的是,在得到上述的示教运动DS模型库的过程中,还可以基于示教活动实际指示的任务内容,建立任务内容与DS模型移动轨迹之间的对应关系,使得机械臂在接收到任务指令之后,可以通过解析任务指令获取到任务内容,并基于该任务内容查找示教运动DS模型库中的对应关系,确定与该任务内容具有对应关系的DS模型移动轨迹。例如,若任务指令为“拿起水杯”,则对该任务内容进行解析,可以确定该任务内容为拿起物体,因此,可以在示教运动DS模型库中查找与“拿起物体”对应的DS模型移动轨迹,作为上述的初始移动轨迹。It can be understood that, in the process of obtaining the above-mentioned teaching motion DS model library, the corresponding relationship between the task content and the movement trajectory of the DS model can also be established based on the task content actually indicated by the teaching activity, so that the robotic arm is receiving After the task instruction is reached, the task content can be obtained by parsing the task instruction, and based on the task content, the corresponding relationship in the teaching motion DS model library is searched, and the movement trajectory of the DS model corresponding to the task content is determined. For example, if the task instruction is "pick up the water glass", the content of the task can be parsed, and it can be determined that the content of the task is to pick up the object. Therefore, you can search for the corresponding "pick up object" in the teaching motion DS model library. The movement trajectory of the DS model is used as the above-mentioned initial movement trajectory.
步骤303、根据相交点及相交线确定目标模态矩阵;Step 303: Determine the target modal matrix according to the intersection point and the intersection line;
步骤304、利用目标模态矩阵对初始移动轨迹进行避障修正,得到目标移动轨迹。 Step 304 , using the target modal matrix to perform obstacle avoidance correction on the initial movement trajectory to obtain the target movement trajectory.
在本发明实施例中,在得到相交点及相交线之后,将基于该相交点及相交线确定用于对初始移动轨迹进行避障修正的目标模态矩阵,以便实现对初始移动轨迹的避障修正,得到目标移动轨迹。In the embodiment of the present invention, after the intersection point and the intersection line are obtained, a target modal matrix for performing obstacle avoidance correction on the initial movement trajectory will be determined based on the intersection point and intersection line, so as to realize obstacle avoidance on the initial movement trajectory Correction to get the target movement trajectory.
其中,在一种可行的实现方式中,根据相交点及相交线确定目标模态矩阵具体包括:Wherein, in a feasible implementation manner, determining the target modal matrix according to the intersection point and the intersection line specifically includes:
步骤a、计算各个凸形障碍物的表面函数,并确定相交点及相交线之间的位置关系;Step a, calculate the surface function of each convex obstacle, and determine the positional relationship between the intersection point and the intersection line;
步骤b、根据各个凸形障碍物的表面函数及位置关系,确定目标模态矩阵。Step b: Determine the target modal matrix according to the surface function and positional relationship of each convex obstacle.
在将凹形障碍物划分为多个凸形障碍物之后,将确定该多个凸形障碍物的中心点,及确定机器人的初始移动轨迹到达凹形障碍物的表面时的目标位姿信息,并分别计算上述的目标位姿信息与多个凸形障碍物的中心点之间的向量, 得到各个凸形障碍物的初始向量,并进一步的确定各个凸形障碍物在预设的标准坐标系的各个轴上的长度值,基于上述的各个凸形障碍物的初始向量,及在各个轴上的长度值,确定各个凸形障碍物的表面函数,其中,表面函数用于描述凸形障碍物的表面形状。After dividing the concave obstacle into multiple convex obstacles, the center point of the multiple convex obstacles will be determined, and the target pose information when the initial movement trajectory of the robot reaches the surface of the concave obstacle will be determined, and calculate the vector between the above-mentioned target pose information and the center points of multiple convex obstacles respectively, obtain the initial vector of each convex obstacle, and further determine the preset standard coordinate system of each convex obstacle The length values on each axis of , determine the surface function of each convex obstacle based on the above-mentioned initial vector of each convex obstacle and the length value on each axis, where the surface function is used to describe the convex obstacle surface shape.
其中,上述的标准坐标系可以是笛卡尔坐标系。Wherein, the above-mentioned standard coordinate system may be a Cartesian coordinate system.
以一个凹形障碍物划分为N个凸形障碍物为例,
Figure PCTCN2020136354-appb-000004
为第i个凸形障碍物的中心点,则
Figure PCTCN2020136354-appb-000005
表示上述的目标位姿信息与第i个凸形障碍物的中心点之间的向量。且第i个凸形障碍物的表面函数如下所示:
Taking a concave obstacle divided into N convex obstacles as an example,
Figure PCTCN2020136354-appb-000004
is the center point of the i-th convex obstacle, then
Figure PCTCN2020136354-appb-000005
Represents the vector between the above-mentioned target pose information and the center point of the i-th convex obstacle. And the surface function of the i-th convex obstacle is as follows:
Figure PCTCN2020136354-appb-000006
Figure PCTCN2020136354-appb-000006
其中,
Figure PCTCN2020136354-appb-000007
表示第i个凸形障碍物的表面函数,3表示标准坐标系的3个方向轴,若该标准坐标系为笛卡尔坐标系,则表示X轴、Y轴及Z轴,j表示第j个轴,
Figure PCTCN2020136354-appb-000008
表示第i个凸形障碍物在第j个轴上的长度值,
Figure PCTCN2020136354-appb-000009
表示目标位姿信息与第i个凸形障碍物的中心点之间的向量,
Figure PCTCN2020136354-appb-000010
表示第i个凸形障碍物在第j个轴上的形状参数,通过调整
Figure PCTCN2020136354-appb-000011
所述凸形障碍物可以为球形、椭球形或方形等物体。
in,
Figure PCTCN2020136354-appb-000007
Represents the surface function of the ith convex obstacle, 3 represents the three direction axes of the standard coordinate system, if the standard coordinate system is a Cartesian coordinate system, it represents the X axis, the Y axis and the Z axis, and j represents the jth axis axis,
Figure PCTCN2020136354-appb-000008
represents the length of the i-th convex obstacle on the j-th axis,
Figure PCTCN2020136354-appb-000009
represents the vector between the target pose information and the center point of the i-th convex obstacle,
Figure PCTCN2020136354-appb-000010
Represents the shape parameter of the i-th convex obstacle on the j-th axis, by adjusting
Figure PCTCN2020136354-appb-000011
The convex obstacle may be a spherical, ellipsoidal or square object.
通过上述方式,可以得到各个凸形障碍物的表面函数。且进一步地可以确定相交点与相交线之间的位置关系,具体的可以使用相交点的目标位姿信息,及相交线的位姿信息进行比较,若相交线的目标位姿信息包含相交点的目标位姿信息,则确定相交点的与相交线的位置关系为:相交点位于相交线上,否则,则为相交点不位于相交线上,如图2所示,需要确定相交点是否位于相交线A和相交线B上,只要位于任何一条相交线上,都可以确定相交点位于相交线上。In the above manner, the surface function of each convex obstacle can be obtained. And further, the positional relationship between the intersection point and the intersection line can be determined. Specifically, the target pose information of the intersection point and the pose information of the intersection line can be used to compare, if the target pose information of the intersection line includes the intersection point. If the target pose information is used, the positional relationship between the intersection point and the intersection line is determined as: the intersection point is located on the intersection line, otherwise, the intersection point is not located on the intersection line, as shown in Figure 2, it is necessary to determine whether the intersection point is located at the intersection point. On line A and intersection line B, as long as it is located on any intersection line, it can be determined that the intersection point is located on the intersection line.
在本发明实施例中,相交点与相交线的位置关系决定了确定目标模态矩阵的方式,下面将分别进行描述:In the embodiment of the present invention, the positional relationship between the intersection point and the intersection line determines the method for determining the target modal matrix, which will be described separately below:
(1)当位置关系为相交点未位于相交线上时,此时,可以将避开凹形障 碍物的问题当做避开该多个凸形障碍物进行解决,方式为:可以利用各个凸形障碍物的表面函数分别得到各个凸形障碍物的模态矩阵;将各个凸形障碍物的模态矩阵进行组合得到组合模态矩阵,将组合模态矩阵作为目标模态矩阵。(1) When the positional relationship is that the intersection point is not located on the intersection line, at this time, the problem of avoiding concave obstacles can be solved as avoiding the plurality of convex obstacles. The method is as follows: each convex obstacle can be used. The modal matrix of each convex obstacle is obtained by the surface function of the obstacle; the combined modal matrix is obtained by combining the modal matrix of each convex obstacle, and the combined modal matrix is used as the target modal matrix.
其中,以确定第i个凸形障碍物的模态矩阵为例,可以先利用该第i个凸形障碍物的表面函数得到上述的第i个凸形障碍物的法向量,如下:Among them, to determine the modal matrix of the i-th convex obstacle as an example, the normal vector of the i-th convex obstacle can be obtained by using the surface function of the i-th convex obstacle, as follows:
Figure PCTCN2020136354-appb-000012
Figure PCTCN2020136354-appb-000012
其中,
Figure PCTCN2020136354-appb-000013
表示第i个凸形障碍物的表面函数,(ξ) 1、(ξ) 2、(ξ) 3分别表示笛卡尔坐标系中的X轴、Y轴及Z轴。
in,
Figure PCTCN2020136354-appb-000013
represents the surface function of the i-th convex obstacle, and (ξ) 1 , (ξ) 2 , and (ξ) 3 represent the X-axis, Y-axis, and Z-axis in the Cartesian coordinate system, respectively.
在得到上述的第i个凸形障碍物的法向量之后,将进一步的按照如下公式确定第i个凸形障碍物的模态矩阵:After obtaining the normal vector of the i-th convex obstacle above, the modal matrix of the i-th convex obstacle will be further determined according to the following formula:
Figure PCTCN2020136354-appb-000014
Figure PCTCN2020136354-appb-000014
其中,
Figure PCTCN2020136354-appb-000015
in,
Figure PCTCN2020136354-appb-000015
其中,
Figure PCTCN2020136354-appb-000016
in,
Figure PCTCN2020136354-appb-000016
其中,
Figure PCTCN2020136354-appb-000017
表示第i个凸形障碍物的模态矩阵,
Figure PCTCN2020136354-appb-000018
表示第i个凸形障碍物的法向量,
Figure PCTCN2020136354-appb-000019
Figure PCTCN2020136354-appb-000020
表示为第i个凸形障碍物的法向量对应的超平面的基向量。
in,
Figure PCTCN2020136354-appb-000017
represents the modal matrix of the ith convex obstacle,
Figure PCTCN2020136354-appb-000018
represents the normal vector of the ith convex obstacle,
Figure PCTCN2020136354-appb-000019
and
Figure PCTCN2020136354-appb-000020
Expressed as the basis vector of the hyperplane corresponding to the normal vector of the ith convex obstacle.
其中,
Figure PCTCN2020136354-appb-000021
可以理解的是,
Figure PCTCN2020136354-appb-000022
Figure PCTCN2020136354-appb-000023
均为基于第i个凸形障碍物的表面函数构造的参数。
in,
Figure PCTCN2020136354-appb-000021
Understandably,
Figure PCTCN2020136354-appb-000022
and
Figure PCTCN2020136354-appb-000023
are parameters constructed based on the surface function of the ith convex obstacle.
可以理解的是,通过上述的方式,可以得到各个凸形障碍物的模态矩阵,且按照如下公式将各个凸形障碍物的模态矩阵进行组合,即可得到组合模态矩阵,该组合模态矩阵则可认为是目标模态矩阵,其中,组合模态矩阵的公式如 下:It can be understood that through the above method, the modal matrix of each convex obstacle can be obtained, and the modal matrix of each convex obstacle can be combined according to the following formula to obtain the combined modal matrix. The modal matrix can be regarded as the target modal matrix, and the formula of the combined modal matrix is as follows:
Figure PCTCN2020136354-appb-000024
Figure PCTCN2020136354-appb-000024
其中,
Figure PCTCN2020136354-appb-000025
表示第i个凸形障碍物的模态矩阵,N表示凸形障碍物的数量,
Figure PCTCN2020136354-appb-000026
表示组合模态矩阵。
in,
Figure PCTCN2020136354-appb-000025
represents the modal matrix of the ith convex obstacle, N represents the number of convex obstacles,
Figure PCTCN2020136354-appb-000026
represents the combined modal matrix.
进一步地,在得到上述的组合模态矩阵之后,可以使用该组合模态矩阵对机器人的初始移动轨迹进行避障修正,得到目标移动轨迹,其中,目标移动轨迹的公式如下:Further, after obtaining the above-mentioned combined modal matrix, the initial movement trajectory of the robot can be used to perform obstacle avoidance correction to obtain the target movement trajectory, wherein the formula of the target movement trajectory is as follows:
Figure PCTCN2020136354-appb-000027
Figure PCTCN2020136354-appb-000027
其中,f(ξ)表示初始移动轨迹,
Figure PCTCN2020136354-appb-000028
表示组合模态矩阵,
Figure PCTCN2020136354-appb-000029
表示避障修正之后的目标移动轨迹。
Among them, f(ξ) represents the initial movement trajectory,
Figure PCTCN2020136354-appb-000028
represents the combined modal matrix,
Figure PCTCN2020136354-appb-000029
Indicates the target movement trajectory after obstacle avoidance correction.
为了更好地理解本发明实施例中的技术方案,请参阅图4,为本发明实施例中图2所示凹形障碍物的另一示意图,在该示意图中,
Figure PCTCN2020136354-appb-000030
表示凸形障碍物1的中心点,
Figure PCTCN2020136354-appb-000031
表示凸形障碍物2的中心点,
Figure PCTCN2020136354-appb-000032
表示凸形障碍物3的中心点。图4中的交线即为相交线。
In order to better understand the technical solution in the embodiment of the present invention, please refer to FIG. 4 , which is another schematic diagram of the concave obstacle shown in FIG. 2 in the embodiment of the present invention. In this schematic diagram,
Figure PCTCN2020136354-appb-000030
represents the center point of convex obstacle 1,
Figure PCTCN2020136354-appb-000031
represents the center point of convex obstacle 2,
Figure PCTCN2020136354-appb-000032
Represents the center point of convex obstacle 3. The intersection line in Figure 4 is the intersection line.
其中,
Figure PCTCN2020136354-appb-000033
表示相交点,且该相交点位于凸形障碍物3的表面,
Figure PCTCN2020136354-appb-000034
表示凸形障碍物3的法向量,
Figure PCTCN2020136354-appb-000035
Figure PCTCN2020136354-appb-000036
表示凸形障碍物3的法向量对应的超平面的基向量。可以基于上述方式有效实现相交点在凸形障碍物3上时的组合模态矩阵,且将该组合模态组件作为目标模态矩阵进行避障修正,有效实现避障处理。
in,
Figure PCTCN2020136354-appb-000033
represents the intersection point, and the intersection point is located on the surface of the convex obstacle 3,
Figure PCTCN2020136354-appb-000034
represents the normal vector of convex obstacle 3,
Figure PCTCN2020136354-appb-000035
and
Figure PCTCN2020136354-appb-000036
Represents the base vector of the hyperplane corresponding to the normal vector of convex obstacle 3. Based on the above method, the combined modal matrix when the intersection point is on the convex obstacle 3 can be effectively realized, and the combined modal component can be used as the target modal matrix to perform obstacle avoidance correction, thereby effectively realizing obstacle avoidance processing.
(2)当位置关系为相交点位于相交线上时,确定形成目标相交线的第一凸形障碍物及第二凸形障碍物,目标相交线为相交点所在的相交线;并根据第一凸形障碍物的第一表面函数及第二凸形障碍物的第二表面函数,确定目标模态矩阵。(2) When the positional relationship is that the intersection point is located on the intersection line, determine the first convex obstacle and the second convex obstacle forming the target intersection line, and the target intersection line is the intersection line where the intersection point is located; The first surface function of the convex obstacle and the second surface function of the second convex obstacle determine the target modal matrix.
具体的,可利用第一表面函数确定相交点在第一凸形障碍物的第一法向量,及利用第二表面函数确定第二凸形障碍物的第二法向量。若相交点为
Figure PCTCN2020136354-appb-000037
则表示第一凸形障碍物为凸形障碍物m,第二凸形障碍物为凸形障碍物n,可计 算该相交点与凸形障碍物m的中心点的第一差值,即
Figure PCTCN2020136354-appb-000038
且可计算该相交点与凸形障碍物n的中心点的第二差值,即
Figure PCTCN2020136354-appb-000039
利用该第一差值及第二差值,分别计算凸形障碍物m的法向量,即为上述第一凸形障碍物的第一法向量,及计算凸形障碍物m的法向量,即为上述第二凸形障碍物的第二法向量。
Specifically, the first surface function may be used to determine the first normal vector of the intersection point at the first convex obstacle, and the second surface function may be used to determine the second normal vector of the second convex obstacle. If the intersection point is
Figure PCTCN2020136354-appb-000037
It means that the first convex obstacle is a convex obstacle m, and the second convex obstacle is a convex obstacle n, and the first difference between the intersection point and the center point of the convex obstacle m can be calculated, that is,
Figure PCTCN2020136354-appb-000038
And the second difference between the intersection point and the center point of the convex obstacle n can be calculated, that is
Figure PCTCN2020136354-appb-000039
Using the first difference and the second difference, calculate the normal vector of the convex obstacle m, which is the first normal vector of the first convex obstacle, and calculate the normal vector of the convex obstacle m, that is, is the second normal vector of the second convex obstacle.
其中,第一法向量的公式如下:Among them, the formula of the first normal vector is as follows:
Figure PCTCN2020136354-appb-000040
Figure PCTCN2020136354-appb-000040
其中,第二法向量的公式如下:Among them, the formula of the second normal vector is as follows:
Figure PCTCN2020136354-appb-000041
Figure PCTCN2020136354-appb-000041
其中,其中,
Figure PCTCN2020136354-appb-000042
表示第m个凸形障碍物的表面函数,
Figure PCTCN2020136354-appb-000043
表示第n个凸形障碍物的表面函数,b代表第m个凸形障碍物和第n个凸形障碍物交线上一点的标记。
of which,
Figure PCTCN2020136354-appb-000042
represents the surface function of the mth convex obstacle,
Figure PCTCN2020136354-appb-000043
represents the surface function of the nth convex obstacle, and b represents the mark of a point on the intersection of the mth convex obstacle and the nth convex obstacle.
在得到上述的第一法向量及第二法向量之后,将利用第一表面函数、第二表面函数、第一法向量及第二法向量构建相交点
Figure PCTCN2020136354-appb-000044
处的凹形障碍物的目标模态矩阵。
After obtaining the above-mentioned first normal vector and second normal vector, the intersection point will be constructed by using the first surface function, the second surface function, the first normal vector and the second normal vector
Figure PCTCN2020136354-appb-000044
The target modal matrix of the concave obstacle at .
该目标模态矩阵如下:The target modal matrix is as follows:
Figure PCTCN2020136354-appb-000045
Figure PCTCN2020136354-appb-000045
其中,
Figure PCTCN2020136354-appb-000046
in,
Figure PCTCN2020136354-appb-000046
其中,
Figure PCTCN2020136354-appb-000047
in,
Figure PCTCN2020136354-appb-000047
其中,
Figure PCTCN2020136354-appb-000048
in,
Figure PCTCN2020136354-appb-000048
其中,
Figure PCTCN2020136354-appb-000049
pinv()表示伪逆。
in,
Figure PCTCN2020136354-appb-000049
pinv() stands for pseudo-inverse.
其中,
Figure PCTCN2020136354-appb-000050
表示与第一法向量和第二法向量均垂直的向量。通过构造该向量的方式,使得在对初始移动轨迹进行避障修正时,能够使得修正后的目标移动轨迹能够沿着第一障碍物和第二障碍物的表面的法向量的切线向外移出, 以实现避障。
in,
Figure PCTCN2020136354-appb-000050
Represents a vector perpendicular to both the first normal vector and the second normal vector. By constructing the vector, when the initial movement trajectory is corrected for obstacle avoidance, the corrected target movement trajectory can be moved outward along the tangent of the surface normal vector of the first obstacle and the second obstacle, to avoid obstacles.
进一步地,在得到上述的目标模态矩阵之后,可以使用该目标模态矩阵对机器人的初始移动轨迹进行避障修正,得到目标移动轨迹,其中,目标移动轨迹的公式如下:Further, after obtaining the above-mentioned target modal matrix, the target modal matrix can be used to perform obstacle avoidance correction on the initial movement trajectory of the robot to obtain the target movement trajectory, wherein the formula of the target movement trajectory is as follows:
Figure PCTCN2020136354-appb-000051
Figure PCTCN2020136354-appb-000051
其中,f(ξ)表示初始移动轨迹,
Figure PCTCN2020136354-appb-000052
表示基于相交点
Figure PCTCN2020136354-appb-000053
确定的目标模态矩阵,
Figure PCTCN2020136354-appb-000054
表示避障修正之后的目标移动轨迹。
Among them, f(ξ) represents the initial movement trajectory,
Figure PCTCN2020136354-appb-000052
Representation based on intersection point
Figure PCTCN2020136354-appb-000053
Determine the target modal matrix,
Figure PCTCN2020136354-appb-000054
Indicates the target movement trajectory after obstacle avoidance correction.
在本发明实施例中,通过上述的避障修正方式,使得机器人能够沿着第一凸形障碍物和第二凸形障碍物相交的相交线修正路径,以实现机器人对凹形障碍物的实时避障。In the embodiment of the present invention, the above-mentioned obstacle avoidance correction method enables the robot to correct the path along the intersection line where the first convex obstacle and the second convex obstacle intersect, so as to realize the real-time tracking of the concave obstacle by the robot Avoidance.
为了更好地理解本发明实施例中的技术方案,请参阅图4,为本发明实施例中图2所示凹形障碍物的另一示意图,在该示意图中,
Figure PCTCN2020136354-appb-000055
表示凸形障碍物1的中心点,
Figure PCTCN2020136354-appb-000056
表示凸形障碍物2的中心点,
Figure PCTCN2020136354-appb-000057
表示凸形障碍物3的中心点。图4中的交线即为相交线。
In order to better understand the technical solution in the embodiment of the present invention, please refer to FIG. 4 , which is another schematic diagram of the concave obstacle shown in FIG. 2 in the embodiment of the present invention. In this schematic diagram,
Figure PCTCN2020136354-appb-000055
represents the center point of convex obstacle 1,
Figure PCTCN2020136354-appb-000056
represents the center point of convex obstacle 2,
Figure PCTCN2020136354-appb-000057
Represents the center point of convex obstacle 3. The intersection line in Figure 4 is the intersection line.
其中,
Figure PCTCN2020136354-appb-000058
表示相交点,该相交点位于凸形障碍物1和凸形障碍物2的相交线上,e 12表示的是与凸形障碍物1的第一法向量和凸形障碍物2的第二法向量均垂直的向量,该向量即为初始移动轨迹的避障方向,即修正后的目标移动轨迹可以向该方向移动以实现避障。
in,
Figure PCTCN2020136354-appb-000058
Represents the intersection point, which is located on the intersection line of convex obstacle 1 and convex obstacle 2, e 12 represents the first normal vector of convex obstacle 1 and the second normal of convex obstacle 2 The vectors are all vertical vectors, and this vector is the obstacle avoidance direction of the initial movement trajectory, that is, the corrected target movement trajectory can move in this direction to achieve obstacle avoidance.
其中,
Figure PCTCN2020136354-appb-000059
表示相交点
Figure PCTCN2020136354-appb-000060
在的凸形障碍物1上的法向量,
Figure PCTCN2020136354-appb-000061
表示相交点
Figure PCTCN2020136354-appb-000062
在凸形障碍物2上的法向量,e 12表示同时垂直于
Figure PCTCN2020136354-appb-000063
Figure PCTCN2020136354-appb-000064
的向量。
in,
Figure PCTCN2020136354-appb-000059
Indicates the intersection point
Figure PCTCN2020136354-appb-000060
the normal vector on the convex obstacle 1 of ,
Figure PCTCN2020136354-appb-000061
Indicates the intersection point
Figure PCTCN2020136354-appb-000062
The normal vector on convex obstacle 2, e 12 means both perpendicular to
Figure PCTCN2020136354-appb-000063
and
Figure PCTCN2020136354-appb-000064
vector.
在本发明实施例中,通过上述方法可以解决相交点位于相交线的情景下,对凹形障碍物的避障过程,使得能够有效的实现避障。In the embodiment of the present invention, the above-mentioned method can solve the obstacle avoidance process for concave obstacles in the scenario that the intersection point is located on the intersection line, so that obstacle avoidance can be effectively realized.
在一个实施例中,提出一种机器人避障装置,装置包括:处理器及存储器,存储器中存储有计算机程序,处理器执行计算机程序时,使得处理器执行以下步骤:In one embodiment, a robot obstacle avoidance device is proposed, the device includes: a processor and a memory, where a computer program is stored in the memory, and when the processor executes the computer program, the processor executes the following steps:
机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照凹形障碍物的形状将凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it will divide the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determine the two convex obstacles that intersect each other. The intersection position of the shaped obstacle is the intersection line of the surface of the concave obstacle;
预测初始移动轨迹到达凹形障碍物时,初始移动轨迹与凹形障碍物的表面的相交点;Predict the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
根据相交点及相交线对初始移动轨迹进行避障修正,得到目标移动轨迹,并按照目标移动轨迹进行避障。According to the intersection point and the intersection line, the initial movement trajectory is corrected for obstacle avoidance, and the target movement trajectory is obtained, and obstacle avoidance is carried out according to the target movement trajectory.
在本发明实施例中,上述的机器人避障装置中的步骤所涉及到的内容,与上述机器人避障方法相关的实施例中描述的内容相似,具体可以参阅前述方法实施例中的内容,此处不做赘述。In the embodiment of the present invention, the content involved in the steps in the above-mentioned robot obstacle avoidance device is similar to the content described in the above-mentioned embodiments related to the robot obstacle avoidance method. For details, please refer to the content in the foregoing method embodiment. No further elaboration here.
在检测到凹形障碍物时,通过将该凹形障碍物划分为两两相交的凸形障碍物的方式,使得能够将凹形障碍物的避障问题转化成两两相交的凸形障碍物的避障问题,简化凹形障碍物避障的难度,且可基于预测到的相交点及两两相交的凸形障碍物的相交位置在凹形障碍物的表面的相交线对初始移动轨迹进行避障修正,使得能够有效的实现对凹形障碍物的避障。When a concave obstacle is detected, by dividing the concave obstacle into two intersecting convex obstacles, the obstacle avoidance problem of the concave obstacle can be transformed into two intersecting convex obstacles It simplifies the difficulty of avoiding obstacles of concave obstacles, and the initial movement trajectory can be carried out based on the predicted intersection points and the intersection positions of the two intersecting convex obstacles on the intersecting line of the surface of the concave obstacles. The obstacle avoidance correction makes it possible to effectively realize the obstacle avoidance of concave obstacles.
图5示出了一个实施例中机器人的内部结构图。该机器人具体可以是终端,也可以是服务器。如图5所示,该机器人包括通过系统总线连接的处理器、存储器和网络接口。其中,存储器包括非易失性存储介质和内存储器。该机器人的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现年龄识别方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行年龄识别方法。本领域技术人员可以理解,图5中示出的结构,仅仅是与本申请方案相关的部 分结构的框图,并不构成对本申请方案所应用于其上的机器人的限定,具体的机器人可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Figure 5 shows an internal structure diagram of the robot in one embodiment. Specifically, the robot may be a terminal or a server. As shown in Figure 5, the robot includes a processor, memory and network interface connected through a system bus. Wherein, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the robot stores an operating system, and also stores a computer program. When the computer program is executed by the processor, the processor can implement the age recognition method. A computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor may execute the age identification method. Those skilled in the art can understand that the structure shown in FIG. 5 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the robot to which the solution of the present application is applied. More or fewer components are shown in the figures, either in combination or with different arrangements of components.
在一个实施例中,提出了一种机器人,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:In one embodiment, a robot is proposed, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
在一个实施例中,提出了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:In one embodiment, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, causes the processor to perform the following steps:
机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (10)

  1. 一种机器人避障方法,其特征在于,所述方法包括:A robot obstacle avoidance method, characterized in that the method comprises:
    机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
    预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
    根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述相交点、及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,包括:The method according to claim 1, wherein, performing obstacle avoidance correction on the initial movement trajectory according to the intersection point and the intersection line to obtain a target movement trajectory, comprising:
    根据所述相交点及所述相交线确定目标模态矩阵;determining a target modal matrix according to the intersection point and the intersection line;
    利用所述目标模态矩阵对所述初始移动轨迹进行避障修正,得到目标移动轨迹。The initial movement trajectory is corrected for obstacle avoidance by using the target modal matrix to obtain a target movement trajectory.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述相交点及所述相交线确定所述目标模态矩阵,包括:The method according to claim 2, wherein the determining the target modal matrix according to the intersection point and the intersection line comprises:
    计算各个所述凸形障碍物的表面函数,并确定所述相交点及所述相交线之间的位置关系;Calculate the surface function of each of the convex obstacles, and determine the positional relationship between the intersection point and the intersection line;
    根据各个所述凸形障碍物的表面函数及所述位置关系,确定所述目标模态矩阵。The target modal matrix is determined according to the surface function and the positional relationship of each of the convex obstacles.
  4. 根据权利要求3所述的方法,其特征在于,所述根据各个所述凸形障碍物的表面函数及所述位置关系,确定所述目标模态矩阵,包括:The method according to claim 3, wherein the determining the target modal matrix according to the surface function of each of the convex obstacles and the positional relationship comprises:
    当所述位置关系为所述相交点未位于所述相交线上时,利用各个所述凸形障碍物的表面函数分别得到各个所述凸形障碍物的模态矩阵;When the positional relationship is that the intersection point is not located on the intersection line, obtain the modal matrix of each convex obstacle by using the surface function of each convex obstacle;
    将各个所述凸形障碍物的模态矩阵进行组合得到组合模态矩阵,将所述组合模态矩阵作为所述目标模态矩阵。Combining the modal matrices of each of the convex obstacles to obtain a combined modal matrix, and using the combined modal matrix as the target modal matrix.
  5. 根据权利要求2所述的方法,其特征在于,所述根据各个所述凸形障碍物的表面函数及所述位置关系,确定所述目标模态矩阵,包括:The method according to claim 2, wherein the determining the target modal matrix according to the surface function of each of the convex obstacles and the positional relationship comprises:
    当所述位置关系为所述相交点位于所述相交线上时,确定形成目标相交线的第一凸形障碍物及第二凸形障碍物,所述目标相交线为所述相交点所在的相交线;When the positional relationship is that the intersection point is located on the intersection line, determine a first convex obstacle and a second convex obstacle that form a target intersection line, and the target intersection line is where the intersection point is located intersecting lines;
    根据所述第一凸形障碍物的第一表面函数及所述第二凸形障碍物的第二表面函数,确定所述目标模态矩阵。The target modal matrix is determined according to the first surface function of the first convex obstacle and the second surface function of the second convex obstacle.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述第一凸形障碍物的第一表面函数及所述第二凸形障碍物的第二表面函数,确定所述目标模态矩阵,包括:The method according to claim 5, wherein the target mode is determined according to a first surface function of the first convex obstacle and a second surface function of the second convex obstacle matrix, including:
    利用所述第一表面函数确定所述相交点在所述第一凸形障碍物的第一法向量,及利用所述第二表面函数确定所述相交点在所述第二凸形障碍物的第二法向量;A first normal vector of the intersection point at the first convex obstacle is determined using the first surface function, and a first normal vector of the intersection point at the second convex obstacle is determined using the second surface function the second normal vector;
    利用所述第一表面函数、第二表面函数、所述第一法向量及所述第二法向量构建所述目标模态矩阵。The target mode matrix is constructed using the first surface function, the second surface function, the first normal vector, and the second normal vector.
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    接收任务指令;receive task instructions;
    利用所述任务指令及基于动态系统的连续函数,确定所述机器人的初始移动轨迹。Using the task instruction and the continuous function based on the dynamic system, the initial movement trajectory of the robot is determined.
  8. 一种机器人避障装置,其特征在于,所述装置包括处理器及存储器,存储器中存储有计算机程序,处理器执行计算机程序时,使得处理器执行以下步骤:A robot obstacle avoidance device, characterized in that the device includes a processor and a memory, and a computer program is stored in the memory, and when the processor executes the computer program, the processor is caused to perform the following steps:
    机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
    预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述 凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
    根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  9. 一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the following steps:
    机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
    预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
    根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
  10. 一种机器人,包括存储器和处理器,其特征在于,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:A robot comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps:
    机器人在沿初始移动轨迹行进的过程中若检测到凹形障碍物,则按照所述凹形障碍物的形状将所述凹形障碍物划分为两两相交的凸形障碍物,确定两两相交的两个凸形障碍物的相交位置在所述凹形障碍物的表面的相交线;If the robot detects a concave obstacle in the process of traveling along the initial movement trajectory, it divides the concave obstacle into two convex obstacles that intersect each other according to the shape of the concave obstacle, and determines that the two intersect each other. The intersection of the two convex obstacles is at the intersection of the surfaces of the concave obstacles;
    预测所述初始移动轨迹到达所述凹形障碍物时,所述初始移动轨迹与所述凹形障碍物的表面的相交点;predicting the intersection of the initial movement trajectory and the surface of the concave obstacle when the initial movement trajectory reaches the concave obstacle;
    根据所述相交点及所述相交线对所述初始移动轨迹进行避障修正,得到目标移动轨迹,并按照所述目标移动轨迹进行避障。The initial movement trajectory is corrected for obstacle avoidance according to the intersection point and the intersection line to obtain a target movement trajectory, and obstacle avoidance is performed according to the target movement trajectory.
PCT/CN2020/136354 2020-12-15 2020-12-15 Robot obstacle avoidance method and apparatus, robot, and storage medium WO2022126352A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/136354 WO2022126352A1 (en) 2020-12-15 2020-12-15 Robot obstacle avoidance method and apparatus, robot, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/136354 WO2022126352A1 (en) 2020-12-15 2020-12-15 Robot obstacle avoidance method and apparatus, robot, and storage medium

Publications (1)

Publication Number Publication Date
WO2022126352A1 true WO2022126352A1 (en) 2022-06-23

Family

ID=82059815

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136354 WO2022126352A1 (en) 2020-12-15 2020-12-15 Robot obstacle avoidance method and apparatus, robot, and storage medium

Country Status (1)

Country Link
WO (1) WO2022126352A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112578795A (en) * 2020-12-15 2021-03-30 深圳市优必选科技股份有限公司 Robot obstacle avoidance method and device, robot and storage medium
CN115327564A (en) * 2022-07-22 2022-11-11 天津海关工业产品安全技术中心 Autonomous operation navigation method and system for robot

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843778A (en) * 2016-04-06 2016-08-10 华东师范大学 Efficient continuous collision detection method of non-convex object
CN105844672A (en) * 2016-04-19 2016-08-10 华东师范大学 Rapid and continuous collision detection method for multi-joint model
CN106289264A (en) * 2016-08-26 2017-01-04 哈尔滨工业大学深圳研究生院 A kind of multiple no-manned plane traversal search algorithm based on sub-zone dividing
CN109828607A (en) * 2019-04-03 2019-05-31 南京航空航天大学 A kind of unmanned plane paths planning method and system towards irregular slalom object
CN111283688A (en) * 2020-03-23 2020-06-16 深圳科瑞技术股份有限公司 Obstacle avoidance method of robot and robot equipment
CN111750883A (en) * 2019-12-30 2020-10-09 广州极飞科技有限公司 Method and device for determining job path, storage medium and electronic equipment
CN112015176A (en) * 2020-08-14 2020-12-01 合肥工业大学 Unmanned tractor field operation path planning method and device
CN112015181A (en) * 2020-08-28 2020-12-01 上海高仙自动化科技发展有限公司 Obstacle avoidance method, device, equipment and computer readable storage medium
CN112518756A (en) * 2020-12-10 2021-03-19 深圳市优必选科技股份有限公司 Motion trajectory planning method and device for mechanical arm, mechanical arm and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843778A (en) * 2016-04-06 2016-08-10 华东师范大学 Efficient continuous collision detection method of non-convex object
CN105844672A (en) * 2016-04-19 2016-08-10 华东师范大学 Rapid and continuous collision detection method for multi-joint model
CN106289264A (en) * 2016-08-26 2017-01-04 哈尔滨工业大学深圳研究生院 A kind of multiple no-manned plane traversal search algorithm based on sub-zone dividing
CN109828607A (en) * 2019-04-03 2019-05-31 南京航空航天大学 A kind of unmanned plane paths planning method and system towards irregular slalom object
CN111750883A (en) * 2019-12-30 2020-10-09 广州极飞科技有限公司 Method and device for determining job path, storage medium and electronic equipment
CN111283688A (en) * 2020-03-23 2020-06-16 深圳科瑞技术股份有限公司 Obstacle avoidance method of robot and robot equipment
CN112015176A (en) * 2020-08-14 2020-12-01 合肥工业大学 Unmanned tractor field operation path planning method and device
CN112015181A (en) * 2020-08-28 2020-12-01 上海高仙自动化科技发展有限公司 Obstacle avoidance method, device, equipment and computer readable storage medium
CN112518756A (en) * 2020-12-10 2021-03-19 深圳市优必选科技股份有限公司 Motion trajectory planning method and device for mechanical arm, mechanical arm and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112578795A (en) * 2020-12-15 2021-03-30 深圳市优必选科技股份有限公司 Robot obstacle avoidance method and device, robot and storage medium
CN115327564A (en) * 2022-07-22 2022-11-11 天津海关工业产品安全技术中心 Autonomous operation navigation method and system for robot

Similar Documents

Publication Publication Date Title
Huang et al. Particle swarm optimization for solving the inverse kinematics of 7-DOF robotic manipulators
WO2022126352A1 (en) Robot obstacle avoidance method and apparatus, robot, and storage medium
Zhang et al. A novel coordinated motion planner based on capability map for autonomous mobile manipulator
Luo et al. Collision‐free path‐planning for six‐dof serial harvesting robot based on energy optimal and artificial potential field
CN112518756B (en) Motion trajectory planning method and device for mechanical arm, mechanical arm and storage medium
Gómez et al. A comparative study of geometric path planning methods for a mobile robot: Potential field and Voronoi diagrams
CN112428274B (en) Space motion planning method of multi-degree-of-freedom robot
CN113524205B (en) Throwing track planning method, device and medium for redundant arms of humanoid robot
Cruciani et al. Dual-arm in-hand manipulation and regrasping using dexterous manipulation graphs
Bhuiyan et al. Deep-reinforcement-learning-based path planning for industrial robots using distance sensors as observation
Cruz et al. Learning contextual affordances with an associative neural architecture.
Chen et al. Optimizing the obstacle avoidance trajectory and positioning error of robotic manipulators using multigroup ant colony and quantum behaved particle swarm optimization algorithms
WO2022120670A1 (en) Movement trajectory planning method and apparatus for mechanical arm, and mechanical arm and storage medium
Carneiro et al. The role of early anticipations for human-robot ball catching
CN113146637B (en) Robot Cartesian space motion planning method
Nicola et al. Deep reinforcement learning for motion planning in human robot cooperative scenarios
Tang et al. Coordinated motion planning of dual-arm space robot with deep reinforcement learning
Zhang et al. Inverse kinematics problem of industrial robot based on PSO-RBFNN
Yu et al. Generalizable whole-body global manipulation of deformable linear objects by dual-arm robot in 3-d constrained environments
CN112578795A (en) Robot obstacle avoidance method and device, robot and storage medium
Man et al. Intelligent Motion Control Method Based on Directional Drive for 3-DOF Robotic Arm
Wang et al. Kinematic modeling and Simulation of humanoid dual-arm robot
Lopes et al. Learning sensory-motor maps for redundant robots
Le Van Robust Visual Tracking Control of Pan-tilt-Stereo Camera System
Bhardwaj et al. An unsupervised neural network approach for inverse kinematics solution of manipulator following kalman filter based trajectory

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20965370

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20965370

Country of ref document: EP

Kind code of ref document: A1