CN114815812A - A lawn mowing robot operation control method, device, electronic device and storage medium - Google Patents
A lawn mowing robot operation control method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN114815812A CN114815812A CN202210301205.8A CN202210301205A CN114815812A CN 114815812 A CN114815812 A CN 114815812A CN 202210301205 A CN202210301205 A CN 202210301205A CN 114815812 A CN114815812 A CN 114815812A
- Authority
- CN
- China
- Prior art keywords
- area
- robot
- target
- mowing robot
- map
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0268—Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means
- G05D1/0274—Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means using mapping information stored in a memory device
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Aviation & Aerospace Engineering (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Harvester Elements (AREA)
Abstract
本申请涉及一种割草机器人作业控制方法、装置、电子设备及存储介质,包括:S1、在割草机器人建图过程中得到至少一个作业区域;S2、根据作业区域获取至少一个通行区域,其中,通行区域用于进入作业区域;S3、获取目标作业区域;S4、获取割草机器人的当前位置,判断割草机器人是否位于目标作业区域,若否,则执行S5,否则执行S7;S5、获取割草机机器人运行至目标作业区域所有可选路径;S6、根据可选路径选择目标路径并以其对应的通行区域和作业区域为界内建立通行地图、使得割草机器人进入目标作业区域;S7、根据目标作业区域建立割草机器人的作业地图,其中,通行区域设置在作业地图的界外。实施本申请能够提高割草机器人作业过程的可靠性。
The present application relates to an operation control method, device, electronic device and storage medium for a lawnmower robot, including: S1. Obtaining at least one operation area during the mapping process of the lawnmower robot; S2. Obtaining at least one passage area according to the operation area, wherein , the passing area is used to enter the operation area; S3, obtain the target operation area; S4, obtain the current position of the lawnmower robot, and determine whether the lawnmower robot is located in the target operation area, if not, execute S5, otherwise execute S7; S5, obtain The lawnmower robot runs to all the optional paths of the target operation area; S6, selects the target path according to the optional path and establishes a passage map within the boundary of its corresponding passage area and operation area, so that the lawnmower robot enters the target operation area; S7 . Establish an operation map of the lawn mowing robot according to the target operation area, wherein the passing area is set outside the boundary of the operation map. The implementation of the present application can improve the reliability of the operation process of the lawn mower robot.
Description
技术领域technical field
本申请涉及割草机器人技术领域,更具体地说,涉及一种割草机器人作业控制方法、装置、电子设备及存储介质。The present application relates to the technical field of lawn mowing robots, and more particularly, to a method, device, electronic device and storage medium for controlling the operation of lawn mowing robots.
背景技术Background technique
无边界割草机器人作业地图中存在可通行的非草地区域,对于割草机器人来说会造成草坪地图的割裂,影响整个割草作业过程中的路径规划。同时,对于智能割草机器人来说,不是所有的非草地可通行区域都都需要作为作业区域列入至其作业地图中去的,但是在实际过程中哪些区域要纳入到作业地图其对机器人作业过程有着很大的影响。There are passable non-grass areas in the work map of the borderless mowing robot, which will cause the lawn map to be split for the mowing robot and affect the path planning during the entire mowing process. At the same time, for the intelligent lawn mowing robot, not all non-grass passable areas need to be included in its operation map as an operation area, but in the actual process which areas should be included in the operation map, it is necessary for the robot to work. Process has a big impact.
申请内容Application content
本申请要解决的技术问题在于,提供一种割草机器人作业控制方法、装置、电子设备及存储介质。The technical problem to be solved by the present application is to provide an operation control method, device, electronic device and storage medium of a lawn mowing robot.
本申请解决其技术问题所采用的技术方案是:构造一种割草机器人作业控制方法,包括:The technical solution adopted by the present application to solve the technical problem is to construct a method for controlling the operation of a lawn mowing robot, including:
S1、在割草机器人建图过程中按照预设规则对建图区域进行划分,以得到至少一个作业区域;S1. In the process of mapping the lawnmower robot, the mapping area is divided according to preset rules, so as to obtain at least one operation area;
S2、在所述作业区域的数量不唯一或者在所述作业区域的数量唯一且所述割草机器人的建图起始点不在该唯一作业区域内时,获取至少一个通行区域,其中,所述通行区域用于使所述割草机器人自其进入对应的作业区域;S2. Acquire at least one passing area when the number of the working areas is not unique or when the number of the working areas is unique and the starting point of the lawnmower robot is not within the unique working area, wherein the passing area is The area is used for the lawnmower robot to enter the corresponding work area;
S3、在所述割草机器人执行作业任务时,根据触发指令获取目标作业区域;S3. When the lawnmower robot performs the operation task, obtain the target operation area according to the trigger instruction;
S4、获取所述割草机器人的当前位置,判断所述割草机器人是否位于所述目标作业区域,若是执行步骤S7,否则执行步骤S5;S4. Obtain the current position of the lawnmower robot, and determine whether the lawnmower robot is located in the target operation area. If so, go to step S7, otherwise go to step S5;
S5、获取所述割草机机器人运行至所述目标作业区域所有可选路径,其中,所述可选路径经过所述作业区域或/和所述通行区域;S5. Acquire all optional paths of the lawnmower robot running to the target operation area, wherein the optional paths pass through the operation area or/and the passage area;
S6、根据所述可选路径选择目标路径,并以所述目标路径对应的通行区域和作业区域为界内建立所述割草机器人的通行地图,使得所述割草机器人经所述目标路径进入所述目标作业区域;S6. Select a target path according to the optional path, and establish a traffic map of the lawnmower robot with the passing area and working area corresponding to the target path as the boundary, so that the lawnmower robot enters through the target path. the target operating area;
S7、根据所述目标作业区域建立所述割草机器人的作业地图,以使所述割草机器人根据所述作业地图作业。S7. Establish a work map of the lawnmower robot according to the target work area, so that the lawnmower robot can work according to the work map.
优选地,在本申请所述的一种割草机器人作业控制方法中,还包括:Preferably, in the operation control method of a lawn mowing robot described in this application, it also includes:
S21、在所述作业区域的数量唯一且所述割草机器人的建图起始点在该唯一作业区域内时,以所述作业区域建立所述割草机器人的作业地图,以使所述割草机器人根据所述作业地图作业。S21. When the number of the working area is unique and the starting point of the lawn mowing robot is within the unique working area, create a working map of the lawn mowing robot based on the working area, so that the lawn mowing robot can use the working area. The robot operates according to the operation map.
优选地,在本申请所述的一种割草机器人作业控制方法中,在所述步骤S1中,所述按照预设规则对建图区域进行划分,以得到至少一个作业区域;包括:对所述建图区域进行AI机器识别以获取草地区域为所述作业区域。Preferably, in the operation control method of a lawnmower robot described in the present application, in the step S1, the mapping area is divided according to preset rules to obtain at least one operation area; AI machine recognition is performed on the mapping area to obtain the grass area as the operation area.
优选地,在本申请所述的一种割草机器人作业控制方法中,在所述步骤S2中,所述获取至少一个通行区域,包括:对所述建图区域进行AI机器识别以获取非草地区域,并根据所述非草地区域获取所述通行区域。Preferably, in the operation control method of a lawn mowing robot described in this application, in the step S2, the acquiring at least one passing area includes: performing AI machine recognition on the mapping area to acquire non-grassland area, and obtain the passing area according to the non-grass area.
优选地,在本申请所述的一种割草机器人作业控制方法中,所述根据所述非草地区域获取所述通行区域,包括:根据所述非草地区域的属性获取所述通行区域。Preferably, in the operation control method for a lawnmower robot described in the present application, the obtaining the passing area according to the non-grass area includes: obtaining the passing area according to an attribute of the non-grass area.
优选地,在本申请所述的一种割草机器人作业控制方法中,所述非草地区域的属性包括平地区域和障碍物,所述通行区域包括平地区域。Preferably, in the operation control method for a lawn mower described in the present application, the attributes of the non-grass area include flat areas and obstacles, and the passing area includes flat areas.
优选地,在本申请所述的一种割草机器人作业控制方法中,所述根据所述非草地区域获取所述通行区域包括:接收用户指令以选定所述非草地区域为所述通行区域。Preferably, in the operation control method for a lawn mowing robot described in the present application, the acquiring the passing area according to the non-grass area includes: receiving a user instruction to select the non-grass area as the passing area .
优选地,在本申请所述的一种割草机器人作业控制方法中,在所述步骤S7中,还包括:与所述目标作业区域对应的通行区域设置在所述作业地图的界外。Preferably, in the operation control method of a lawn mowing robot described in the present application, in the step S7, the method further includes: setting a passage area corresponding to the target operation area outside the boundary of the operation map.
本申请还构造一种割草机器人作业控制装置,包括:The present application also constructs an operation control device for a lawn mowing robot, including:
作业区域获取单元,用于在割草机器人建图过程中按照预设规则对建图区域进行划分,以得到至少一个作业区域;The operation area acquisition unit is used to divide the mapping area according to preset rules in the process of mapping the lawn mower robot, so as to obtain at least one operation area;
通行区域获取单元,用于在所述作业区域的数量不唯一或者在所述作业区域的数量唯一且所述割草机器人的建图起始点不在该唯一作业区域内时,获取至少一个通行区域,其中,所述通行区域用于使所述割草机器人自其进入对应的作业区域;a pass area obtaining unit, configured to obtain at least one pass area when the number of the operation areas is not unique or when the number of the operation areas is unique and the starting point of the lawn mower robot is not within the unique operation area, Wherein, the passage area is used to allow the lawnmower robot to enter the corresponding work area therefrom;
目标作业区域获取单元,用于在所述割草机器人执行作业任务时,根据触发指令获取目标作业区域;a target operation area acquisition unit, configured to acquire a target operation area according to a trigger instruction when the lawnmower robot performs an operation task;
判断单元,用于获取所述割草机器人的当前位置,判断所述割草机器人是否位于所述目标作业区域,若是,则输出肯定结果,否则输出否定结果;a judging unit, configured to obtain the current position of the lawnmower robot, and determine whether the lawnmower robot is located in the target operation area, if yes, output a positive result, otherwise output a negative result;
可选路径获取单元,用于在所述判断单元输出否定结果时获取所述割草机机器人运行至所述目标作业区域所有可选路径,其中,所述可选路径经过所述作业区域或/和所述通行区域;An optional path acquiring unit, configured to acquire all optional paths that the lawnmower robot runs to the target work area when the judgment unit outputs a negative result, wherein the optional paths pass through the work area or/or and said access area;
目标路径选择单元,用于根据所述可选路径选择目标路径,并以所述目标路径对应的通行区域和作业区域为界内建立所述割草机器人的通行地图,使得所述割草机器人经所述目标路径进入所述目标作业区域;A target path selection unit is used to select a target path according to the optional path, and establish a traffic map of the lawn mower robot with the passing area and working area corresponding to the target path as the boundary, so that the lawn mower robot can pass the the target path enters the target operation area;
作业单元,用于根据所述目标作业区域建立所述割草机器人的作业地图,以使所述割草机器人根据所述作业地图作业。An operation unit, configured to establish an operation map of the lawnmower robot according to the target operation area, so that the lawnmower robot operates according to the operation map.
本申请还构造一种计算机存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上面任意一项所述的割草机器人作业控制方法。The present application also constructs a computer storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the operation control method for a lawn mowing robot as described in any one of the above.
本申请还构造一种电子设备,包括存储器和处理器;The present application also constructs an electronic device including a memory and a processor;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述处理器用于执行所述计算机程序实现如上面任一项所述的割草机器人作业控制方法。The processor is configured to execute the computer program to implement the operation control method for a lawnmower robot as described in any one of the above.
实施本申请的一种割草机器人作业控制方法、装置、电子设备及存储介质,具有以下有益效果:能够提高割草机器人作业过程的可靠性。Implementing the operation control method, device, electronic device and storage medium of a lawn mowing robot of the present application has the following beneficial effects: the reliability of the operation process of the lawn mowing robot can be improved.
附图说明Description of drawings
下面将结合附图及实施例对本申请作进一步说明,附图中:The application will be further described below in conjunction with the accompanying drawings and embodiments, in which:
图1是本申请一种割草机器人作业控制方法一实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of an operation control method of a lawn mowing robot of the present application;
图2是本申请一种割草机器人作业控制装置一实施例的逻辑框图。FIG. 2 is a logical block diagram of an embodiment of an operation control device of a lawn mowing robot according to the present application.
具体实施方式Detailed ways
为了对本申请的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本申请的具体实施方式。In order to have a clearer understanding of the technical features, purposes and effects of the present application, the specific embodiments of the present application will now be described in detail with reference to the accompanying drawings.
如图1所示,在本申请的一种割草机器人作业控制方法第一实施例中,包括:S1、在割草机器人建图过程中按照预设规则对建图区域进行划分,以得到至少一个作业区域;具体的,割草机器人在工作时,其通常先对工作区域进行构图,根据构图得到的地图工作。而在本申请中,其先根据设定的规则进行划分,得到作业区域。例如,将连接一起的草坪设置为一个作业区域,多个相互隔开的草坪则可以对应多个不同的作业区域。As shown in FIG. 1 , in the first embodiment of a method for controlling the operation of a lawnmower robot according to the present application, the method includes: S1. Divide the map-building area according to preset rules during the map-building process of the lawnmower robot, so as to obtain at least A work area; specifically, when the lawnmower robot is working, it usually first composes the work area, and works according to the map obtained by the composition. In the present application, however, it is firstly divided according to the set rules to obtain the work area. For example, the connected lawns are set as one working area, and multiple lawns separated from each other can correspond to multiple different working areas.
S2、在所述作业区域的数量不唯一或者在所述作业区域的数量唯一且所述割草机器人的建图起始点不在该唯一作业区域内时,获取至少一个通行区域,其中,所述通行区域用于使所述割草机器人自其进入对应的作业区域;具体的,在得到的作业区域为多个即不唯一时,可以获取多个作业区域之间的连接关系获取通行区域。这样,割草机器人在一个作业区域时可以通过对应的通行区域进入至另一个作业区域,通行区域的数量可以不唯一。即可以理解,一个作业区域与另一作业区域之间的通行区域可以为多个。在一实施例中,在作业区域唯一即只有一个作业区域时,同时割草机器人的建图起点不在该唯一作业区域内,此时需要获取割草机器人进入该作业区域的通行区域。可以理解,割草机器人的建图起点进入作业区域的通行区域可以为一个也可以为多个。S2. Acquire at least one passing area when the number of the working areas is not unique or when the number of the working areas is unique and the starting point of the lawnmower robot is not within the unique working area, wherein the passing area is The area is used for the lawnmower robot to enter the corresponding operation area; specifically, when the obtained operation area is multiple, that is, not unique, the connection relationship between the multiple operation areas can be obtained to obtain the passage area. In this way, when the lawnmower robot is in one operation area, it can enter another operation area through the corresponding passage area, and the number of passage areas may not be unique. That is to say, it can be understood that there may be multiple passage areas between one work area and another work area. In one embodiment, when the work area is unique, that is, there is only one work area, and the starting point of the lawnmower robot is not within the only work area, at this time, it is necessary to obtain the passage area for the lawnmower robot to enter the work area. It can be understood that there may be one or more passage areas where the mapping starting point of the lawnmower robot enters the working area.
S3、在所述割草机器人执行作业任务时,根据触发指令获取目标作业区域,可选的,割草机器人在进行割草作业时,其可以先根据触发指令获取对应的需要进行割草作业的目标作业区域。该设定可以由割草机器人根据设定的任务自动触发,也可以通过用户进行手动触发。用户手动触发可以通过指令也可以通过UI界面进行设置以触发。S3. When the lawnmower robot performs the operation task, the target operation area is obtained according to the trigger instruction. Optionally, when the lawnmower robot performs the lawnmowing operation, it may first obtain the corresponding information that needs to perform the lawnmowing operation according to the trigger instruction. target work area. The setting can be automatically triggered by the lawn mower robot according to the set task, or manually triggered by the user. User manual triggering can be set to trigger through commands or through the UI interface.
S4、获取所述割草机器人的当前位置,判断所述割草机器人是否位于所述目标作业区域,若是,则执行步骤S7,否则执行步骤S5;S5、获取所述割草机机器人运行至所述目标作业区域所有可选路径,其中,所述可选路径经过所述作业区域或/和所述通行区域;S6、根据所述可选路径选择目标路径,并以所述目标路径对应的通行区域和作业区域为界内建立所述割草机器人的通行地图,使得所述割草机器人经所述目标路径进入所述目标作业区域;S7、根据所述目标作业区域建立所述割草机器人的作业地图,以使所述割草机器人根据所述作业地图作业,其中,与所述目标作业区域对应的通行区域设置在所述作业地图的界外。具体的,在得到割草机器人将要执行割草作业的目标作业区域后,其需要对割草机器人的当前位置进行判断,判断当前割草机器人的位置是不是在目标作业区域内。当判定割草机器人当前已经在目标作业区域内时,此时割草机器人则不需要寻找路径以从当前位置进入目标作业区域,其直接根据当前目标作业区域建立当前割草机器人执行工作的作业地图。在一实施例中该作业地图的建立可以将该目标作业区域对应的通行区域均设置在作业地图的界外,即作业地图中不包含目标作业区域对应的通行区域,此时割草机器人在作业时只在目标作业区域内移动。而当判定割草机器人当前不在目标作业区域时,则需要驱动割草机器人进入该目标作业区域。此时,会根据割草机器人当前的位置和目标作业区域的关系,获取割草机器人能实现自当前位置运行至目标区域的所有途径以定义为所有可选路径。该路径是可以包括作业区域或通行区域的。例如,在一实施例中,割草机器人位于一作业区域时,目标作业区域与该作业区域相邻,此时割草机器人对应的可选路径为穿过当前作业区域和该作业区域和目标作业区域之间的通行区域进入目标作业区域。在另一实施例中,割草机器人位于一作业区域时,目标作业区域与该作业区域之间相隔多个中间作业区域,此时割草机器人对应的可选路径则为穿过当前作业区域、多个中间作业区域以及他们之间的通行区域最终至目标作业区域。S4. Acquire the current position of the lawnmower robot, and determine whether the lawnmower robot is located in the target operation area. If so, go to step S7, otherwise go to step S5; All optional paths in the target operation area, wherein the optional path passes through the operation area or/and the passing area; S6. Select a target path according to the optional path, and use the corresponding access path of the target path The area and the operation area are established within the bounds of the traffic map of the lawnmower robot, so that the lawnmower robot enters the target operation area through the target path; S7, establishes a map of the lawnmower robot according to the target operation area. an operation map, so that the lawnmower robot operates according to the operation map, wherein a passage area corresponding to the target operation area is set out of the boundary of the operation map. Specifically, after obtaining the target operation area where the lawnmower robot will perform the lawnmowing operation, it needs to judge the current position of the lawnmower robot to determine whether the current position of the lawnmower robot is within the target operation area. When it is determined that the lawnmower robot is currently in the target operation area, the lawnmower robot does not need to find a path to enter the target operation area from the current position, and it directly establishes a work map of the current lawnmower robot according to the current target operation area. . In one embodiment, the establishment of the operation map can set the passage area corresponding to the target operation area outside the boundary of the operation map, that is, the operation map does not include the passage area corresponding to the target operation area. Move only within the target work area. When it is determined that the lawnmower robot is not currently in the target operation area, the lawnmower robot needs to be driven to enter the target operation area. At this time, according to the relationship between the current position of the lawnmower robot and the target operation area, all paths that the lawnmower robot can realize to run from the current position to the target area are obtained and defined as all optional paths. The path may include a work area or a pass-through area. For example, in one embodiment, when the lawnmower robot is located in an operation area, the target operation area is adjacent to the operation area, and the optional path corresponding to the lawnmower robot is to pass through the current operation area, the operation area and the target operation. The passage area between the zones enters the target work area. In another embodiment, when the lawnmower robot is located in a work area, there are multiple intermediate work areas between the target work area and the work area. At this time, the optional path corresponding to the lawnmower robot is to pass through the current work area, A plurality of intermediate work areas and the passage area between them finally reach the target work area.
同时,在一些实施例,从一个作业区域穿过其他作业区域或通行区域至目标区域,其可能存在多个不同的路径,此时可以根据设定从多个可选路径中选择合适的路径作为目标路径。将该目标路径经过的作业区域和通行区域作为割草机器人作业的界内,使得割草机器人能在界内经过该目标路径运行至目标作业区域。At the same time, in some embodiments, there may be multiple different paths from one operation area to the target area through other operation areas or passing areas. In this case, an appropriate path may be selected from multiple optional paths according to the settings Target path. The working area and the passing area passed by the target path are taken as the working boundary of the lawnmower robot, so that the lawnmower robot can run to the target operation area through the target route within the boundary.
在割草机器人进入到目标作业区域后,其根据目标作业区域进行割草机器人进行割草的作业地图,此时,目标作业区域对应的通行区域全部这只在作业地图的界外,使得割草机器人只在目标作业区域内作业。例如,此时割草机器人就不会运行到非草地区域了。After the lawnmower robot enters the target operation area, it performs the operation map of the lawnmower robot to cut grass according to the target operation area. At this time, all the passage areas corresponding to the target operation area are only outside the boundaries of the operation map, so that the lawnmower robot Work only within the target work area. For example, the lawnmower robot will not run to non-grass areas at this time.
可选的,在本申请的一种割草机器人作业控制方法中,还包括:S21、在所述作业区域的数量唯一且所述割草机器人的建图起始点在该唯一作业区域内时,以所述作业区域建立所述割草机器人的作业地图,以使所述割草机器人根据所述作业地图作业。具体的,在一实施例中,割草机器人对应的割草区域可以只为一个完整的草地,同时割草机器人的建图起始点在该草地中间。此时可以理解,割草机器人进入该工作区域并不需要通行区域,即此时该工作区域没有对应的通行区域。在该实施例中,则可以直接以该作业区域为割草机器人的作业地图,使得割草机器人之间在该作业区域进行作业。Optionally, in a method for controlling the operation of a lawnmower robot of the present application, the method further includes: S21. When the number of the operation areas is unique and the starting point of mapping of the lawnmower robot is within the unique operation area, A work map of the lawn mower robot is established based on the work area, so that the lawn mower robot works according to the work map. Specifically, in an embodiment, the mowing area corresponding to the mowing robot may only be a complete lawn, and the starting point of the mowing robot's mapping is in the middle of the lawn. At this point, it can be understood that a passage area is not required for the lawnmower robot to enter the work area, that is, there is no corresponding passage area in the work area at this time. In this embodiment, the operation area can be directly used as the operation map of the lawnmower robot, so that the lawnmower robots can perform operations in the operation area.
可选的,在本申请的一种割草机器人作业控制方法中,在所述步骤S1中,所述按照预设规则对建图区域进行划分,以得到至少一个作业区域;包括:对所述建图区域进行AI机器识别以获取草地区域为所述作业区域。具体的,在割草机器人建图过程中,可以通过AI机器识别获得其对应草地区域,以完整的草地区域为作业区域。其中AI机器识别的就具体过程可以采用当前常用的识别过程。Optionally, in the operation control method of a lawnmower robot of the present application, in the step S1, the mapping area is divided according to a preset rule to obtain at least one operation area; AI machine recognition is performed on the mapping area to obtain the grass area as the operation area. Specifically, during the mapping process of the lawnmower robot, the corresponding grass area can be obtained through AI machine recognition, and the complete grass area is used as the working area. Among them, the specific process of AI machine recognition can use the currently commonly used recognition process.
在所述步骤S2中,所述获取至少一个通行区域,包括:对所述建图区域进行AI机器识别以获取非草地区域,并根据所述非草地区域获取所述通行区域。具体的,在割草机器人建图过程中,可以通过AI机器识别获得其对应的非草地区域,对非草地区域进行判断,选择合适的非草地区域作为通行区域。其中AI机器识别的具体过程可以采用当前常用的识别过程。In the step S2, the acquiring at least one passing area includes: performing AI machine recognition on the mapping area to acquire a non-grass area, and acquiring the passing area according to the non-grass area. Specifically, during the mapping process of the lawnmower robot, the corresponding non-grass area can be obtained through AI machine recognition, the non-grass area can be judged, and an appropriate non-grass area can be selected as the passing area. The specific process of AI machine recognition can use the currently commonly used recognition process.
进一步的,所述根据所述非草地区域获取所述通行区域,包括:根据所述非草地区域的属性获取所述通行区域。具体的,其从非操作区域获取通行区域的过程可以为获取属性满足要求的区域为通行区域。例如,在判定该非草地区域为平地时,则可以将该平地设置为该作业区域对应的通行区域,当判定该非草地区域为障碍物,很明显的不能将其设置为该作业区域对应的通行区域。Further, the obtaining the passing area according to the non-grass area includes: obtaining the passing area according to an attribute of the non-grass area. Specifically, the process of acquiring the passable area from the non-operational area may be to obtain the passable area where the attribute meets the requirements. For example, when it is determined that the non-grass area is flat, the flat area can be set as the passage area corresponding to the operation area. When it is determined that the non-grass area is an obstacle, obviously it cannot be set as the corresponding passage area of the operation area. pass area.
可选的,所述根据所述非草地区域获取所述通行区域包括:接收用户指令以选定所述非草地区域为所述通行区域。还有一实施例中,其可以在获取了非草地区域后,通过用户指令选择通行区域。例如,可以选择合适的平地设置为通行区域。例如,可以选择平地中路径比较短的通路为通行区域,或者选择平地中的水泥地为通行区域。Optionally, the acquiring the pass area according to the non-grass area includes: receiving a user instruction to select the non-grass area as the pass area. In still another embodiment, after the non-grass area is acquired, the passing area may be selected by a user instruction. For example, suitable flat ground can be selected as the passable area. For example, a passage with a relatively short path in the flat ground may be selected as the passage area, or a cement ground in the flat ground may be selected as the passage area.
如图2所示,本申请的一种割草机器人作业控制装置,包括:As shown in Figure 2, a lawn mowing robot operation control device of the present application includes:
作业区域获取单元110,用于在割草机器人建图过程中按照预设规则对建图区域进行划分,以得到至少一个作业区域;The operation
通行区域获取单元120,用于在所述作业区域的数量不唯一或者在所述作业区域的数量唯一且所述割草机器人的建图起始点不在该唯一作业区域内时,获取至少一个通行区域,其中,所述通行区域用于使所述割草机器人自其进入对应的作业区域;A passage
目标作业区域获取单元130,用于在所述割草机器人执行作业任务时,根据触发指令获取目标作业区域;The target operation
判断单元140,用于获取所述割草机器人的当前位置,判断所述割草机器人是否位于所述目标作业区域,若是,则输出肯定结果,否则输出否定结果;The
可选路径获取单元150,用于在所述判断单元输出否定结果时获取所述割草机机器人运行至所述目标作业区域所有可选路径,其中,所述可选路径经过所述作业区域或/和所述通行区域;The optional path obtaining unit 150 is configured to obtain all optional paths that the lawnmower robot runs to the target operation area when the judgment unit outputs a negative result, wherein the optional paths pass through the operation area or / and said access area;
目标路径选择单元160,用于根据所述可选路径选择目标路径,并以所述目标路径对应的通行区域和作业区域为界内建立所述割草机器人的通行地图,使得所述割草机器人经所述目标路径进入所述目标作业区域;The target path selection unit 160 is used to select a target path according to the optional path, and establish a traffic map of the lawn mower robot within the pass area and work area corresponding to the target path, so that the lawn mower robot Entering the target operation area through the target path;
作业单元170,用于根据所述目标作业区域建立所述割草机器人的作业地图,以使所述割草机器人根据所述作业地图作业,其中,与所述目标作业区域对应的通行区域设置在所述作业地图的界外。The
具体的,这里的一种割草机器人作业控制装置各单元之间具体的配合操作过程具体可以参照上述一种割草机器人作业控制方法,这里不再赘述。Specifically, for the specific cooperative operation process between the units of the operation control device for a lawnmower robot, reference may be made to the operation control method for a lawnmower robot, which will not be repeated here.
另,本申请的一种电子设备,包括存储器和处理器;存储器用于存储计算机程序;处理器用于执行计算机程序实现如上面任意的一种割草机器人作业控制方法。具体的,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过电子设备下载和安装并且执行时,执行本申请实施例的方法中限定的上述功能。本申请中的电子设备可为笔记本、台式机、平板电脑、智能手机等终端,也可为服务器。In addition, an electronic device of the present application includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program to implement any one of the above methods for controlling the operation of a lawn mowing robot. Specifically, according to the embodiments of the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed through an electronic device and when executed, executes the above-mentioned functions defined in the methods of the embodiments of the present application. The electronic device in this application may be a terminal such as a notebook computer, a desktop computer, a tablet computer, and a smart phone, and may also be a server.
另,本申请的一种计算机存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上面任意一项的一种割草机器人作业控制方法。具体的,需要说明的是,本申请上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是但不限于是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。In addition, a computer storage medium of the present application has a computer program stored thereon, and when the computer program is executed by a processor, any one of the above operation control methods for a lawn mower robot is implemented. Specifically, it should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
可以理解的,以上实施例仅表达了本申请的优选实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制;应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,可以对上述技术特点进行自由组合,还可以做出若干变形和改进,这些都属于本申请的保护范围;因此,凡跟本申请权利要求范围所做的等同变换与修饰,均应属于本申请权利要求的涵盖范围。It can be understood that the above examples only represent the preferred embodiments of the present application, and the descriptions thereof are more specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application; it should be noted that for those of ordinary skill in the art In other words, under the premise of not departing from the concept of the application, the above-mentioned technical features can be freely combined, and some deformations and improvements can also be made, and these all belong to the protection scope of the application; All equivalent transformations and modifications made shall fall within the scope of the claims of the present application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210301205.8A CN114815812B (en) | 2022-03-25 | 2022-03-25 | A lawn mowing robot operation control method, device, electronic device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210301205.8A CN114815812B (en) | 2022-03-25 | 2022-03-25 | A lawn mowing robot operation control method, device, electronic device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114815812A true CN114815812A (en) | 2022-07-29 |
| CN114815812B CN114815812B (en) | 2025-04-04 |
Family
ID=82530970
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210301205.8A Active CN114815812B (en) | 2022-03-25 | 2022-03-25 | A lawn mowing robot operation control method, device, electronic device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114815812B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024212441A1 (en) * | 2023-04-13 | 2024-10-17 | 深圳乐动机器人股份有限公司 | Region division method, apparatus and computer-readable storage medium |
| CN119756328A (en) * | 2024-12-10 | 2025-04-04 | 深圳库犸科技有限公司 | Method and related device for mapping target area |
| WO2025077295A1 (en) * | 2023-10-09 | 2025-04-17 | 炬星科技(深圳)有限公司 | Robot control method and device, robot, and computer storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160165795A1 (en) * | 2014-12-15 | 2016-06-16 | Irobot Corporation | Robot lawnmower mapping |
| US20180064024A1 (en) * | 2016-09-05 | 2018-03-08 | Lg Electronics Inc. | Moving robot and control method thereof |
| CN113625701A (en) * | 2020-05-09 | 2021-11-09 | 苏州宝时得电动工具有限公司 | Mowing robot path planning method and mowing robot |
-
2022
- 2022-03-25 CN CN202210301205.8A patent/CN114815812B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160165795A1 (en) * | 2014-12-15 | 2016-06-16 | Irobot Corporation | Robot lawnmower mapping |
| US20180064024A1 (en) * | 2016-09-05 | 2018-03-08 | Lg Electronics Inc. | Moving robot and control method thereof |
| CN113625701A (en) * | 2020-05-09 | 2021-11-09 | 苏州宝时得电动工具有限公司 | Mowing robot path planning method and mowing robot |
Non-Patent Citations (1)
| Title |
|---|
| 杨金龙;赵旭;邬杨波;蓝艇;: "基于电磁感应的割草机器人边界技术研究", 机电工程, vol. 32, no. 11, 30 November 2015 (2015-11-30), pages 1443 - 1447 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024212441A1 (en) * | 2023-04-13 | 2024-10-17 | 深圳乐动机器人股份有限公司 | Region division method, apparatus and computer-readable storage medium |
| WO2025077295A1 (en) * | 2023-10-09 | 2025-04-17 | 炬星科技(深圳)有限公司 | Robot control method and device, robot, and computer storage medium |
| CN119756328A (en) * | 2024-12-10 | 2025-04-04 | 深圳库犸科技有限公司 | Method and related device for mapping target area |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114815812B (en) | 2025-04-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114815812A (en) | A lawn mowing robot operation control method, device, electronic device and storage medium | |
| CN113115621B (en) | Intelligent mowing system and autonomous image building method thereof | |
| CN113128747B (en) | Intelligent lawn mowing system and its autonomous mapping method | |
| CN109634285B (en) | Mowing robot and control method thereof | |
| US10814976B2 (en) | Using unmanned aerial vehicles (UAVs or drones) in forestry machine-connectivity applications | |
| US10180328B2 (en) | Automating distribution of work in a field | |
| CN110347144B (en) | Self-mobile device, self-learning method thereof and readable storage medium | |
| CN118034278A (en) | Method for adjusting moving path, terminal device and storage medium | |
| WO2025066727A1 (en) | Map area division method, autonomous mobile device, and computer-readable medium | |
| CN117516552B (en) | Cross path planning method, device and equipment of intelligent mower and storage medium | |
| CN113671988B (en) | Job path setting method, apparatus, system, and storage medium | |
| WO2025138651A1 (en) | Robot recharging path planning method, apparatus and device, and storage medium | |
| CN112799416B (en) | Route generation method, equipment and system, unmanned operation system and storage medium | |
| CN113806455B (en) | Map construction method, equipment and storage medium | |
| US20210295229A1 (en) | Information processing apparatus and information processing method | |
| US20250081873A1 (en) | Optimal Path Planning for an Agricultural Vehicle | |
| WO2024212441A1 (en) | Region division method, apparatus and computer-readable storage medium | |
| US20220405690A1 (en) | Information processing apparatus, information processing method, and storage medium | |
| CN111504297A (en) | Road-free network navigation operation method and device and navigation equipment | |
| US20250040463A1 (en) | Operational Path Planning | |
| CN116349480B (en) | Control method, device, electronic device and storage medium of lawn mowing robot | |
| CN120909279A (en) | A method, apparatus, device, and storage medium for processing land parcel targets. | |
| CN118848951A (en) | A method and device for dividing a region, and a computer-readable storage medium | |
| US11825760B2 (en) | Path planning system and method for defining a harvest path for harvesting a crop material from a field | |
| CN114928376A (en) | Intelligent mower boundary signal anti-interference method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |