WO2023123457A1 - Robot control method and apparatus, method and apparatus for controlling robot to return to base, and robot - Google Patents

Robot control method and apparatus, method and apparatus for controlling robot to return to base, and robot Download PDF

Info

Publication number
WO2023123457A1
WO2023123457A1 PCT/CN2021/143927 CN2021143927W WO2023123457A1 WO 2023123457 A1 WO2023123457 A1 WO 2023123457A1 CN 2021143927 W CN2021143927 W CN 2021143927W WO 2023123457 A1 WO2023123457 A1 WO 2023123457A1
Authority
WO
WIPO (PCT)
Prior art keywords
robot
ground
ground point
target
target object
Prior art date
Application number
PCT/CN2021/143927
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/CN2021/143927 priority Critical patent/WO2023123457A1/en
Priority to CN202180101589.2A priority patent/CN117835884A/en
Publication of WO2023123457A1 publication Critical patent/WO2023123457A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven

Abstract

A robot control method and apparatus, a method and apparatus for controlling a robot to return to a base, and a robot. The robot control method comprises: acquiring the position of a ground point where a target object comes in contact with the ground (S202); planning an operation area on the basis of the position of the ground point where the target object comes in contact with the ground (S204); and controlling a robot to operate in the operation area (S206). An accurate position in an actual environment is transmitted to a robot in a convenient and fast manner, such that an operation area of the robot is planned on the basis of the accurate position, and the robot can be accurately controlled in a simple and fast manner.

Description

机器人的控制方法、控制机器人回基座的方法、装置及机器人Robot control method, method and device for controlling robot to return to base, and robot 技术领域technical field
本申请涉及机器人技术领域,具体而言,涉及一种机器人的控制方法、控制机器人回基座的方法、装置及机器人。The present application relates to the technical field of robots, in particular, to a method for controlling a robot, a method and a device for controlling a robot to return to a base, and a robot.
背景技术Background technique
随着技术的发展,各种智能化的机器人广泛应用于各个领域。在机器人执行任务的过程中,用户需要对机器人进行控制。目前,用户大多通过机身按键、遥控器、手机App、或肢体动作等方式对机器人进行控制,但是这些控制方式要么操作繁琐,不方便用户操作,要么较难传递精准的位置信息。即目前的控制方式中,无法实现快速地将现实环境中的精准位置传递给机器人,以便机器人可以基于该位置执行作业任务。With the development of technology, various intelligent robots are widely used in various fields. In the process of the robot performing tasks, the user needs to control the robot. At present, users mostly control the robot through body buttons, remote control, mobile app, or body movements, but these control methods are either cumbersome to operate, inconvenient for users to operate, or difficult to transmit accurate location information. That is, in the current control method, it is impossible to quickly transmit the precise position in the real environment to the robot, so that the robot can perform tasks based on the position.
发明内容Contents of the invention
有鉴于此,本申请提供一种机器人的控制方法、控制机器人回基座的方法、装置及机器人。In view of this, the present application provides a robot control method, a method and a device for controlling the robot to return to the base, and the robot.
根据本申请的第一方面,提供一种机器人的控制方法,所述方法包括:According to a first aspect of the present application, a method for controlling a robot is provided, the method comprising:
获取目标物体与地面接触的地面点的位置;Obtain the position of the ground point where the target object touches the ground;
基于所述目标物体与地面接触的地面点的位置规划作业区域;planning an operation area based on the position of the ground point where the target object is in contact with the ground;
控制所述机器人在所述作业区域内作业。The robot is controlled to work in the working area.
根据本申请的第二方面,提供一种机器人的控制装置,所述装置包括处理器、存储器、存储于所述存储器中可供所述处理器执行的计算机程序,所述计算程序被执行时,可实现以下步骤:According to the second aspect of the present application, a robot control device is provided, the device includes a processor, a memory, and a computer program stored in the memory that can be executed by the processor. When the calculation program is executed, The following steps can be implemented:
获取目标物体与地面接触的地面点的位置;Obtain the position of the ground point where the target object touches the ground;
基于所述目标物体与地面接触的地面点的位置规划作业区域;planning an operation area based on the position of the ground point where the target object is in contact with the ground;
控制所述机器人在所述作业区域内作业。The robot is controlled to work in the working area.
根据本申请的第三方面,提供一种机器人,所述机器人包括上述第二方面提及的图像处理装置。According to a third aspect of the present application, a robot is provided, and the robot includes the image processing device mentioned in the second aspect above.
根据本申请的第四方面,提供一种控制机器人回基座的方法,所述机器人上设有图像采集装置,所述基座上设有目标标识,所述方法包括:According to the fourth aspect of the present application, there is provided a method for controlling a robot to return to a base, the robot is provided with an image acquisition device, and the base is provided with a target mark, the method comprising:
获取所述图像采集装置采集的所述基座的图像;acquiring the image of the base captured by the image capture device;
从图像中识别所述目标标识,并获取所述机器人与所述目标标识的第一相对姿态;Recognizing the target identifier from the image, and acquiring a first relative pose between the robot and the target identifier;
基于所述第一相对姿态、以及所述目标标识与所述基座的入口的第二相对姿态控制所述机器人从所述入口进入所述基座。The robot is controlled to enter the base from the entrance based on the first relative posture and a second relative posture between the target mark and the entrance of the base.
根据本申请的第五方面,提供一种控制机器人回基座的方法,所述机器人上设有三维激光雷达,所述方法包括:According to the fifth aspect of the present application, there is provided a method for controlling a robot to return to a base, the robot is provided with a three-dimensional laser radar, and the method includes:
通过所述三维激光雷达获取所述机器人的基座的空间信息;Obtaining spatial information of the base of the robot through the three-dimensional laser radar;
基于所述空间信息确定所述机器人与所述基座的入口的相对姿态;determining a relative pose of the robot to an entrance of the base based on the spatial information;
基于所述相对姿态控制所述机器人从所述入口进入所述基座。The robot is controlled to enter the base from the entrance based on the relative pose.
应用本申请提供的方案,在对机器人进行控制的过程中,可以利用目标物体与地面接触,通过目标物体与地面接触的地面点指示出精准的位置信息,以便对机器人进行控制的控制装置可以基于目标物体所在的位置确定该地面点的位置,进而基于该地面点的位置规划作业区域,以便控制机器人在该区域进行作业。通过这种方式,可以通过方便快捷的方式向机器人传递实际环境中的精准位置,以便基于该精准位置规划机器人的作业区域,通过简单快捷的方式即可以实现对机器人进行精准控制。Applying the solution provided by this application, in the process of controlling the robot, the contact between the target object and the ground can be used, and the precise position information can be indicated through the ground point where the target object contacts the ground, so that the control device for controlling the robot can be based on The position of the target object determines the position of the ground point, and then plans the operation area based on the position of the ground point, so as to control the robot to perform operations in the area. In this way, the precise location in the actual environment can be transmitted to the robot in a convenient and quick way, so that the robot's work area can be planned based on the precise location, and the robot can be precisely controlled in a simple and quick way.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性 劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1(a)-图1(c)是本申请不同实施例中控制装置的设置位置的示意图。Fig. 1(a)-Fig. 1(c) are schematic diagrams of the installation positions of the control device in different embodiments of the present application.
图2是本申请一个实施例的机器人的控制方法的流程图。Fig. 2 is a flowchart of a robot control method according to an embodiment of the present application.
图3-图6是本申请多个不同的实施例中基于地面点确定作业区域的示意图。3-6 are schematic diagrams of determining an operation area based on ground points in multiple different embodiments of the present application.
图7是本申请一个实施例中控制机器人移动至目标位置的示意图。Fig. 7 is a schematic diagram of controlling a robot to move to a target position in an embodiment of the present application.
图8是本申请一个实施例的机器人的控制装置的逻辑结构的示意图。Fig. 8 is a schematic diagram of a logic structure of a robot control device according to an embodiment of the present application.
图9是本申请一个实施例的控制机器人回基座的方法流程图。Fig. 9 is a flowchart of a method for controlling a robot to return to a base according to an embodiment of the present application.
图10是本申请另一个实施例的控制机器人回基座的方法流程图。Fig. 10 is a flowchart of a method for controlling a robot to return to a base according to another embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
随着技术的发展,各种智能化的机器人广泛应用于各个领域。在机器人执行任务的过程中,用户需要对机器人进行控制。目前,用户大多通过机身按键、遥控器、手机App等手段对机器人进行控制,这些控制方式操作不够便利,用户交互体验较差。也有的方式可以通过用户的肢体对机器人进行控制,比如,利用手势、肢体对机器人进行控制,这种方式虽然方便用户操作,但是较难传递精准的位置信息。With the development of technology, various intelligent robots are widely used in various fields. In the process of the robot performing tasks, the user needs to control the robot. At present, users mostly control the robot through body buttons, remote control, mobile phone App and other means. These control methods are not convenient to operate, and the user interaction experience is poor. There are also ways to control the robot through the user's limbs, for example, using gestures and limbs to control the robot. Although this method is convenient for the user to operate, it is difficult to transmit accurate position information.
以扫地机器人为例,当用户发现地面某个位置存在脏污时,可以通过手机App控制扫地机器人移动到该位置,这种方式需要用户不断的调整机器人的位置,整个控制过程较为繁琐且耗时较长。或者用户可以通过App在地图中点击或框选出该位置,然后设定成清扫区域,以便扫地机器自动 移动到该位置,并进行清扫。但是,这种方式需要用户将实际环境中的位置精准的对应到地图上,实现起来比较困难,并且一般都会存在一定的偏差。还有一种容易想到的方式是,用户可以用户手指向该位置,然后控制机器人移动到位置,但是由于手指向的位置只是一个大概的范围,比较难对准一个精确的位置,仍然无法实现快速精准地向机器人传递位置信息,以便控制机器人精准作业。Taking the sweeping robot as an example, when the user finds that a certain position on the ground is dirty, he can control the sweeping robot to move to the position through the mobile app. This method requires the user to constantly adjust the position of the robot, and the entire control process is cumbersome and time-consuming. longer. Or the user can click or select the location on the map through the App, and then set it as the cleaning area, so that the sweeping machine can automatically move to the location and perform cleaning. However, this method requires the user to accurately map the location in the actual environment to the map, which is difficult to implement and generally has certain deviations. Another way that is easy to think of is that the user can point the user's finger to the position, and then control the robot to move to the position, but since the position pointed by the finger is only an approximate range, it is difficult to align a precise position, and it is still impossible to achieve fast and accurate The location information is accurately transmitted to the robot so as to control the precise operation of the robot.
再比如,针对有些场景,需要利用机器人在某些特定位置进行目标物投放,由于无法快速地向机器人传递精准的位置信息,也较难实现快速准确地对机器人进行控制。For another example, for some scenarios, it is necessary to use the robot to place objects in certain specific locations. Since it is impossible to quickly transmit accurate location information to the robot, it is also difficult to quickly and accurately control the robot.
总而言之,目前的这些控制方式中,均无法通过快速便捷的方式将用户在实际环境中确定的位置精准的传递给机器人,以便机器人可以基于该位置确定进准的作业范围,并进行作业。All in all, none of the current control methods can accurately transmit the position determined by the user in the actual environment to the robot in a fast and convenient way, so that the robot can determine the working range based on the position and carry out the work.
基于此,本申请实施例提供了一种机器人的控制方法,在对机器人进行控制的过程中,可以利用目标物体与地面接触,通过目标物体与地面接触的地面点指示出精准的位置信息,以便对机器人进行控制的控制装置可以基于目标物体所在的位置确定该地面点的位置,进而基于该地面点的位置规划作业区域,以便控制机器人在该区域进行作业。通过这种方式,可以通过方便快捷的方式向机器人传递实际环境中的精准位置,以便基于该精准位置规划机器人的作业区域,通过简单的方式即可以实现对机器人进行精准控制。Based on this, the embodiment of the present application provides a robot control method. In the process of controlling the robot, the target object can be used to contact the ground, and the precise position information can be indicated through the ground point where the target object contacts the ground, so that The control device for controlling the robot can determine the position of the ground point based on the position of the target object, and then plan an operation area based on the position of the ground point, so as to control the robot to perform operations in the area. In this way, the precise location in the actual environment can be transmitted to the robot in a convenient and quick way, so that the robot's work area can be planned based on the precise location, and the robot can be precisely controlled in a simple way.
本申请实施例提供的机器人的控制方法可以由控制装置执行,在一些实施例中,如图1(a)所示,该控制装置可以设置在机器人上,与机器人构成一个独立的设备,比如,可以是设置在机器人上的芯片。在一些实施中,如图1(b)所示,该控制装置也可以是设置于机器人之外的其他设备上,比如,用户可以通过某个控制终端对机器人进行控制和管理,该控制装置也可以设置于该控制终端上。在一些实施例中,如图1(c)所示,该控制装置也可以包括两个,一个设置于机器人上,一个设置于机器人的控 制终端上,本申请提供的控制方法中的部分步骤可以由设置在机器人上的控制装置执行,部分步骤由设置在控制终端上的控制装置执行。比如,可以通过控制终端上的控制装置获取目标物体与地面接触的地面点的位置,然后发送给机器人上的控制装置,以便机器人上的控制装置基于该地面点规划作业区域,并控制机器人在作业区域内作业。值得注意的是,控制终端可以是与机器人匹配的遥控器,也可以是与机器人相配合的带有监控功能的管家机器人或监控设备。The robot control method provided in the embodiment of the present application can be executed by a control device. In some embodiments, as shown in FIG. It could be a chip set on the robot. In some implementations, as shown in Figure 1(b), the control device can also be set on other equipment other than the robot. For example, the user can control and manage the robot through a certain control terminal, and the control device can also It can be set on the control terminal. In some embodiments, as shown in Figure 1(c), the control device can also include two, one is set on the robot, and the other is set on the control terminal of the robot, and some steps in the control method provided by the application can be It is executed by the control device installed on the robot, and some steps are executed by the control device installed on the control terminal. For example, the position of the ground point where the target object is in contact with the ground can be obtained through the control device on the control terminal, and then sent to the control device on the robot, so that the control device on the robot can plan the operation area based on the ground point and control the robot during operation. work in the area. It is worth noting that the control terminal can be a remote controller matched with the robot, or a butler robot or monitoring equipment with monitoring function matched with the robot.
不难理解,该方法各步骤的执行主体可以基于实际应用场景灵活设置,本申请实施例不做限制。It is not difficult to understand that the execution subject of each step of the method can be flexibly set based on actual application scenarios, which is not limited in this embodiment of the present application.
本申请实施例中的目标物体可以是能够与地面接触的各种物体,比如,可以是用户的肢体部位,比如,用户的脚部(用户用脚点地)、用户的手指(用户用手指点地)、或者是用户使用的各种辅助性工具,比如,用户可以用拐杖点地、或者残疾人可以利用各种辅助工具点地等等。The target object in the embodiment of the present application can be various objects that can be in contact with the ground, for example, it can be the user's body parts, such as the user's feet (the user uses the foot to touch the ground), the user's finger (the user uses the finger to point Ground), or various auxiliary tools used by users, for example, users can use crutches to touch the ground, or disabled people can use various auxiliary tools to touch the ground and so on.
本申请实施例中的机器人可以是各种可以移动的智能化机器人,比如,该机器人可以是扫地机器人、电子宠物、智能小车、或者是其他具有某些特定功能的机器人。The robot in the embodiment of the present application may be various mobile intelligent robots, for example, the robot may be a sweeping robot, an electronic pet, a smart car, or other robots with certain specific functions.
具体的,如图2所示,本申请实施例提供的机器人的控制方法可以包括以下步骤:Specifically, as shown in Figure 2, the robot control method provided in the embodiment of the present application may include the following steps:
S202、获取目标物体与地面接触的地面点的位置;S202. Obtain the position of the ground point where the target object contacts the ground;
在步骤S202中,可以获取目标物体与地面接触的地面点的位置。由于目标物体与地面接触,因而,可以先确定目标物体的位置,进而可以得到目标物体与地面接触的地面点的位置。其中,该地面点可以是一个地面点,可以是多个地面点,本申请实施例不做限制。In step S202, the position of the ground point where the target object contacts the ground may be acquired. Since the target object is in contact with the ground, the position of the target object can be determined first, and then the position of the ground point where the target object contacts the ground can be obtained. Wherein, the ground point may be one ground point or multiple ground points, which is not limited in this embodiment of the present application.
地面点的位置可以通过多种方式确定,比如,可以通过采集目标物体的图像,基于图像和预先训练的神经网络预测该地面点的位置,或者,也可以通过一些空间信息采集装置确定目标物体与地面接触的地面点的位置信息,比如,基于深度传感器、激光雷达等采集的空间信息确定目标物体 的位置,进而确定目标物体与地面接触的地面点的位置。不难理解,各种可以确定目标物体与地面接触的地面点的位置的方式均在本申请实施例保护范围内。The position of the ground point can be determined in a variety of ways, for example, by collecting the image of the target object, predicting the position of the ground point based on the image and the pre-trained neural network, or by using some spatial information collection devices to determine the distance between the target object and The position information of the ground point in contact with the ground, for example, determine the position of the target object based on the spatial information collected by the depth sensor, laser radar, etc., and then determine the position of the ground point where the target object contacts the ground. It is not difficult to understand that various manners for determining the position of the ground point where the target object contacts the ground are within the protection scope of the embodiments of the present application.
S204、基于所述目标物体与地面接触的地面点的位置规划作业区域;S204. Planning an operation area based on the position of the ground point where the target object contacts the ground;
在步骤S204中、在获取到目标物体与地面接触的地面点的位置后,可以基于该地面点的位置规划作业区域。基于地面点的位置规划作业区域的方式也可以灵活设置,比如,直接将地面点的位置作为作业位置进行作业,比如,将该地面点作为目标物投放点,控制机器人将目标物投放至该地面点。或者,也可以将地面点周围一定范围内的区域作为作业区域等,本申请实施例不作限制。In step S204, after the position of the ground point where the target object is in contact with the ground is acquired, the operation area may be planned based on the position of the ground point. The method of planning the operation area based on the position of the ground point can also be flexibly set. For example, the position of the ground point is directly used as the operation position for operation. For example, the ground point is used as the target drop point, and the robot is controlled to drop the target on the ground. point. Alternatively, an area within a certain range around the ground point may also be used as an operation area, etc., which is not limited in this embodiment of the present application.
S206、控制所述机器人在所述作业区域内作业。S206. Control the robot to work in the work area.
在步骤S206中,在完成作业区域的规划后,可以控制机器人在作业区域内作业,比如,机器人为扫地机器人,即可以对作业区域进行清扫,或者,可以控制机器人将目标物搬运至该作业区域内等,本申请实施例不作限制。In step S206, after the planning of the work area is completed, the robot can be controlled to work in the work area. For example, the robot is a sweeping robot, that is, the work area can be cleaned, or the robot can be controlled to transport the object to the work area. Inner, etc., are not limited by the embodiment of this application.
本申请实施例提供的机器人控制方法,可以通过利用目标物体与地面接触的方式精准的传递位置信息,以便控制装置可以准确地确定目标物体与地面接触的地面点的位置,进而基于该地面点的位置进行作业区域的规划,从而可以实现利用简单便捷的方法对机器人的作业区域进行精准的控制。The robot control method provided in the embodiment of the present application can accurately transmit position information by utilizing the contact between the target object and the ground, so that the control device can accurately determine the position of the ground point where the target object is in contact with the ground, and then based on the position of the ground point The location is used to plan the working area, so that the simple and convenient method can be used to accurately control the working area of the robot.
在一些实施例中,可以在检测到目标物体与地面接触时,即执行上述基于地面点规划作业区域并控制机器人作业的过程,比如,目标物体可以是某些特定的辅助性工具,通常情况下不会与地面接触,只有在用户用于控制机器人时才会与地面接触,因而,可以在检测到该目标物体与地面接触时即触发上述操作。在一些实施例中,为了避免在用户不需要对机器人进行控制的情况下出现误触发,导致控制装置执行上述规划作业区域并控制机器人作业的操作,也可以是控制装置在接收到用户的触发指令后再执 行上述操作。比如,用户想要利用目标物体对机器人进行控制之前,可以先发出一个触发指令,控制装置只有在接收到用户发出的触发指令之后,才会执行获取地面点并规划作业区域的过程。In some embodiments, when the target object is detected to be in contact with the ground, the above-mentioned process of planning the operation area based on the ground point and controlling the robot operation can be performed. For example, the target object can be some specific auxiliary tools, usually It does not come into contact with the ground, and only when the user uses it to control the robot, it will come into contact with the ground. Therefore, the above operations can be triggered when the target object is detected to be in contact with the ground. In some embodiments, in order to avoid false triggering when the user does not need to control the robot, causing the control device to perform the above-mentioned operation of planning the operation area and controlling the operation of the robot, it may also be that the control device receives the user's trigger instruction Then perform the above operations. For example, before the user wants to use the target object to control the robot, he can send a trigger command first. The control device will only execute the process of obtaining the ground point and planning the operation area after receiving the trigger command from the user.
在一些实施例中,用户可以通过控制终端(比如,手机上的APP)发出触发指令。在一些实施例中,为了方便用户操作,用户也可以执行指定动作或摆出指定姿态作为触发指令,比如,用户可以摆出“OK”、“V”字形手势作为触发指令,或者用户可以用脚点地2次作为触发指令,控制装置在识别到该指定动作或指定姿态后即确定接收到了该触发指令。In some embodiments, the user can issue a trigger instruction through a control terminal (such as an APP on a mobile phone). In some embodiments, in order to facilitate user operations, the user can also perform a specified action or pose a specified gesture as a trigger command. Touching the ground twice is used as a trigger command, and the control device determines that the trigger command has been received after recognizing the specified action or gesture.
在一些实施例中,为了避免用户不经意的动作被误识别为触发指令,该触发指令也可以是用户执行指定动作的时长达到预设时长,比如,用户摆出“OK”手势长达5s,当识别到用户执行该指定动作的时长达到预设时长后,即确定接收到了触发指令。在一些实施例中,该触发指令也可以是目标物体呈现指定姿态,比如,目标物体可以是辅助性工具,比如,拐杖,当用户想要控制机器人时,可以将该目标物体摆放成指定的姿态,控制装置在识别到目标物体呈现指定姿态后,则确定接收到了触发指令。当然,以上只是示例性例子,不难理解,其他各种用于传递信息的方式都可以用于发送该触发指令。In some embodiments, in order to prevent the user’s inadvertent action from being mistakenly recognized as a trigger instruction, the trigger instruction can also be that the user performs a specified action for a preset duration. After it is recognized that the time for the user to perform the specified action reaches the preset time, it is determined that the trigger instruction is received. In some embodiments, the trigger instruction can also be that the target object presents a specified posture. For example, the target object can be an auxiliary tool, such as a crutch. When the user wants to control the robot, the target object can be placed in a specified position. Gesture, after the control device recognizes that the target object presents a designated posture, it determines that a trigger instruction has been received. Of course, the above are only exemplary examples, and it is not difficult to understand that other various ways of transmitting information can be used to send the trigger instruction.
在一些实施例中,该地面点包括与目标物体先后接触的多个地面点,基于地面点规划的作业区域可以是由该多个地面点连接起来构成的区域。比如,如图3所示,以扫地机器人为例,当用户发现地面某个区域存在脏污,想要清扫该区域时,用户可以用脚点地,在地面点击多个地面点(如图中的地面1、地面点2…地面点5),将该区域框选出来,控制装置在识别到该多个地面点的位置后,即可以将该多个地面点连接起来构成的区域作为作业区域。In some embodiments, the ground point includes multiple ground points successively contacting the target object, and the operation area planned based on the ground point may be an area formed by connecting the multiple ground points. For example, as shown in Figure 3, taking the sweeping robot as an example, when the user finds that a certain area on the ground is dirty and wants to clean the area, the user can touch the ground with his feet and click multiple ground points on the ground (as shown in the figure) ground 1, ground point 2...ground point 5), select the area, and the control device can connect the multiple ground points to form the working area after the control device recognizes the positions of the multiple ground points .
在一些实施例中,该地面点可以是与目标物体先后接触的多个地面点,该作业区域也可以是多个,每个作业区域基于该多个地面点中的一个地面点确定。举个例子,如图4所示,以扫地机器人为例,当用户发现在地面 的多个不同位置存在脏污时,希望扫地机器人对这些脏污位置进行清扫,用户可以走到各脏污位置处,然后发出触发指令,并用脚点地,此时控制装置则会识别与脚部接触的多个地面点(比如,图中的地面点1、地面点2、地面点3)的位置,并记录这些地面点的位置,然后可以基于每个地面点确定一个作业区域,比如,可以以每个地面为顶点,指定长度作为边长,确定一个作业区域。或者可以以地面点为圆心,指定长度作为半径,确定一个作业区域,从而可以确定出多个与脏污位置对应的作业区域(比如,图中的作业区域1、作业区域2、作业区域3)。In some embodiments, the ground point may be multiple ground points that successively contact the target object, and there may be multiple operating areas, and each operating area is determined based on one of the multiple ground points. For example, as shown in Figure 4, taking the floor-sweeping robot as an example, when the user finds that there are dirt in different locations on the ground, he hopes that the floor-sweeping robot will clean these dirty locations, and the user can walk to each dirty location place, and then send out a trigger command, and touch the ground with your feet. At this time, the control device will identify the positions of multiple ground points (for example, ground point 1, ground point 2, and ground point 3) that are in contact with the feet, and Record the positions of these ground points, and then determine a work area based on each ground point. For example, you can use each ground as a vertex and specify a length as a side length to determine a work area. Or you can use the ground point as the center of the circle, specify the length as the radius, and determine a working area, so that multiple working areas corresponding to the dirty positions can be determined (for example, working area 1, working area 2, and working area 3 in the figure) .
在一些实施例中,该地面点可以是与目标物体接触的多个地面点,在根据地面点规划作业区域时,可以基于多个地面点中的一个或多个确定作业区域,比如,用户可以利用目标物体在地面上画一条线,或者画一个圆,从而,可以基于这一条线,或者这一个圆确定作业区域。举个例子,用户可以用脚在地面上画一条直线,然后可以该直线的一个端点为圆心,一个端点为半径,确定作业区域。或者当脏污为线条型脏污时,用户可以用脚沿着脏污画一条线,将该条线的两个端点进行横向延展形成一个接近矩形的区域,将该区域作为作业区域。或者用户直接用脚在地面圈一个接近圆形区域,将该圆形区域作为作业区域。或者,如图5所示,当用户发现地面存在脏污时,用户可以用脚在地面上脏污两侧位置画2条直线,然后将这两条直线之间的区域作为作业区域。In some embodiments, the ground point may be a plurality of ground points in contact with the target object. When planning an operation area according to the ground point, the operation area may be determined based on one or more of the plurality of ground points. For example, the user may Use the target object to draw a line or a circle on the ground, so that the work area can be determined based on the line or the circle. For example, users can use their feet to draw a straight line on the ground, and then use one end point of the line as the center and the other end point as the radius to determine the work area. Or when the dirt is a line-type dirt, the user can draw a line along the dirt with his feet, extend the two endpoints of the line horizontally to form a nearly rectangular area, and use this area as the work area. Or the user directly circles a nearly circular area with his feet on the ground, and uses the circular area as a working area. Or, as shown in Figure 5, when the user finds that the ground is dirty, the user can use his feet to draw two straight lines on both sides of the dirt on the ground, and then use the area between the two straight lines as the work area.
在一些实施例中,目标物体可以是用户的两个脚部,在基于地面点规划作业区域时,可以确定用户的两个脚部分别与地面接触的两个地面点的位置,并确定两个地面点之间的距离,然后基于两个地面点之间的距离确定作业区域。比如可以以其中一个脚与地面接触的地面点为圆心,该距离为半径确定作业区域,或者可以与两个地面的连线的中点作为中心,该距离作为边长确定一个方形区域。如图6所示,以扫地机器人为例,当用户发现脏污时,可以在脏污附近将两个脚迈开一定距离,以便扫地机器人可以识别两个脚部的位置,并基于脚部位置之间的距离确定作业区域。通过 基于用户两个脚部的距离确定作业区域,用户可以根据脏污面积的大小调节脚部的距离,从而对作业区域的大小进行控制。In some embodiments, the target object may be the two feet of the user. When planning the work area based on the ground points, the positions of the two ground points where the two feet of the user are in contact with the ground may be determined, and two The distance between ground points, and then determine the work area based on the distance between two ground points. For example, the ground point where one of the feet is in contact with the ground can be used as the center of the circle, and the distance can be used as the radius to determine the working area, or the midpoint of the line connecting the two grounds can be used as the center, and the distance can be used as the side length to determine a square area. As shown in Figure 6, taking the sweeping robot as an example, when the user finds dirt, the two feet can be moved a certain distance near the dirt, so that the sweeping robot can recognize the position of the two feet, and based on the position of the feet The distance between them determines the working area. By determining the working area based on the distance between the two feet of the user, the user can adjust the distance between the feet according to the size of the dirty area, thereby controlling the size of the working area.
在一些实施例中,触发指令可以是用户通过目标物体发出的触发指令,该地面点可以是用户发出该触发指令时,与目标物体接触的地面点,在根据该地面点的位置规划作业区域时,可以先根据该地面点的位置确定第一位置,该第一位置可以是地面点所在的位置,或者是与地面点相距第一预设距离的位置,然后再基于该第一位置规划作业区域。举个例子,以扫地机器人为例,用户可以通过用脚点地2次,以触发对机器人的控制,控制装置在识别到用户用脚点地2次时,即可以确定当前脚部和地面接触的地面点的位置,用户用脚点地后,可以离开,以便扫地机器人可以直接移动在该地面点所在位置,进而进行作业区域的规划。或者,用户用脚点地后,也可以一直停留在该位置,此时,扫地机器人可以确定与该位置相距一定距离的第一位置,并且移动到该第一位置处,避免触碰到用户脚部,然后再基于该第一位置规划作业区域。In some embodiments, the trigger instruction may be a trigger instruction issued by the user through the target object, and the ground point may be a ground point that is in contact with the target object when the user sends the trigger instruction. When planning the operation area according to the position of the ground point , the first position can be determined according to the position of the ground point first, the first position can be the position where the ground point is located, or the position at a first preset distance from the ground point, and then the operation area is planned based on the first position . For example, take a sweeping robot as an example. The user can touch the ground twice with the foot to trigger the control of the robot. When the control device recognizes that the user has touched the ground twice with the foot, it can determine that the current foot is in contact with the ground. The position of the ground point, the user can leave after touching the ground with his feet, so that the sweeping robot can directly move to the position of the ground point, and then plan the operation area. Or, after the user touches the ground with their feet, they can also stay at this position. At this time, the sweeping robot can determine the first position that is a certain distance away from this position, and move to the first position to avoid touching the user's feet. Department, and then plan the operation area based on the first position.
在一些实施例中,在基于第一位置规划作业区域时,可以基于该第一位置与第二预设距离确定作业区域。比如,以第一位置为中心,第二预设距离为边长确定一个方形区域,或者以第一位置为中心,第二预设距离为半径确定一个圆形区域,或者以第一位置为顶点,第二预设距离为边长确定作业区域。In some embodiments, when the operation area is planned based on the first position, the operation area may be determined based on the first position and a second preset distance. For example, take the first position as the center and the second preset distance as the side length to determine a square area, or use the first position as the center and the second preset distance as the radius to determine a circular area, or use the first position as the vertex , the second preset distance is the side length to determine the working area.
在一些实施例中,在确定地面点的位置时,可以确定地面点与机器人的相对位置。比如,可以通过空间信息采集装置采集机器人所在空间的空间信息,然后基于该空间信息确定目标物体与机器人的相对位置,进而可以确定目标物体与地面接触的地面点与机器人的相对位置。比如,空间信息采集装置可以是激光雷达,激光雷达可以采集机器人所在空间的点云信息,基于点云信息识别目标物体,并确定目标物体与地面接触的地面点与机器人的相对位置。或者,空间信息采集装置可以是彩色相机与深度相机的组合,通过彩色相机和深度相机分别采集机器人所在空间的彩色图像和 深度图像,即可以从图像中识别目标物体,并确定目标物体与地面接触的地面点的相对位置。In some embodiments, when determining the position of the ground point, the relative position of the ground point to the robot may be determined. For example, the spatial information of the space where the robot is located can be collected by the spatial information acquisition device, and then the relative position of the target object and the robot can be determined based on the spatial information, and then the relative position of the ground point where the target object contacts the ground and the robot can be determined. For example, the spatial information acquisition device can be a laser radar, which can collect point cloud information of the space where the robot is located, identify the target object based on the point cloud information, and determine the relative position of the ground point where the target object contacts the ground and the robot. Alternatively, the space information collection device can be a combination of a color camera and a depth camera, and the color image and the depth image of the space where the robot is collected are respectively collected by the color camera and the depth camera, that is, the target object can be identified from the image, and the target object can be determined to be in contact with the ground The relative position of the ground point of .
在一些实施中,在确定地面点的位置时,也可以确定地面点在预先存储的地图中的绝对位置。通常,可以在机器人或机器人的控制终端中存储机器人平时作业区域的地图(比如,家里的地图,办公室的地图等),该地图可以是二维地图,也可以是三维地面,因而,可以将该地面点位置投影到该地图中,以便确定该地面点在地图中的绝对位置。In some implementations, when determining the position of the ground point, the absolute position of the ground point in the pre-stored map may also be determined. Usually, the map of the robot's usual work area (such as a map of the home, a map of the office, etc.) can be stored in the robot or the control terminal of the robot. The map can be a two-dimensional map or a three-dimensional ground. Therefore, the The ground point position is projected onto the map in order to determine the absolute position of the ground point on the map.
在一些实施例中,在确定地面点在地图中的绝对位置时,可以先基于机器人所在空间的空间信息确定该地面点与机器人的相对位置,然后基于机器人当前在地图中的绝对位置以及该相对位置确定地面点在地图中的绝对位置。由于机器人在地图中的实时位置是已知的,因而,可以先确定地面点与机器人的相对位置,进而机器人在地图中的位置确定地面点在地面的绝对位置。In some embodiments, when determining the absolute position of the ground point on the map, the relative position between the ground point and the robot can be determined first based on the spatial information of the space where the robot is located, and then based on the current absolute position of the robot on the map and the relative position Position determines the absolute position of the ground point on the map. Since the real-time position of the robot on the map is known, the relative position of the ground point and the robot can be determined first, and then the position of the robot on the map determines the absolute position of the ground point on the ground.
在一些实施例中,在确定地面点在地图中的绝对位置时,也可以基于机器人所在空间的空间信息表征的场景与地图中的场景进行匹配,基于匹配结果确定地面点在地图中的绝对位置。比如,通常地图中包含机器人平时作业区域内的各场景,以及各场景之间的距离,因而可以获取机器人所在空间的空间信息,比如,点云信息,深度图像等,然后利用空间信息中的场景和地图的场景进行匹配,来初略估计地面点在地图中的绝对位置。In some embodiments, when determining the absolute position of the ground point in the map, the scene represented by the spatial information of the space where the robot is located can also be matched with the scene in the map, and the absolute position of the ground point in the map can be determined based on the matching result . For example, the map usually contains the scenes in the robot's usual work area and the distance between the scenes, so the spatial information of the space where the robot is located, such as point cloud information, depth images, etc., can be obtained, and then the scenes in the spatial information can be used Match the scene with the map to estimate the absolute position of the ground point on the map.
在确定地面点的位置后,可以先控制机器人移动至地面点或地面点附近的位置,然后再规划作业区域,或者也可以先基于地面点所在位置规划作业区域,再控制机器人移动。比如,在一些实施例中,在基于地面点的位置规划作业区域之前,可以先控制所述机器人移动至第三位置,该第三位置可以是地面点所在的位置,或与地面点相距第一预设距离的位置,然后再基于第三位置规划作业区域。After the location of the ground point is determined, the robot can be controlled to move to the ground point or a location near the ground point, and then the operation area can be planned, or the operation area can be planned based on the location of the ground point, and then the robot can be controlled to move. For example, in some embodiments, before the operation area is planned based on the position of the ground point, the robot may be controlled to move to a third position. The location of the preset distance, and then plan the operation area based on the third location.
在一些实施例,可以先基于目标物体与地面接触的地面点的位置规划作业区域,然后再控制机器人移动至第四位置,其中,第四位置可以是该 地面点所在的位置,或者是与该地面点相距第一预设距离的位置,或者是基于规划的作业区域确定的位置,比如,在规划作业区域后,可以选择作业区域中与机器人距离最近的位置作为第四位置,控制机器人移动至第四位置后,再与第四位置作为起点规划作业区域。In some embodiments, the operation area can be planned based on the position of the ground point where the target object is in contact with the ground, and then the robot is controlled to move to the fourth position, wherein the fourth position can be the position where the ground point is located, or it can be related to the ground point. The position of the first preset distance from the ground point, or the position determined based on the planned operation area. For example, after planning the operation area, you can select the position closest to the robot in the operation area as the fourth position, and control the robot to move to After the fourth position, plan the operation area with the fourth position as the starting point.
在一些实施例中,第三位置和/或第四位置可以统称为目标位置,在控制机器人移动至目标位置时,可以基于机器人与目标位置的相对位置控制机器人移动至目标位置。比如,可以基于地面点与机器人的相对位置,确定目标位置与机器人的相对位置,然后直接基于相对位置控制机器人移动至该目标位置。In some embodiments, the third position and/or the fourth position may be collectively referred to as a target position, and when the robot is controlled to move to the target position, the robot may be controlled to move to the target position based on the relative position between the robot and the target position. For example, based on the relative position of the ground point and the robot, the relative position of the target position and the robot can be determined, and then the robot can be directly controlled to move to the target position based on the relative position.
在一些实施例中,在控制机器人移动至目标位置时,也可以先基于机器人与目标位置的相对位置确定目标位置在预先存储的地图中的绝对位置,然后根据目标位置在地图中的绝对位置,以及该地图规划移动路径,并根据移动路径控制机器人移动至目标位置。通过先将目标位置投影到地图中,然后基于地图规划移动路径,可以从地图中确定障碍物的位置,然后可以规划出可以避开障碍物的最优路径,提高机器人在移动过程中的安全性。In some embodiments, when controlling the robot to move to the target position, the absolute position of the target position in the pre-stored map can also be determined based on the relative position between the robot and the target position, and then according to the absolute position of the target position in the map, And the map plans the movement path, and controls the robot to move to the target position according to the movement path. By first projecting the target position onto the map, and then planning the movement path based on the map, the position of the obstacle can be determined from the map, and then the optimal path that can avoid the obstacle can be planned to improve the safety of the robot during the movement process .
在一些实施例中,在控制机器人移动至目标位置之前,还可以先基于所述机器所在空间的空间信息确定机器人与目标位置之间是否存在障碍物,如果不存在,则可以直接基于机器人与目标位置的相对位置控制机器人移动至目标位置,从而无需先将目标位置投影到地图,再规划路径,可以提高处理效率。In some embodiments, before controlling the robot to move to the target position, it is also possible to determine whether there is an obstacle between the robot and the target position based on the spatial information of the space where the machine is located. The relative position of the position controls the robot to move to the target position, so that there is no need to project the target position to the map first, and then plan the path, which can improve the processing efficiency.
如果机器人与目标位置之间存在障碍物,为了提高机器人在移动过程中的安全性,避免触碰到障碍物,则可以先将该目标位置投影到地图中,确定目标位置在地图的绝对位置,然后根据地图规划出可以避开障碍物的移动路径,并基于该移动路径控制机器人移动到目标位置。如图7所示,以扫地机器人为例,用户发现脏污后,可以用脚点地,控制扫地机器人移动至脏污位置进行清扫,其中,扫地机器人在获取到地面点的位置后,可以先判定扫地机器人与地面点之间是否存在障碍物(比如,台阶、家具等), 如果不存在,则直接基于两者的相对位置控制机器人移动,如果存在,则将地面点投影到预先存储的地图中,然后基于地面和地面点在地图的位置规划移动路径,再控制机器人基于移动路径移动至地面点所在位置。If there is an obstacle between the robot and the target position, in order to improve the safety of the robot during the movement and avoid touching the obstacle, the target position can be projected onto the map first to determine the absolute position of the target position on the map. Then plan the movement path that can avoid obstacles according to the map, and control the robot to move to the target position based on the movement path. As shown in Figure 7, taking the sweeping robot as an example, after the user finds the dirt, he can touch the ground with his feet and control the sweeping robot to move to the dirty position for cleaning. Determine whether there are obstacles (such as steps, furniture, etc.) between the sweeping robot and the ground point. If not, control the movement of the robot directly based on the relative position of the two. If there is, project the ground point to a pre-stored map , then plan the movement path based on the ground and the location of the ground point on the map, and then control the robot to move to the location of the ground point based on the movement path.
地面点的位置可以基于空间采集装置采集的机器人所在空间的空间信息确定,空间采集装置可以设置在的机器人的控制终端上,也可以设置在机器人。在一些实施例中,空间信息采集装置可以设置在机器人上,由于用户想要控制机器人作业时,机器人不一定可以采集到目标物体的空间信息。举个例子,以扫地机器人为例,假设机器人此时在客厅,而用户在房间,用户发现房间存在脏污,希望通过用脚点地的方式控制机器人移动至脏污位置,并对脏污位置进行清扫。由于机器人和用户处于不同的房间,无法采集的用户的空间信息。The position of the ground point can be determined based on the spatial information of the space where the robot is collected by the space acquisition device, and the space acquisition device can be set on the control terminal of the robot or on the robot. In some embodiments, the spatial information collection device can be set on the robot, because when the user wants to control the operation of the robot, the robot may not necessarily be able to collect the spatial information of the target object. For example, take the floor sweeping robot as an example. Suppose the robot is in the living room and the user is in the room. The user finds that the room is dirty, and hopes to control the robot to move to the dirty position by touching the ground with its feet, and check the dirty position. Clean up. Since the robot and the user are in different rooms, the spatial information of the user cannot be collected.
为了实现空间采集装置无法采集到目标物体的场景,也可以利用目标物体触地的方式传递位置信息,以对机器人进行控制。在一些实施例中,用户可以先通过控制终端控制机器人移动至可以采集到目标物体的空间信息的位置,再利用上述方法控制机器人对脏污区域进行清扫。比如,控制装置可以接收用户通过控制终端发送的控制指令,基于该控制指令控制机器人移动到第一指定位置,其中,机器人位于所述第一指定位置时,该空间信息采集装置采集的空间信息中包括目标物体。通过利用控制终端控制机器人先移动至可以采集到目标物体的空间信息的位置,然后再利用目标物体触地的方式控制机器人作业,从而可以实现用户和机器人位于不同房间时,对机器人进行精准的控制。In order to realize the scene where the target object cannot be collected by the space acquisition device, the position information can also be transmitted by the way the target object touches the ground to control the robot. In some embodiments, the user can first control the robot to move to a position where the spatial information of the target object can be collected through the control terminal, and then use the above method to control the robot to clean the dirty area. For example, the control device may receive a control command sent by the user through the control terminal, and control the robot to move to a first designated position based on the control command, wherein when the robot is located at the first designated position, the spatial information collected by the spatial information collection device Include the target object. By using the control terminal to control the robot to move to the position where the spatial information of the target object can be collected, and then use the target object to touch the ground to control the robot's operation, so that the robot can be precisely controlled when the user and the robot are located in different rooms .
在一些实施例中,在机器人无法采集到目标物体的空间信息的场景,也可以先基于机器人采集的空间信息识别目标用户,并跟随目标用户移动至第二指定位置,第二指定位置与目标用户的停止移动时所在的位置相距第三预设距离,在移动至第二指定位置后,再获取目标物体与地面接触的地面点的位置,并基于地面点的位置规划作业区域。比如,当用户和机器人位于不同房间时,机器人无法获取目标物体的空间信息,这时可以先让 机器人跟随用户到可以采集到目标物体空间信息的位置,然后再利用目标物体触地的方式控制机器人到指定区域内进行作业。In some embodiments, in the scene where the robot cannot collect the spatial information of the target object, the target user can also be identified first based on the spatial information collected by the robot, and follow the target user to move to the second designated position, and the second designated position is the same as the target user. The position where the target object stops moving is separated by a third preset distance, and after moving to the second specified position, the position of the ground point where the target object contacts the ground is obtained, and the operation area is planned based on the position of the ground point. For example, when the user and the robot are located in different rooms, the robot cannot obtain the spatial information of the target object. At this time, the robot can follow the user to a position where the spatial information of the target object can be collected, and then use the target object to touch the ground to control the robot. Work in a designated area.
在一些实施例中,该机器人可以是扫地机器人,扫地机器人上设有空间信息采集装置,控制机器人在作业区域内作业时,可以先基于空间信息采集装置采集的扫地机器人所在空间的空间信息识别作业区域中的脏污位置,然后控制扫地机器人对脏污位置进行清扫。比如,可以通过扫地机器人上的图像采集装置采集地面的图像,然后从图像中识别脏污位置,进而对脏污位置进行清扫。In some embodiments, the robot can be a sweeping robot, and the sweeping robot is provided with a spatial information collection device. When the robot is controlled to work in the work area, it can first identify the operation based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device. The dirty position in the area, and then control the sweeping robot to clean the dirty position. For example, the image acquisition device on the sweeping robot can collect the image of the ground, and then identify the dirty position from the image, and then clean the dirty position.
在一些实施例中,扫地机器人也可以先基于空间信息采集装置采集的扫地机器人所在空间的空间信息识别作业区域中的脏污的类型,基于脏污的类型确定所述扫地机器人的清扫模式,以利用该清扫模式对作业区域内的脏污进行清扫。比如,脏污包括液体脏污、固体脏污,针对不同的脏污类型,可以采用不同的清扫模式进行清扫,以便可以得到较好的清扫效果。In some embodiments, the sweeping robot can also first identify the type of dirt in the work area based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device, and determine the cleaning mode of the sweeping robot based on the type of dirt, to Use this cleaning mode to clean the dirt in the working area. For example, dirt includes liquid dirt and solid dirt, and for different types of dirt, different cleaning modes can be used for cleaning, so as to obtain a better cleaning effect.
在一些实施例中,扫地机器人包括用于清扫液体脏污的第一清扫装置以及用于清扫固体脏污的第二清扫装置,在基于脏污的类型确定扫地机器人的清扫模式时,如果识别到作业区域内存在液体脏污,则可以将扫地机器人的清扫模式切换成拖地模式,其中,该扫地机器人处于拖地模式时,第一清扫装置比第二清扫装置先接触到液体脏污。比如,第一清扫装置可以是拖布,第二清扫装置可以边刷,在识别到脏污为液体脏污时,则可以让拖布先清理液体脏污,再利用边刷清扫,通过有针对性的基于脏污类型确定清扫模式,可以达到更好的清扫效果。In some embodiments, the cleaning robot includes a first cleaning device for cleaning liquid dirt and a second cleaning device for cleaning solid dirt. When determining the cleaning mode of the cleaning robot based on the type of dirt, if it is identified If there is liquid dirt in the working area, the cleaning mode of the sweeping robot can be switched to the mopping mode, wherein, when the sweeping robot is in the mopping mode, the first cleaning device is exposed to the liquid dirt before the second cleaning device. For example, the first cleaning device can be a mop, and the second cleaning device can be a side brush. When it is recognized that the dirt is liquid dirt, the mop can be used to clean the liquid dirt first, and then use the side brush to clean it. Determining the cleaning mode based on the type of dirt can achieve better cleaning results.
需要指出的是,在不冲突的情况下,本申请各实施例中描述的方案可以自由组合,鉴于篇幅原因,在此不一一例举。It should be pointed out that, in the case of no conflict, the solutions described in the embodiments of the present application can be freely combined, and due to space reasons, no examples are given here.
与上述机器人的控制方法相对应,本申请实施例还提供了一种机器人的控制装置,如图8所示,所述装置80包括处理器81、存储器82、存储于所述存储器82中可供所述处理器81执行的计算机程序,所述计算程序被执行时,可实现以下步骤:Corresponding to the above robot control method, the embodiment of the present application also provides a robot control device. As shown in FIG. The computer program executed by the processor 81, when the calculation program is executed, the following steps can be realized:
获取目标物体与地面接触的地面点的位置;Obtain the position of the ground point where the target object touches the ground;
基于所述目标物体与地面接触的地面点的位置规划作业区域;planning an operation area based on the position of the ground point where the target object is in contact with the ground;
控制所述机器人在所述作业区域内作业。The robot is controlled to work in the working area.
在一些实施例中,所述处理器用于获取目标物体与地面接触的地面点的位置时,具体用于:In some embodiments, when the processor is used to acquire the position of the ground point where the target object is in contact with the ground, it is specifically used for:
响应于用户的触发指令,获取目标物体与地面接触的地面点的位置。In response to a user's trigger instruction, the position of the ground point where the target object is in contact with the ground is acquired.
在一些实施例中,所述触发指令包括以下一种或多种:In some embodiments, the trigger instruction includes one or more of the following:
用户的指定动作或姿态、用户执行指定动作的时长达到预设时长以及所述目标物体呈现指定姿态。The specified action or gesture of the user, the duration of the user's execution of the specified action reaches a preset duration, and the target object presents the specified gesture.
在一些实施例中,所述地面点包括与所述目标物体先后接触的多个地面点,所述作业区域为由所述多个地面点连接起来构成的区域。In some embodiments, the ground point includes multiple ground points that successively contact the target object, and the operation area is an area formed by connecting the multiple ground points.
在一些实施例中,所述地面点包括与所述目标物体先后接触的多个地面点,所述作业区域为多个,每个所述作业区域基于所述多个地面点中的一个地面点确定。In some embodiments, the ground point includes a plurality of ground points successively in contact with the target object, there are multiple operating areas, and each operating area is based on one ground point in the plurality of ground points Sure.
在一些实施例中,所述处理用于基于所述目标物体与地面接触的地面点的位置规划作业区域时,具体用于:In some embodiments, when the processing is used to plan the operation area based on the position of the ground point where the target object is in contact with the ground, it is specifically used for:
至少基于一个所述目标物体与地面接触的地面点的位置规划所述作业区域。The operation area is planned based on at least one location of a ground point where the target object is in contact with the ground.
在一些实施例中,所述目标物体包括用户的两个脚部,所述处理器用于基于所述目标物体与地面接触的地面点的位置规划作业区域时,具体用于:In some embodiments, the target object includes two feet of the user, and the processor is used to plan the operation area based on the position of the ground point where the target object contacts the ground, specifically for:
基于用户的两个脚部分别与地面接触的两个地面点之间的距离确定所述作业区域。The working area is determined based on the distance between two ground points where the two feet of the user are respectively in contact with the ground.
在一些实施例中,所述触发指令为用户通过所述目标物体发出的触发指令,所述地面点包括用户发出所述触发指令时,与所述目标物体接触的地面点;In some embodiments, the trigger instruction is a trigger instruction sent by the user through the target object, and the ground point includes a ground point that is in contact with the target object when the user sends the trigger instruction;
所述处理器用于基于所述目标物体与地面接触的地面点的位置规划作 业区域时,具体用于:When the processor is used to plan the operation area based on the position of the ground point where the target object is in contact with the ground, it is specifically used for:
基于所述地面点的位置确定第一位置,所述第一位置为所述地面点所在的位置,或与所述地面点相距第一预设距离的位置;determining a first position based on the position of the ground point, where the first position is the position of the ground point, or a position at a first preset distance from the ground point;
基于所述第一位置规划所述作业区域。The operation area is planned based on the first position.
在一些实施例中,所述处理器用于基于所述第一位置规划所述作业区域时,具体用于:In some embodiments, when the processor is configured to plan the operation area based on the first position, it is specifically configured to:
基于所述第一位置与第二预设距离确定所述作业区域。The working area is determined based on the first position and a second preset distance.
在一些实施例中,所述地面点的位置包括:In some embodiments, the locations of the ground points include:
所述地面点与所述机器人的相对位置,或the relative position of the ground point to the robot, or
所述地面点在所述机器人预先存储的地图中的绝对位置。The absolute position of the ground point in the map pre-stored by the robot.
在一些实施例中,所述地面点在所述地图中的绝对位置基于以下方式确定:In some embodiments, the absolute position of the ground point in the map is determined based on the following methods:
基于所述机器人所在空间的空间信息确定所述地面点与所述机器人的相对位置,基于所述机器人当前在所述地图中的绝对位置以及所述相对位置确定所述地面点在所述地图中的绝对位置;或Determine the relative position of the ground point and the robot based on the spatial information of the space where the robot is located, and determine that the ground point is in the map based on the current absolute position of the robot in the map and the relative position. the absolute position of the ; or
基于所述机器人所在空间的空间信息表征的场景与所述地图中的场景进行匹配,基于匹配结果确定所述地面点在所述地图中的绝对位置。The scene represented by the spatial information of the space where the robot is located is matched with the scene in the map, and the absolute position of the ground point in the map is determined based on the matching result.
在一些实施例中,在基于所述目标物体与地面接触的地面点的位置规划作业区域之前,所述处理器还用于:In some embodiments, before planning the operation area based on the position of the ground point where the target object contacts the ground, the processor is further configured to:
控制所述机器人移动至第三位置,所述第三位置为所述地面点所在的位置,或与所述地面点相距第一预设距离的位置。The robot is controlled to move to a third position, and the third position is the position where the ground point is located, or a position separated from the ground point by a first preset distance.
在一些实施例中,在基于所述目标物体与地面接触的地面点的位置规划作业区域之后,所述处理器还用于:In some embodiments, after the operation area is planned based on the position of the ground point where the target object contacts the ground, the processor is further configured to:
控制所述机器人移动至第四位置,所述第四位置至少包括所述地面点所在的位置,与所述地面点相距第一预设距离的位置,基于所述作业区域确定的位置中的一种。Controlling the robot to move to a fourth position, the fourth position includes at least the position where the ground point is located, a position at a first preset distance from the ground point, and one of positions determined based on the work area kind.
在一些实施例中,目标位置包括所述第三位置和/或所述第四位置,所 述处理器用于控制所述机器人移动至所述目标位置时,具体用于:In some embodiments, the target position includes the third position and/or the fourth position, and when the processor is used to control the robot to move to the target position, it is specifically used for:
基于所述机器人与所述目标位置的相对位置控制所述机器人移动至所述目标位置;或controlling movement of the robot to the target location based on the relative position of the robot to the target location; or
基于所述机器人与所述目标位置的相对位置确定所述目标位置在所述机器人预先存储的地图中的绝对位置,基于所述目标位置在所述地图中的绝对位置以及所述地图规划移动路径;基于所述移动路径控制所述机器人移动至所述目标位置。Determining the absolute position of the target position in a map pre-stored by the robot based on the relative position between the robot and the target position, planning a movement path based on the absolute position of the target position in the map and the map ; controlling the robot to move to the target position based on the movement path.
在一些实施例中,控制所述机器人移动至作业区域中的目标位置之前,所述处理器还用于:In some embodiments, before controlling the robot to move to a target position in the work area, the processor is further configured to:
基于所述机器所在空间的空间信息确定所述机器人与所述目标位置之间是否存在障碍物;determining whether there is an obstacle between the robot and the target position based on the spatial information of the space where the machine is located;
如果不存在,则执行基于所述机器人与所述目标位置的相对位置控制所述机器人移动至所述目标位置的步骤;if not, performing the step of controlling the robot to move to the target position based on the relative position of the robot to the target position;
如果存在,则执行基于所述机器人与所述目标位置的相对位置确定所述目标位置在所述地图中的绝对位置,基于所述目标位置在所述地图中的绝对位置以及所述地图规划移动路径,并基于所述移动路径控制所述机器人移动到所述目标位置的步骤。If it exists, determine the absolute position of the target position in the map based on the relative position of the robot and the target position, plan the movement based on the absolute position of the target position in the map and the map path, and controlling the robot to move to the target position based on the moving path.
在一些实施例中,所述目标物体与地面接触的地面点的位置基于所述机器人所在空间的空间信息确定。In some embodiments, the position of the ground point where the target object contacts the ground is determined based on spatial information of the space where the robot is located.
在一些实施例中,所述空间信息采集装置设置于所述机器人上,所述处理器还用于:In some embodiments, the spatial information collection device is set on the robot, and the processor is also used for:
接收用户通过控制终端发送的控制指令;Receive the control instruction sent by the user through the control terminal;
基于所述控制指令控制所述机器人移动到第一指定位置,其中,所述机器人位于所述第一指定位置时,所述空间信息采集装置采集的空间信息中包括所述目标物体。Controlling the robot to move to a first designated position based on the control instruction, wherein when the robot is located at the first designated position, the spatial information collected by the spatial information collection device includes the target object.
在一些实施例中,所述空间信息采集装置设置于所述机器人上,所述处理器还用于:In some embodiments, the spatial information collection device is set on the robot, and the processor is also used for:
基于所述机器人采集的空间信息识别目标用户,并跟随所述目标用户移动至第二指定位置,所述第二指定位置与所述目标用户的停止移动时所在的位置相距第三预设距离;Identifying a target user based on the spatial information collected by the robot, and following the target user to move to a second specified location, the second specified location is a third preset distance away from the location where the target user stops moving;
在移动至所述第二指定位置后,执行所述获取目标物体与地面接触的地面点的位置,基于所述目标物体与地面接触的地面点的位置规划作业区域,控制所述机器人在所述作业区域内作业的步骤。After moving to the second specified position, the acquisition of the position of the ground point where the target object contacts the ground is performed, and the operation area is planned based on the position of the ground point where the target object contacts the ground, and the robot is controlled in the The steps of the job within the job area.
在一些实施例中,所述机器人为扫地机器人,所述扫地机器人上设有空间信息采集装置,所述处理器用于控制所述机器人在所述作业区域内作业时,具体用于:In some embodiments, the robot is a sweeping robot, the sweeping robot is provided with a spatial information collection device, and the processor is used to control the robot to work in the working area, specifically for:
基于所述空间信息采集装置采集的所述扫地机器人所在空间的空间信息识别所述作业区域中的脏污位置;Identifying dirty locations in the work area based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device;
控制所述扫地机器人对所述脏污位置进行清扫。The sweeping robot is controlled to clean the dirty location.
在一些实施例中,所述机器人为扫地机器人,所述扫地机器人上设有空间信息采集装置,所述处理器用于控制所述机器人在所述作业区域内作业时,具体用于:In some embodiments, the robot is a sweeping robot, the sweeping robot is provided with a spatial information collection device, and the processor is used to control the robot to work in the working area, specifically for:
基于所述空间信息采集装置采集的所述扫地机器人所在空间的空间信息识别所述作业区域中的脏污的类型;identifying the type of dirt in the work area based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device;
基于脏污的类型确定所述扫地机器人的清扫模式,以利用所述清扫模式对所述作业区域内的脏污进行清扫。The cleaning mode of the cleaning robot is determined based on the type of dirt, so as to use the cleaning mode to clean the dirt in the working area.
在一些实施例中,所述扫地机器人包括用于清扫液体脏污的第一清扫装置以及用户清扫固体脏污的第二清扫装置,所述处理器用于基于脏污的类型确定所述扫地机器人的清扫模式时,具体用于:In some embodiments, the cleaning robot includes a first cleaning device for cleaning liquid dirt and a second cleaning device for cleaning solid dirt by the user, and the processor is used to determine the cleaning function of the cleaning robot based on the type of dirt. In cleaning mode, it is specifically used for:
在识别到所述作业区域内存在液体脏污时,将扫地机器人的清扫模式切换成拖地模式,其中,所述扫地机器人处于所述拖地模式时,所述第一清扫装置比所述第二清扫装置先接触到所述液体脏污。When it is recognized that there is liquid contamination in the working area, the cleaning mode of the sweeping robot is switched to the mopping mode, wherein, when the sweeping robot is in the mopping mode, the first cleaning device is more efficient than the second cleaning device. The second cleaning device is first exposed to the liquid dirt.
进一步地,本申请实施例中还提供了一种机器人,该机器人包括如上述实施例中任一项所述的控制装置。该机器人可以是扫地机器人、智能小 车、电子宠物等各种智能化机器人。Further, an embodiment of the present application also provides a robot, the robot includes the control device according to any one of the above embodiments. The robot can be a variety of intelligent robots such as sweeping robots, smart cars, and electronic pets.
在机器人完成作业任务后,需要控制机器人回到基座上,以对机器人进行充电。目前,在控制机器人回到基座上时,大多采用红外定位的方式,这种方式需要在基座和机器人上额外增加红外传感器,比较繁琐,且会增加成本。After the robot completes the task, the robot needs to be controlled to return to the base to charge the robot. At present, when controlling the robot to return to the base, infrared positioning is mostly used. This method requires additional infrared sensors on the base and the robot, which is cumbersome and will increase costs.
基于此,本申请实施例提供了一种控制机器人回基座的方法,可以在基座上设置目标标识,其中,目标标识可以位于基座入口周围,也可以位于基座入口内部,或其他任意位置,只需目标标识与基座入口的相对位置关系进行预先标定即可,然后通过机器人上设置的图像采集装置采集基座的图像,通过目标标识在图像上的呈现的姿态确定机器人相对于目标标识的姿态,进而基于目标标识与基座入口的相对姿态确定机器人与基座入口的相对姿态,从而基于该相对姿态控制机器人从基座入口进入到基座。通过这种方式,无需增加专门的传感器,即可以实现自动控制机器人回到基座内。Based on this, the embodiment of the present application provides a method for controlling the robot to return to the base. A target mark can be set on the base, wherein the target mark can be located around the entrance of the base, or inside the entrance of the base, or any other Position, only need to pre-calibrate the relative positional relationship between the target mark and the entrance of the base, and then collect the image of the base through the image acquisition device installed on the robot, and determine the relative position of the robot relative to the target by the posture of the target mark on the image. Then, based on the relative posture of the target mark and the entrance of the base, the relative posture of the robot and the entrance of the base is determined, so that the robot is controlled to enter the base from the entrance of the base based on the relative posture. In this way, automatic control of the robot back into the base can be realized without adding special sensors.
本公开实施例中的机器人可以是扫地机器人,或者是其他需要与基座对接,以便回到基座中进行充电或者执行其他任务的机器人。所述方法如图9所示,包括以下步骤:The robot in the embodiments of the present disclosure may be a sweeping robot, or other robots that need to be docked with the base, so as to return to the base for charging or perform other tasks. Described method is shown in Figure 9, comprises the following steps:
S902、获取所述图像采集装置采集的所述基座的图像;S902. Acquire the image of the base collected by the image collection device;
S904、从图像中识别所述目标标识,并获取所述机器人与所述目标标识的第一相对姿态;S904. Identify the target mark from the image, and acquire a first relative pose between the robot and the target mark;
S906、基于所述第一相对姿态、以及所述目标标识与所述基座的入口的第二相对姿态控制所述机器人从所述入口进入所述基座。S906. Based on the first relative posture and a second relative posture between the target mark and the entrance of the base, control the robot to enter the base from the entrance.
首先,可以通过机器人上的图像采集装置采集基座的图像,然后从图像中识别目标标识,该目标标识可以一个指定形状的标志物,或者也可以是按照固定方式排列的多个点,该目标标识可以分布在基座的外表面,或者也可以分布在基座入口的里面,只要方便从采集的图像中识别到该目标标识,并确定与该目标标识的相对姿态即可。First, the image of the base can be collected by the image acquisition device on the robot, and then the target mark can be recognized from the image. The target mark can be a marker with a specified shape, or it can be a plurality of points arranged in a fixed way. The marks can be distributed on the outer surface of the base, or can also be distributed inside the entrance of the base, as long as it is convenient to recognize the target mark from the collected images and determine the relative posture to the target mark.
在从图像中识别到目标标识后,可以基于图像中目标标识呈现的姿态确定机器人当前与目标标识的第一相对姿态。其中,可以预先让机器人在不同位置,从不同角度采集基座的图像,确定机器人在不同位置不通过角度采集基座图像时,目标标识在图像中呈现的姿态,从而确定目标标识呈现的姿态与机器人所在位置和角度的对应关系,然后可以基于该对应关系和采集的基座的图像确定机器人当前与目标标识的第一相对姿态。或者也可以利用携带标签信息的大量包含目标标识的图像作为训练样本,该标签信息用于指示机器人与目标标识的相对位姿,然后利用该训练样本训练神经网络。在采集到基座的图像后,可以将该图像输入至神经网络中,利用神经网络预测该第一相对姿态。After the target mark is recognized from the image, a first relative pose between the robot and the target mark can be determined based on the pose presented by the target mark in the image. Among them, the robot can be pre-collected images of the base at different positions and from different angles, and determine the pose of the target mark in the image when the robot does not collect the base image through the angle at different positions, so as to determine the pose and the position of the target mark. The corresponding relationship between the position and the angle of the robot, and then based on the corresponding relationship and the collected image of the base, the first relative posture between the robot and the target mark can be determined. Alternatively, a large number of images containing target identifications carrying label information can be used as training samples, the label information is used to indicate the relative pose of the robot and the target identification, and then the training samples are used to train the neural network. After the image of the base is collected, the image can be input into the neural network, and the neural network is used to predict the first relative posture.
由于目标标识和基座入口位置的第二相对姿态可以预先标定好,因而,可以基于第一相对姿态和该第二相对姿态确定机器人与基座入口的相对姿态,进而基于该相对姿态控制机器人调整移动方向,以便对准基座入口,并从基座入口进入到基座中。Since the second relative posture of the target mark and the base entrance position can be calibrated in advance, the relative posture of the robot and the base entrance can be determined based on the first relative posture and the second relative posture, and then the robot adjustment can be controlled based on the relative posture. Move the direction so that it is aligned with the pedestal entrance and enters the pedestal from the pedestal entrance.
在一些实施例中,可以先基于采集的基座的空间信息(比如,点云或者深度图像)确定机器人与基座的相对位置,然后基于该相对位置控制机器人移动至基座附近,再采用上述方法控制机器人从基座入口进入到基座中。In some embodiments, the relative position of the robot and the base can be determined based on the collected spatial information of the base (for example, point cloud or depth image), and then the robot is controlled to move to the vicinity of the base based on the relative position, and then the above-mentioned The method controls the robot to enter the base from the base entrance.
此外,本申请实施例还提供了另外一种控制机器人回基座的方法,如图10所示,该方法可以包括以下步骤:In addition, the embodiment of the present application also provides another method for controlling the robot to return to the base, as shown in Figure 10, the method may include the following steps:
S102、通过所述三维激光雷达获取所述机器人的基座的空间信息;S102. Obtain spatial information of the base of the robot through the three-dimensional laser radar;
S104、基于所述空间信息确定所述机器人与所述基座的入口的相对姿态;S104. Determine the relative posture of the robot and the entrance of the base based on the spatial information;
S106、基于所述相对姿态控制所述机器人从所述入口进入所述基座。S106. Control the robot to enter the base from the entrance based on the relative posture.
可以借助机器人上设置三维激光雷达获取基座的空间信息,比如,点云信息,然后根据该空间信息确定机器人与该基座入口的相对姿态,基于该相对姿态调整机器人的移动方向,以便对准基座入口,并从基座入口进 入到基座中。The spatial information of the base, such as point cloud information, can be obtained by means of the 3D laser radar installed on the robot, and then the relative attitude between the robot and the entrance of the base can be determined according to the spatial information, and the moving direction of the robot can be adjusted based on the relative attitude for alignment. the base entrance, and enter into the base from the base entrance.
通过上述两种方式,可以无需借助额外的传感器,也能控制机器人自动回到基座中,可以节省成本。Through the above two methods, the robot can be controlled to automatically return to the base without additional sensors, which can save costs.
相应地,本说明书实施例还提供一种计算机存储介质,所述存储介质中存储有程序,所述程序被处理器执行时实现上述任一实施例中的方法。Correspondingly, the embodiments of this specification further provide a computer storage medium, where a program is stored in the storage medium, and when the program is executed by a processor, the method in any of the foregoing embodiments is implemented.
本说明书实施例可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机可用存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。Embodiments of the present description may take the form of a computer program product embodied on one or more storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Computer usable storage media includes both volatile and non-permanent, removable and non-removable media, and may be implemented by any method or technology for information storage. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for computers include, but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系 列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. The term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements but also other elements not expressly listed elements, or also elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上对本发明实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The methods and devices provided by the embodiments of the present invention have been described in detail above. The principles and implementation methods of the present invention have been explained by using specific examples in this paper. The descriptions of the above embodiments are only used to help understand the methods and methods of the present invention. core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as limiting the present invention .

Claims (45)

  1. 一种机器人的控制方法,其特征在于,所述方法包括:A control method for a robot, characterized in that the method comprises:
    获取目标物体与地面接触的地面点的位置;Obtain the position of the ground point where the target object touches the ground;
    基于所述目标物体与地面接触的地面点的位置规划作业区域;planning an operation area based on the position of the ground point where the target object is in contact with the ground;
    控制所述机器人在所述作业区域内作业。The robot is controlled to work in the working area.
  2. 根据权利要求1所述的方法,其特征在于,所述获取目标物体与地面接触的地面点的位置,包括:The method according to claim 1, wherein said obtaining the position of the ground point where the target object contacts the ground comprises:
    响应于用户的触发指令,获取目标物体与地面接触的地面点的位置。In response to a user's trigger instruction, the position of the ground point where the target object is in contact with the ground is acquired.
  3. 根据权利要求2所述的方法,其特征在于,所述触发指令包括以下一种或多种:The method according to claim 2, wherein the trigger instruction includes one or more of the following:
    用户的指定动作或姿态、用户执行指定动作的时长达到预设时长以及所述目标物体呈现指定姿态。The specified action or gesture of the user, the duration of the user's execution of the specified action reaches a preset duration, and the target object presents the specified gesture.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述地面点包括与所述目标物体先后接触的多个地面点,所述作业区域为由所述多个地面点连接起来构成的区域。The method according to any one of claims 1-3, wherein the ground point includes a plurality of ground points that successively contact the target object, and the operation area is connected by the plurality of ground points constituted area.
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述地面点包括与所述目标物体先后接触的多个地面点,所述作业区域为多个,每个所述作业区域基于所述多个地面点中的一个地面点确定。The method according to any one of claims 1-3, wherein the ground point includes a plurality of ground points successively in contact with the target object, and there are multiple operating areas, each of the operating areas The determination is based on a ground point of the plurality of ground points.
  6. 根据权利要求1-3任一项所述的方法,其特征在于,所述基于所述目标物体与地面接触的地面点的位置规划作业区域,包括:The method according to any one of claims 1-3, wherein the planning of the operation area based on the position of the ground point where the target object contacts the ground comprises:
    至少基于一个所述目标物体与地面接触的地面点的位置规划所述作业区域。The operation area is planned based on at least one location of a ground point where the target object is in contact with the ground.
  7. 根据权利要求1-3任一项所述的方法,其特征在于,所述目标物体包括用户的两个脚部,基于所述目标物体与地面接触的地面点的位置规划作业区域,包括:The method according to any one of claims 1-3, wherein the target object includes two feet of the user, and planning the operation area based on the position of the ground point where the target object contacts the ground includes:
    基于用户的两个脚部分别与地面接触的两个地面点之间的距离确定所述作业区域。The working area is determined based on the distance between two ground points where the two feet of the user are respectively in contact with the ground.
  8. 根据权利要求2所述的方法,其特征在于,所述触发指令为用户通过所述目标物体发出的触发指令,所述地面点包括用户发出所述触发指令时,与所述目标物体接触的地面点;The method according to claim 2, wherein the trigger instruction is a trigger instruction sent by the user through the target object, and the ground point includes the ground that is in contact with the target object when the user sends the trigger instruction point;
    基于所述目标物体与地面接触的地面点的位置规划作业区域,包括:The operation area is planned based on the position of the ground point where the target object is in contact with the ground, including:
    基于所述地面点的位置确定第一位置,所述第一位置为所述地面点所在的位置,或与所述地面点相距第一预设距离的位置;determining a first position based on the position of the ground point, where the first position is the position of the ground point, or a position at a first preset distance from the ground point;
    基于所述第一位置规划所述作业区域。The operation area is planned based on the first position.
  9. 根据权利要求8所述的方法,其特征在于,基于所述第一位置规划所述作业区域,包括:The method according to claim 8, wherein planning the operation area based on the first position comprises:
    基于所述第一位置与第二预设距离确定所述作业区域。The working area is determined based on the first position and a second preset distance.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述地面点的位置包括:The method according to any one of claims 1-9, wherein the position of the ground point comprises:
    所述地面点与所述机器人的相对位置,或the relative position of the ground point to the robot, or
    所述地面点在预先存储的地图中的绝对位置。The absolute position of the ground point in the pre-stored map.
  11. 根据权利要求10所述的方法,其特征在于,所述地面点在所述地图中的绝对位置基于以下方式确定:The method according to claim 10, wherein the absolute position of the ground point in the map is determined based on the following method:
    基于所述机器人所在空间的空间信息确定所述地面点与所述机器人的相对位置,基于所述机器人当前在所述地图中的绝对位置以及所述相对位置确定所述地面点在所述地图中的绝对位置;或Determine the relative position of the ground point and the robot based on the spatial information of the space where the robot is located, and determine that the ground point is in the map based on the current absolute position of the robot in the map and the relative position. the absolute position of the ; or
    基于所述机器人所在空间的空间信息表征的场景与所述地图中的场景进行匹配,基于匹配结果确定所述地面点在所述地图中的绝对位置。The scene represented by the spatial information of the space where the robot is located is matched with the scene in the map, and the absolute position of the ground point in the map is determined based on the matching result.
  12. 根据权利要求1所述的方法,其特征在于,基于所述目标物体与地面接触的地面点的位置规划作业区域之前,所述方法还包括:The method according to claim 1, wherein, before planning the operation area based on the position of the ground point where the target object is in contact with the ground, the method further comprises:
    控制所述机器人移动至第三位置,所述第三位置为所述地面点所在的位置,或与所述地面点相距第一预设距离的位置。The robot is controlled to move to a third position, and the third position is the position where the ground point is located, or a position separated from the ground point by a first preset distance.
  13. 根据权利要求1所述的方法,其特征在于,基于所述目标物体与地面接触的地面点的位置规划作业区域之后,所述方法还包括:The method according to claim 1, characterized in that, after planning the operation area based on the position of the ground point where the target object is in contact with the ground, the method further comprises:
    控制所述机器人移动至第四位置,所述第四位置至少包括所述地面点所在的位置,与所述地面点相距第一预设距离的位置,基于所述作业区域确定的位置中的一种。Controlling the robot to move to a fourth position, the fourth position includes at least the position where the ground point is located, a position at a first preset distance from the ground point, and one of positions determined based on the work area kind.
  14. 根据权利要求12或13所述的方法,其特征在于,目标位置包括所述第三位置和/或所述第四位置,控制所述机器人移动至所述目标位置,包括:The method according to claim 12 or 13, wherein the target position includes the third position and/or the fourth position, and controlling the robot to move to the target position comprises:
    基于所述机器人与所述目标位置的相对位置控制所述机器人移动至所述目标位置;或controlling movement of the robot to the target location based on the relative position of the robot to the target location; or
    基于所述机器人与所述目标位置的相对位置确定所述目标位置在预先存储的地图中的绝对位置,基于所述目标位置在所述地图中的绝对位置以及所述地图规划移动路径;基于所述移动路径控制所述机器人移动至所述目标位置。Determining the absolute position of the target position in a pre-stored map based on the relative position between the robot and the target position, planning a movement path based on the absolute position of the target position in the map and the map; The moving path controls the robot to move to the target position.
  15. 根据权利要求14所述的方法,其特征在于,控制所述机器人移动至作业区域中的目标位置之前,还包括:The method according to claim 14, wherein before controlling the robot to move to a target position in the work area, further comprising:
    基于所述机器所在空间的空间信息确定所述机器人与所述目标位置之间是否存在障碍物;determining whether there is an obstacle between the robot and the target position based on the spatial information of the space where the machine is located;
    如果不存在,则执行基于所述机器人与所述目标位置的相对位置控制所述机器人移动至所述目标位置的步骤;if not, performing the step of controlling the robot to move to the target position based on the relative position of the robot to the target position;
    如果存在,则执行基于所述机器人与所述目标位置的相对位置确定所述目标位置在所述地图中的绝对位置,基于所述目标位置在所述地图中的绝对位置以及所述地图规划移动路径,并基于所述移动路径控制所述机器人移动到所述目标位置的步骤。If it exists, determine the absolute position of the target position in the map based on the relative position of the robot and the target position, plan the movement based on the absolute position of the target position in the map and the map path, and controlling the robot to move to the target position based on the moving path.
  16. 根据权利要求1-15任一项所述的方法,其特征在于,所述目标物体与地面接触的地面点的位置基于所述机器人所在空间的空间信息确定。The method according to any one of claims 1-15, characterized in that the position of the ground point where the target object is in contact with the ground is determined based on spatial information of the space where the robot is located.
  17. 根据权利要求16所述的方法,其特征在于,所述空间信息采集装置设置于所述机器人上,所述方法还包括:The method according to claim 16, wherein the spatial information collection device is arranged on the robot, and the method further comprises:
    接收用户通过控制终端发送的控制指令;Receive the control instruction sent by the user through the control terminal;
    基于所述控制指令控制所述机器人移动到第一指定位置,其中,所述机器人位于所述第一指定位置时,所述空间信息采集装置采集的空间信息中包括所述目标物体。Controlling the robot to move to a first designated position based on the control instruction, wherein when the robot is located at the first designated position, the spatial information collected by the spatial information collection device includes the target object.
  18. 根据权利要求16所述的方法,其特征在于,所述空间信息采集装置设置于所述机器人上,所述方法还包括:The method according to claim 16, wherein the spatial information collection device is arranged on the robot, and the method further comprises:
    基于所述机器人采集的空间信息识别目标用户,并跟随所述目标用户移动至第二指定位置,所述第二指定位置与所述目标用户的停止移动时所在的位置相距第三预设距离;Identifying a target user based on the spatial information collected by the robot, and following the target user to move to a second specified location, the second specified location is a third preset distance away from the location where the target user stops moving;
    在移动至所述第二指定位置后,执行所述获取目标物体与地面接触的地面点的位置,基于所述目标物体与地面接触的地面点的位置规划作业区域,控制所述机器人在所述作业区域内作业的步骤。After moving to the second specified position, the acquisition of the position of the ground point where the target object contacts the ground is performed, and the operation area is planned based on the position of the ground point where the target object contacts the ground, and the robot is controlled in the The steps of the job within the job area.
  19. 根据权利要求1-18任一项所述的方法,其特征在于,所述机器人为扫地机器人,所述扫地机器人上设有空间信息采集装置,控制所述机器人在所述作业区域内作业,包括:The method according to any one of claims 1-18, wherein the robot is a sweeping robot, and the sweeping robot is provided with a spatial information collection device, and the robot is controlled to work in the working area, including :
    基于所述空间信息采集装置采集的所述扫地机器人所在空间的空间信息识别所述作业区域中的脏污位置;Identifying dirty locations in the work area based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device;
    控制所述扫地机器人对所述脏污位置进行清扫。The sweeping robot is controlled to clean the dirty location.
  20. 根据权利要求1-19任一项所述的方法,其特征在于,所述机器人为扫地机器人,所述扫地机器人上设有空间信息采集装置,控制所述机器人在所述作业区域内作业,包括:The method according to any one of claims 1-19, wherein the robot is a sweeping robot, and the sweeping robot is provided with a spatial information collection device, and the robot is controlled to work in the working area, including :
    基于所述空间信息采集装置采集的所述扫地机器人所在空间的空间信息识别所述作业区域中的脏污的类型;identifying the type of dirt in the work area based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device;
    基于脏污的类型确定所述扫地机器人的清扫模式,以利用所述清扫模式对所述作业区域内的脏污进行清扫。The cleaning mode of the cleaning robot is determined based on the type of dirt, so as to use the cleaning mode to clean the dirt in the working area.
  21. 根据权利要求20所述的方法,其特征在于,所述扫地机器人包括用于清扫液体脏污的第一清扫装置以及用户清扫固体脏污的第二清扫装置,基于脏污的类型确定所述扫地机器人的清扫模式,包括:The method according to claim 20, wherein the sweeping robot includes a first cleaning device for cleaning liquid dirt and a second cleaning device for cleaning solid dirt by the user, and the sweeping robot is determined based on the type of dirt The cleaning mode of the robot, including:
    在识别到所述作业区域内存在液体脏污时,将扫地机器人的清扫模式切换成拖地模式,其中,所述扫地机器人处于所述拖地模式时,所述第一清扫装置比所述第二清扫装置先接触到所述液体脏污。When it is recognized that there is liquid contamination in the working area, the cleaning mode of the sweeping robot is switched to the mopping mode, wherein, when the sweeping robot is in the mopping mode, the first cleaning device is more efficient than the second cleaning device. The second cleaning device is first exposed to the liquid dirt.
  22. 一种机器人的控制装置,其特征在于,所述装置包括处理器、存储器、存储于所述存储器中可供所述处理器执行的计算机程序,所述计算程序被执行时,可实现以下步骤:A control device for a robot, characterized in that the device includes a processor, a memory, and a computer program stored in the memory that can be executed by the processor. When the calculation program is executed, the following steps can be realized:
    获取目标物体与地面接触的地面点的位置;Obtain the position of the ground point where the target object touches the ground;
    基于所述目标物体与地面接触的地面点的位置规划作业区域;planning an operation area based on the position of the ground point where the target object is in contact with the ground;
    控制所述机器人在所述作业区域内作业。The robot is controlled to work in the working area.
  23. 根据权利要求22所述的装置,其特征在于,所述处理器用于获取目标物体与地面接触的地面点的位置时,具体用于:The device according to claim 22, wherein when the processor is used to obtain the position of the ground point where the target object contacts the ground, it is specifically used for:
    响应于用户的触发指令,获取目标物体与地面接触的地面点的位置。In response to a user's trigger instruction, the position of the ground point where the target object is in contact with the ground is acquired.
  24. 根据权利要求23所述的装置,其特征在于,所述触发指令包括以下一种或多种:The device according to claim 23, wherein the trigger instruction includes one or more of the following:
    用户的指定动作或姿态、用户执行指定动作的时长达到预设时长以及所述目标物体呈现指定姿态。The specified action or gesture of the user, the duration of the user's execution of the specified action reaches a preset duration, and the target object presents the specified gesture.
  25. 根据权利要求22-24任一项所述的装置,其特征在于,所述地面点包括与所述目标物体先后接触的多个地面点,所述作业区域为由所述多个地面点连接起来构成的区域。The device according to any one of claims 22-24, wherein the ground point includes a plurality of ground points successively in contact with the target object, and the operation area is connected by the plurality of ground points constituted area.
  26. 根据权利要求22-24任一项所述的装置,其特征在于,所述地面点包括与所述目标物体先后接触的多个地面点,所述作业区域为多个,每个所述作业区域基于所述多个地面点中的一个地面点确定。The device according to any one of claims 22-24, wherein the ground point includes a plurality of ground points that successively contact the target object, and there are multiple operating areas, each of the operating areas The determination is based on a ground point of the plurality of ground points.
  27. 根据权利要求22-24任一项所述的装置,其特征在于,所述处理用于基于所述目标物体与地面接触的地面点的位置规划作业区域时,具体用于:The device according to any one of claims 22-24, wherein when the processing is used to plan the operation area based on the position of the ground point where the target object contacts the ground, it is specifically used for:
    至少基于一个所述目标物体与地面接触的地面点的位置规划所述作业区域。The operation area is planned based on at least one location of a ground point where the target object is in contact with the ground.
  28. 根据权利要求22-24任一项所述的装置,其特征在于,所述目标物体包括用户的两个脚部,所述处理器用于基于所述目标物体与地面接触的地面点的位置规划作业区域时,具体用于:The device according to any one of claims 22-24, wherein the target object includes two feet of the user, and the processor is used for planning operations based on the position of the ground point where the target object contacts the ground area, specifically for:
    基于用户的两个脚部分别与地面接触的两个地面点之间的距离确定所述作业区域。The working area is determined based on the distance between two ground points where the two feet of the user are respectively in contact with the ground.
  29. 根据权利要求23所述的装置,其特征在于,所述触发指令为用户通过所述目标物体发出的触发指令,所述地面点包括用户发出所述触发指令时,与所述目标物体接触的地面点;The device according to claim 23, wherein the trigger command is a trigger command sent by the user through the target object, and the ground point includes the ground that is in contact with the target object when the user sends the trigger command point;
    所述处理器用于基于所述目标物体与地面接触的地面点的位置规划作业区域时,具体用于:When the processor is used to plan the operation area based on the position of the ground point where the target object contacts the ground, it is specifically used for:
    基于所述地面点的位置确定第一位置,所述第一位置为所述地面点所在的位置,或与所述地面点相距第一预设距离的位置;determining a first position based on the position of the ground point, where the first position is the position of the ground point, or a position at a first preset distance from the ground point;
    基于所述第一位置规划所述作业区域。The operation area is planned based on the first position.
  30. 根据权利要求29所述的装置,其特征在于,所述处理器用于基于所述第一位置规划所述作业区域时,具体用于:The device according to claim 29, wherein when the processor is used to plan the operation area based on the first position, it is specifically used to:
    基于所述第一位置与第二预设距离确定所述作业区域。The working area is determined based on the first position and a second preset distance.
  31. 根据权利要求22-30任一项所述的装置,其特征在于,所述地面点的位置包括:The device according to any one of claims 22-30, wherein the positions of the ground points include:
    所述地面点与所述机器人的相对位置,或the relative position of the ground point to the robot, or
    所述地面点在预先存储的地图中的绝对位置。The absolute position of the ground point in the pre-stored map.
  32. 根据权利要求31所述的装置,其特征在于,所述地面点在所述地图中的绝对位置基于以下方式确定:The device according to claim 31, wherein the absolute position of the ground point in the map is determined based on the following method:
    基于所述机器人所在空间的空间信息确定所述地面点与所述机器人的相对位置,基于所述机器人当前在所述地图中的绝对位置以及所述相对位置确定所述地面点在所述地图中的绝对位置;或Determine the relative position of the ground point and the robot based on the spatial information of the space where the robot is located, and determine that the ground point is in the map based on the current absolute position of the robot in the map and the relative position. the absolute position of the ; or
    基于所述机器人所在空间的空间信息表征的场景与所述地图中的场景进行匹配,基于匹配结果确定所述地面点在所述地图中的绝对位置。The scene represented by the spatial information of the space where the robot is located is matched with the scene in the map, and the absolute position of the ground point in the map is determined based on the matching result.
  33. 根据权利要求22所述的装置,其特征在于,在基于所述目标物体与地面接触的地面点的位置规划作业区域之前,所述处理器还用于:The device according to claim 22, wherein before planning an operation area based on the position of the ground point where the target object contacts the ground, the processor is further configured to:
    控制所述机器人移动至第三位置,所述第三位置为所述地面点所在的位置,或与所述地面点相距第一预设距离的位置。The robot is controlled to move to a third position, and the third position is the position where the ground point is located, or a position separated from the ground point by a first preset distance.
  34. 根据权利要求22所述的装置,其特征在于,在基于所述目标物体与地面接触的地面点的位置规划作业区域之后,所述处理器还用于:The device according to claim 22, wherein after planning the operation area based on the position of the ground point where the target object contacts the ground, the processor is further configured to:
    控制所述机器人移动至第四位置,所述第四位置至少包括所述地面点所在的位置,与所述地面点相距第一预设距离的位置,基于所述作业区域确定的位置中的一种。Controlling the robot to move to a fourth position, the fourth position includes at least the position where the ground point is located, a position at a first preset distance from the ground point, and one of positions determined based on the work area kind.
  35. 根据权利要求33或34所述的方法,其特征在于,目标位置包括所述第三位置和/或所述第四位置,所述处理器用于控制所述机器人移动至所述目标位置时,具体用于:The method according to claim 33 or 34, wherein the target position includes the third position and/or the fourth position, and the processor is used to control the robot to move to the target position, specifically Used for:
    基于所述机器人与所述目标位置的相对位置控制所述机器人移动至所述目标位置;或controlling movement of the robot to the target location based on the relative position of the robot to the target location; or
    基于所述机器人与所述目标位置的相对位置确定所述目标位置在预先存储的地图中的绝对位置,基于所述目标位置在所述地图中的绝对位置以及所述地图规划移动路径;基于所述移动路径控制所述机器人移动至所述目标位置。Determining the absolute position of the target position in a pre-stored map based on the relative position between the robot and the target position, planning a movement path based on the absolute position of the target position in the map and the map; The moving path controls the robot to move to the target position.
  36. 根据权利要求35所述的装置,其特征在于,控制所述机器人移动至作业区域中的目标位置之前,所述处理器还用于:The device according to claim 35, wherein before controlling the robot to move to a target position in the work area, the processor is further configured to:
    基于所述机器所在空间的空间信息确定所述机器人与所述目标位置之间是否存在障碍物;determining whether there is an obstacle between the robot and the target position based on the spatial information of the space where the machine is located;
    如果不存在,则执行基于所述机器人与所述目标位置的相对位置控制所述机器人移动至所述目标位置的步骤;if not, performing the step of controlling the robot to move to the target position based on the relative position of the robot to the target position;
    如果存在,则执行基于所述机器人与所述目标位置的相对位置确定所述目标位置在所述地图中的绝对位置,基于所述目标位置在所述地图中的绝对位置以及所述地图规划移动路径,并基于所述移动路径控制所述机器 人移动到所述目标位置的步骤。If it exists, determine the absolute position of the target position in the map based on the relative position of the robot and the target position, plan the movement based on the absolute position of the target position in the map and the map path, and controlling the robot to move to the target position based on the moving path.
  37. 根据权利要求22-36任一项所述的装置,其特征在于,所述目标物体与地面接触的地面点的位置基于所述机器人所在空间的空间信息确定。The device according to any one of claims 22-36, wherein the position of the ground point where the target object contacts the ground is determined based on spatial information of the space where the robot is located.
  38. 根据权利要求37所述的装置,其特征在于,所述空间信息采集装置设置于所述机器人上,所述处理器还用于:The device according to claim 37, wherein the spatial information collection device is arranged on the robot, and the processor is also used for:
    接收用户通过控制终端发送的控制指令;Receive the control instruction sent by the user through the control terminal;
    基于所述控制指令控制所述机器人移动到第一指定位置,其中,所述机器人位于所述第一指定位置时,所述空间信息采集装置采集的空间信息中包括所述目标物体。Controlling the robot to move to a first designated position based on the control instruction, wherein when the robot is located at the first designated position, the spatial information collected by the spatial information collection device includes the target object.
  39. 根据权利要求37所述的装置,其特征在于,所述空间信息采集装置设置于所述机器人上,所述处理器还用于:The device according to claim 37, wherein the spatial information collection device is arranged on the robot, and the processor is also used for:
    基于所述机器人采集的空间信息识别目标用户,并跟随所述目标用户移动至第二指定位置,所述第二指定位置与所述目标用户的停止移动时所在的位置相距第三预设距离;Identifying a target user based on the spatial information collected by the robot, and following the target user to move to a second specified location, the second specified location is a third preset distance away from the location where the target user stops moving;
    在移动至所述第二指定位置后,执行所述获取目标物体与地面接触的地面点的位置,基于所述目标物体与地面接触的地面点的位置规划作业区域,控制所述机器人在所述作业区域内作业的步骤。After moving to the second specified position, the acquisition of the position of the ground point where the target object contacts the ground is performed, and the operation area is planned based on the position of the ground point where the target object contacts the ground, and the robot is controlled in the The steps of the job within the job area.
  40. 根据权利要求22-39任一项所述的装置,其特征在于,所述机器人为扫地机器人,所述扫地机器人上设有空间信息采集装置,所述处理器用于控制所述机器人在所述作业区域内作业时,具体用于:The device according to any one of claims 22-39, characterized in that, the robot is a sweeping robot, the sweeping robot is provided with a spatial information collection device, and the processor is used to control the When working in the area, it is specifically used for:
    基于所述空间信息采集装置采集的所述扫地机器人所在空间的空间信息识别所述作业区域中的脏污位置;Identifying dirty locations in the work area based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device;
    控制所述扫地机器人对所述脏污位置进行清扫。The sweeping robot is controlled to clean the dirty location.
  41. 根据权利要求22-40任一项所述的装置,其特征在于,所述机器人为扫地机器人,所述扫地机器人上设有空间信息采集装置,所述处理器用于控制所述机器人在所述作业区域内作业时,具体用于:The device according to any one of claims 22-40, wherein the robot is a sweeping robot, the sweeping robot is provided with a spatial information collection device, and the processor is used to control the When working in the area, it is specifically used for:
    基于所述空间信息采集装置采集的所述扫地机器人所在空间的空间信 息识别所述作业区域中的脏污的类型;Identifying the type of dirt in the work area based on the spatial information of the space where the sweeping robot is collected by the spatial information collection device;
    基于脏污的类型确定所述扫地机器人的清扫模式,以利用所述清扫模式对所述作业区域内的脏污进行清扫。The cleaning mode of the cleaning robot is determined based on the type of dirt, so as to use the cleaning mode to clean the dirt in the working area.
  42. 根据权利要求41所述的装置,其特征在于,所述扫地机器人包括用于清扫液体脏污的第一清扫装置以及用户清扫固体脏污的第二清扫装置,所述处理器用于基于脏污的类型确定所述扫地机器人的清扫模式时,具体用于:The device according to claim 41, wherein the sweeping robot includes a first cleaning device for cleaning liquid dirt and a second cleaning device for cleaning solid dirt by the user, and the processor is used for cleaning based on dirt When the type determines the cleaning mode of the sweeping robot, it is specifically used for:
    在识别到所述作业区域内存在液体脏污时,将扫地机器人的清扫模式切换成拖地模式,其中,所述扫地机器人处于所述拖地模式时,所述第一清扫装置比所述第二清扫装置先接触到所述液体脏污。When it is recognized that there is liquid contamination in the working area, the cleaning mode of the sweeping robot is switched to the mopping mode, wherein when the sweeping robot is in the mopping mode, the first cleaning device is more efficient than the second cleaning device. The second cleaning device is first exposed to the liquid dirt.
  43. 一种机器人,其特征在于,所述机器人包括如权利要求22-42任一项所述的装置。A robot, characterized in that the robot comprises the device according to any one of claims 22-42.
  44. 一种控制机器人回基座的方法,其特征在于,所述机器人上设有图像采集装置,所述基座上设有目标标识,所述方法包括:A method for controlling a robot to return to a base, wherein the robot is provided with an image acquisition device, and the base is provided with a target mark, and the method comprises:
    获取所述图像采集装置采集的所述基座的图像;acquiring the image of the base captured by the image capture device;
    从图像中识别所述目标标识,并获取所述机器人与所述目标标识的第一相对姿态;Recognizing the target identifier from the image, and acquiring a first relative pose between the robot and the target identifier;
    基于所述第一相对姿态、以及所述目标标识与所述基座的入口的第二相对姿态控制所述机器人从所述入口进入所述基座。The robot is controlled to enter the base from the entrance based on the first relative posture and a second relative posture between the target mark and the entrance of the base.
  45. 一种控制机器人回基座的方法,其特征在于,所述机器人上设有三维激光雷达,所述方法包括:A method for controlling a robot to return to a base, wherein the robot is provided with a three-dimensional laser radar, and the method comprises:
    通过所述三维激光雷达获取所述机器人的基座的空间信息;acquiring spatial information of the base of the robot through the three-dimensional laser radar;
    基于所述空间信息确定所述机器人与所述基座的入口的相对姿态;determining a relative pose of the robot to an entrance of the base based on the spatial information;
    基于所述相对姿态控制所述机器人从所述入口进入所述基座。The robot is controlled to enter the base from the entrance based on the relative pose.
PCT/CN2021/143927 2021-12-31 2021-12-31 Robot control method and apparatus, method and apparatus for controlling robot to return to base, and robot WO2023123457A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/143927 WO2023123457A1 (en) 2021-12-31 2021-12-31 Robot control method and apparatus, method and apparatus for controlling robot to return to base, and robot
CN202180101589.2A CN117835884A (en) 2021-12-31 2021-12-31 Control method of robot, method and device for controlling robot to return to base and robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/143927 WO2023123457A1 (en) 2021-12-31 2021-12-31 Robot control method and apparatus, method and apparatus for controlling robot to return to base, and robot

Publications (1)

Publication Number Publication Date
WO2023123457A1 true WO2023123457A1 (en) 2023-07-06

Family

ID=86997172

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143927 WO2023123457A1 (en) 2021-12-31 2021-12-31 Robot control method and apparatus, method and apparatus for controlling robot to return to base, and robot

Country Status (2)

Country Link
CN (1) CN117835884A (en)
WO (1) WO2023123457A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573309A (en) * 2014-10-10 2016-05-11 杜勇 Sweeper adopting photo-electromagnetic combination for positioning
US20160147230A1 (en) * 2014-11-26 2016-05-26 Irobot Corporation Systems and Methods for Performing Simultaneous Localization and Mapping using Machine Vision Systems
CN107363833A (en) * 2017-07-17 2017-11-21 深圳市微付充科技有限公司 A kind of mobile robot and its control method and device
CN108903816A (en) * 2018-06-21 2018-11-30 上海与德通讯技术有限公司 A kind of cleaning method, controller and intelligent cleaning equipment
CN110575099A (en) * 2018-06-07 2019-12-17 科沃斯机器人股份有限公司 Fixed-point cleaning method, floor sweeping robot and storage medium
CN112890680A (en) * 2019-11-19 2021-06-04 科沃斯机器人股份有限公司 Follow-up cleaning operation method, control method, device, robot and storage medium
CN113126632A (en) * 2020-01-15 2021-07-16 科沃斯机器人股份有限公司 Virtual wall defining and operating method, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573309A (en) * 2014-10-10 2016-05-11 杜勇 Sweeper adopting photo-electromagnetic combination for positioning
US20160147230A1 (en) * 2014-11-26 2016-05-26 Irobot Corporation Systems and Methods for Performing Simultaneous Localization and Mapping using Machine Vision Systems
CN107363833A (en) * 2017-07-17 2017-11-21 深圳市微付充科技有限公司 A kind of mobile robot and its control method and device
CN110575099A (en) * 2018-06-07 2019-12-17 科沃斯机器人股份有限公司 Fixed-point cleaning method, floor sweeping robot and storage medium
CN108903816A (en) * 2018-06-21 2018-11-30 上海与德通讯技术有限公司 A kind of cleaning method, controller and intelligent cleaning equipment
CN112890680A (en) * 2019-11-19 2021-06-04 科沃斯机器人股份有限公司 Follow-up cleaning operation method, control method, device, robot and storage medium
CN113126632A (en) * 2020-01-15 2021-07-16 科沃斯机器人股份有限公司 Virtual wall defining and operating method, equipment and storage medium

Also Published As

Publication number Publication date
CN117835884A (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US20230409032A1 (en) Method for controlling an autonomous, mobile robot
US11709497B2 (en) Method for controlling an autonomous mobile robot
US11465284B2 (en) Restricting movement of a mobile robot
JP7073336B2 (en) How to control an autonomous mobile robot
US9911226B2 (en) Method for cleaning or processing a room by means of an autonomously mobile device
CN112739505A (en) Investigation of autonomous mobile robot into robot working area
CN110989631A (en) Self-moving robot control method, device, self-moving robot and storage medium
CN113116224B (en) Robot and control method thereof
JP2019171017A (en) Autonomous mobile cleaner, cleaning method using the same and program for the same
CN112336267B (en) Cleaning robot and control method thereof
JP2019171001A (en) Autonomous mobile cleaner, cleaning method and program
JP2019171018A (en) Autonomous mobile cleaner, cleaning method by the same and program for the same
WO2019001237A1 (en) Mobile electronic device, and method in mobile electronic device
CN112034830A (en) Map information processing method and device and mobile device
WO2023098455A1 (en) Operation control method, apparatus, storage medium, and electronic apparatus for cleaning device
WO2020131687A2 (en) Methods and systems for defining virtual boundaries for a robotic device
CN114680740B (en) Cleaning control method and device, intelligent equipment, mobile equipment and server
WO2023123457A1 (en) Robot control method and apparatus, method and apparatus for controlling robot to return to base, and robot
CN114995459A (en) Robot control method, device, equipment and storage medium
JP7393185B2 (en) Map information provision system to autonomous mobile devices and autonomous mobile devices
CN112257510A (en) Method and system for determining object in regional map and self-moving robot
JP7483551B2 (en) Information processing device
US20240126263A1 (en) Method for determining a selection area in an environment for a mobile device
US20210191415A1 (en) Area profile map learning for robotic device
CN115040038A (en) Robot control method and device and robot

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: 21969802

Country of ref document: EP

Kind code of ref document: A1