A human body following method, device and robot with linkage between two-axis gimbal and chassis
Through the linkage method of the two-axis gimbal and the chassis, combined with obstacle judgment and pixel coordinate calculation, the problem of the gimbal being unable to move and the lack of camera rotation when the robot human body is followed is solved, achieving the effect of flexible following and target not being lost.
Patent Information
- Application Number
- CN202210536497.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-17
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-05-17
AI Technical Summary
In the existing robot human body following technology, the simple two-axis gimbal cannot move, resulting in inflexible following; while the robot camera with a movable chassis lacks rotation characteristics, resulting in the risk of losing the target when navigating around obstacles.
The two-axis gimbal and chassis linkage method is adopted, and the obstacle judgment unit, gimbal control unit and chassis control unit are combined to calculate the rotation speed and angle of the gimbal and chassis using pixel coordinates to ensure that the human target is within the camera's field of view. Follow quickly.
It realizes the separation of gimbal target tracking and chassis control, ensuring that human targets are not lost, and provides the camera with the ability to move, realizing the linkage following effect of gimbal and chassis.
Smart Images

Figure CN114895679B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robots, and in particular to a human body following method, device and robot with a two-axis pan-tilt platform linked to a chassis. Background Art
[0002] There are two main ways to follow a human body based on a robot: one is to follow a human body using a simple two-axis gimbal, which is suitable for a two-axis gimbal camera at a fixed position; the other is to follow a human body using a ground mobile robot with a movable chassis and a fixed camera. The first method is only applicable to a camera with a two-axis gimbal at a fixed location, which cannot be moved and does not meet the requirement of a ground robot to closely follow a human body; in the second method, although the robot can move, the camera does not have the feature of rotation, or the camera has a fixed viewing angle and is not linked to the chassis. When following a human body and bypassing obstacles, there will be a temporary loss of the target, which carries the risk of losing the target.
[0003] The background description provided herein is for the purpose of generally presenting the context of the present disclosure. Unless otherwise indicated herein, the materials described in this section are not prior art to the claims of this application and are not admitted to be prior art by inclusion in this section. Summary of the invention
[0004] In view of the above technical problems in the related art, the present invention proposes a human body following method in which a two-axis gimbal is linked with a chassis, which comprises the following steps:
[0005] S1, obtaining whether there is an obstacle in front of the robot; if there is no obstacle in front of the robot, execute steps S2-S3; if there is an obstacle in front of the robot, only execute step S2;
[0006] S2, obtain the pixel coordinates x and y of the human target in the image coordinate system; control the rotation speed of the gimbal yaw angle to keep the human target in the center of the camera field of view;
[0007] S3, obtain the pixel coordinates x and y of the human target in the image coordinate system; obtain the angle theta of the human target relative to the robot and the distance distance of the human target relative to the robot according to the pixel coordinates x and y of the human target in the image coordinate system, obtain the output linear speed line-speed of the chassis according to the distance distance of the human target relative to the robot and the distance maintained by a preset human following threshold, obtain the angular output angular speed angular-speed of the chassis according to the angle theta of the human target relative to the robot; control the chassis according to the output linear speed line-speed of the chassis and the angular output angular speed angular-speed of the chassis.
[0008] Specifically, the angle theta of the human target relative to the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: theta=arctan(y / x).
[0009] Specifically, the distance distance between the human target and the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: distance=sqrt(x*x+y*y).
[0010] Specifically, the output linear speed line-speed of the chassis is obtained according to the distance distance of the human target relative to the robot and the distance maintained by a preset human following threshold value: line_speed = k*(distance-keep_distance), where keep_distance represents the distance maintained by the human following threshold value, and k represents the control gain.
[0011] Specifically, the angular output angular velocity angular-speed of the chassis is obtained according to the angle theta of the human target relative to the robot: angular_speed = g*(theta), where g represents the angle control gain.
[0012] In a second aspect, another embodiment of the present invention provides a human body following device in which a two-axis gimbal is linked with a chassis, and the human body following device comprises the following units:
[0013] The obstacle judgment unit is used to determine whether there is an obstacle in front of the robot; when there is no obstacle in front of the robot, the pan-tilt control unit and the chassis control unit are executed; when there is an obstacle in front of the robot, the pan-tilt control unit is executed;
[0014] The gimbal control unit is used to obtain the pixel coordinates x and y of the human target in the image coordinate system, keep the pitch angle of the gimbal fixed, and control the yaw angle of the gimbal to keep the human target in the center of the camera's field of view;
[0015] A chassis control unit is used to obtain pixel coordinates x and y of a human target in a picture coordinate system; obtain an angle theta of the human target relative to the robot and a distance distance of the human target relative to the robot according to the pixel coordinates x and y of the human target in the picture coordinate system; obtain an output linear speed line-speed of the chassis according to the distance distance of the human target relative to the robot and a distance maintained by a preset human following threshold; obtain an angular output angular speed angular-speed of the chassis according to the angle theta of the human target relative to the robot; and control the chassis according to the output linear speed line-speed of the chassis and the angular output angular speed angular-speed of the chassis.
[0016] Specifically, the angle theta of the human target relative to the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: theta=arctan(y / x).
[0017] Specifically, the distance distance between the human target and the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: distance=sqrt(x*x+y*y).
[0018] Specifically, the output linear speed line-speed of the chassis is obtained according to the distance distance of the human target relative to the robot and the distance maintained by a preset human following threshold value: line_speed = k*(distance-keep_distance), where keep_distance represents the distance maintained by the human following threshold value, and k represents the control gain.
[0019] Specifically, the angular output angular velocity angular-speed of the chassis is obtained according to the angle theta of the human target relative to the robot: angular_speed = g*(theta), where g represents the angle control gain.
[0020] In a third aspect, another embodiment of the present invention discloses a robot, comprising a central processing unit and a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the instructions are used to implement the above-mentioned human body following method in which a two-axis gimbal is linked to a chassis.
[0021] The present invention controls the pan-tilt target tracking separately from the chassis control following and obstacle avoidance. The pan-tilt target tracking control ensures that the human target is not lost and outputs real-time human target coordinates for the chassis control. The chassis following and obstacle avoidance provide the camera with mobility to ensure that the human target is followed closely, thereby achieving the effect of linkage between the pan-tilt and chassis.
[0022] During the human body following process, if there is no obstacle between the robot and the human body target, steps S2-S3 are executed, and the robot will gradually move toward the human body target until theta is less than the threshold range; the controlled gimbal will keep the human body target in the middle of the camera's field of view. When there is an obstacle between the robot and the human body target, the robot starts to bypass the obstacle, and the chassis control in step S3 is not executed. The gimbal control still keeps executing step S2, and the human body target is in the middle of the camera's field of view to ensure that the human body target is not lost. During this period, it is constantly detected whether there is an obstacle between the robot and the human body. If there is no obstacle, the chassis control is performed using step S3 to quickly shorten the distance with the target human body. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 This is a flow chart of a human body following method in which a two-axis gimbal and a chassis are linked, provided in an embodiment of the present invention;
[0025] Figure 2 It is a schematic diagram of a human body following device in which a two-axis gimbal and a chassis are linked, provided in an embodiment of the present invention;
[0026] Figure 3 Schematic diagram of a robot provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.
[0028] Embodiment 1
[0029] refer to Figure 1 , Figure 1 The present embodiment discloses a human body following method in which a two-axis gimbal is linked with a chassis, and the method comprises the following steps:
[0030] S1, obtaining whether there is an obstacle in front of the robot; if there is no obstacle in front of the robot, execute steps S2-S3; if there is an obstacle in front of the robot, only execute step S2;
[0031] The robot of this embodiment has a two-axis gimbal, which can control the pitch angle and yaw angle, and can also obtain feedback of the pitch angle and yaw angle.
[0032] Specifically, the two-axis gimbal includes a camera, and the gimbal is used to drive the camera to rotate, so as to achieve photography in different directions.
[0033] The robot has a differential chassis and has the ability to bypass obstacles. The robot can determine whether there is an obstacle between the human target and the robot, and this embodiment uses a laser radar to determine. Specifically, when determining the obstacle, a camera or a millimeter wave radar can also be used for determination.
[0034] S2, obtain the pixel coordinates x and y of the human target in the image coordinate system, keep the pitch angle of the gimbal unchanged, and control the yaw angle of the gimbal to keep the human target in the center of the camera's field of view;
[0035] The two-axis gimbal of this embodiment is equipped with a camera, and the built-in algorithm can output the pixel coordinates x and y of the human target in the current image.
[0036] In another embodiment, the camera of the two-axis gimbal acquires pictures or videos and transmits the pictures or videos to the central processor of the robot, and the central processor executes a corresponding algorithm to calculate the x and y coordinates of the current human target in the current image.
[0037] The x and y coordinates of the human target in the current image in this embodiment refer to the x and y coordinates given using the image coordinate system; the image coordinate system takes the upper left corner of the image as the origin, the horizontal rightward direction is the positive x-axis direction, and the horizontal downward direction is the positive y-axis direction.
[0038] In this embodiment, the x and y coordinates of the human target in the current image refer to the x and y coordinates given by the image coordinate system, that is, the pixel coordinates of the center of the human frame on the image.
[0039] Specifically, this embodiment first obtains the width max_width of the image, calculates the x-axis deviation delta_camera_x from the center point of the human target frame to the center of the image, specifically delta_camera_x=max_width / 2-x, and then obtains the rotation speed camera_x_speed of the gimbal from the angle deviation, specifically camera_x_speed=j*delta_camera_x, where j represents the control gain, keeps the pitch angle of the gimbal unchanged, and controls the rotation speed of the gimbal yaw angle through 485 communication to keep the human target in the middle of the camera field of view;
[0040] S3, obtain the pixel coordinates x and y in the human target image coordinate system; obtain the angle theta of the human target relative to the robot and the distance distance of the human target relative to the robot according to the pixel coordinates x and y in the human target image coordinate system, obtain the output linear speed line-speed of the chassis according to the distance distance of the human target relative to the robot and the distance maintained by a preset human following threshold, and obtain the angular output angular speed angular-speed of the chassis according to the angle theta of the human target relative to the robot; control the chassis according to the output linear speed line-speed of the chassis and the angular output angular speed angular-speed of the chassis.
[0041] The pixel coordinates x and y of the human target image coordinate system in this step may be obtained by an algorithm built into the two-axis gimbal or by the central processor of the robot.
[0042] According to the human body coordinates x and y, the angle theta of the human body target relative to the robot is calculated by theta = arctan (y / x).
[0043] The distance from the human target to the robot body is calculated by distance = sqrt (x*x+y*y).
[0044] Then by the following formula
[0045] line_speed=k*(distance-keep_distance)
[0046] angle_speed = g*(theta)
[0047] keep_distance represents the distance that the human body follows the threshold to keep, k represents the control gain, and line_speed represents the output line speed;
[0048] g represents the angle control gain, and angluar_speed represents the output angular velocity.
[0049] Furthermore, this embodiment also includes: determining whether the angle theta of the human target relative to the robot is less than a preset threshold, if not, repeating steps S1-S3.
[0050] In this embodiment, the gimbal target tracking is controlled separately from the chassis control following and obstacle avoidance. The gimbal target tracking control ensures that the human target is not lost and outputs real-time human target coordinates for the chassis control. The chassis following and obstacle avoidance provide the camera with mobility to ensure that it follows the human target closely, thereby achieving the effect of a gimbal and chassis linkage.
[0051] During the human body following process, if there is no obstacle between the robot and the human body target, steps S2-S3 are executed, and the robot will gradually move toward the human body target until theta is less than the threshold range; the controlled gimbal will keep the human body target in the middle of the camera's field of view. When there is an obstacle between the robot and the human body target, the robot starts to bypass the obstacle, and the chassis control in step S3 is not executed. The gimbal control still keeps executing step S2, and the human body target is in the middle of the camera's field of view to ensure that the human body target is not lost. During this period, it is constantly detected whether there is an obstacle between the robot and the human body. If there is no obstacle, the chassis control is performed using step S3 to quickly shorten the distance with the target human body.
[0052] Implementation II
[0053] refer to Figure 2 This embodiment provides a human body following device with a two-axis gimbal and a chassis linked together, which includes the following units:
[0054] The obstacle judgment unit is used to determine whether there is an obstacle in front of the robot; when there is no obstacle in front of the robot, the pan-tilt control unit and the chassis control unit are executed; when there is an obstacle in front of the robot, the pan-tilt control unit is executed;
[0055] The robot of this embodiment has a two-axis gimbal, which can control the pitch angle and the yaw angle, and can also obtain feedback of the pitch angle and the yaw angle.
[0056] Specifically, the two-axis gimbal includes a camera, and the gimbal is used to drive the camera to rotate, so as to achieve photography in different directions.
[0057] The robot has a differential chassis and has the ability to bypass obstacles. The robot can determine whether there is an obstacle between the human target and the robot, and this embodiment uses a laser radar to determine. Specifically, when determining the obstacle, a camera or a millimeter wave radar can also be used for determination.
[0058] The gimbal control unit is used to obtain the pixel coordinates x and y in the human target image coordinate system, keep the pitch angle of the gimbal fixed, and control the yaw angle of the gimbal to keep the human target in the center of the camera field of view;
[0059] The two-axis gimbal of this embodiment is equipped with a camera, and the built-in algorithm can output the pixel coordinates of the human target in the current image.
[0060] In another embodiment, the camera of the two-axis gimbal acquires pictures or videos, and transmits the pictures or videos to the central processor of the robot, and the central processor executes a corresponding algorithm to calculate the x and y coordinates of the current human target.
[0061] A chassis control unit is used to obtain pixel coordinates x and y in a human target image coordinate system; obtain an angle theta of the human target relative to the robot and a distance distance of the human target relative to the robot according to the pixel coordinates x and y in the human target image coordinate system; obtain an output speed line-speed of the chassis according to the distance distance of the human target relative to the robot and a distance maintained by a preset human following threshold; obtain an angular output angular velocity angular-speed of the chassis according to the angle theta of the human target relative to the robot; and control the chassis according to the output line speed line-speed of the chassis and the angular output angular velocity angular-speed of the chassis.
[0062] Specifically, the angle theta of the human target relative to the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: theta=arctan(y / x).
[0063] Specifically, the distance distance between the human target and the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: distance=sqrt(x*x+y*y).
[0064] Specifically, the output linear speed line-speed of the chassis is obtained according to the distance distance of the human target relative to the robot and the distance maintained by a preset human following threshold value: line_speed = k*(distance-keep_distance), where keep_distance represents the distance maintained by the human following threshold value, and k represents the control gain.
[0065] Specifically, the angular output angular velocity angular-speed of the chassis is obtained according to the angle theta of the human target relative to the robot: angular_speed = g*(theta), where g represents the angle control gain.
[0066] Furthermore, this embodiment also includes: a real-time human body following unit, which is used to determine whether the angle theta of the human body target relative to the robot is less than a preset threshold. If not, the obstacle judgment unit, the gimbal control unit, and the chassis control unit are repeatedly executed.
[0067] In this embodiment, the gimbal target tracking is controlled separately from the chassis control following and obstacle avoidance. The gimbal target tracking control ensures that the human target is not lost and outputs real-time human target coordinates for the chassis control. The chassis following and obstacle avoidance provide the camera with mobility to ensure that it follows the human target closely, thereby achieving the effect of a gimbal and chassis linkage.
[0068] During the human body following process, if there is no obstacle between the robot and the human body target, steps S2-S3 are executed, and the robot will gradually move toward the human body target until theta is less than the threshold range; the controlled gimbal will keep the human body target in the middle of the camera's field of view. When there is an obstacle between the robot and the human body target, the robot starts to bypass the obstacle, and the chassis control in step S3 is not executed. The gimbal control still keeps executing step S2, and the human body target is in the middle of the camera's field of view to ensure that the human body target is not lost. During this period, it is constantly detected whether there is an obstacle between the robot and the human body. If there is no obstacle, the chassis control is performed using step S3 to quickly shorten the distance with the target human body.
[0069] Embodiment 3
[0070] refer to Figure 3 , Figure 3 : is a schematic diagram of the structure of a robot of this embodiment. The robot 20 of this embodiment includes a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, the steps in the above method embodiment are implemented. Alternatively, when the processor 21 executes the computer program, the functions of each module / unit in the above device embodiments are implemented.
[0071] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the robot 20. For example, the computer program may be divided into the modules in Embodiment 2. For the specific functions of each module, please refer to the working process of the device described in the above embodiment, which will not be repeated here.
[0072] The robot 20 may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will appreciate that the schematic diagram is merely an example of the robot 20 and does not limit the robot 20. The robot 20 may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the robot 20 may also include input and output devices, network access devices, buses, etc.
[0073] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 21 is the control center of the robot 20, and various parts of the entire robot 20 are connected using various interfaces and lines.
[0074] The memory 22 can be used to store the computer program and / or module. The processor 21 realizes various functions of the robot 20 by running or executing the computer program and / or module stored in the memory 22 and calling the data stored in the memory 22. The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0075] Wherein, if the module / unit integrated in the robot 20 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor 21, the steps of the above-mentioned various method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0076] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0077] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A human body following method with a two-axis gimbal and a chassis linkage, comprising the following steps: S1, obtaining whether there is an obstacle in front of the robot; if there is no obstacle in front of the robot, execute steps S2-S3; if there is an obstacle in front of the robot, only execute step S2; S2, obtain the pixel coordinates x and y of the human target in the image coordinate system, keep the pitch angle of the gimbal unchanged, and control the yaw angle of the gimbal to keep the human target in the center of the camera's field of view; S3, obtaining pixel coordinates x and y of the human target in the image coordinate system; obtaining the angle theta of the human target relative to the robot and the distance distance of the human target relative to the robot according to the pixel coordinates x and y of the human target in the image coordinate system; obtaining the output linear speed line-speed of the chassis according to the distance distance of the human target relative to the robot and the distance maintained by a preset human following threshold; obtaining the angular output angular speed angular-speed of the chassis according to the angle theta of the human target relative to the robot; controlling the chassis according to the output linear speed line-speed of the chassis and the angular output angular speed angular-speed of the chassis; The output line-speed of the chassis is obtained according to the distance of the human target relative to the robot and the distance kept by the preset human following threshold: line_speed = k * (distance - keep_distance), where keep_distance represents the distance kept by the human following threshold, and k represents the control gain; The angular output angular velocity angular-speed of the chassis is obtained according to the angle theta of the human target relative to the robot: angluar_speed = g * (theta), where g represents the angle control gain.
2. According to the method of claim 1, the angle theta of the human target relative to the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: theta = arctan(y / x).
3. According to the method of claim 2, the distance of the human target relative to the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: distance = sqrt(x*x+y*y).
4. A human body following device with a two-axis gimbal and a chassis linkage, comprising the following units: The obstacle judgment unit is used to determine whether there is an obstacle in front of the robot; when there is no obstacle in front of the robot, the pan-tilt control unit and the chassis control unit are executed; when there is an obstacle in front of the robot, the pan-tilt control unit is executed; The gimbal control unit is used to obtain the pixel coordinates x and y of the human target in the image coordinate system, keep the pitch angle of the gimbal fixed, and control the yaw angle of the gimbal to keep the human target in the center of the camera's field of view; The chassis control unit is used to obtain the pixel coordinates x and y of the human target in the image coordinate system; According to the pixel coordinates x and y in the coordinate system of the human target image, the angle theta of the human target relative to the robot and the distance distance of the human target relative to the robot are obtained; according to the distance distance of the human target relative to the robot and the distance maintained by a preset human following threshold, the output linear speed line-speed of the chassis is obtained; according to the angle theta of the human target relative to the robot, the angular output angular speed angular-speed of the chassis is obtained; and the chassis is controlled according to the output linear speed line-speed of the chassis and the angular output angular speed angular-speed of the chassis; The output line-speed of the chassis is obtained according to the distance of the human target relative to the robot and the distance kept by the preset human following threshold: line_speed = k * (distance - keep_distance), where keep_distance represents the distance kept by the human following threshold, and k represents the control gain; The angular output angular velocity angular-speed of the chassis is obtained according to the angle theta of the human target relative to the robot: angluar_speed = g * (theta), where g represents the angle control gain.
5. According to the device of claim 4, the angle theta of the human target relative to the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: theta = arctan(y / x); the distance distance of the human target relative to the robot is obtained according to the pixel coordinates x and y in the human target image coordinate system: distance = sqrt(x*x+y*y).
6. A robot, comprising a central processing unit and a storage unit, wherein the storage unit stores instructions, and when the instructions are executed by the processor, they are used to implement the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Following robot, following control method and following control system
CN113110413A
Robot obstacle avoidance method and device, electronic equipment and storage medium
CN113126604A
Operation method of a robot for leading a follower
US20200033864A1
Target tracking method and device, and computer storage medium
WO2020258164A1
