CN117826863A - Robot following method, device, robot and readable storage medium - Google Patents
Robot following method, device, robot and readable storage medium Download PDFInfo
- Publication number
- CN117826863A CN117826863A CN202211177537.6A CN202211177537A CN117826863A CN 117826863 A CN117826863 A CN 117826863A CN 202211177537 A CN202211177537 A CN 202211177537A CN 117826863 A CN117826863 A CN 117826863A
- Authority
- CN
- China
- Prior art keywords
- robot
- trajectory
- target object
- moving
- moving trajectory
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000004044 response Effects 0.000 claims abstract description 7
- 238000004140 cleaning Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 230000008859 change Effects 0.000 abstract description 7
- 238000004891 communication Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000005755 formation reaction Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
本公开涉及一种机器人跟随方法、装置、机器人及可读存储介质。方法包括:响应于接收到跟随指令,确定机器人待跟随的目标对象;确定目标对象的移动轨迹和移动轨迹的曲率信息;根据曲率信息,控制机器人按照移动轨迹跟随目标对象。由于移动轨迹是目标对象移动产生的,因此,机器人按照该移动轨迹进行目标对象跟随,可保证复杂环境中跟随目标对象的成功率和稳健性,既可最大限度避免发生碰撞而又不会使机器人多走弯路,确保机器人对目标对象的准确高效跟随。此外,在控制机器人按照移动轨迹跟随目标对象时,结合移动轨迹的曲率信息,可预知机器人待跟随路径的方向变化情况,从而提前规划机器人的转向控制信息,避免拐直角弯,使得跟随路径更加平顺。
The present disclosure relates to a robot following method, device, robot and readable storage medium. The method includes: in response to receiving a following instruction, determining a target object to be followed by the robot; determining a moving trajectory of the target object and curvature information of the moving trajectory; and controlling the robot to follow the target object according to the moving trajectory according to the curvature information. Since the moving trajectory is generated by the movement of the target object, the robot follows the target object according to the moving trajectory, which can ensure the success rate and robustness of following the target object in a complex environment, and can avoid collisions to the greatest extent without causing the robot to take more detours, thereby ensuring that the robot follows the target object accurately and efficiently. In addition, when controlling the robot to follow the target object according to the moving trajectory, combined with the curvature information of the moving trajectory, the direction change of the path to be followed by the robot can be predicted, thereby planning the steering control information of the robot in advance, avoiding right-angle turns, and making the following path smoother.
Description
技术领域Technical Field
本公开涉及机器人技术领域,尤其涉及一种机器人跟随方法、装置、机器人及可读存储介质。The present disclosure relates to the field of robot technology, and in particular to a robot following method, device, robot and readable storage medium.
背景技术Background technique
目前,机器人可以对目标对象进行追踪,并对目标对象进行跟随。例如,无人飞行器可以将目标对象(例如用户、汽车等)确定为追踪对象,并对目标对象进行跟随,且在跟随的过程中,可以对目标对象进行拍摄。Currently, robots can track and follow target objects. For example, an unmanned aerial vehicle can determine a target object (such as a user, a car, etc.) as a tracking object, follow the target object, and take a photo of the target object during the following process.
现阶段,机器人通常根据目标对象的位置,自主选择最直接的可行路径(即机器人与跟随目标之间的直线路径)进行跟随,但有时可能由于某些问题(例如,目标对象通过特定的路线绕行某个障碍物)追踪不到目标对象,导致机器人对目标对象的跟随失败。At present, robots usually autonomously select the most direct feasible path (i.e., the straight path between the robot and the target) to follow according to the position of the target object. However, sometimes the target object cannot be tracked due to certain problems (for example, the target object bypasses an obstacle through a specific route), resulting in the robot's failure to follow the target object.
发明内容Summary of the invention
为克服相关技术中存在的问题,本公开提供一种机器人跟随方法、装置、机器人及可读存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a robot following method, device, robot and readable storage medium.
根据本公开实施例的第一方面,提供一种机器人跟随方法,包括:According to a first aspect of an embodiment of the present disclosure, there is provided a robot following method, comprising:
响应于接收到跟随指令,确定机器人待跟随的目标对象;In response to receiving the follow instruction, determining a target object to be followed by the robot;
确定所述目标对象的移动轨迹和所述移动轨迹的曲率信息;Determining a moving trajectory of the target object and curvature information of the moving trajectory;
根据所述曲率信息,控制所述机器人按照所述移动轨迹跟随所述目标对象。According to the curvature information, the robot is controlled to follow the target object along the moving trajectory.
可选地,所述根据所述曲率信息,控制所述机器人按照所述移动轨迹跟随所述目标对象,包括:Optionally, controlling the robot to follow the target object along the moving trajectory according to the curvature information includes:
根据所述曲率信息,控制所述目标对象的转向角度和转向速度,以使得所述机器人按照所述移动轨迹跟随所述目标对象。According to the curvature information, the steering angle and the steering speed of the target object are controlled so that the robot follows the target object according to the moving trajectory.
可选地,所述确定所述目标对象的移动轨迹,包括:Optionally, determining the moving trajectory of the target object includes:
获取所述目标对象的轨迹点序列,其中,所述轨迹点序列包括所述目标对象的多个轨迹点;Acquire a trajectory point sequence of the target object, wherein the trajectory point sequence includes a plurality of trajectory points of the target object;
根据所述轨迹点序列进行轨迹拟合,得到所述目标对象的移动轨迹。A trajectory fitting is performed according to the trajectory point sequence to obtain the moving trajectory of the target object.
可选地,所述轨迹点通过以下方式确定:Optionally, the trajectory points are determined by:
获取所述机器人的当前位置信息;Obtaining current position information of the robot;
确定所述目标对象相对于所述机器人的相对位置信息;Determining relative position information of the target object relative to the robot;
根据所述当前位置信息和所述相对位置信息,确定所述目标对象的轨迹点。The trajectory point of the target object is determined according to the current position information and the relative position information.
可选地,所述根据所述轨迹点序列进行轨迹拟合,得到所述目标对象的移动轨迹,包括:Optionally, performing trajectory fitting according to the trajectory point sequence to obtain the moving trajectory of the target object includes:
对所述轨迹点序列进行轨迹清洗;Performing trajectory cleaning on the trajectory point sequence;
根据轨迹清洗后所得的轨迹点序列进行轨迹拟合,得到所述目标对象的移动轨迹。The trajectory is fitted according to the trajectory point sequence obtained after trajectory cleaning to obtain the moving trajectory of the target object.
可选地,所述方法还包括:Optionally, the method further comprises:
在控制所述机器人按照所述移动轨迹跟随所述目标对象的过程中,控制所述机器人的移动速度,以使所述机器人与所述目标对象之间的轨迹距离为预设轨迹距离,其中,所述轨迹距离为所述移动轨迹上的、所述机器人与所述目标对象之间的轨迹长度。In the process of controlling the robot to follow the target object along the moving trajectory, the moving speed of the robot is controlled so that the trajectory distance between the robot and the target object is a preset trajectory distance, wherein the trajectory distance is the trajectory length between the robot and the target object on the moving trajectory.
可选地,所述控制所述机器人的移动速度,以使所述机器人与所述目标对象之间的轨迹距离为预设轨迹距离,包括:Optionally, controlling the moving speed of the robot so that a trajectory distance between the robot and the target object is a preset trajectory distance includes:
确定所述机器人与所述目标对象之间的当前轨迹距离;determining a current trajectory distance between the robot and the target object;
根据所述当前轨迹距离和预设轨迹距离,控制所述机器人的移动速度。The moving speed of the robot is controlled according to the current trajectory distance and the preset trajectory distance.
根据本公开实施例的第二方面,提供一种机器人跟随装置,包括:According to a second aspect of an embodiment of the present disclosure, there is provided a robot following device, comprising:
第一确定模块,被配置为响应于接收到跟随指令,确定机器人待跟随的目标对象;A first determination module is configured to determine a target object to be followed by the robot in response to receiving a follow instruction;
第二确定模块,被配置为确定所述目标对象的移动轨迹和所述移动轨迹的曲率信息;A second determining module is configured to determine a moving trajectory of the target object and curvature information of the moving trajectory;
控制模块,被配置为根据所述曲率信息,控制所述机器人按照所述移动轨迹跟随所述目标对象。The control module is configured to control the robot to follow the target object along the moving trajectory according to the curvature information.
根据本公开实施例的第三方面,提供一种机器人,包括:According to a third aspect of an embodiment of the present disclosure, there is provided a robot, comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor-executable instructions;
其中,所述处理器被配置为:实现本公开第一方面所提供的机器人跟随方法的步骤。Wherein, the processor is configured to: implement the steps of the robot following method provided in the first aspect of the present disclosure.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所提供的机器人跟随方法的步骤。According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the robot following method provided in the first aspect of the present disclosure are implemented.
本公开的实施例提供的技术方案可以包括以下有益效果:在接收到跟随指令时,首先确定机器人待跟随的目标对象;然后,获取机器人待跟随的目标对象的移动轨迹和移动轨迹的曲率信息;最后,根据移动轨迹的曲率信息,控制机器人按照目标对象的移动轨迹跟随目标对象。由于移动轨迹是目标对象移动产生的,因此,机器人按照该移动轨迹进行目标对象跟随,可以保证复杂环境中跟随目标对象的成功率和稳健性,既可以最大限度避免发生碰撞而又不会使机器人多走弯路,确保机器人对目标对象的准确高效跟随。此外,在控制机器人按照移动轨迹跟随目标对象时,结合了移动轨迹的曲率信息,由此,可以根据曲率信息,预知机器人待跟随路径的方向变化情况,从而可以提前规划机器人的转向控制信息,以避免拐直角弯,使得跟随路径更加平顺。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when receiving a follow-up instruction, first determine the target object to be followed by the robot; then, obtain the moving trajectory of the target object to be followed by the robot and the curvature information of the moving trajectory; finally, according to the curvature information of the moving trajectory, control the robot to follow the target object according to the moving trajectory of the target object. Since the moving trajectory is generated by the movement of the target object, the robot follows the target object according to the moving trajectory, which can ensure the success rate and robustness of following the target object in a complex environment, and can avoid collisions to the greatest extent without causing the robot to take more detours, thereby ensuring that the robot follows the target object accurately and efficiently. In addition, when controlling the robot to follow the target object according to the moving trajectory, the curvature information of the moving trajectory is combined, thereby, according to the curvature information, the direction change of the path to be followed by the robot can be predicted, so that the steering control information of the robot can be planned in advance to avoid right-angle turns, making the following path smoother.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
图1是根据一示例性实施例示出的一种机器人跟随方法的流程图。Fig. 1 is a flow chart showing a robot following method according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种目标对象移动轨迹的示意图。Fig. 2 is a schematic diagram showing a moving trajectory of a target object according to an exemplary embodiment.
图3是根据另一示例性实施例示出的一种目标对象移动轨迹的示意图。Fig. 3 is a schematic diagram showing a moving trajectory of a target object according to another exemplary embodiment.
图4是根据一示例性实施例示出的一种机器人跟随装置的框图。Fig. 4 is a block diagram of a robot following device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种机器人的框图。Fig. 5 is a block diagram of a robot according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
图1是根据一示例性实施例示出的一种机器人跟随方法的流程图。如图1所示,该方法可以包括以下S101~S103。Fig. 1 is a flow chart of a robot following method according to an exemplary embodiment. As shown in Fig. 1 , the method may include the following S101 to S103.
在S101中,响应于接收到跟随指令,确定机器人待跟随的目标对象。In S101 , in response to receiving a follow instruction, a target object to be followed by the robot is determined.
在本公开中,机器人可以为依靠自身配置的动力系统移动的设备,示例地,该机器人可以为轮式机器人、足类机器人、飞行机器人等。目标对象为机器人的跟随对象,其可以是人、动物、车辆或者其他可以移动的物体。In the present disclosure, a robot may be a device that moves by a power system configured by itself, for example, the robot may be a wheeled robot, a legged robot, a flying robot, etc. A target object is an object followed by the robot, which may be a person, an animal, a vehicle or other movable object.
在S102中,确定目标对象的移动轨迹和移动轨迹的曲率信息。In S102 , a moving trajectory of the target object and curvature information of the moving trajectory are determined.
在本公开中,可以通过曲线表达式来表征目标对象的移动轨迹,之后,通过曲线表达式,计算移动轨迹的曲率信息。In the present disclosure, the moving trajectory of the target object may be represented by a curve expression, and then the curvature information of the moving trajectory may be calculated by the curve expression.
在S103中,根据曲率信息,控制机器人按照移动轨迹跟随目标对象。In S103, the robot is controlled to follow the target object along the moving trajectory according to the curvature information.
在一种实施方式中,可以根据曲率信息,控制机器人的转向角度和转向速度,以使得机器人按照转向角度和转向速度跟随目标对象。具体来说,针对移动轨迹上的各轨迹点,若该轨迹点处的曲率大于预设曲率阈值,则表明目标对象在该轨迹点急转弯、甚至拐直角弯,此时,为了避免机器人因急转弯、甚至拐直角弯而倾倒,可以在移动轨迹上、该轨迹点的前后邻近位置各取一个邻近点,并根据这两个邻近点进行轨迹拟合,之后,将移动轨迹上该两个邻近点之间的轨迹线替换为轨迹拟合后所得的曲线,得到新的轨迹线,最后,确定机器人在新的轨迹线上的转向角度,并在转向角度大于预设角度时,控制机器人减速。若该轨迹点处的曲率小于或等于预设曲率阈值,则直接根据该轨迹点的曲率,确定机器人的转向角度,并在转向角度大于预设角度时,控制机器人减速。In one embodiment, the steering angle and steering speed of the robot can be controlled according to the curvature information, so that the robot follows the target object according to the steering angle and steering speed. Specifically, for each track point on the moving track, if the curvature at the track point is greater than the preset curvature threshold, it indicates that the target object makes a sharp turn or even a right-angle turn at the track point. At this time, in order to prevent the robot from tipping over due to a sharp turn or even a right-angle turn, a neighboring point can be taken at each of the front and rear neighboring positions of the track point on the moving track, and the track fitting is performed based on the two neighboring points. After that, the track line between the two neighboring points on the moving track is replaced with the curve obtained after the track fitting to obtain a new track line. Finally, the steering angle of the robot on the new track line is determined, and when the steering angle is greater than the preset angle, the robot is controlled to decelerate. If the curvature at the track point is less than or equal to the preset curvature threshold, the steering angle of the robot is directly determined based on the curvature of the track point, and when the steering angle is greater than the preset angle, the robot is controlled to decelerate.
这样,根据曲率信息,可以提前规划机器人的转向控制信息(即转向角度和转向速度),以避免拐直角弯和急转弯,使得跟随路径更加平顺,也可以避免机器人急转弯导致的倾倒。In this way, according to the curvature information, the robot's steering control information (i.e., steering angle and steering speed) can be planned in advance to avoid right-angle turns and sharp turns, making the following path smoother and also avoiding the robot from tipping over due to sharp turns.
本公开的实施例提供的技术方案可以包括以下有益效果:在接收到跟随指令时,首先确定机器人待跟随的目标对象;然后,获取机器人待跟随的目标对象的移动轨迹和移动轨迹的曲率信息;最后,根据移动轨迹的曲率信息,控制机器人按照目标对象的移动轨迹跟随目标对象。由于移动轨迹是目标对象移动产生的,因此,机器人按照该移动轨迹进行目标对象跟随,可以保证复杂环境中跟随目标对象的成功率和稳健性,既可以最大限度避免发生碰撞而又不会使机器人多走弯路,确保机器人对目标对象的准确高效跟随。此外,在控制机器人按照移动轨迹跟随目标对象时,结合了移动轨迹的曲率信息,由此,可以根据曲率信息,预知机器人待跟随路径的方向变化情况,从而可以提前规划机器人的转向控制信息,以避免拐直角弯,使得跟随路径更加平顺。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when receiving a follow-up instruction, first determine the target object to be followed by the robot; then, obtain the moving trajectory of the target object to be followed by the robot and the curvature information of the moving trajectory; finally, according to the curvature information of the moving trajectory, control the robot to follow the target object according to the moving trajectory of the target object. Since the moving trajectory is generated by the movement of the target object, the robot follows the target object according to the moving trajectory, which can ensure the success rate and robustness of following the target object in a complex environment, and can avoid collisions to the greatest extent without causing the robot to take more detours, thereby ensuring that the robot follows the target object accurately and efficiently. In addition, when controlling the robot to follow the target object according to the moving trajectory, the curvature information of the moving trajectory is combined, thereby, according to the curvature information, the direction change of the path to be followed by the robot can be predicted, so that the steering control information of the robot can be planned in advance to avoid right-angle turns, making the following path smoother.
下面针对上述S101中的确定机器人待跟随的目标对象的具体实施方式进行详细说明。The specific implementation of determining the target object to be followed by the robot in the above S101 is described in detail below.
具体来说,可以通过多种方式来实现,在一种实施方式中,首先,可以通过设置在机器人上的激光传感器、摄像头、深度相机等图像采集装置来获取机器人的周围环境信息;然后,从周边环境信息中检测出需要跟随的对象类型,周边环境中可以有一个或多个对象属于该对象类型;最后,从周边环境中属于该对象类型的一个或多个对象中确定目标对象,其中,可以根据预先设置的规则从一个或多个对象中确定目标对象,例如,选择距离机器人最近的对象或者选择某个坐标附近的对象作为目标对象。Specifically, it can be achieved in a variety of ways. In one embodiment, first, the robot's surrounding environment information can be obtained by using image acquisition devices such as laser sensors, cameras, depth cameras, etc. installed on the robot; then, the type of object to be followed is detected from the surrounding environment information, and there can be one or more objects in the surrounding environment that belong to this object type; finally, the target object is determined from one or more objects in the surrounding environment that belong to this object type, wherein the target object can be determined from one or more objects according to pre-set rules, for example, the object closest to the robot or an object near a certain coordinate is selected as the target object.
其中,可以通过机器学习的方法,事先训练好分类器,即提取某一类对象的图像的特征信息,输入到分类器中,通过对比从周边环境信息中检测出某类对象。Among them, the classifier can be trained in advance through machine learning methods, that is, the feature information of the image of a certain type of object is extracted and input into the classifier, and the certain type of object is detected from the surrounding environment information through comparison.
在另一种实施方式中,可以根据跟随指令确定机器人待跟随的目标对象,其中,跟随指令包括机器人待跟随对象的位置、标识等信息。In another embodiment, the target object to be followed by the robot may be determined according to a following instruction, wherein the following instruction includes information such as a position and an identifier of the object to be followed by the robot.
下面针对上述S102中的确定目标对象的移动轨迹的具体实施方式进行详细说明。具体来说,可以通过以下步骤(1)和步骤(2)来实现:The following is a detailed description of the specific implementation of determining the moving trajectory of the target object in the above S102. Specifically, it can be achieved by the following steps (1) and (2):
(1)获取目标对象的轨迹点序列,其中,轨迹点序列包括目标对象的多个轨迹点。(1) Obtain a trajectory point sequence of a target object, wherein the trajectory point sequence includes multiple trajectory points of the target object.
(2)根据轨迹点序列进行轨迹拟合,得到目标对象的移动轨迹。(2) Perform trajectory fitting based on the trajectory point sequence to obtain the moving trajectory of the target object.
在本公开中,目标对象的多个轨迹点包括目标对象在不同时刻的轨迹点。其中,上述目标对象的各轨迹点可以通过以下步骤[1]~步骤[3]来确定:In the present disclosure, the multiple trajectory points of the target object include the trajectory points of the target object at different times. The trajectory points of the target object can be determined by the following steps [1] to [3]:
[1]获取机器人的当前位置信息。[1] Get the current position information of the robot.
具体来说,可以通过设置在机器人上的定位装置(例如,GPS设备)来实时获取机器人的当前位置信息,即机器人在基准坐标系(即世界坐标系)下的坐标。Specifically, the current position information of the robot, ie, the coordinates of the robot in the reference coordinate system (ie, the world coordinate system), can be acquired in real time through a positioning device (eg, a GPS device) provided on the robot.
[2]确定目标对象相对于机器人的相对位置信息。[2] Determine the relative position information of the target object relative to the robot.
在本公开中,目标对象相对于机器人的相位位置信息为目标对象在机器人的相机坐标系下的坐标。In the present disclosure, the phase position information of the target object relative to the robot is the coordinates of the target object in the camera coordinate system of the robot.
在一种实施方式中,可以根据设置在机器人上的深度相机、双目相机、单目相机等采集目标对象的图像;之后,根据采集到的目标对象的图像,确定目标对象在机器人的相机坐标系下的坐标。In one embodiment, an image of the target object can be captured by a depth camera, a binocular camera, a monocular camera, etc. installed on the robot; then, the coordinates of the target object in the camera coordinate system of the robot are determined based on the captured image of the target object.
在另一种实施方式中,可以基于超宽带定位技术来定位得到目标对象在机器人的相机坐标系下的坐标。In another embodiment, the coordinates of the target object in the camera coordinate system of the robot may be located based on ultra-wideband positioning technology.
[3]根据机器人的当前位置信息和目标对象相对于机器人的相对位置信息,确定目标对象的轨迹点。[3] Determine the trajectory point of the target object based on the current position information of the robot and the relative position information of the target object relative to the robot.
在本公开中,假设机器人的跟随功能开启并识别到目标对象的时刻为t0,记机器人在t0时刻的位置为基准坐标系的原点,机器人的相机坐标系的x轴、y轴、z轴分别与基准坐标系的x轴、y轴、z轴重合,t0时刻机器人在基准坐标系下的坐标记为目标对象在机器人的相机坐标系下的坐标记为目标对象在基准坐标系下的坐标记为/> In the present disclosure, it is assumed that the time when the following function of the robot is turned on and the target object is recognized is t 0 , and the position of the robot at time t 0 is recorded as the origin of the reference coordinate system. The x-axis, y-axis, and z-axis of the robot's camera coordinate system coincide with the x-axis, y-axis, and z-axis of the reference coordinate system respectively. The coordinates of the robot in the reference coordinate system at time t 0 are represented as The coordinates of the target object in the robot's camera coordinate system are The coordinates of the target object in the reference coordinate system are marked as/>
在tk时刻,机器人在基准坐标系下的坐标记为目标对象在机器人的相机坐标系下的坐标记为/>根据基准坐标系与机器人的相机坐标系之间的坐标系变化关系,可以通过以下等式计算得到目标对象在基准坐标系下的坐标/> At time tk , the coordinates of the robot in the reference coordinate system are The coordinates of the target object in the robot's camera coordinate system are marked as/> According to the coordinate system change relationship between the reference coordinate system and the robot's camera coordinate system, the coordinates of the target object in the reference coordinate system can be calculated by the following equation/>
实际上,在[t0,tk]时间段内,机器人从位移到/>的过程也是机器人的相机坐标系相对于基准坐标系的变换过程,可以根据相关传感器数据(例如,陀螺仪)确定两个坐标系的旋转矩阵Ak,由此,可以得到两个坐标系变换关系,包括旋转矩阵Ak和平移位移/> In fact, during the time period [t 0 ,t k ], the robot Move to/> The process is also the transformation process of the robot's camera coordinate system relative to the reference coordinate system. The rotation matrix Ak of the two coordinate systems can be determined according to the relevant sensor data (for example, the gyroscope). Thus, the transformation relationship between the two coordinate systems can be obtained, including the rotation matrix Ak and the translation displacement/>
最后,将目标对象在基准坐标系下的坐标确定为目标对象在tk时刻的轨迹点。Finally, the coordinates of the target object in the reference coordinate system Determine the trajectory point of the target object at time t k .
下面针对上述步骤(2)中的根据轨迹点序列进行轨迹拟合,得到目标对象的移动轨迹的具体实施方式进行详细说明。The following describes in detail the specific implementation method of performing trajectory fitting according to the trajectory point sequence in the above step (2) to obtain the moving trajectory of the target object.
具体来说,可以通过多种方式来实现,在一种实施方式中,可以直接对轨迹点序列中的轨迹点进行轨迹拟合,以得到目标对象的移动轨迹,其中,可以采用分段的多项式样条曲线拟合、二项式拟合等方法来进行轨迹拟合。Specifically, it can be achieved in a variety of ways. In one embodiment, trajectory fitting can be directly performed on the trajectory points in the trajectory point sequence to obtain the moving trajectory of the target object, wherein the trajectory fitting can be performed using methods such as segmented polynomial spline curve fitting and binomial fitting.
示例地,轨迹点序列包括目标对象的轨迹点P0、轨迹点P1、轨迹点P2、……、轨迹点Pk,其中,轨迹点Pk为目标对象的当前轨迹点;通过对轨迹点序列中各轨迹点进行轨迹拟合,可以得到图2中所示的目标对象移动轨迹。For example, the trajectory point sequence includes trajectory point P 0 , trajectory point P 1 , trajectory point P 2 , ... , trajectory point P k of the target object, wherein trajectory point P k is the current trajectory point of the target object; by performing trajectory fitting on each trajectory point in the trajectory point sequence, the moving trajectory of the target object shown in FIG. 2 can be obtained.
在另一种实施方式中,可以先对轨迹点序列进行轨迹清洗;然后,根据轨迹清洗后所得的轨迹点序列进行轨迹拟合,得到目标对象的移动轨迹,即对轨迹清洗后所得的轨迹点序列中的轨迹点进行轨迹拟合,以得到目标对象的移动轨迹。In another embodiment, the trajectory point sequence may be first cleaned; then, trajectory fitting may be performed based on the trajectory point sequence obtained after trajectory cleaning to obtain the moving trajectory of the target object, that is, trajectory fitting may be performed on the trajectory points in the trajectory point sequence obtained after trajectory cleaning to obtain the moving trajectory of the target object.
对轨迹点序列进行轨迹清洗可以包括:从轨迹序列中剔除异常点。其中,异常点包括噪声点和漂移点。Performing trajectory cleaning on the trajectory point sequence may include: removing abnormal points from the trajectory sequence, wherein the abnormal points include noise points and drift points.
由于定位装置自身和网络通信的原因,采集到的机器人的位置信息可能会不准确,同样地,目标对象相对于机器人的相对位置信息也会出现不准确的情况,这样,就可能导致根据二者确定出的目标对象的轨迹点存在异常,因此,从轨迹序列中剔除异常点。Due to the positioning device itself and network communication, the collected robot position information may be inaccurate. Similarly, the relative position information of the target object relative to the robot may also be inaccurate. This may cause anomalies in the trajectory points of the target object determined based on the two. Therefore, the abnormal points are removed from the trajectory sequence.
从轨迹点序列中剔除异常点,可以使得用于移动轨迹生成的各轨迹点不偏离其实际位置,有利于更加准确、高效地生成目标对象的移动轨迹,从而可以提升机器人跟随目标对象的准确性。Eliminating abnormal points from the trajectory point sequence can ensure that the trajectory points used to generate the moving trajectory do not deviate from their actual positions, which is conducive to more accurate and efficient generation of the moving trajectory of the target object, thereby improving the accuracy of the robot following the target object.
需要说明的是,上述轨迹点序列是动态更新的,比如,在机器人跟随目标对象的过程中,需要实时获取目标对象的轨迹点,并将该轨迹点添加至轨迹点序列的末尾,而当机器人达到移动轨迹的某一轨迹点时,可以将轨迹点序列中位于该轨迹点前的各轨迹点剔除。It should be noted that the above-mentioned trajectory point sequence is dynamically updated. For example, when the robot follows the target object, it is necessary to obtain the trajectory point of the target object in real time and add the trajectory point to the end of the trajectory point sequence. When the robot reaches a certain trajectory point in the moving trajectory, the trajectory points in the trajectory point sequence that are located before the trajectory point can be removed.
另外,在控制机器人按照移动轨迹跟随目标对象的过程中,上述方法还可以包括以下步骤:In addition, in the process of controlling the robot to follow the target object according to the moving trajectory, the above method may further include the following steps:
控制机器人的移动速度,以使机器人与目标对象之间的轨迹距离为预设轨迹距离。Control the robot's moving speed so that the trajectory distance between the robot and the target object is the preset trajectory distance.
在本公开中,轨迹距离为移动轨迹上的、机器人与目标对象之间的轨迹长度。In the present disclosure, the trajectory distance is the trajectory length between the robot and the target object on the moving trajectory.
具体地,在机器人按照移动轨迹跟随目标对象的过程中,可以对机器人的移动速度进行实时地控制,以使目标对象和机器人在运动轨迹上的距离为预设轨迹距离,即保持等距跟随,从而可以保持安全跟随距离,保证跟随安全,其中,预设轨迹距离即为在移动轨迹上机器人与目标对象之间所应该保持的理想距离。Specifically, in the process of the robot following the target object along the moving trajectory, the movement speed of the robot can be controlled in real time so that the distance between the target object and the robot on the motion trajectory is the preset trajectory distance, that is, maintaining equidistant following, thereby maintaining a safe following distance and ensuring following safety, wherein the preset trajectory distance is the ideal distance that should be maintained between the robot and the target object on the moving trajectory.
下面针对上述控制机器人的移动速度,以使机器人与目标对象之间的轨迹距离为预设轨迹距离的具体实施方式进行详细说明。具体来说,可以通过以下步骤①和步骤②来实现:The following is a detailed description of the specific implementation method of controlling the movement speed of the robot so that the trajectory distance between the robot and the target object is the preset trajectory distance. Specifically, it can be achieved by following the steps ① and ②:
①确定机器人与目标对象之间的当前轨迹距离。① Determine the current trajectory distance between the robot and the target object.
具体来说,可以获取机器人在基准坐标系下的当前坐标和目标对象在基准坐标系下的当前坐标,之后,通过对目标对象的移动轨迹求曲线积分,得到机器人在基准坐标系下的当前坐标与目标对象在基准坐标系下的当前坐标之间的曲线长度,并将该曲线长度确定为机器人与目标对象之间的当前轨迹距离。Specifically, the current coordinates of the robot in the reference coordinate system and the current coordinates of the target object in the reference coordinate system can be obtained. Then, by calculating the curve integral of the moving trajectory of the target object, the curve length between the current coordinates of the robot in the reference coordinate system and the current coordinates of the target object in the reference coordinate system can be obtained, and the curve length is determined as the current trajectory distance between the robot and the target object.
②根据当前轨迹距离和预设轨迹距离,控制机器人的移动速度。②Control the robot's moving speed based on the current trajectory distance and the preset trajectory distance.
在一种实施方式中,可以确定当前轨迹距离和预设轨迹距离之间的误差(即差值),根据误差控制机器人的移动速度。In one implementation, the error (ie, the difference) between the current trajectory distance and the preset trajectory distance may be determined, and the movement speed of the robot may be controlled according to the error.
具体来说,机器人的处理器计算当前轨迹距离和预设轨迹距离之间的误差,根据误差生成用于控制机器人的速度控制指令,并根据速度控制指令控制机器人的移动速度。其中,在获取到误差后,可以采用闭环控制算法(例如,PID算法)来生成上述速度控制指令。Specifically, the robot's processor calculates the error between the current trajectory distance and the preset trajectory distance, generates a speed control instruction for controlling the robot according to the error, and controls the movement speed of the robot according to the speed control instruction. After obtaining the error, a closed-loop control algorithm (e.g., a PID algorithm) can be used to generate the above speed control instruction.
另外,在机器人跟随目标对象的实际场景中,跟随起始时刻,机器人和目标对象通常有一段间隔,即机器人初始阶段并未在机器人的移动轨迹上,此时,机器人和目标对象之间不存在移动轨迹,此时,可以在二者之间设定直线轨迹,并插入轨迹点(如图3所示)。或者,先控制机器人运行到目标对象的起始点,再根据上述机器人跟随方法控制机器人按照移动轨迹跟随目标对象。In addition, in the actual scenario where the robot follows the target object, there is usually a gap between the robot and the target object at the start of following, that is, the robot is not on the moving trajectory of the robot in the initial stage. At this time, there is no moving trajectory between the robot and the target object. At this time, a straight line trajectory can be set between the two and the trajectory point can be inserted (as shown in Figure 3). Alternatively, the robot is first controlled to run to the starting point of the target object, and then the robot is controlled to follow the target object according to the moving trajectory according to the above robot following method.
此外,需要说明的是,上述方法除了应用于跟随目标对象外,还可以应用于机器人编队,理论上队列中的每个机器人只需要跟着前一目标前行即可。In addition, it should be noted that the above method can be applied not only to following the target object, but also to robot formations. In theory, each robot in the formation only needs to follow the previous target.
图4是根据一示例性实施例示出的一种机器人跟随装置的框图。如图4所示,该装置400包括:Fig. 4 is a block diagram of a robot following device according to an exemplary embodiment. As shown in Fig. 4, the device 400 includes:
第一确定模块401,被配置为响应于接收到跟随指令,确定机器人待跟随的目标对象;A first determination module 401 is configured to determine a target object to be followed by the robot in response to receiving a follow instruction;
第二确定模块402,被配置为确定所述目标对象的移动轨迹和所述移动轨迹的曲率信息;A second determination module 402 is configured to determine a moving trajectory of the target object and curvature information of the moving trajectory;
控制模块403,被配置为根据所述曲率信息,控制所述机器人按照所述移动轨迹跟随所述目标对象。The control module 403 is configured to control the robot to follow the target object along the moving trajectory according to the curvature information.
本公开的实施例提供的技术方案可以包括以下有益效果:在接收到跟随指令时,首先确定机器人待跟随的目标对象;然后,获取机器人待跟随的目标对象的移动轨迹和移动轨迹的曲率信息;最后,根据移动轨迹的曲率信息,控制机器人按照目标对象的移动轨迹跟随目标对象。由于移动轨迹是目标对象移动产生的,因此,机器人按照该移动轨迹进行目标对象跟随,可以保证复杂环境中跟随目标对象的成功率和稳健性,既可以最大限度避免发生碰撞而又不会使机器人多走弯路,确保机器人对目标对象的准确高效跟随。此外,在控制机器人按照移动轨迹跟随目标对象时,结合了移动轨迹的曲率信息,由此,可以根据曲率信息,预知机器人待跟随路径的方向变化情况,从而可以提前规划机器人的转向控制信息,以避免拐直角弯,使得跟随路径更加平顺。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when receiving a follow-up instruction, first determine the target object to be followed by the robot; then, obtain the moving trajectory of the target object to be followed by the robot and the curvature information of the moving trajectory; finally, according to the curvature information of the moving trajectory, control the robot to follow the target object according to the moving trajectory of the target object. Since the moving trajectory is generated by the movement of the target object, the robot follows the target object according to the moving trajectory, which can ensure the success rate and robustness of following the target object in a complex environment, and can avoid collisions to the greatest extent without causing the robot to take more detours, thereby ensuring that the robot follows the target object accurately and efficiently. In addition, when controlling the robot to follow the target object according to the moving trajectory, the curvature information of the moving trajectory is combined, thereby, according to the curvature information, the direction change of the path to be followed by the robot can be predicted, so that the steering control information of the robot can be planned in advance to avoid right-angle turns, making the following path smoother.
可选地,所述控制模块403被配置为根据所述曲率信息,控制所述目标对象的转向角度和转向速度,以使得所述机器人按照所述移动轨迹跟随所述目标对象。Optionally, the control module 403 is configured to control the turning angle and turning speed of the target object according to the curvature information, so that the robot follows the target object according to the moving trajectory.
可选地,所述第二确定模块402包括:Optionally, the second determining module 402 includes:
第一获取子模块,被配置为获取所述目标对象的轨迹点序列,其中,所述轨迹点序列包括所述目标对象的多个轨迹点;A first acquisition submodule is configured to acquire a trajectory point sequence of the target object, wherein the trajectory point sequence includes a plurality of trajectory points of the target object;
第一轨迹拟合子模块,被配置为根据所述轨迹点序列进行轨迹拟合,得到所述目标对象的移动轨迹。The first trajectory fitting submodule is configured to perform trajectory fitting according to the trajectory point sequence to obtain the moving trajectory of the target object.
可选地,所述装置400还包括第三确定模块,其中,所述第三确定模块包括:Optionally, the apparatus 400 further includes a third determining module, wherein the third determining module includes:
第二获取子模块,配置为获取所述机器人的当前位置信息;A second acquisition submodule is configured to acquire current position information of the robot;
第一确定子模块,被配置为确定所述目标对象相对于所述机器人的相对位置信息;A first determination submodule is configured to determine relative position information of the target object relative to the robot;
第二确定子模块,被配置为根据所述当前位置信息和所述相对位置信息,确定所述目标对象的轨迹点。The second determination submodule is configured to determine the trajectory point of the target object according to the current position information and the relative position information.
可选地,所述第一轨迹拟合子模块包括:Optionally, the first trajectory fitting submodule includes:
轨迹清洗子模块,被配置为对所述轨迹点序列进行轨迹清洗;A track cleaning submodule, configured to perform track cleaning on the track point sequence;
第二轨迹拟合子模块,被配置为根据轨迹清洗后所得的轨迹点序列进行轨迹拟合,得到所述目标对象的移动轨迹。The second trajectory fitting submodule is configured to perform trajectory fitting according to the trajectory point sequence obtained after trajectory cleaning to obtain the moving trajectory of the target object.
可选地,所述控制模块403,还被配置为在控制所述机器人按照所述移动轨迹跟随所述目标对象的过程中,控制所述机器人的移动速度,以使所述机器人与所述目标对象之间的轨迹距离为预设轨迹距离,其中,所述轨迹距离为所述移动轨迹上的、所述机器人与所述目标对象之间的轨迹长度。Optionally, the control module 403 is further configured to control the moving speed of the robot in the process of controlling the robot to follow the target object along the moving trajectory, so that the trajectory distance between the robot and the target object is a preset trajectory distance, wherein the trajectory distance is the trajectory length between the robot and the target object on the moving trajectory.
可选地,所述控制模块403包括:Optionally, the control module 403 includes:
第三确定子模块,被配置为确定所述机器人与所述目标对象之间的当前轨迹距离;A third determination submodule is configured to determine a current trajectory distance between the robot and the target object;
控制子模块,被配置为根据所述当前轨迹距离和预设轨迹距离,控制所述机器人的移动速度。The control submodule is configured to control the moving speed of the robot according to the current trajectory distance and the preset trajectory distance.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的机器人跟随方法的步骤。The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the robot following method provided by the present disclosure are implemented.
图5是根据一示例性实施例示出的一种用于机器人跟随方法的机器人800的框图。例如,机器人800可以是轮式机器人、足类机器人、飞行机器人等。Fig. 5 is a block diagram of a robot 800 used in a robot following method according to an exemplary embodiment. For example, the robot 800 may be a wheeled robot, a legged robot, a flying robot, etc.
参照图5,机器人800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出接口812,传感器组件814,以及通信组件816。5 , the robot 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input/output interface 812 , a sensor component 814 , and a communication component 816 .
处理组件802通常控制机器人800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的机器人跟随方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the robot 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the robot following method described above. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
存储器804被配置为存储各种类型的数据以支持在机器人800的操作。这些数据的示例包括用于在机器人800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations on the robot 800. Examples of such data include instructions for any application or method operating on the robot 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
电源组件806为机器人800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为机器人800生成、管理和分配电力相关联的组件。The power supply assembly 806 provides power to various components of the robot 800. The power supply assembly 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the robot 800.
多媒体组件808包括在所述机器人800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当机器人800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the robot 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the robot 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当机器人800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the robot 800 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
输入/输出接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The input/output interface 812 provides an interface between the processing component 802 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
传感器组件814包括一个或多个传感器,用于为机器人800提供各个方面的状态评估。例如,传感器组件814可以检测到机器人800的打开/关闭状态,组件的相对定位,例如所述组件为机器人800的显示器和小键盘,传感器组件814还可以检测机器人800或机器人800一个组件的位置改变,用户与机器人800接触的存在或不存在,机器人800方位或加速/减速和机器人800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the robot 800. For example, the sensor assembly 814 can detect the open/closed state of the robot 800, the relative positioning of components, such as the display and keypad of the robot 800, the sensor assembly 814 can also detect the position change of the robot 800 or a component of the robot 800, the presence or absence of user contact with the robot 800, the orientation or acceleration/deceleration of the robot 800, and the temperature change of the robot 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于机器人800和其他设备之间有线或无线方式的通信。机器人800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the robot 800 and other devices. The robot 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,机器人800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述机器人跟随方法。In an exemplary embodiment, the robot 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned robot following method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由机器人800的处理器820执行以完成上述机器人跟随方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the robot 800 to perform the above robot following method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的机器人跟随方法的代码部分。In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned robot following method when executed by the programmable device.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211177537.6A CN117826863A (en) | 2022-09-26 | 2022-09-26 | Robot following method, device, robot and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211177537.6A CN117826863A (en) | 2022-09-26 | 2022-09-26 | Robot following method, device, robot and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117826863A true CN117826863A (en) | 2024-04-05 |
Family
ID=90508338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211177537.6A Pending CN117826863A (en) | 2022-09-26 | 2022-09-26 | Robot following method, device, robot and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117826863A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116661505A (en) * | 2023-05-31 | 2023-08-29 | 深圳市普渡科技有限公司 | Robot, robot following method, apparatus, and storage medium |
-
2022
- 2022-09-26 CN CN202211177537.6A patent/CN117826863A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116661505A (en) * | 2023-05-31 | 2023-08-29 | 深圳市普渡科技有限公司 | Robot, robot following method, apparatus, and storage medium |
CN116661505B (en) * | 2023-05-31 | 2024-09-24 | 深圳市普渡科技有限公司 | Robot, robot following method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108596116B (en) | Distance measuring method, intelligent control method and device, electronic equipment and storage medium | |
KR101870067B1 (en) | Methods and systems for augmented reality to display virtual representations of robotic device actions | |
US9485474B2 (en) | System and method for learning driving information in vehicle | |
KR102410879B1 (en) | Method and device for obtaining positioning information and medium | |
WO2020168787A1 (en) | Method and device for determining pose of vehicle body, and drafting method | |
EP3038345B1 (en) | Auto-focusing method and auto-focusing device | |
EP3680610A1 (en) | Method, device, and remote control for planning navigation region of unmanned aerial vehicle | |
CN112013844B (en) | Method and device for establishing indoor environment map | |
US11455836B2 (en) | Dynamic motion detection method and apparatus, and storage medium | |
WO2021208812A1 (en) | Parameter configuration method and apparatus, and electronic device and storage medium | |
JP6540485B2 (en) | Route change apparatus and route change system | |
CN112454369A (en) | Robot control method and device | |
KR20210090255A (en) | Vehicle positioning system and method, vehicle control method and apparatus | |
CN113442950B (en) | Automatic driving control method, device and equipment based on multiple vehicles | |
KR102286006B1 (en) | Following apparatus and following system | |
CN117826863A (en) | Robot following method, device, robot and readable storage medium | |
CN110888420A (en) | Walking correction method, intelligent mobile device, electronic device and storage medium | |
CN116859953B (en) | Robot control method and device, medium and robot | |
CN115014372B (en) | Path planning method, path planning device, storage medium and vehicle | |
CN110244710B (en) | Automatic tracing method, device, storage medium and electronic equipment | |
CN116834767A (en) | Motion trail generation method, device, equipment and storage medium | |
CN114608603B (en) | Path planning method, path planning device, storage medium and vehicle | |
CN112035583A (en) | Positioning updating method, device and system, and mobile equipment control method and device | |
CN118276561A (en) | Path generation method, device, robot and storage medium | |
CN119413155A (en) | Multi-source fusion positioning processing method, device and equipment for vehicle terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |