WO2024021758A1 - Robot control method, electronic device and storage medium - Google Patents

Robot control method, electronic device and storage medium Download PDF

Info

Publication number
WO2024021758A1
WO2024021758A1 PCT/CN2023/093149 CN2023093149W WO2024021758A1 WO 2024021758 A1 WO2024021758 A1 WO 2024021758A1 CN 2023093149 W CN2023093149 W CN 2023093149W WO 2024021758 A1 WO2024021758 A1 WO 2024021758A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
sub
traveled
robot
target
Prior art date
Application number
PCT/CN2023/093149
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 北京旷视机器人技术有限公司
Publication of WO2024021758A1 publication Critical patent/WO2024021758A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0217Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with energy consumption, time reduction or distance reduction criteria

Definitions

  • This application relates to the field of logistics, specifically to robot control methods, electronic equipment and storage media.
  • the method used to control robots is to plan a driving path for each robot and control the robot to drive on the driving path.
  • the current method of controlling robots does not consider collision problems. For example, two robots collide due to the overlap of their driving paths.
  • this application provides a robot control method, electronic device and storage medium.
  • the embodiment of the present application provides a robot control method, including:
  • the at least one occupied area includes: a driving area marked as a corresponding sub-path occupied by the corresponding robot and/or an area occupied by the corresponding robot when in a stationary state;
  • At least one target to-be-traveled sub-path from at least one to-be-traveled sub-path that the target robot can occupy, and mark each target to-be-traveled sub-path in the at least one target to-be-traveled sub-path as determined by the target robot.
  • the target robot is occupied;
  • the target robot is controlled to travel on each target sub-path to be traveled.
  • An embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory.
  • the processor executes the computer program to implement the above robot control method. Law.
  • Embodiments of the present application provide a computer-readable storage medium on which a computer program/instruction is stored.
  • the computer program/instruction is executed by a processor, the above-mentioned robot control method is implemented.
  • An embodiment of the present application provides a computer program product, which includes a computer program/instruction.
  • the computer program/instruction is executed by a processor, the above robot control method is implemented.
  • the robot control method provided by the embodiment of the present application controls the target robot to drive on the target sub-path to be traveled when the target to-be-traveled sub-path of the target robot's traveling path is marked as occupied by the target robot.
  • any target to-be-traveled sub-path there is no overlap between the target to-be-traveled sub-path and any occupied area.
  • the target robot While the target robot is traveling on the target to-be-traveled sub-path, other robots will not be on the target to-be-traveled sub-path. In the driving area, other robots will not collide with the target robot. Therefore, when the target robot travels on any target sub-path to be traveled, there will be no robot collision.
  • Figure 1 shows a flow chart of a robot control method provided by an embodiment of the present application
  • Figure 2 shows a structural block diagram of a robot control device provided by an embodiment of the present application
  • Figure 3 schematically shows a block diagram of an electronic device for performing a method according to the present application.
  • Figure 4 schematically shows a storage unit for holding or carrying program code for implementing the method according to the present application.
  • Intelligent Logistics System uses artificial intelligence, big data and various information sensors, radio frequency identification technology, global positioning system (GPS) and other Internet of Things devices and technologies, and is widely used in basic materials transportation, warehousing, distribution, packaging, loading and unloading and information services.
  • GPS global positioning system
  • Internet of Things technology includes sensing equipment, RFID technology, laser infrared scanning, infrared induction identification, etc.
  • the Internet of Things can effectively connect materials in logistics to the network, monitor materials in real time, and sense the humidity, temperature and other environments of the warehouse. Data to ensure the storage environment of materials.
  • all data in logistics can be sensed and collected, uploaded to the data layer of the information platform, and the data can be filtered, mined, analyzed, etc., and finally the business processes (such as transportation, warehousing, access, picking, packaging, sorting, etc.) (picking, outbound, inventory, distribution, etc.) provide accurate data support.
  • the application directions of artificial intelligence in logistics can be roughly divided into two types: 1) those empowered by AI technology such as unmanned trucks, AGVs, AMRs, forklifts, shuttles, stackers, unmanned distribution vehicles, drones, Intelligent devices such as service robots, robotic arms, and smart terminals replace part of the labor force; 2) Software driven by technologies or algorithms such as computer vision, machine learning, and operations optimization, such as transportation equipment management systems, warehouse management, equipment scheduling systems, order distribution systems, etc. The system improves labor efficiency. With the research and progress of smart logistics, this technology has been applied in many fields, such as retail and e-commerce, electronic products, tobacco, medicine, industrial manufacturing, shoes and clothing, textiles, food and other fields.
  • Figure 1 shows a flow chart of a robot control method provided by an embodiment of the present application.
  • the method includes:
  • Step 101 Based on the traveling area and at least one occupied area of at least one to-be-traveled sub-path of the target robot's traveling path, determine whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path.
  • the target robot can be any robot in the warehouse where the robot control method provided by the embodiment of the present application is applied.
  • Robots can be automated guided vehicles (Automated Guided Vehicles, AGVs for short), autonomous mobile robots (Automated Mobile Robots, AMRs for short), forklifts, etc.
  • the sub-path of the robot's traveling path is a part of the robot's traveling path, and the sub-path of the robot's traveling path is obtained by dividing the robot's traveling path.
  • the sub-path is the to-be-traveled sub-path of the robot's traveling path.
  • any sub-path of any robot's driving path when the robot travels from the starting point of the sub-path to the end of the sub-path, the robot has completed driving the sub-path, and the sub-path is no longer used as the robot's driving path.
  • the to-be-traveled sub-path of the path when the robot travels from the starting point of the sub-path to the end of the sub-path, the robot has completed driving the sub-path, and the sub-path is no longer used as the robot's driving path.
  • each sub-path of the target robot's traveling path is a to-be-traveled sub-path of the target robot's traveling path.
  • N is greater than 1.
  • all to-be-traveled sub-paths of the target robot's traveling path are all sub-paths of the target robot's traveling path, except that the target robot has completed traveling before step 101 is executed for the Nth time. The part outside the sub-path.
  • At least one to-be-traveled sub-path of the target robot's traveling path in step 101 may refer to: all to-be-traveled sub-paths of the target robot's traveling path when step 101 is performed.
  • steps 101-103 are performed at least once.
  • the period during which the target robot travels on the target robot's traveling path may refer to the time period between the time when the target robot starts traveling from the starting point of the traveling path and the time when the target robot reaches the end point of the traveling path.
  • the target robot can perform step 101 when one of the following items is satisfied: it is in a stationary state and there is at least one to-be-traveled sub-path of the target robot's traveling path, and the target robot has completed driving and occupied each target to-be-traveled sub-path. path and there is at least one to-be-traveled sub-path of the traveling path of the target robot, and an instruction instructing the target robot to perform step 101 is received.
  • any sub-path of any robot's driving path if the robot travels from the starting point of the sub-path to the end of the sub-path, then the robot has completed the sub-path.
  • the robot's activity area can be divided into a preset number of grids, and each grid has the same size.
  • the starting point of the corresponding path in this application may be the corresponding grid, and the end point of the corresponding path in this application may be the corresponding grid.
  • the robot performs multiple driving operations corresponding to the driving path. Through the multiple driving operations, the robot completes the driving of the robot.
  • the driving path means that the robot travels from the starting point of the driving path to the end point of the driving path.
  • the robot's travel path can be divided into multiple sub-paths of the travel path according to multiple travel operations corresponding to the robot's travel path.
  • Each sub-path of the path corresponds to one driving operation among the plurality of driving operations.
  • the robot completes the sub-path by executing the driving operation corresponding to the sub-path.
  • all the sub-paths of the robot's driving path can be sorted according to the distance between the starting point of the sub-path of the robot's driving path and the starting point of the driving path from small to large, and the value of the robot's driving path can be obtained.
  • the order of sub-paths, the number of sub-paths of the robot's traveling path is denoted as n, the order of the sub-paths of the robot's traveling path defines the first sub-path of the robot's traveling path, the second sub-path of the robot's traveling path Path...the nth sub-path of the robot's driving path.
  • the robot starts driving from the first sub-path of the robot's driving path.
  • the robot completes the last sub-path of the robot's driving path. The robot completes the robot's travel path.
  • the robot drives on the ground of the warehouse where the robot control method provided by the embodiment of the application is applied, and a coordinate system can be established.
  • the origin of the coordinate system is on the plane where the ground is located, and the X-axis and Y-axis of the coordinate system They are all on the plane where the ground is located.
  • the X-axis of the coordinate system is the horizontal coordinate axis, and the Y-axis of the coordinate system is the vertical coordinate axis.
  • the type of driving operation performed by the robot may include but is not limited to long straight movement driving operation and rotation operation.
  • the long straight movement operation can be: the robot travels in the horizontal direction or in the vertical direction.
  • the rotation operation can be: the robot rotates at the rotation position corresponding to the rotation driving operation.
  • the shape of the traveling area of the sub-path is a polygon.
  • the robot travels from the starting point corresponding to the long straight movement operation to the end point corresponding to the long straight movement operation, the The starting point corresponding to the long straight movement operation and the end point corresponding to the long straight movement operation are provided by the warehouse management system of the warehouse where the robot control method provided by the embodiment of the present application is applied.
  • the starting point corresponding to the long straight movement operation is the starting point of the sub-path corresponding to the long straight movement operation
  • the end point corresponding to the long straight movement operation is the end point of the sub-path corresponding to the long straight movement operation.
  • the shape of the driving area of the sub-path corresponding to the long straight movement operation may be a rectangle, the horizontal side of the rectangle is parallel to the X-axis of the coordinate system, and the vertical side of the rectangle is parallel to the Y-axis of the coordinate system.
  • the shape of the driving area of the sub-path can be a rectangle. If the robot's driving direction is horizontal when driving on the sub-path, the The starting point of the subpath is on one vertical side of the rectangle, the end point of the subpath is on the other vertical side of the rectangle, and the length of the rectangle is the distance between the starting point of the subpath and the end point of the subpath , the width of the rectangle is: the Y-axis coordinate value of the point with the largest Y-axis coordinate value on the Y-axis of the coordinate system when the robot is driving on the sub-path minus the Y-axis coordinate value of the point on the Y-axis of the coordinate system when the robot is driving on the sub-path. The Y-axis coordinate value of the point with the smallest Y-axis coordinate value on the Y-axis.
  • the starting point of the sub-path is on one horizontal side of the rectangle, and the end point of the sub-path is on the other horizontal side of the rectangle.
  • the width of the rectangle is: the distance between the starting point of the sub-path and the end point of the sub-path.
  • the length of the rectangle is: the maximum X-axis coordinate value of the robot on the X-axis of the coordinate system when traveling on the sub-path.
  • the robot rotates at the rotation position corresponding to the rotation driving operation.
  • the driving direction of the robot can be changed from the horizontal direction to the vertical direction.
  • One is converted into the other of the horizontal direction and the vertical direction, and the rotation position corresponding to the rotation driving operation is provided by the embodiment of the present application.
  • the robot control method is provided by the warehouse management system of the warehouse.
  • the shape of a sub-path corresponding to a rotation driving operation performed by a robot can be a circle.
  • the rotation driving operation is: the robot rotates at the rotation position corresponding to the rotation driving operation, and the center of the circle can be the rotation The rotation position corresponding to the driving operation.
  • the diameter of the circle can be: the length of the diagonal of the rectangle surrounding the robot.
  • the edgemost points on the robot in each direction are on the corresponding sides of the rectangle surrounding the robot. superior.
  • the rectangle surrounding the robot and the circle related to the rectangle surrounding the robot can be determined, and the edgemost points on the robot in all directions are on the corresponding sides of the rectangle surrounding the robot.
  • the center point of the circle associated with the rectangle surrounding the robot is the center point of the rectangle surrounding the robot, and the diameter of the circle associated with the rectangle surrounding the robot may be the length of the rectangle surrounding the robot.
  • At least one occupied area in step 101 includes: a traveling area marked as a corresponding sub-path occupied by the corresponding robot and/or an area occupied by the corresponding robot when in a stationary state.
  • Each driving area marked as a corresponding sub-path occupied by the corresponding robot is regarded as an occupied area, and each area occupied by the corresponding robot when it is in a stationary state is regarded as an occupied area.
  • At least one occupied area in step 101 may refer to all occupied areas when step 101 is performed.
  • any sub-path to be traveled that can be occupied by any target robot there is no overlap between the sub-path to be traveled that the target robot can occupy and any occupied area in at least one occupied area.
  • the overlapping part of the two areas refers to the part that belongs to one of the two areas and the other of the two areas.
  • step 101 the to-be-traveled sub-path of the target robot's traveling path If the number of paths is one, determine whether the target robot can occupy a sub-path to be traveled.
  • step 101 If step 101 is executed and the number of to-be-traveled sub-paths of the target robot's traveling path is multiple, then the distance between the starting point of the to-be-traveled sub-path of the robot's traveling path and the starting point of the traveling path can be determined from small to large.
  • the multiple to-be-traveled sub-paths of the robot's traveling path are sorted to obtain the order of the multiple to-be-traveled sub-paths.
  • the target robot According to the order of multiple to-be-traveled sub-paths, it is sequentially determined whether the to-be-traveled sub-paths among the multiple to-be-traveled sub-paths can be occupied by the target robot, until it is determined that the target robot cannot occupy the corresponding to-be-traveled sub-path. First, it is determined whether the target robot can occupy the first sub-path to be traveled defined in the order of multiple sub-paths to be traveled.
  • determining whether the target robot can occupy the to-be-traveled sub-path may include: determining whether the to-be-traveled sub-path is marked as occupied by other robots; if the to-be-traveled sub-path is marked as being occupied by other robots; If the sub-path to be traveled is marked as occupied by other robots, determine that the target robot cannot occupy the sub-path to be traveled; if the sub-path to be traveled is not marked as occupied by other robots, determine each of at least one occupied area.
  • the target robot can be any robot in the warehouse where the robot control method provided by the embodiment of the present application is applied. Other robots are relative to the target robot, and the robots in the warehouse that are not the target robot are other robots.
  • Step 102 Determine at least one target to-be-traveled sub-path from at least one to-be-traveled sub-path that the target robot can occupy, and mark each target to-be-traveled sub-path as occupied by the target robot.
  • one to-be-traveled sub-path that the determined target robot can occupy is regarded as a target to-be-traveled sub-path.
  • the number of sub-paths to be traveled that the determined target robot can occupy is multiple, it can be divided into Do not regard each sub-path to be traveled that can be occupied by the determined target robot as a target sub-path to be traveled.
  • the target robot occupies each target to-be-traveled sub-path in the at least one target to-be-traveled sub-path.
  • the robot can drive on the sub-path. After the robot completes the sub-path, the sub-path is cancelled. The marker occupied by this robot.
  • each target to-be-traveled sub-path in the determined at least one target-to-be-traveled sub-path is marked as occupied by the target robot.
  • the target's to-be-traveled subpath was treated as an occupied area.
  • the target robot when it is determined that the target robot cannot occupy at least one sub-path to be traveled, if the target robot is in a stationary state, the target robot continues to be in a stationary state.
  • the target robot if the target robot is traveling on the corresponding sub-path, then when the target robot completes the last sub-path among all the sub-paths it has occupied, the target robot stops traveling, The target robot is at rest.
  • Step 103 Control the target robot to drive on each target sub-path to be traveled.
  • controlling the target robot to drive on each target sub-path to be traveled may include: if a target sub-path to be traveled is determined, when the target robot is in a stationary state or the target robot has finished driving, control the target robot to drive on each target sub-path.
  • a target sub-path to be traveled is determined, when the target robot is in a stationary state or the target robot has finished driving, control the target robot to drive on each target sub-path.
  • an instruction for the driving operation corresponding to the target to-be-traveled sub-path is sent to the target robot to trigger the target robot to perform the driving operation corresponding to the target to-be-traveled sub-path.
  • the sub-path to be traveled after completing the target.
  • Controlling the target robot to drive on each target sub-path to be traveled may include: if multiple target sub-paths to be traveled are determined, according to the starting point of the target sub-path to be traveled and the target robot's The distance between the starting points of the driving path is from small to large.
  • the multiple target sub-paths to be traveled are sorted to obtain the order of the target sub-paths to be traveled. According to the order of the target sub-paths to be traveled, the target robot is controlled to move at each target in turn. Travel on the sub-path to be traveled.
  • controlling the target robot to drive on each target to-be-traveled sub-path in turn may include: the first target to-be-traveled sub-path defined in the order of the target to-be-traveled sub-paths, when the target robot is at rest status or when the target robot has finished driving.
  • sending the driving operation instructions corresponding to the first target sub-path to be traveled to the target robot to Trigger the target robot to perform the driving operation corresponding to the first target sub-path to be traveled, and complete the first target sub-path to be traveled.
  • the target to-be-traveled sub-paths after the first target to-be-traveled sub-path defined in the order of the target to-be-traveled sub-paths are other target to-be-traveled sub-paths.
  • controlling the target robot to drive on each target to-be-traveled sub-path in turn may include: for each other target to-be-traveled sub-path, when the target robot finishes traveling on the other target to-be-traveled sub-paths, When the previous target sub-path is to be traveled, the driving operation instructions corresponding to the other target sub-paths to be traveled are sent to the target robot to trigger the target robot to perform the driving operations corresponding to the other target sub-paths to be traveled. Travel sub-path.
  • the target robot when the target to-be-traveled sub-path of the target robot's traveling path is marked as occupied by the target robot, the target robot is controlled to travel on the target to-be-traveled sub-path.
  • the target robot For any target to-be-traveled sub-path, there is no overlap between the target to-be-traveled sub-path and any occupied area. While the target robot is traveling on the target to-be-traveled sub-path, other robots will not be on the target to-be-traveled sub-path. In the driving area, other robots will not collide with the target robot. Therefore, when the target robot travels on any target sub-path to be traveled, there will be no robot collision.
  • the occupancy lengths of the multiple target to-be-traveled sub-paths are greater than the minimum occupancy length threshold and the occupancy lengths of the target to-be-traveled sub-paths are less than the maximum occupancy length threshold, multiple The occupied length of the target sub-path to be traveled is the sum of the lengths of the multiple target sub-paths to be traveled.
  • multiple to-be-traveled sub-paths that the target robot can occupy can be sorted according to the distance between the starting point of the to-be-traveled sub-path that the target robot can occupy and the starting point of the traveling path, and the multiple to-be-traveled sub-paths that the target robot can occupy can be obtained.
  • the to-be-traveled sub-paths are sequentially selected until the sum of the lengths of all selected to-be-traveled sub-paths is greater than the minimum occupation length threshold and all selected to-be-traveled sub-paths are The length of the sub-path is less than the maximum occupied length threshold.
  • the length of all selected sub-paths to be traveled is the sum of the lengths of each of the selected sub-paths to be traveled. All selected sub-paths to be traveled include the length of the to-be-traveled sub-paths.
  • the target robot can travel a shorter distance to complete each target sub-path to be traveled, and step 101 needs to be performed again, resulting in a reduction in the operating efficiency of the target robot. If the occupied lengths of multiple target sub-paths to be traveled are too large, the target robot will occupy multiple target sub-paths to be traveled for a long time, and other robots will wait for a long time for the target robot to complete each target sub-path to be traveled, resulting in a decrease in overall operating efficiency. reduce.
  • the occupied lengths of the multiple target to-be-traveled sub-paths may be greater than the minimum occupied length threshold and the occupied lengths of the target to-be-traveled sub-paths may be less than the maximum occupied length threshold.
  • the occupied length of the sub-path to be traveled by each target will be neither too small nor too large to avoid a reduction in operating efficiency.
  • the traveling area and at least one occupied area of the to-be-traveled sub-path of the target robot's traveling path it is determined whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path.
  • the path includes: determining whether there is an occupied area in at least one occupied area that overlaps with the driving area of the sub-path to be traveled; if not, marking the sub-path to be traveled as to be submitted for occupation by the target robot; determining the sub-path to be traveled.
  • the driving sub-path is marked as being submitted for occupation by other robots; if so, when the target robot is selected from the target robot and the other robots, it is determined that the target robot can occupy the sub-path to be traveled; if not, it is determined that the sub-path to be traveled is The target robot can occupy the sub-path to be traveled.
  • determining that the target robot can occupy the to-be-traveled sub-path may include: determining that at least one of the to-be-traveled sub-paths is occupied.
  • the to-be-traveled sub-path is marked as being submitted and occupied by the target robot; determine whether the to-be-traveled sub-path is marked as to be submitted and occupied by other robots; if the to-be-traveled sub-path is marked as to be submitted and occupied by other robots, When the target robot is selected from the target robot and the other robots, it is determined that the target robot can occupy the to-be-traveled sub-path; if the to-be-traveled sub-path is not marked as being submitted for occupation by other robots, it is determined that the target robot can occupy the to-be-traveled sub-path.
  • any to-be-traveled sub-path of at least one to-be-traveled sub-path of the travel path if it is determined that the to-be-traveled sub-path is marked as being submitted for occupation by other robots, randomly select a robot from the target robot and the other robots. , if the randomly selected robot is the target robot, it is determined that the target robot can occupy the sub-path to be traveled; if the randomly selected robot is another robot, it is determined that other robots can occupy the sub-path to be traveled.
  • the to-be-traveled sub-path is marked as being to be submitted and occupied by other robots, and the to-be-traveled sub-path is marked as to be submitted and occupied by the target robot.
  • any one of the at least one to-be-traveled sub-path of the travel path after it is determined that the target robot can occupy the to-be-traveled sub-path or the target robot is unable to occupy the to-be-traveled sub-path, cancel the decision by the target robot. Mark the sub-path to be submitted and occupied. If the sub-path to be traveled is marked as to be occupied by other robots, cancel the mark of the sub-path to be submitted to be occupied by other robots.
  • the driving area of the sub-path can be regarded as an occupied area
  • step 101 At least one occupied area in may include the travel area of the sub-path.
  • the problem of two robots seizing the sub-path to be traveled is considered, that is, the two robots determine that they can occupy the same sub-path at the same time or almost at the same time.
  • the two robots determine that they can occupy the same sub-path at the same time or almost at the same time.
  • the to-be-traveled sub-path when it is determined that there is no occupied area in at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, the to-be-traveled sub-path will be marked as to be submitted for occupation by the target robot, According to whether the sub-path to be traveled is marked as being submitted for occupation by other robots, it is determined that the target robot or other robots can occupy the sub-path to be traveled, without the need for a mutex lock, and the problem of two robots seizing the sub-path to be traveled is efficiently solved. .
  • the occupied area includes: determining whether there is an occupied area in the at least one occupied area based on the shape information of the traveling area of the to-be-traveled sub-path and the shape information of each occupied area in the at least one occupied area in the shape information database.
  • the shape information database can be used to store the shape information of each occupied area.
  • the shape information of the occupied area is used to determine the occupied area.
  • the shape information of the occupied area is It can include the following items or part of the following items: the position of the center point of the shape of the occupied area, the length of each side of the shape of the occupied area, the type of the shape of the occupied area, the method used to obtain the occupied area The position of the point of the shape.
  • the shape information of the traveling area of the to-be-traveled sub-path is used to determine the shape of the traveling area of the to-be-traveled sub-path.
  • the shape information of the travel area of the sub-path may include the following items or a part of the following items: the position of the center point of the shape of the travel area of the sub-path to be traveled, the length of each side of the shape of the travel area of the sub-path to be traveled, The type of the shape of the traveling area of the to-be-traveled sub-path, and the position of the point used to obtain the shape of the traveling area of the to-be-traveled sub-path.
  • the shape of the to-be-traveled sub-path can be determined based on the shape information of the to-be-traveled sub-path.
  • the shape information of each occupied area may determine the shape of each occupied area in at least one occupied area.
  • At least one can be determined based on the shape of the to-be-traveled sub-path and the shape of each of the at least one occupied area. Whether there is an occupied area in the occupied area that has a shape that intersects with the shape of the traveling area of the to-be-traveled sub-path, if there is an occupied area that has a shape that intersects with the shape of the traveling area of the to-be-traveled sub-path.
  • occupied area it can be determined that there is an occupied area in at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, if there is no traveling area that overlaps with the to-be-traveled sub-path in the at least one occupied area. If the occupied area of the shape intersects, it proves that there is no occupied area in at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path.
  • the method further includes: for any determined target sub-path to be traveled, when the target robot completes the target sub-path to be traveled and there is a conflicting robot corresponding to the target sub-path to be traveled, moving toward the target corresponding to the target sub-path.
  • the conflicting robot of the sub-path to be traveled sends a wake-up command, where the conflicting robot corresponding to the target sub-path to be traveled has an overlap between the traveling area of the target sub-path and the corresponding sub-paths of other traveling paths of the conflicting robot.
  • the wake-up instruction is used to trigger the conflicting robot corresponding to the target sub-path to be traveled to determine whether there is at least one to-be-traveled sub-path of the other travel paths that the conflicting robot can occupy.
  • the corresponding target sub-route to be traveled will be The driving path of the conflicting robot is called the other driving path of the conflicting robot corresponding to the target sub-path to be traveled.
  • the conflicting robots corresponding to the target sub-path to be traveled determine whether there is at least one to-be-traveled sub-path that the conflicting robot can occupy in at least one to-be-traveled sub-path of other travel paths.
  • the conflicting robot corresponding to the target sub-path to be traveled will not determine whether there is a space that the conflicting robot corresponding to the target to-be-traveled sub-path can occupy in at least one of the other travel paths of the conflicting robot corresponding to the target sub-path to be traveled. At least one sub-path to be traveled.
  • a wake-up command is sent to the conflicting robot corresponding to the target sub-path to be traveled, and the conflicting robot corresponding to the target sub-path to be traveled is Determine again whether there is at least one to-be-traveled sub-path corresponding to the target to-be-traveled sub-path of the conflicting robot's other traveling paths that the conflicting robot can occupy that corresponds to the target to-be-traveled sub-path.
  • a wake-up command is sent to the conflicting robot corresponding to the target to-be-traveled sub-path, triggering the corresponding target to-be-traveled sub-path.
  • the conflicting robot determines whether there is at least one to-be-traveled sub-path that the conflicting robot can occupy in at least one to-be-traveled sub-path of other travel paths, thereby promptly notifying the conflicting robot corresponding to the target to-be-traveled sub-path that it can continue to seize the corresponding target to-be-traveled sub-path.
  • Conflicts of traveling sub-paths Sub-paths to be traveled in other traveling paths of the robot.
  • the method further includes: when receiving an instruction from the target robot instructing the target robot to complete each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's travel path, determining by the target robot that there is Whether there is at least one to-be-traveled sub-path that the target robot can occupy in at least one to-be-traveled sub-path.
  • the target robot completes each target to-be-traveled sub-path, if there is at least one to-be-traveled sub-path of the target robot's traveling path, the at least one to-be-traveled sub-path of the existing traveling path is within all targets determined in step 102.
  • the last target in the to-be-traveled sub-path is after the to-be-traveled sub-path.
  • the target robot determines whether there is one of the existing at least one to-be-traveled sub-paths. At least one sub-path to be traveled that the target robot can occupy.
  • the process of the target robot determining whether there is at least one sub-path to be traveled that the target robot can occupy is the same as the process of step 101.
  • the target robot determines whether there is at least one sub-path to be traveled that the target robot can occupy. If there is at least one to-be-traveled sub-path that the target robot can occupy, refer to the process of step 101 .
  • the existing at least one to-be-traveled sub-path is equivalent to the at least one to-be-traveled sub-path in step 101 .
  • the target robot when an instruction is received from the target robot instructing the target robot to complete each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's travel path, the target robot can determine the existence of at least one to-be-traveled sub-path. Whether there is at least one to-be-traveled sub-path that the target robot can occupy in the traveling sub-path. Therefore, when the target robot completes each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's traveling path, the target robot continues to seize the to-be-traveled sub-path in the target robot's traveling path in time.
  • the method further includes: when it is detected that the target robot has completed each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's travel path, the target robot determines the existence of at least one to-be-traveled sub-path. Whether there is at least one sub-path to be traveled that the target robot can occupy in the path.
  • the target robot completes each target to-be-traveled sub-path, if there is at least one to-be-traveled sub-path of the target robot's traveling path, the at least one to-be-traveled sub-path of the existing traveling path is within all targets determined in step 102. After the last to-be-traveled sub-path in the to-be-traveled sub-path.
  • the target robot starting from the moment when the target robot reaches the starting point of the last target sub-path to be traveled of all the target sub-paths determined in step 102 and starts traveling, it can be detected every preset time interval whether the target robot has completed the drive.
  • the last target sub-path to be traveled if it is detected that the target robot has completed the last target sub-path to be traveled, then it is detected that the target robot has completed each target sub-path to be traveled.
  • the target robot determines whether there is a path that the target robot can occupy in the at least one existing to-be-traveled sub-path. At least one sub-path to be traveled.
  • the target robot when it is detected that the target robot has completed each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's traveling path, the target robot can determine whether the existing at least one to-be-traveled sub-path is There is at least one sub-path to be traveled that the target robot can occupy. Therefore, when the target robot completes each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's traveling path, the target robot continues to seize the to-be-traveled sub-path in the target robot's traveling path in time.
  • FIG. 2 shows a structural block diagram of a robot control device provided by an embodiment of the present application.
  • the robot control device includes: a first determination unit 201, a second determination unit 202, and a control unit 203.
  • the first determination unit 201 is configured to determine, based on the traveling area of at least one to-be-traveled sub-path and at least one occupied area of the target robot's traveling path, whether there is a path that the target robot can occupy in the at least one to-be-traveled sub-path.
  • At least one sub-path to be traveled, wherein the at least one occupied area includes: a travel area marked as the corresponding sub-path occupied by the corresponding robot and/or an area occupied by the corresponding robot when in a stationary state;
  • the second determination unit 202 is configured to, if so, determine at least one target sub-path to be traveled from the at least one sub-path to be traveled that the target robot can occupy, and mark each target sub-path to be traveled by the target robot. occupy;
  • the control unit 203 is configured to control the target robot to travel on each of the target to-be-traveled sub-paths.
  • the occupancy lengths of the multiple target to-be-traveled sub-paths are greater than the minimum occupancy length threshold and the occupancy length is less than the minimum occupancy length threshold.
  • the first determining unit 201 is configured to, when determining that there is no occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, determine the to-be-traveled sub-path.
  • the sub-path is marked as being to be submitted and occupied by the target robot; it is determined whether the to-be-traveled sub-path is marked as being to be submitted and occupied by other robots; if so, when all the sub-paths are selected from the target robot and the other robots, When the target robot is mentioned, it is determined that the target robot can occupy the sub-path to be traveled; if not, it is determined that the target robot can occupy the sub-path to be traveled.
  • the first determination unit 201 is configured to be based on the shape information of the driving area of the sub-path to be traveled and the shape information of each occupied area in the at least one occupied area in the shape information database. , determine whether there is an occupied area in the at least one occupied area that has a shape that intersects with the shape of the occupied area; if so, determine whether there is an occupied area in the at least one occupied area that is consistent with the driving area of the sub-path to be traveled. The occupied area of the overlapping portion; if not, it is determined that there is no occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path.
  • the robot control device further includes:
  • the first response unit is configured to send a wake-up instruction to the conflicting robot when the target robot completes the target sub-path to be traveled and there is a conflicting robot corresponding to the target sub-path to be traveled, wherein, The conflicting robot is unable to occupy the corresponding sub-path because the driving area of the target sub-path to be traveled overlaps with the driving area of the corresponding sub-path of other traveling paths of the conflicting robot.
  • the wake-up instruction is used to trigger the conflict.
  • the robot determines whether there is at least one to-be-traveled sub-path of the other travel path that the conflicting robot can occupy.
  • the robot control device further includes:
  • the second response unit is configured to receive an instruction from the target robot instructing the target robot to complete each of the target to-be-traveled sub-paths and there is at least one to-be-traveled sub-path of the travel path, by the second response unit.
  • the target robot determines whether there is at least one sub-path to be traveled that the target robot can occupy among the at least one sub-path to be traveled.
  • the robot control device further includes:
  • the third response unit is configured to determine, by the target robot, that at least one sub-path to be traveled exists when it is detected that the target robot has completed each target sub-path to be traveled and there is at least one sub-path to be traveled of the travel path. Whether there is at least one to-be-traveled sub-path that the target robot can occupy in the traveling sub-path.
  • Each functional module or unit in the image processing device is used to execute the steps of the above-mentioned robot control method.
  • the relevant content of the above-mentioned method please refer to the relevant content of the above-mentioned method.
  • the device embodiments described above are only illustrative.
  • the units described as separate components may or may not be physically separated.
  • the components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
  • Various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the electronic device according to embodiments of the present application.
  • DSP digital signal processor
  • the present application may also be implemented as an apparatus or device program (eg, computer program and computer program product) for performing part or all of the methods described herein.
  • Such a program for implementing the present application may be stored on a computer-readable storage medium, or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, or provided on a carrier signal, or in any other form.
  • Figure 3 shows an electronic device that can implement the method according to the present application.
  • the electronic device conventionally includes a processor 310 and a computer program product in the form of a memory 320 or a computer-readable storage medium.
  • Memory 320 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the memory 320 has a storage space 330 for program code 331 for executing any method steps in the above-described methods.
  • the storage space 330 for program codes may include individual program codes 331 respectively used to implement various steps in the above method. These program codes can be read from or written into one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. 4 .
  • the storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 320 in the electronic device of FIG. 3 .
  • the program code may, for example, be compressed in a suitable form.
  • the storage unit includes computer readable code 331', ie code that can be read by, for example, a processor such as 310, which code, when executed by an electronic device, causes the electronic device to perform each of the methods described above. step.

Landscapes

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

Abstract

A robot control method, an electronic device and a storage medium. The robot control method comprises: on the basis of a traveling area of at least one sub-path to be traveled of a traveling path of a target robot, and at least one occupied area, determining whether there is at least one sub-path to be traveled, which can be occupied by the target robot, among the at least one sub-path to be traveled (101), wherein the at least one occupied area comprises: a traveling area of a corresponding sub-path, which is marked as being occupied by a corresponding robot, and/or an area which is occupied by the corresponding robot in a static state; if so, determining at least one target sub-path to be traveled from among the at least one sub-path to be traveled, which can be occupied by the target robot, and marking each target sub-path to be traveled as being occupied by the target robot (102); and controlling the target robot to travel on each target sub-path to be traveled (103).

Description

机器人控制方法、电子设备及存储介质Robot control method, electronic device and storage medium
本申请要求在2022年7月29日提交中国专利局、申请号为202210911177.1、发明名称为“机器人控制方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on July 29, 2022, with the application number 202210911177.1 and the invention title "Robot control method, electronic device and storage medium", the entire content of which is incorporated herein by reference. Applying.
技术领域Technical field
本申请涉及物流领域,具体涉及机器人控制方法、电子设备及存储介质。This application relates to the field of logistics, specifically to robot control methods, electronic equipment and storage media.
背景技术Background technique
目前,在管理仓库期间,采用的控制机器人的方式为:为每一个机器人规划出行驶路径,控制机器人在行驶路径上行驶。目前的控制机器人的方式没有考虑碰撞问题,例如由于两个机器人的行驶路径的重叠部分,导致出现两个机器人碰撞情况。Currently, during warehouse management, the method used to control robots is to plan a driving path for each robot and control the robot to drive on the driving path. The current method of controlling robots does not consider collision problems. For example, two robots collide due to the overlap of their driving paths.
发明内容Contents of the invention
为克服相关技术中存在的问题,本申请提供一种机器人控制方法、电子设备及存储介质。In order to overcome the problems existing in related technologies, this application provides a robot control method, electronic device and storage medium.
本申请实施例提供一种机器人控制方法,包括:The embodiment of the present application provides a robot control method, including:
基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定所述至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径,其中,所述至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域;Based on the traveling area and at least one occupied area of at least one to-be-traveled sub-path of the target robot's traveling path, it is determined whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path, wherein , the at least one occupied area includes: a driving area marked as a corresponding sub-path occupied by the corresponding robot and/or an area occupied by the corresponding robot when in a stationary state;
若是,从所述目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将所述至少一个目标待行驶子路径中的每一个目标待行驶子路径标记为由所述目标机器人占据;If so, determine at least one target to-be-traveled sub-path from at least one to-be-traveled sub-path that the target robot can occupy, and mark each target to-be-traveled sub-path in the at least one target to-be-traveled sub-path as determined by the target robot. The target robot is occupied;
控制所述目标机器人在所述每一个目标待行驶子路径上行驶。The target robot is controlled to travel on each target sub-path to be traveled.
本申请实施例提供一种电子设备,包括:存储器、处理器及存储在存储器上的计算机程序,该处理器执行该计算机程序以实现上述机器人控制方 法。An embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the above robot control method. Law.
本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序/指令,该计算机程序/指令被处理器执行时实现上述机器人控制方法。Embodiments of the present application provide a computer-readable storage medium on which a computer program/instruction is stored. When the computer program/instruction is executed by a processor, the above-mentioned robot control method is implemented.
本申请实施例提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现上述机器人控制方法。An embodiment of the present application provides a computer program product, which includes a computer program/instruction. When the computer program/instruction is executed by a processor, the above robot control method is implemented.
本申请实施例提供的机器人控制方法,当目标机器人的行驶路径的目标待行驶子路径被标记为由目标机器人占用时,控制目标机器人在目标待行驶子路径上行驶。对于任意一个目标待行驶子路径,该目标待行驶子路径和任意一个已占据区域没有重叠部分,在目标机器人在该目标待行驶子路径上行驶期间,其他机器人不会在该目标待行驶子路径的行驶区域中,不会出现其他机器人碰撞目标机器人的情况。从而,目标机器人在任意一个目标待行驶子路径上行驶时,均不会出现机器人碰撞的情况。The robot control method provided by the embodiment of the present application controls the target robot to drive on the target sub-path to be traveled when the target to-be-traveled sub-path of the target robot's traveling path is marked as occupied by the target robot. For any target to-be-traveled sub-path, there is no overlap between the target to-be-traveled sub-path and any occupied area. While the target robot is traveling on the target to-be-traveled sub-path, other robots will not be on the target to-be-traveled sub-path. In the driving area, other robots will not collide with the target robot. Therefore, when the target robot travels on any target sub-path to be traveled, there will be no robot collision.
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solutions of the present application. In order to have a clearer understanding of the technical means of the present application, they can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present application more obvious and understandable. , the specific implementation methods of the present application are specifically listed below.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1示出了本申请实施例提供的机器人控制方法的流程图;Figure 1 shows a flow chart of a robot control method provided by an embodiment of the present application;
图2示出了本申请实施例提供的机器人控制装置的结构框图;Figure 2 shows a structural block diagram of a robot control device provided by an embodiment of the present application;
图3示意性地示出了用于执行根据本申请的方法的电子设备的框图;以及Figure 3 schematically shows a block diagram of an electronic device for performing a method according to the present application; and
图4示意性地示出了用于保持或者携带实现根据本申请的方法的程序代码的存储单元。Figure 4 schematically shows a storage unit for holding or carrying program code for implementing the method according to the present application.
具体实施例Specific embodiments
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相 关的部分。The present application will be further described in detail below in conjunction with the accompanying drawings and examples. It can be understood that the specific embodiments described here are only used to explain the relevant invention, but not to limit the invention. In addition, it should be noted that, for convenience of description, only parts related to the relevant invention are shown in the drawings. off part.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的描述信息可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, as long as there is no conflict, the embodiments in this application and the description information in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
随着物联网、人工智能、大数据等智能化技术的发展,利用这些智能化技术对传统物流业进行转型升级的需求愈加强劲,智慧物流(Intelligent Logistics System)成为物流领域的研究热点。智慧物流利用人工智能、大数据以及各种信息传感器、射频识别技术、全球定位系统(GPS)等物联网装置和技术,广泛应用于物料的运输、仓储、配送、包装、装卸和信息服务等基本活动环节,实现物料管理过程的智能化分析决策、自动化运作和高效率优化管理。物联网技术包括传感设备、RFID技术、激光红外扫描、红外感应识别等,物联网能够将物流中的物料与网络实现有效连接,并可实时监控物料,还可感知仓库的湿度、温度等环境数据,保障物料的储存环境。通过大数据技术可感知、采集物流中所有数据,上传至信息平台数据层,对数据进行过滤、挖掘、分析等作业,最终对业务流程(如运输、入库、存取、拣选、包装、分拣、出库、盘点、配送等环节)提供精准的数据支持。人工智能在物流中的应用方向可以大致分为两种:1)以AI技术赋能的如无人卡车、AGV、AMR、叉车、穿梭车、堆垛机、无人配送车、无人机、服务机器人、机械臂、智能终端等智能设备代替部分人工;2)通过计算机视觉、机器学习、运筹优化等技术或算法驱动的如运输设备管理系统、仓储管理、设备调度系统、订单分配系统等软件系统提高人工效率。随着智慧物流的研究和进步,该项技术在众多领域展开了应用,例如零售及电商、电子产品、烟草、医药、工业制造、鞋服、纺织、食品等领域。With the development of intelligent technologies such as the Internet of Things, artificial intelligence, and big data, the demand for using these intelligent technologies to transform and upgrade the traditional logistics industry has become increasingly strong. Intelligent Logistics System has become a research hotspot in the field of logistics. Smart logistics uses artificial intelligence, big data and various information sensors, radio frequency identification technology, global positioning system (GPS) and other Internet of Things devices and technologies, and is widely used in basic materials transportation, warehousing, distribution, packaging, loading and unloading and information services. In the activity link, intelligent analysis and decision-making, automated operation and high-efficiency optimized management of the material management process are realized. Internet of Things technology includes sensing equipment, RFID technology, laser infrared scanning, infrared induction identification, etc. The Internet of Things can effectively connect materials in logistics to the network, monitor materials in real time, and sense the humidity, temperature and other environments of the warehouse. Data to ensure the storage environment of materials. Through big data technology, all data in logistics can be sensed and collected, uploaded to the data layer of the information platform, and the data can be filtered, mined, analyzed, etc., and finally the business processes (such as transportation, warehousing, access, picking, packaging, sorting, etc.) (picking, outbound, inventory, distribution, etc.) provide accurate data support. The application directions of artificial intelligence in logistics can be roughly divided into two types: 1) those empowered by AI technology such as unmanned trucks, AGVs, AMRs, forklifts, shuttles, stackers, unmanned distribution vehicles, drones, Intelligent devices such as service robots, robotic arms, and smart terminals replace part of the labor force; 2) Software driven by technologies or algorithms such as computer vision, machine learning, and operations optimization, such as transportation equipment management systems, warehouse management, equipment scheduling systems, order distribution systems, etc. The system improves labor efficiency. With the research and progress of smart logistics, this technology has been applied in many fields, such as retail and e-commerce, electronic products, tobacco, medicine, industrial manufacturing, shoes and clothing, textiles, food and other fields.
图1示出了本申请实施例提供的机器人控制方法的流程图,该方法包括:Figure 1 shows a flow chart of a robot control method provided by an embodiment of the present application. The method includes:
步骤101,基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定该至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。Step 101: Based on the traveling area and at least one occupied area of at least one to-be-traveled sub-path of the target robot's traveling path, determine whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path.
目标机器人可以为本申请实施例提供的机器人控制方法应用在的仓库中的任意一个机器人。 The target robot can be any robot in the warehouse where the robot control method provided by the embodiment of the present application is applied.
机器人可以为自动导引运输车(Automated Guided Vehicle,简称AGV)、自主移动机器人(Automated Mobile Robot,简称AMR)、叉车等。Robots can be automated guided vehicles (Automated Guided Vehicles, AGVs for short), autonomous mobile robots (Automated Mobile Robots, AMRs for short), forklifts, etc.
在本申请中,对于任意一个机器人,该机器人的行驶路径的子路径为该机器人的行驶路径的一部分,该机器人的行驶路径的子路径通过划分该机器人的行驶路径得到。In this application, for any robot, the sub-path of the robot's traveling path is a part of the robot's traveling path, and the sub-path of the robot's traveling path is obtained by dividing the robot's traveling path.
对于任意一个机器人的行驶路径的任意一个子路径,在该机器人在该子路径上行驶之前,该子路径为该机器人的行驶路径的待行驶子路径。For any sub-path of any robot's traveling path, before the robot travels on the sub-path, the sub-path is the to-be-traveled sub-path of the robot's traveling path.
对于任意一个机器人的行驶路径的任意一个子路径,当该机器人从该子路径的起点行驶至该子路径的终点时,则该机器人行驶完该子路径,该子路径不再作为该机器人的行驶路径的待行驶子路径。For any sub-path of any robot's driving path, when the robot travels from the starting point of the sub-path to the end of the sub-path, the robot has completed driving the sub-path, and the sub-path is no longer used as the robot's driving path. The to-be-traveled sub-path of the path.
当首次执行步骤101时,目标机器人的行驶路径的每一个子路径均为目标机器人的行驶路径的待行驶子路径。When step 101 is executed for the first time, each sub-path of the target robot's traveling path is a to-be-traveled sub-path of the target robot's traveling path.
N大于1,当第N次执行步骤101时,目标机器人的行驶路径的所有待行驶子路径为目标机器人的行驶路径的所有子路径中的除了在第N次执行步骤101之前目标机器人已经行驶完的子路径之外的部分。N is greater than 1. When step 101 is executed for the Nth time, all to-be-traveled sub-paths of the target robot's traveling path are all sub-paths of the target robot's traveling path, except that the target robot has completed traveling before step 101 is executed for the Nth time. The part outside the sub-path.
步骤101中的目标机器人的行驶路径的至少一个待行驶子路径可以是指:当执行步骤101时目标机器人的行驶路径的所有待行驶子路径。At least one to-be-traveled sub-path of the target robot's traveling path in step 101 may refer to: all to-be-traveled sub-paths of the target robot's traveling path when step 101 is performed.
在目标机器人在目标机器人的行驶路径上行驶期间,至少一次执行步骤101-103。目标机器人在目标机器人的行驶路径行驶期间可以是指目标机器人从该行驶路径的起点开始行驶的时间与目标机器人到达该行驶路径的终点的时间之间的时间段。While the target robot is traveling on the target robot's travel path, steps 101-103 are performed at least once. The period during which the target robot travels on the target robot's traveling path may refer to the time period between the time when the target robot starts traveling from the starting point of the traveling path and the time when the target robot reaches the end point of the traveling path.
在本申请中,目标机器人可以在满足以下项中的一个时执行步骤101:处于静止状态并且存在目标机器人的行驶路径的至少一个待行驶子路径、目标机器人行驶完占据的每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径、接收到指示目标机器人执行步骤101的指令。In this application, the target robot can perform step 101 when one of the following items is satisfied: it is in a stationary state and there is at least one to-be-traveled sub-path of the target robot's traveling path, and the target robot has completed driving and occupied each target to-be-traveled sub-path. path and there is at least one to-be-traveled sub-path of the traveling path of the target robot, and an instruction instructing the target robot to perform step 101 is received.
对于任意一个机器人的行驶路径,该机器人从该行驶路径的起点行驶至与该行驶路径的终点,则该机器人行驶完该行驶路径。For any robot's driving path, if the robot travels from the starting point of the driving path to the end point of the driving path, then the robot has completed the driving path.
对于任意一个机器人的行驶路径的任意一个子路径,该机器人从该子路径的起点行驶至该子路径的终点,则该机器人行驶完该子路径。 For any sub-path of any robot's driving path, if the robot travels from the starting point of the sub-path to the end of the sub-path, then the robot has completed the sub-path.
在本申请中,可以将机器人的活动区域划分为预设数量的网格,每一个网格的尺寸相同。本申请中的相应路径的起点可以为相应网格,本申请中的相应路径的终点可以为相应网格。In this application, the robot's activity area can be divided into a preset number of grids, and each grid has the same size. The starting point of the corresponding path in this application may be the corresponding grid, and the end point of the corresponding path in this application may be the corresponding grid.
在本申请中,对于任意一个机器人,在该机器人在该机器人的行驶路径上行驶期间,该机器人执行对应该行驶路径的多个行驶操作,通过该多个行驶操作,该机器人行驶完该机器人的行驶路径,即该机器人从该行驶路径的起点行驶至该行驶路径的终点。In this application, for any robot, while the robot is driving on the robot's driving path, the robot performs multiple driving operations corresponding to the driving path. Through the multiple driving operations, the robot completes the driving of the robot. The driving path means that the robot travels from the starting point of the driving path to the end point of the driving path.
对于任意一个机器人,在该机器人在该机器人的行驶路径上行驶之前,可以按照对应该机器人的行驶路径的多个行驶操作,将该机器人的行驶路径划分为该行驶路径的多个子路径,该行驶路径的每一个子路径对应该多个行驶操作中的一个行驶操作。对于该行驶路径的每一个子路径,机器人通过执行该子路径对应的行驶操作,行驶完该子路径。For any robot, before the robot travels on the robot's travel path, the robot's travel path can be divided into multiple sub-paths of the travel path according to multiple travel operations corresponding to the robot's travel path. Each sub-path of the path corresponds to one driving operation among the plurality of driving operations. For each sub-path of the driving path, the robot completes the sub-path by executing the driving operation corresponding to the sub-path.
对于任意一个机器人,可以按照该机器人的行驶路径的子路径的起点与行驶路径的起点之间的距离从小至大,对该机器人的行驶路径的所有子路径进行排序,得到该机器人的行驶路径的子路径的次序,该机器人的行驶路径的子路径的数量记为n,该机器人的行驶路径的子路径的次序定义该机器人的行驶路径的第1个子路径、该机器人的行驶路径的第2个子路径...该机器人的行驶路径的第n个子路径。For any robot, all the sub-paths of the robot's driving path can be sorted according to the distance between the starting point of the sub-path of the robot's driving path and the starting point of the driving path from small to large, and the value of the robot's driving path can be obtained. The order of sub-paths, the number of sub-paths of the robot's traveling path is denoted as n, the order of the sub-paths of the robot's traveling path defines the first sub-path of the robot's traveling path, the second sub-path of the robot's traveling path Path...the nth sub-path of the robot's driving path.
对于任意一个机器人,在该机器人在该机器人的行驶路径上行驶期间,该机器人从该机器人的行驶路径的第1个子路径开始行驶,当机器人行驶完该机器人的行驶路径的最后一个子路径时,该机器人行驶完该机器人的行驶路径。For any robot, while the robot is driving on the robot's driving path, the robot starts driving from the first sub-path of the robot's driving path. When the robot completes the last sub-path of the robot's driving path, The robot completes the robot's travel path.
在本申请中,机器人在本申请实施例提供的机器人控制方法应用在的仓库的地面上行驶,可以建立坐标系,坐标系的原点在该地面所在的平面上,坐标系的X轴、Y轴均在该地面所在的平面上,坐标系的X轴为水平方向的坐标轴,坐标系的Y轴为垂直方向的坐标轴。In this application, the robot drives on the ground of the warehouse where the robot control method provided by the embodiment of the application is applied, and a coordinate system can be established. The origin of the coordinate system is on the plane where the ground is located, and the X-axis and Y-axis of the coordinate system They are all on the plane where the ground is located. The X-axis of the coordinate system is the horizontal coordinate axis, and the Y-axis of the coordinate system is the vertical coordinate axis.
在本申请中,对于任意一个机器人,该机器人执行的行驶操作的类型可以包括但不限于长直移动行驶操作、旋转操作。In this application, for any robot, the type of driving operation performed by the robot may include but is not limited to long straight movement driving operation and rotation operation.
长直移动行驶操作可以为:机器人在水平方向行驶或在垂直方向行驶。旋转操作可以为:机器人在旋转行驶操作对应的旋转位置进行旋转。 The long straight movement operation can be: the robot travels in the horizontal direction or in the vertical direction. The rotation operation can be: the robot rotates at the rotation position corresponding to the rotation driving operation.
在本申请中,对于任意一个机器人的行驶路径的任意一个子路径,该子路径的行驶区域的形状为多边形。In this application, for any sub-path of any robot's traveling path, the shape of the traveling area of the sub-path is a polygon.
在本申请中,对于一个机器人执行的一个长直移动行驶操作,通过该长直移动行驶操作,该机器人从该长直移动行驶操作对应的起点行驶至该长直移动行驶操作对应的终点,该长直移动行驶操作对应的起点、该长直移动行驶操作对应的终点由本申请实施例提供的机器人控制方法应用在的仓库的仓库管理系统提供。该长直移动行驶操作对应的起点即为该长直移动行驶操作对应的子路径的起点,该长直移动行驶操作对应的终点即为该长直移动行驶操作对应的子路径的终点。In this application, for a long straight movement operation performed by a robot, through the long straight movement operation, the robot travels from the starting point corresponding to the long straight movement operation to the end point corresponding to the long straight movement operation, the The starting point corresponding to the long straight movement operation and the end point corresponding to the long straight movement operation are provided by the warehouse management system of the warehouse where the robot control method provided by the embodiment of the present application is applied. The starting point corresponding to the long straight movement operation is the starting point of the sub-path corresponding to the long straight movement operation, and the end point corresponding to the long straight movement operation is the end point of the sub-path corresponding to the long straight movement operation.
对应长直移动行驶操作的子路径的行驶区域的形状可以为一个矩形,该矩形的水平的边与坐标系的X轴平行,该矩形的垂直的边与坐标系的Y轴平行。The shape of the driving area of the sub-path corresponding to the long straight movement operation may be a rectangle, the horizontal side of the rectangle is parallel to the X-axis of the coordinate system, and the vertical side of the rectangle is parallel to the Y-axis of the coordinate system.
对于对应一个机器人执行的一个长直移动行驶操作的一个子路径,该子路径的行驶区域的形状可以为一个矩形,若该机器人在该子路径上行驶时该机器人的行驶方向为水平方向,该子路径的起点在该矩形的一个垂直的边上,该子路径的终点在该矩形的另一个垂直的边上,该矩形的长度为该子路径的起点与该子路径的终点之间的距离,该矩形的宽度为:该机器人在该子路径上行驶时在坐标系的Y轴上的Y轴坐标值最大的点的Y轴坐标值减去该机器人在该子路径上行驶时在坐标系Y轴上的Y轴坐标值最小的点的Y轴坐标值。For a sub-path corresponding to a long straight movement operation performed by a robot, the shape of the driving area of the sub-path can be a rectangle. If the robot's driving direction is horizontal when driving on the sub-path, the The starting point of the subpath is on one vertical side of the rectangle, the end point of the subpath is on the other vertical side of the rectangle, and the length of the rectangle is the distance between the starting point of the subpath and the end point of the subpath , the width of the rectangle is: the Y-axis coordinate value of the point with the largest Y-axis coordinate value on the Y-axis of the coordinate system when the robot is driving on the sub-path minus the Y-axis coordinate value of the point on the Y-axis of the coordinate system when the robot is driving on the sub-path. The Y-axis coordinate value of the point with the smallest Y-axis coordinate value on the Y-axis.
若该机器人在该子路径上行驶时该机器人的行驶方向为垂直方向,该子路径的起点在该矩形的一个水平的边上,该子路径的终点在矩形的另一个水平的边上,该矩形的宽度为:该子路径的起点与该子路径的终点之间的距离,该矩形的长度为:该机器人在该子路径上行驶时在坐标系的X轴上的X轴坐标值最大的点的X轴坐标值减去该机器人在该子路径上行驶时在坐标系的X轴上的X轴坐标值最小的点的X轴坐标值。If the robot's driving direction is vertical when traveling on the sub-path, the starting point of the sub-path is on one horizontal side of the rectangle, and the end point of the sub-path is on the other horizontal side of the rectangle. The width of the rectangle is: the distance between the starting point of the sub-path and the end point of the sub-path. The length of the rectangle is: the maximum X-axis coordinate value of the robot on the X-axis of the coordinate system when traveling on the sub-path. The X-axis coordinate value of the point minus the X-axis coordinate value of the point with the smallest X-axis coordinate value on the X-axis of the coordinate system when the robot travels on the sub-path.
在本申请中,对于由一个机器人执行的一个旋转行驶操作,该机器人在该旋转行驶操作对应的旋转位置进行旋转,通过该旋转行驶操作,可以将机器人的行驶方向从水平方向和垂直方向中的一个转换为水平方向和垂直方向中的另一个,该旋转行驶操作对应的旋转位置由本申请实施例提供 的机器人控制方法应用在的仓库的仓库管理系统提供。In this application, for a rotation driving operation performed by a robot, the robot rotates at the rotation position corresponding to the rotation driving operation. Through the rotation driving operation, the driving direction of the robot can be changed from the horizontal direction to the vertical direction. One is converted into the other of the horizontal direction and the vertical direction, and the rotation position corresponding to the rotation driving operation is provided by the embodiment of the present application. The robot control method is provided by the warehouse management system of the warehouse.
对应一个机器人执行的一个旋转行驶操作的一个子路径的形状可以为一个圆形,该旋转行驶操作为:该机器人在该旋转行驶操作对应的旋转位置进行旋转,该圆形的圆心可以为该旋转行驶操作对应的旋转位置,该圆形的直径可以为:包围该机器人的矩形的对角线的长度,该机器人上在各个方向上的最边缘的点均在包围该机器人的矩形的相应的边上。The shape of a sub-path corresponding to a rotation driving operation performed by a robot can be a circle. The rotation driving operation is: the robot rotates at the rotation position corresponding to the rotation driving operation, and the center of the circle can be the rotation The rotation position corresponding to the driving operation. The diameter of the circle can be: the length of the diagonal of the rectangle surrounding the robot. The edgemost points on the robot in each direction are on the corresponding sides of the rectangle surrounding the robot. superior.
在本申请中,对于任意一个机器人,当该机器人处于静止状态时,可以确定包围该机器人的矩形、与包围该机器人的矩形相关的圆形,该机器人上在各个方向上的最边缘的点均在包围机器人的矩形的相应的边上。与包围该机器人的矩形相关的圆形的中心点为包围该机器人的矩形的中心点,与包围该机器人的矩形相关的圆形的直径可以为包围该机器人的矩形的长度。确定该矩形与该圆形相交的6个点,将6个点连接,得到一个六边形,该六边形为该机器人处于静止状态时占据的区域的形状。In this application, for any robot, when the robot is in a stationary state, the rectangle surrounding the robot and the circle related to the rectangle surrounding the robot can be determined, and the edgemost points on the robot in all directions are on the corresponding sides of the rectangle surrounding the robot. The center point of the circle associated with the rectangle surrounding the robot is the center point of the rectangle surrounding the robot, and the diameter of the circle associated with the rectangle surrounding the robot may be the length of the rectangle surrounding the robot. Determine the 6 points where the rectangle intersects the circle, and connect the 6 points to obtain a hexagon, which is the shape of the area occupied by the robot when it is at rest.
步骤101中的至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域。At least one occupied area in step 101 includes: a traveling area marked as a corresponding sub-path occupied by the corresponding robot and/or an area occupied by the corresponding robot when in a stationary state.
每一个被标记为由相应机器人占据的相应子路径的行驶区域均作为已占据区域,每一个相应机器人在处于静止状态时占据的区域均作为已占据区域。Each driving area marked as a corresponding sub-path occupied by the corresponding robot is regarded as an occupied area, and each area occupied by the corresponding robot when it is in a stationary state is regarded as an occupied area.
步骤101中的至少一个已占据区域可以是指:当执行步骤101时所有的已占据区域。At least one occupied area in step 101 may refer to all occupied areas when step 101 is performed.
在本申请中,基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定该至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。In this application, based on the traveling area and at least one occupied area of at least one to-be-traveled sub-path of the target robot's traveling path, it is determined whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path. .
对于任意一个目标机器人能够占据的待行驶子路径,该目标机器人能够占据的待行驶子路径和至少一个已占据区域中的任意一个已占据区域没有重叠部分。For any sub-path to be traveled that can be occupied by any target robot, there is no overlap between the sub-path to be traveled that the target robot can occupy and any occupied area in at least one occupied area.
对于任意两个区域,若两个区域具有重叠部分,两个区域的重叠部分是指既属于两个区域中的一个区域,也属于两个区域中的另一个区域的部分。For any two areas, if the two areas have overlapping parts, the overlapping part of the two areas refers to the part that belongs to one of the two areas and the other of the two areas.
在本申请中,若执行步骤101时,目标机器人的行驶路径的待行驶子路 径的数量为一个,则确定目标机器人是否能够占用一个待行驶子路径。In this application, if step 101 is executed, the to-be-traveled sub-path of the target robot's traveling path If the number of paths is one, determine whether the target robot can occupy a sub-path to be traveled.
若执行步骤101,目标机器人的行驶路径的待行驶子路径的数量为多个,则可以按照该机器人的行驶路径的待行驶子路径的起点与行驶路径的起点之间的距离从小至大,对该机器人的行驶路径的多个待行驶子路径进行排序,得到该多个待行驶子路径的次序。If step 101 is executed and the number of to-be-traveled sub-paths of the target robot's traveling path is multiple, then the distance between the starting point of the to-be-traveled sub-path of the robot's traveling path and the starting point of the traveling path can be determined from small to large. The multiple to-be-traveled sub-paths of the robot's traveling path are sorted to obtain the order of the multiple to-be-traveled sub-paths.
按照多个待行驶子路径的次序,依次确定该多个待行驶子路径中的待行驶子路径是否能够被目标机器人占用,直到确定目标机器人不能够占据相应的一个待行驶子路径。首先确定目标机器人是否能够占用多个待行驶子路径的次序定义的第1个待行驶子路径,当确定目标机器人能够占用多个待行驶子路径的次序定义的第1个待行驶子路径时,确定目标机器人是否能够占用多个待行驶子路径的次序定义的第2个待行驶子路径,以此类推。According to the order of multiple to-be-traveled sub-paths, it is sequentially determined whether the to-be-traveled sub-paths among the multiple to-be-traveled sub-paths can be occupied by the target robot, until it is determined that the target robot cannot occupy the corresponding to-be-traveled sub-path. First, it is determined whether the target robot can occupy the first sub-path to be traveled defined in the order of multiple sub-paths to be traveled. When it is determined that the target robot can occupy the first sub-path to be traveled defined in the order of multiple sub-paths to be traveled, Determine whether the target robot can occupy the second to-be-traveled sub-path defined in the order of multiple to-be-traveled sub-paths, and so on.
在本申请中,对于目标机器人的行驶路径的任意一个待行驶子路径,确定目标机器人是否能够占用该待行驶子路径可以包括:确定该待行驶子路径是否被标记为由其他机器人占用;若该待行驶子路径被标记为由其他机器人占用,确定目标机器人不能够占用该待行驶子路径;若该待行驶子路径没有被标记为由其他机器人占用,分别确定至少一个已占据区域中的每一个已占据区域是否和该待行驶子路径的行驶区域有重叠部分;若该待行驶子路径和任意一个已占据区域没有重叠部分,确定目标机器人能够占用该待行驶子路径,若存在和待行驶子路径有重叠部分的已占据区域,确定目标机器人不能够占用该待行驶子路径。In this application, for any to-be-traveled sub-path of the target robot's traveling path, determining whether the target robot can occupy the to-be-traveled sub-path may include: determining whether the to-be-traveled sub-path is marked as occupied by other robots; if the to-be-traveled sub-path is marked as being occupied by other robots; If the sub-path to be traveled is marked as occupied by other robots, determine that the target robot cannot occupy the sub-path to be traveled; if the sub-path to be traveled is not marked as occupied by other robots, determine each of at least one occupied area. Whether the occupied area overlaps with the driving area of the to-be-traveled sub-path; if there is no overlap between the to-be-traveled sub-path and any occupied area, determine whether the target robot can occupy the to-be-traveled sub-path. If there is an overlap with the to-be-traveled sub-path, For occupied areas with overlapping paths, it is determined that the target robot cannot occupy the sub-path to be traveled.
目标机器人可以为本申请实施例提供的机器人控制方法应用在的仓库中的任意一个机器人,其他机器人是相对于目标机器人而言的,该仓库中的不是目标机器人的机器人为其他机器人。The target robot can be any robot in the warehouse where the robot control method provided by the embodiment of the present application is applied. Other robots are relative to the target robot, and the robots in the warehouse that are not the target robot are other robots.
步骤102,从目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将每一个目标待行驶子路径标记为由目标机器人占据。Step 102: Determine at least one target to-be-traveled sub-path from at least one to-be-traveled sub-path that the target robot can occupy, and mark each target to-be-traveled sub-path as occupied by the target robot.
在本申请中,若确定的目标机器人能够占据的待行驶子路径的数量为一个,将确定的目标机器人能够占据的一个待行驶子路径作为一个目标待行驶子路径。In this application, if the number of to-be-traveled sub-paths that the determined target robot can occupy is one, one to-be-traveled sub-path that the determined target robot can occupy is regarded as a target to-be-traveled sub-path.
若确定的目标机器人能够占据的待行驶子路径的数量为多个,可以分 别将通过确定的目标机器人能够占据的每一个待行驶子路径作为一个目标待行驶子路径。If the number of sub-paths to be traveled that the determined target robot can occupy is multiple, it can be divided into Do not regard each sub-path to be traveled that can be occupied by the determined target robot as a target sub-path to be traveled.
在本申请中,在从目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径之后,目标机器人占据该至少一个目标待行驶子路径中的每一个目标待行驶子路径。In this application, after determining at least one target to-be-traveled sub-path from at least one to-be-traveled sub-path that the target robot can occupy, the target robot occupies each target to-be-traveled sub-path in the at least one target to-be-traveled sub-path. .
对于任意一个机器人的行驶路径的任意一个子路径,当该子路径被标记为由该机器人占据时,其他机器人不能够占据该子路径。For any sub-path of any robot's driving path, when the sub-path is marked as occupied by the robot, other robots cannot occupy the sub-path.
对于任意一个机器人的行驶路径的任意一个子路径,当该子路径被标记为由该机器人占据时,该机器人可以在该子路径上行驶,在该机器人行驶完该子路径之后,取消该子路径由该机器人占据的标记。For any sub-path of any robot's driving path, when the sub-path is marked as occupied by the robot, the robot can drive on the sub-path. After the robot completes the sub-path, the sub-path is cancelled. The marker occupied by this robot.
在本申请中,将确定的至少一个目标待行驶子路径中的每一个目标待行驶子路径标记为由目标机器人占据。In this application, each target to-be-traveled sub-path in the determined at least one target-to-be-traveled sub-path is marked as occupied by the target robot.
对于确定的至少一个目标待行驶子路径中的每一个目标待行驶子路径,在将该目标待行驶子路径标记为由目标机器人占据之后并且在取消该该目标待行驶子路径由该机器人占据的标记之前,该目标待行驶子路径作为一个已占据区域。For each of the determined at least one target to-be-traveled sub-path, after marking the target to-be-traveled sub-path as occupied by the target robot and after canceling the target to-be-traveled sub-path occupied by the robot. Before marking, the target's to-be-traveled subpath was treated as an occupied area.
在本申请中,当确定目标机器人不能够占据至少一个待行驶子路径时,若目标机器人处于静止状态,则目标机器人继续处于静止状态。当确定目标机器人不能够占据至少一个待行驶子路径时,若目标机器人在相应子路径上行驶,则当目标机器人行驶完已经占据的所有子路径中的最后一个子路径时,目标机器人停止行驶,目标机器人处于静止状态。In this application, when it is determined that the target robot cannot occupy at least one sub-path to be traveled, if the target robot is in a stationary state, the target robot continues to be in a stationary state. When it is determined that the target robot cannot occupy at least one sub-path to be traveled, if the target robot is traveling on the corresponding sub-path, then when the target robot completes the last sub-path among all the sub-paths it has occupied, the target robot stops traveling, The target robot is at rest.
步骤103,控制目标机器人在每一个目标待行驶子路径上行驶。Step 103: Control the target robot to drive on each target sub-path to be traveled.
在本申请中,控制目标机器人在每一个目标待行驶子路径上行驶可以包括:若确定出一个目标待行驶子路径,当目标机器人处于静止状态或目标机器人行驶完在控制目标机器人在每一个目标待行驶子路径上行驶之前占据的每一个子路径时,向目标机器人发送该一个目标待行驶子路径对应的行驶操作的指令,以触发目标机器人执行该目标待行驶子路径对应的行驶操作,行驶完目标待行驶子路径。In this application, controlling the target robot to drive on each target sub-path to be traveled may include: if a target sub-path to be traveled is determined, when the target robot is in a stationary state or the target robot has finished driving, control the target robot to drive on each target sub-path. When traveling on each previously occupied sub-path on the to-be-traveled sub-path, an instruction for the driving operation corresponding to the target to-be-traveled sub-path is sent to the target robot to trigger the target robot to perform the driving operation corresponding to the target to-be-traveled sub-path. The sub-path to be traveled after completing the target.
控制目标机器人在每一个目标待行驶子路径上行驶可以包括:若确定出多个目标待行驶子路径,按照目标待行驶子路径的起点与目标机器人的 行驶路径的起点之间的距离从小至大,对该多个目标待行驶子路径进行排序,得到目标待行驶子路径的次序;按照目标待行驶子路径的次序,控制目标机器人依次在每一个目标待行驶子路径上行驶。Controlling the target robot to drive on each target sub-path to be traveled may include: if multiple target sub-paths to be traveled are determined, according to the starting point of the target sub-path to be traveled and the target robot's The distance between the starting points of the driving path is from small to large. The multiple target sub-paths to be traveled are sorted to obtain the order of the target sub-paths to be traveled. According to the order of the target sub-paths to be traveled, the target robot is controlled to move at each target in turn. Travel on the sub-path to be traveled.
按照目标待行驶子路径的次序,控制目标机器人依次在每一个目标待行驶子路径上行驶可以包括:对于目标待行驶子路径的次序定义的第1个目标待行驶子路径,当目标机器人处于静止状态或目标机器人行驶完在控制目标机器人在第1个目标待行驶子路径上行驶之前占据的任意一个子路径时,向目标机器人发送第1个目标待行驶子路径对应的行驶操作的指令,以触发目标机器人执行第1个目标待行驶子路径对应的行驶操作,行驶完第1个目标待行驶子路径。According to the order of the target to-be-traveled sub-paths, controlling the target robot to drive on each target to-be-traveled sub-path in turn may include: the first target to-be-traveled sub-path defined in the order of the target to-be-traveled sub-paths, when the target robot is at rest status or when the target robot has finished driving. When controlling any sub-path occupied by the target robot before driving on the first target sub-path to be traveled, send the driving operation instructions corresponding to the first target sub-path to be traveled to the target robot to Trigger the target robot to perform the driving operation corresponding to the first target sub-path to be traveled, and complete the first target sub-path to be traveled.
确定出多个目标待行驶子路径中的在目标待行驶子路径的次序定义的第1个目标待行驶子路径之后的目标待行驶子路径为其他目标待行驶子路径。It is determined that among the plurality of target to-be-traveled sub-paths, the target to-be-traveled sub-paths after the first target to-be-traveled sub-path defined in the order of the target to-be-traveled sub-paths are other target to-be-traveled sub-paths.
按照目标待行驶子路径的次序,控制目标机器人依次在每一个目标待行驶子路径上行驶可以包括:对于每一个其他目标待行驶子路径,当目标机器人行驶完在该其他目标待行驶子路径的前一个目标待行驶子路径时,向目标机器人发送该其他目标待行驶子路径对应的行驶操作的指令,以触发目标机器人执行该其他目标待行驶子路径对应的行驶操作,行驶完该其他目标待行驶子路径。According to the order of the target to-be-traveled sub-paths, controlling the target robot to drive on each target to-be-traveled sub-path in turn may include: for each other target to-be-traveled sub-path, when the target robot finishes traveling on the other target to-be-traveled sub-paths, When the previous target sub-path is to be traveled, the driving operation instructions corresponding to the other target sub-paths to be traveled are sent to the target robot to trigger the target robot to perform the driving operations corresponding to the other target sub-paths to be traveled. Travel sub-path.
在本申请中,当目标机器人的行驶路径的目标待行驶子路径被标记为由目标机器人占用时,控制目标机器人在目标待行驶子路径上行驶。对于任意一个目标待行驶子路径,该目标待行驶子路径和任意一个已占据区域没有重叠部分,在目标机器人在该目标待行驶子路径上行驶期间,其他机器人不会在该目标待行驶子路径的行驶区域中,不会出现其他机器人碰撞目标机器人的情况。从而,目标机器人在任意一个目标待行驶子路径上行驶时,均不会出现机器人碰撞的情况。In this application, when the target to-be-traveled sub-path of the target robot's traveling path is marked as occupied by the target robot, the target robot is controlled to travel on the target to-be-traveled sub-path. For any target to-be-traveled sub-path, there is no overlap between the target to-be-traveled sub-path and any occupied area. While the target robot is traveling on the target to-be-traveled sub-path, other robots will not be on the target to-be-traveled sub-path. In the driving area, other robots will not collide with the target robot. Therefore, when the target robot travels on any target sub-path to be traveled, there will be no robot collision.
在一些实施例中,当确定出多个目标待行驶子路径时,多个目标待行驶子路径的占据长度大于最小占据长度阈值并且目标待行驶子路径的占据长度小于最大占据长度阈值,多个目标待行驶子路径的占据长度为所述多个目标待行驶子路径的长度之和。 In some embodiments, when multiple target to-be-traveled sub-paths are determined, the occupancy lengths of the multiple target to-be-traveled sub-paths are greater than the minimum occupancy length threshold and the occupancy lengths of the target to-be-traveled sub-paths are less than the maximum occupancy length threshold, multiple The occupied length of the target sub-path to be traveled is the sum of the lengths of the multiple target sub-paths to be traveled.
在本申请中,可以按照目标机器人能够占据的待行驶子路径的起点与行驶路径的起点之间的距离从小至大,对目标机器人能够占据的多个待行驶子路径进行排序,得到该多个待行驶子路径的次序。按照该多个待行驶子路径的次序,依次选择该多个待行驶子路径中的待行驶子路径,直至选择的所有待行驶子路径的长度之和大于最小占据长度阈值并且选择的所有待行驶子路径的长度小于最大占据长度阈值,选择的所有待行驶子路径的长度为选择的所有待行驶子路径中的每一个待行驶子路径的长度之和,选择的所有待行驶子路径包括的待行驶子路径的数量为多个,分别将每一个选择的待行驶子路径确定为一个目标待行驶子路径。In this application, multiple to-be-traveled sub-paths that the target robot can occupy can be sorted according to the distance between the starting point of the to-be-traveled sub-path that the target robot can occupy and the starting point of the traveling path, and the multiple to-be-traveled sub-paths that the target robot can occupy can be obtained. The order of sub-paths to be traveled. According to the order of the multiple to-be-traveled sub-paths, the to-be-traveled sub-paths are sequentially selected until the sum of the lengths of all selected to-be-traveled sub-paths is greater than the minimum occupation length threshold and all selected to-be-traveled sub-paths are The length of the sub-path is less than the maximum occupied length threshold. The length of all selected sub-paths to be traveled is the sum of the lengths of each of the selected sub-paths to be traveled. All selected sub-paths to be traveled include the length of the to-be-traveled sub-paths. There are multiple traveling sub-paths, and each selected to-be-traveled sub-path is determined as a target to-be-traveled sub-path.
如果多个目标待行驶子路径的占据长度过小,则目标机器人行驶较短距离,即可行驶完每一个目标待行驶子路径,就需要再次执行步骤101,导致目标机器人的作业效率的降低。如果多个目标待行驶子路径的占据长度过大,则目标机器人长时间占据多个目标待行驶子路径,其他机器人长时间等待目标机器人行驶完每一个目标待行驶子路径,导致整体作业效率的降低。If the occupied lengths of multiple target sub-paths to be traveled are too small, the target robot can travel a shorter distance to complete each target sub-path to be traveled, and step 101 needs to be performed again, resulting in a reduction in the operating efficiency of the target robot. If the occupied lengths of multiple target sub-paths to be traveled are too large, the target robot will occupy multiple target sub-paths to be traveled for a long time, and other robots will wait for a long time for the target robot to complete each target sub-path to be traveled, resulting in a decrease in overall operating efficiency. reduce.
在本申请中,当确定出多个目标待行驶子路径时,多个目标待行驶子路径的占据长度可以大于最小占据长度阈值并且目标待行驶子路径的占据长度可以小于最大占据长度阈值,多个目标待行驶子路径的占据长度既不会过小,也不会过大,避免作业效率的降低。In this application, when multiple target to-be-traveled sub-paths are determined, the occupied lengths of the multiple target to-be-traveled sub-paths may be greater than the minimum occupied length threshold and the occupied lengths of the target to-be-traveled sub-paths may be less than the maximum occupied length threshold. The occupied length of the sub-path to be traveled by each target will be neither too small nor too large to avoid a reduction in operating efficiency.
在一些实施例中,基于目标机器人的行驶路径的待行驶子路径的行驶区域和至少一个已占据区域,确定该行驶路径的至少一个待行驶子路径是否存在目标机器人能够占据的至少一个待行驶子路径包括:确定至少一个已占据区域中是否存在与待行驶子路径的行驶区域有重叠部分的已占据区域;若否,将该待行驶子路径标记为由目标机器人进行待提交占据;确定该待行驶子路径是否被标记为由其他机器人进行待提交占据;若是,当从目标机器人和该其他机器人中选择出该目标机器人时,确定该目标机器人能够占据该待行驶子路径;若否,确定该目标机器人能够占据该待行驶子路径。In some embodiments, based on the traveling area and at least one occupied area of the to-be-traveled sub-path of the target robot's traveling path, it is determined whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path. The path includes: determining whether there is an occupied area in at least one occupied area that overlaps with the driving area of the sub-path to be traveled; if not, marking the sub-path to be traveled as to be submitted for occupation by the target robot; determining the sub-path to be traveled. Whether the driving sub-path is marked as being submitted for occupation by other robots; if so, when the target robot is selected from the target robot and the other robots, it is determined that the target robot can occupy the sub-path to be traveled; if not, it is determined that the sub-path to be traveled is The target robot can occupy the sub-path to be traveled.
对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,确定目标机器人能够占据该待行驶子路径可以包括:确定至少一个已占据 区域中是否存在与该待行驶子路径的行驶区域有重叠部分的已占据区域;若确定至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域时,将该待行驶子路径标记为由目标机器人进行待提交占据;确定该待行驶子路径是否被标记为由其他机器人进行待提交占据;若该待行驶子路径被标记为由其他机器人进行待提交占据,当从目标机器人和该其他机器人中选择出目标机器人时,确定目标机器人能够占据该待行驶子路径;若该待行驶子路径没有被标记为由其他机器人进行待提交占据,确定目标机器人能够占据该待行驶子路径。For any one of the at least one to-be-traveled sub-path of the travel path, determining that the target robot can occupy the to-be-traveled sub-path may include: determining that at least one of the to-be-traveled sub-paths is occupied. Whether there is an occupied area in the area that overlaps with the driving area of the to-be-traveled sub-path; if it is determined that there is no occupied area that overlaps with the traveling area of the to-be-traveled sub-path in at least one occupied area, The to-be-traveled sub-path is marked as being submitted and occupied by the target robot; determine whether the to-be-traveled sub-path is marked as to be submitted and occupied by other robots; if the to-be-traveled sub-path is marked as to be submitted and occupied by other robots, When the target robot is selected from the target robot and the other robots, it is determined that the target robot can occupy the to-be-traveled sub-path; if the to-be-traveled sub-path is not marked as being submitted for occupation by other robots, it is determined that the target robot can occupy the to-be-traveled sub-path. The sub-path to be traveled.
对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,若确定该待行驶子路径被标记为由其他机器人进行待提交占据,从目标机器人和该其他机器人中随机选择出一个机器人,若随机选择的机器人为该目标机器人,确定目标机器人能够占据该待行驶子路径,若随机选择的机器人为该其他机器人,在确定由其他机器人能够占据该待行驶子路径。For any to-be-traveled sub-path of at least one to-be-traveled sub-path of the travel path, if it is determined that the to-be-traveled sub-path is marked as being submitted for occupation by other robots, randomly select a robot from the target robot and the other robots. , if the randomly selected robot is the target robot, it is determined that the target robot can occupy the sub-path to be traveled; if the randomly selected robot is another robot, it is determined that other robots can occupy the sub-path to be traveled.
对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,该待行驶子路径被标记为由其他机器人进行待提交占据与该待行驶子路径被标记为由目标机器人进行待提交占据同理,在针对该其他机器人的一次控制过程中,确定相应的至少一个已占据区域中不存在具有与该待行驶子路径的行驶区域有重叠区域的已占据区域,将该待行驶子路径标记为由该其他机器人进行待提交占据。For any one of the at least one to-be-traveled sub-path of the traveling path, the to-be-traveled sub-path is marked as being to be submitted and occupied by other robots, and the to-be-traveled sub-path is marked as to be submitted and occupied by the target robot. Similarly, during a control process for the other robot, it is determined that there is no occupied area in the corresponding at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, and the to-be-traveled sub-path is marked. It is occupied by the other robot for pending submission.
在本申请中,对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,在确定目标机器人能够占据待行驶子路径或目标机器人不能够占据待行驶子路径之后,取消由目标机器人进行待提交占据的标记,若待行驶子路径被标记为由其他机器人进行待提交占据,取消该待行驶子路径由其他机器人进行待提交占据的标记。In this application, for any one of the at least one to-be-traveled sub-path of the travel path, after it is determined that the target robot can occupy the to-be-traveled sub-path or the target robot is unable to occupy the to-be-traveled sub-path, cancel the decision by the target robot. Mark the sub-path to be submitted and occupied. If the sub-path to be traveled is marked as to be occupied by other robots, cancel the mark of the sub-path to be submitted to be occupied by other robots.
在本申请中,对于任意一个机器人的行驶路径的任意一个子路径,当该子路径被标记为由相应机器人进行待提交占据时,可以将该子路径的行驶区域视为已占据区域,步骤101中的至少一个已占据区域可以包括该子路径的行驶区域。In this application, for any sub-path of any robot's driving path, when the sub-path is marked as being submitted for occupation by the corresponding robot, the driving area of the sub-path can be regarded as an occupied area, step 101 At least one occupied area in may include the travel area of the sub-path.
在本申请中,考虑了两个机器人抢占待行驶子路径的问题即两个机器人同时或几乎同时确定能够占用同一个子路径。当两个机器人同时或几乎 同时确定能够占用同一个子路径时,只能有一个机器人可以占用同一个子路径。In this application, the problem of two robots seizing the sub-path to be traveled is considered, that is, the two robots determine that they can occupy the same sub-path at the same time or almost at the same time. When two robots are at the same time or almost When it is determined that the same sub-path can be occupied at the same time, only one robot can occupy the same sub-path.
在本申请中,将当确定至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域时,将该待行驶子路径标记为由目标机器人进行待提交占据,根据该待行驶子路径是否被标记为由其他机器人进行待提交占据,确定目标机器人或其他机器人能够占据待行驶子路径,无需通过互斥锁,高效地解决两个机器人抢占待行驶子路径的问题。In this application, when it is determined that there is no occupied area in at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, the to-be-traveled sub-path will be marked as to be submitted for occupation by the target robot, According to whether the sub-path to be traveled is marked as being submitted for occupation by other robots, it is determined that the target robot or other robots can occupy the sub-path to be traveled, without the need for a mutex lock, and the problem of two robots seizing the sub-path to be traveled is efficiently solved. .
在一些实施例中,对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,确定至少一个已占据区域中是否存在与该待行驶子路径的行驶区域有重叠部分的已占据区域包括:基于该待行驶子路径的行驶区域的形状信息和形状信息数据库中的该至少一个已占据区域中的每一个已占据区域的形状信息,确定该至少一个已占据区域中是否存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域;若是,确定该至少一个已占据区域中存在与该待行驶子路径的行驶区域有重叠部分的已占据区域;若否,确定该至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域。In some embodiments, for any one of the at least one to-be-traveled sub-path of the target robot's traveling path, it is determined whether there is an overlapping portion of the at least one occupied area with the traveling area of the to-be-traveled sub-path. The occupied area includes: determining whether there is an occupied area in the at least one occupied area based on the shape information of the traveling area of the to-be-traveled sub-path and the shape information of each occupied area in the at least one occupied area in the shape information database. An occupied area having a shape that intersects the shape of the traveling area of the to-be-traveled sub-path; if yes, it is determined that there is an occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path; if not , determining that there is no occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path.
在本申请中,可以利用形状信息数据库存储每一个已占据区域的形状的形状信息,对于任意一个已占据区域,该已占据区域的形状信息用于确定已占据区域,该已占据区域的形状信息可以包括以下项或以下项的一部分:该已占据区域的形状的中心点的位置、该已占据区域的形状的各个边的长度、该已占据区域的形状的类型、用于得到该已占据区域的形状的点的位置。In this application, the shape information database can be used to store the shape information of each occupied area. For any occupied area, the shape information of the occupied area is used to determine the occupied area. The shape information of the occupied area is It can include the following items or part of the following items: the position of the center point of the shape of the occupied area, the length of each side of the shape of the occupied area, the type of the shape of the occupied area, the method used to obtain the occupied area The position of the point of the shape.
对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,该待行驶子路径的行驶区域的形状信息用于确定该待行驶子路径的行驶区域的形状,该待行驶子路径的行驶区域的形状信息可以包括以下项或以下项的一部分:该待行驶子路径的行驶区域的形状的中心点的位置、该待行驶子路径的行驶区域的形状的各个边的长度、该待行驶子路径的行驶区域的形状的类型、用于得到该待行驶子路径的行驶区域的形状的点的位置。For any one of at least one to-be-traveled sub-path of the target robot's traveling path, the shape information of the traveling area of the to-be-traveled sub-path is used to determine the shape of the traveling area of the to-be-traveled sub-path. The shape information of the travel area of the sub-path may include the following items or a part of the following items: the position of the center point of the shape of the travel area of the sub-path to be traveled, the length of each side of the shape of the travel area of the sub-path to be traveled, The type of the shape of the traveling area of the to-be-traveled sub-path, and the position of the point used to obtain the shape of the traveling area of the to-be-traveled sub-path.
对于任意两个区域,若两个区域的形状相交,则两个区域有重叠部 分。For any two regions, if the shapes of the two regions intersect, then the two regions have overlapping parts. point.
对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,根据该待行驶子路径的形状信息,可以确定该待行驶子路径的形状,根据至少一个已占据区域中的每一个已占据区域的形状信息,可以确定至少一个已占据区域中的每一个已占据区域的形状。For any one of the at least one to-be-traveled sub-path of the target robot's travel path, the shape of the to-be-traveled sub-path can be determined based on the shape information of the to-be-traveled sub-path. According to the shape of the to-be-traveled sub-path in at least one occupied area The shape information of each occupied area may determine the shape of each occupied area in at least one occupied area.
对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,根据该待行驶子路径的形状和至少一个已占据区域中的每一个已占据区域的形状,可以确定至少一个已占据区域中是否存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域,若至少一个已占据区域中存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域,则可以确定至少一个已占据区域中存在与该待行驶子路径的行驶区域有重叠部分的已占据区域,若至少一个已占据区域中不存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域,则证明至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域。For any one of the at least one to-be-traveled sub-path of the target robot's traveling path, at least one can be determined based on the shape of the to-be-traveled sub-path and the shape of each of the at least one occupied area. Whether there is an occupied area in the occupied area that has a shape that intersects with the shape of the traveling area of the to-be-traveled sub-path, if there is an occupied area that has a shape that intersects with the shape of the traveling area of the to-be-traveled sub-path. occupied area, it can be determined that there is an occupied area in at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, if there is no traveling area that overlaps with the to-be-traveled sub-path in the at least one occupied area. If the occupied area of the shape intersects, it proves that there is no occupied area in at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path.
在本申请中,当确定至少一个已占据区域中是否存在与待行驶子路径的行驶区域有重叠部分的已占据区域时,可以仅需分别至少一个已占据区域中的每一个已占据区域的形状是否与待行驶子路径的行驶区域的形状相交,来确定至少一个已占据区域中是否存在与待行驶子路径的行驶区域有重叠部分的已占据区域,从而,可以快速地确定至少一个已占据区域中是否存在与该待行驶子路径的行驶区域有重叠部分的已占据区域。In the present application, when determining whether there is an occupied area in at least one occupied area that overlaps with the traveling area of the sub-path to be traveled, it is only necessary to distinguish the shape of each occupied area in the at least one occupied area. Whether it intersects with the shape of the traveling area of the sub-path to be traveled, to determine whether there is an occupied area in at least one occupied area that overlaps with the traveling area of the sub-path to be traveled, so that at least one occupied area can be quickly determined Whether there is an occupied area that overlaps with the driving area of the sub-path to be traveled.
在一些实施例中,还包括:对于确定出的任意一个目标待行驶子路径,当目标机器人行驶完该目标待行驶子路径并且存在对应该目标待行驶子路径的冲突机器人时,向对应该目标待行驶子路径的冲突机器人发送唤醒指令,其中,对应该目标待行驶子路径的冲突机器人由于该目标待行驶子路径的行驶区域和冲突机器人的其他行驶路径的相应子路径的行驶区域有重叠部分而不能够占据该相应子路径,唤醒指令用于触发对应该目标待行驶子路径的冲突机器人确定该其他行驶路径的至少一个待行驶子路径中是否存在冲突机器人能够占据的至少一个待行驶子路径。In some embodiments, the method further includes: for any determined target sub-path to be traveled, when the target robot completes the target sub-path to be traveled and there is a conflicting robot corresponding to the target sub-path to be traveled, moving toward the target corresponding to the target sub-path. The conflicting robot of the sub-path to be traveled sends a wake-up command, where the conflicting robot corresponding to the target sub-path to be traveled has an overlap between the traveling area of the target sub-path and the corresponding sub-paths of other traveling paths of the conflicting robot. Instead of being able to occupy the corresponding sub-path, the wake-up instruction is used to trigger the conflicting robot corresponding to the target sub-path to be traveled to determine whether there is at least one to-be-traveled sub-path of the other travel paths that the conflicting robot can occupy. .
对于确定出的任意一个目标待行驶子路径,将对应该目标待行驶子路 径的冲突机器人的行驶路径称之为对应该目标待行驶子路径的冲突机器人的其他行驶路径。For any determined target sub-path to be traveled, the corresponding target sub-route to be traveled will be The driving path of the conflicting robot is called the other driving path of the conflicting robot corresponding to the target sub-path to be traveled.
对于确定出的任意一个目标待行驶子路径,对应该目标待行驶子路径的冲突机器人在一次确定其他行驶路径的至少一个待行驶子路径中是否存在冲突机器人能够占据的至少一个待行驶子路径中,确定该目标待行驶子路径的行驶区域和对应该目标待行驶子路径的冲突机器人的其他行驶路径的相应子路径的行驶区域有重叠部分,对应该目标待行驶子路径的冲突机器人不能够占据该相应子路径,则对应该目标待行驶子路径的冲突机器人在确定对应该目标待行驶子路径的冲突机器人不能够占据该相应子路径的时间与接收到唤醒指令的时间之间的时间段,对应该目标待行驶子路径的冲突机器人不会确定对应该目标待行驶子路径的冲突机器人的其他行驶路径的至少一个待行驶子路径中是否存在对应该目标待行驶子路径的冲突机器人能够占据的至少一个待行驶子路径。For any determined target sub-path to be traveled, the conflicting robots corresponding to the target sub-path to be traveled determine whether there is at least one to-be-traveled sub-path that the conflicting robot can occupy in at least one to-be-traveled sub-path of other travel paths. , it is determined that the driving area of the sub-path to be driven by the target overlaps with the driving area of the corresponding sub-path of other driving paths of the conflicting robots corresponding to the sub-path to be driven by the target, and the conflicting robot corresponding to the sub-path to be driven by the target cannot occupy the corresponding sub-path, then the time period between the time when the conflicting robot corresponding to the target sub-path to be traveled determines that the conflicting robot corresponding to the target sub-path to be traveled cannot occupy the corresponding sub-path and the time when the wake-up instruction is received, The conflicting robot corresponding to the target sub-path to be traveled will not determine whether there is a space that the conflicting robot corresponding to the target to-be-traveled sub-path can occupy in at least one of the other travel paths of the conflicting robot corresponding to the target sub-path to be traveled. At least one sub-path to be traveled.
当目标机器人行驶完该目标待行驶子路径并且存在对应该目标待行驶子路径的冲突机器人时,向对应该目标待行驶子路径的冲突机器人发送唤醒指令,对应该目标待行驶子路径的冲突机器人再次确定对应该目标待行驶子路径的冲突机器人的其他行驶路径的至少一个待行驶子路径中是否存在对应该目标待行驶子路径的冲突机器人能够占据的至少一个待行驶子路径。When the target robot completes the target sub-path to be traveled and there is a conflicting robot corresponding to the target sub-path to be traveled, a wake-up command is sent to the conflicting robot corresponding to the target sub-path to be traveled, and the conflicting robot corresponding to the target sub-path to be traveled is Determine again whether there is at least one to-be-traveled sub-path corresponding to the target to-be-traveled sub-path of the conflicting robot's other traveling paths that the conflicting robot can occupy that corresponds to the target to-be-traveled sub-path.
在本申请中,当目标机器人行驶完目标待行驶子路径并且存在对应该目标待行驶子路径的冲突机器人时,向对应目标待行驶子路径的冲突机器人发送唤醒指令,触发对应目标待行驶子路径的冲突机器人确定其他行驶路径的至少一个待行驶子路径中是否存在冲突机器人能够占据的至少一个待行驶子路径,从而,及时地通知对应目标待行驶子路径的冲突机器人可以继续抢占对应该目标待行驶子路径的冲突机器人的其他行驶路径中的待行驶子路径。In this application, when the target robot completes the target to-be-traveled sub-path and there are conflicting robots corresponding to the target to-be-traveled sub-path, a wake-up command is sent to the conflicting robot corresponding to the target to-be-traveled sub-path, triggering the corresponding target to-be-traveled sub-path. The conflicting robot determines whether there is at least one to-be-traveled sub-path that the conflicting robot can occupy in at least one to-be-traveled sub-path of other travel paths, thereby promptly notifying the conflicting robot corresponding to the target to-be-traveled sub-path that it can continue to seize the corresponding target to-be-traveled sub-path. Conflicts of traveling sub-paths Sub-paths to be traveled in other traveling paths of the robot.
在一些实施例中,还包括:当从目标机器人接收指示目标机器人行驶完每一个目标待行驶子路径的指令并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。 In some embodiments, the method further includes: when receiving an instruction from the target robot instructing the target robot to complete each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's travel path, determining by the target robot that there is Whether there is at least one to-be-traveled sub-path that the target robot can occupy in at least one to-be-traveled sub-path.
当目标机器人行驶完每一个目标待行驶子路径时,可以接收到目标机器人发送的指示目标机器人行驶完每一个目标待行驶子路径的指令。When the target robot completes each target sub-path to be traveled, an instruction sent by the target robot instructing the target robot to complete each target sub-path to be traveled can be received.
当目标机器人行驶完每一个目标待行驶子路径时,若存在目标机器人的行驶路径的至少一个待行驶子路径,存在的行驶路径的至少一个待行驶子路径均在通过步骤102确定出的所有目标待行驶子路径中的最后一个目标待行驶子路径之后。When the target robot completes each target to-be-traveled sub-path, if there is at least one to-be-traveled sub-path of the target robot's traveling path, the at least one to-be-traveled sub-path of the existing traveling path is within all targets determined in step 102. The last target in the to-be-traveled sub-path is after the to-be-traveled sub-path.
当从目标机器人接收指示目标机器人行驶完每一个目标待行驶子路径的指令并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。When an instruction is received from the target robot instructing the target robot to complete each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's travel path, the target robot determines whether there is one of the existing at least one to-be-traveled sub-paths. At least one sub-path to be traveled that the target robot can occupy.
由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径的过程与步骤101的过程同理,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径的过程参考步骤101的过程,存在的至少一个待行驶子路径相当于步骤101中的至少一个待行驶子路径。The process of the target robot determining whether there is at least one sub-path to be traveled that the target robot can occupy is the same as the process of step 101. The target robot determines whether there is at least one sub-path to be traveled that the target robot can occupy. If there is at least one to-be-traveled sub-path that the target robot can occupy, refer to the process of step 101 . The existing at least one to-be-traveled sub-path is equivalent to the at least one to-be-traveled sub-path in step 101 .
在本申请中,可以当从目标机器人接收指示目标机器人行驶完每一个目标待行驶子路径的指令并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。从而,当目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,目标机器人及时地继续抢占目标机器人的行驶路径中的待行驶子路径。In this application, when an instruction is received from the target robot instructing the target robot to complete each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's travel path, the target robot can determine the existence of at least one to-be-traveled sub-path. Whether there is at least one to-be-traveled sub-path that the target robot can occupy in the traveling sub-path. Therefore, when the target robot completes each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's traveling path, the target robot continues to seize the to-be-traveled sub-path in the target robot's traveling path in time.
在一些实施例中,还包括:当检测到目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。In some embodiments, the method further includes: when it is detected that the target robot has completed each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's travel path, the target robot determines the existence of at least one to-be-traveled sub-path. Whether there is at least one sub-path to be traveled that the target robot can occupy in the path.
当目标机器人行驶完每一个目标待行驶子路径时,若存在目标机器人的行驶路径的至少一个待行驶子路径,存在的行驶路径的至少一个待行驶子路径均在通过步骤102确定出的所有目标待行驶子路径中的最后一个待行驶子路径之后。 When the target robot completes each target to-be-traveled sub-path, if there is at least one to-be-traveled sub-path of the target robot's traveling path, the at least one to-be-traveled sub-path of the existing traveling path is within all targets determined in step 102. After the last to-be-traveled sub-path in the to-be-traveled sub-path.
在本申请中,可以从目标机器人到达通过步骤102确定出的所有目标待行驶子路径的最后一个目标待行驶子路径的起点开始行驶的时刻起,每间隔预设时长检测目标机器人是否行驶完该最后一个目标待行驶子路径,若检测到目标机器人行驶完该最后一个目标待行驶子路径,则检测到目标机器人行驶完每一个目标待行驶子路径。In this application, starting from the moment when the target robot reaches the starting point of the last target sub-path to be traveled of all the target sub-paths determined in step 102 and starts traveling, it can be detected every preset time interval whether the target robot has completed the drive. The last target sub-path to be traveled, if it is detected that the target robot has completed the last target sub-path to be traveled, then it is detected that the target robot has completed each target sub-path to be traveled.
当检测到目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。When it is detected that the target robot has completed each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's traveling path, the target robot determines whether there is a path that the target robot can occupy in the at least one existing to-be-traveled sub-path. At least one sub-path to be traveled.
在本申请中,可以当检测到目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。从而,当目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,目标机器人及时地继续抢占目标机器人的行驶路径中的待行驶子路径。In this application, when it is detected that the target robot has completed each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's traveling path, the target robot can determine whether the existing at least one to-be-traveled sub-path is There is at least one sub-path to be traveled that the target robot can occupy. Therefore, when the target robot completes each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the target robot's traveling path, the target robot continues to seize the to-be-traveled sub-path in the target robot's traveling path in time.
请参考图2,其示出了本申请实施例提供的机器人控制装置的结构框图。机器人控制装置包括:第一确定单元201,第二确定单元202,控制单元203。Please refer to FIG. 2 , which shows a structural block diagram of a robot control device provided by an embodiment of the present application. The robot control device includes: a first determination unit 201, a second determination unit 202, and a control unit 203.
第一确定单元201被配置为基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定所述至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径,其中,所述至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域;The first determination unit 201 is configured to determine, based on the traveling area of at least one to-be-traveled sub-path and at least one occupied area of the target robot's traveling path, whether there is a path that the target robot can occupy in the at least one to-be-traveled sub-path. At least one sub-path to be traveled, wherein the at least one occupied area includes: a travel area marked as the corresponding sub-path occupied by the corresponding robot and/or an area occupied by the corresponding robot when in a stationary state;
第二确定单元202被配置为若是,从所述目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将每一个目标待行驶子路径标记为由所述目标机器人占据;The second determination unit 202 is configured to, if so, determine at least one target sub-path to be traveled from the at least one sub-path to be traveled that the target robot can occupy, and mark each target sub-path to be traveled by the target robot. occupy;
控制单元203被配置为控制所述目标机器人在所述每一个目标待行驶子路径上行驶。The control unit 203 is configured to control the target robot to travel on each of the target to-be-traveled sub-paths.
在一些实施例中,当确定出多个目标待行驶子路径时,所述多个目标待行驶子路径的占据长度大于最小占据长度阈值并且所述占据长度小于最 大占据长度阈值,所述占据长度为所述多个目标待行驶子路径的长度之和。In some embodiments, when multiple target to-be-traveled sub-paths are determined, the occupancy lengths of the multiple target to-be-traveled sub-paths are greater than the minimum occupancy length threshold and the occupancy length is less than the minimum occupancy length threshold. A large occupied length threshold, where the occupied length is the sum of the lengths of the plurality of target sub-paths to be traveled.
在一些实施例中,第一确定单元201被配置为当确定所述至少一个已占据区域中不存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域时,将所述待行驶子路径标记为由所述目标机器人进行待提交占据;确定所述待行驶子路径是否被标记为由其他机器人进行待提交占据;若是,当从所述目标机器人和所述其他机器人中选择出所述目标机器人时,确定所述目标机器人能够占据所述待行驶子路径;若否,确定所述目标机器人能够占据所述待行驶子路径。In some embodiments, the first determining unit 201 is configured to, when determining that there is no occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, determine the to-be-traveled sub-path. The sub-path is marked as being to be submitted and occupied by the target robot; it is determined whether the to-be-traveled sub-path is marked as being to be submitted and occupied by other robots; if so, when all the sub-paths are selected from the target robot and the other robots, When the target robot is mentioned, it is determined that the target robot can occupy the sub-path to be traveled; if not, it is determined that the target robot can occupy the sub-path to be traveled.
在一些实施例中,第一确定单元201被配置为基于所述待行驶子路径的行驶区域的形状信息和形状信息数据库中的所述至少一个已占据区域中的每一个已占据区域的形状信息,确定所述至少一个已占据区域中是否存在具有与已占据区域的形状相交的形状的已占据区域;若是,确定所述至少一个已占据区域中存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域;若否,确定所述至少一个已占据区域中不存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域。In some embodiments, the first determination unit 201 is configured to be based on the shape information of the driving area of the sub-path to be traveled and the shape information of each occupied area in the at least one occupied area in the shape information database. , determine whether there is an occupied area in the at least one occupied area that has a shape that intersects with the shape of the occupied area; if so, determine whether there is an occupied area in the at least one occupied area that is consistent with the driving area of the sub-path to be traveled. The occupied area of the overlapping portion; if not, it is determined that there is no occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path.
在一些实施例中,机器人控制装置还包括:In some embodiments, the robot control device further includes:
第一响应单元,被配置为当所述目标机器人行驶完所述目标待行驶子路径并且存在对应所述目标待行驶子路径的冲突机器人时,向所述冲突机器人发送唤醒指令,其中,所述冲突机器人由于所述目标待行驶子路径的行驶区域和冲突机器人的其他行驶路径的相应子路径的行驶区域有重叠部分而不能够占据所述相应子路径,所述唤醒指令用于触发所述冲突机器人确定所述其他行驶路径的至少一个待行驶子路径中是否存在所述冲突机器人能够占据的至少一个待行驶子路径。The first response unit is configured to send a wake-up instruction to the conflicting robot when the target robot completes the target sub-path to be traveled and there is a conflicting robot corresponding to the target sub-path to be traveled, wherein, The conflicting robot is unable to occupy the corresponding sub-path because the driving area of the target sub-path to be traveled overlaps with the driving area of the corresponding sub-path of other traveling paths of the conflicting robot. The wake-up instruction is used to trigger the conflict. The robot determines whether there is at least one to-be-traveled sub-path of the other travel path that the conflicting robot can occupy.
在一些实施例中,机器人控制装置还包括:In some embodiments, the robot control device further includes:
第二响应单元,被配置为当从所述目标机器人接收指示所述目标机器人行驶完所述每一个目标待行驶子路径的指令并且存在所述行驶路径的至少一个待行驶子路径时,由所述目标机器人确定存在的至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径。The second response unit is configured to receive an instruction from the target robot instructing the target robot to complete each of the target to-be-traveled sub-paths and there is at least one to-be-traveled sub-path of the travel path, by the second response unit. The target robot determines whether there is at least one sub-path to be traveled that the target robot can occupy among the at least one sub-path to be traveled.
在一些实施例中,机器人控制装置还包括: In some embodiments, the robot control device further includes:
第三响应单元,被配置为当检测到所述目标机器人行驶完每一个目标待行驶子路径并且存在所述行驶路径的至少一个待行驶子路径时,由所述目标机器人确定存在的至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径。The third response unit is configured to determine, by the target robot, that at least one sub-path to be traveled exists when it is detected that the target robot has completed each target sub-path to be traveled and there is at least one sub-path to be traveled of the travel path. Whether there is at least one to-be-traveled sub-path that the target robot can occupy in the traveling sub-path.
本申请实施例的图像处理装置中的各功能模块或单元用于执行上述机器人控制方法的步骤,具体可以参考上述方法的相关内容。Each functional module or unit in the image processing device according to the embodiment of the present application is used to execute the steps of the above-mentioned robot control method. For details, please refer to the relevant content of the above-mentioned method.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
本申请的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本申请实施例的电子设备中的一些或者全部部件的一些或者全部功能。本申请还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本申请的程序可以存储在计算机可读存储介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the electronic device according to embodiments of the present application. The present application may also be implemented as an apparatus or device program (eg, computer program and computer program product) for performing part or all of the methods described herein. Such a program for implementing the present application may be stored on a computer-readable storage medium, or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, or provided on a carrier signal, or in any other form.
例如,图3示出了可以实现根据本申请的方法的电子设备。该电子设备传统上包括处理器310和以存储器320形式的计算机程序产品或者计算机可读存储介质。存储器320可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器320具有用于执行上述方法中的任何方法步骤的程序代码331的存储空间330。例如,用于程序代码的存储空间330可以包括分别用于实现上面的方法中的各种步骤的各个程序代码331。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。 这样的计算机程序产品通常为如参考图4所述的便携式或者固定存储单元。该存储单元可以具有与图3的电子设备中的存储器320类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码331’,即可以由例如诸如310之类的处理器读取的代码,这些代码当由电子设备运行时,导致该电子设备执行上面所描述的方法中的各个步骤。For example, Figure 3 shows an electronic device that can implement the method according to the present application. The electronic device conventionally includes a processor 310 and a computer program product in the form of a memory 320 or a computer-readable storage medium. Memory 320 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 320 has a storage space 330 for program code 331 for executing any method steps in the above-described methods. For example, the storage space 330 for program codes may include individual program codes 331 respectively used to implement various steps in the above method. These program codes can be read from or written into one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. 4 . The storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 320 in the electronic device of FIG. 3 . The program code may, for example, be compressed in a suitable form. Typically, the storage unit includes computer readable code 331', ie code that can be read by, for example, a processor such as 310, which code, when executed by an electronic device, causes the electronic device to perform each of the methods described above. step.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手子路径。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application that follow the general principles of the application and include common knowledge or customary skill in the technical fields not disclosed in the application. subpath. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。 It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

  1. 一种机器人控制方法,其特征在于,所述方法包括:A robot control method, characterized in that the method includes:
    基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定所述至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径,其中,所述至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域;Based on the traveling area and at least one occupied area of at least one to-be-traveled sub-path of the target robot's traveling path, it is determined whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path, wherein , the at least one occupied area includes: a driving area marked as a corresponding sub-path occupied by the corresponding robot and/or an area occupied by the corresponding robot when in a stationary state;
    若所述至少一个待行驶子路径中存在所述目标机器人能够占据的至少一个待行驶子路径,从所述目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将每一个目标待行驶子路径标记为由所述目标机器人占据;If there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path, at least one target to-be-traveled sub-path is determined from the at least one to-be-traveled sub-path that the target robot can occupy, Mark each target sub-path to be traveled as occupied by the target robot;
    控制所述目标机器人在所述每一个目标待行驶子路径上行驶。The target robot is controlled to travel on each target sub-path to be traveled.
  2. 根据权利要求1所述的方法,其特征在于,当确定出多个目标待行驶子路径时,所述多个目标待行驶子路径的占据长度大于最小占据长度阈值并且所述占据长度小于最大占据长度阈值,所述占据长度为所述多个目标待行驶子路径的长度之和。The method according to claim 1, characterized in that when multiple target sub-paths to be traveled are determined, the occupancy lengths of the multiple target sub-paths to be traveled are greater than the minimum occupancy length threshold and the occupancy length is less than the maximum occupancy length. Length threshold, the occupied length is the sum of the lengths of the multiple target sub-paths to be traveled.
  3. 根据权利要求1所述的方法,其特征在于,基于目标机器人的行驶路径的待行驶子路径的行驶区域和至少一个已占据区域,确定所述行驶路径的至少一个待行驶子路径是否存在所述目标机器人能够占据的至少一个待行驶子路径包括:The method according to claim 1, characterized in that, based on the traveling area of the to-be-traveled sub-path of the target robot's traveling path and at least one occupied area, it is determined whether the at least one to-be-traveled sub-path of the traveling path contains the said At least one sub-path to be traveled that the target robot can occupy includes:
    确定所述至少一个已占据区域中是否存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域;Determine whether there is an occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path;
    若所述至少一个已占据区域中不存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域,将所述待行驶子路径标记为由所述目标机器人进行待提交占据;If there is no occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path, mark the to-be-traveled sub-path to be submitted for occupation by the target robot;
    确定所述待行驶子路径是否被标记为由其他机器人进行待提交占据;Determine whether the to-be-traveled sub-path is marked as to be submitted and occupied by other robots;
    若所述待行驶子路径被标记为由其他机器人进行待提交占据,当从所述目标机器人和所述其他机器人中选择出所述目标机器人时,确 定所述目标机器人能够占据所述待行驶子路径;If the sub-path to be traveled is marked as being submitted for occupation by other robots, when the target robot is selected from the target robot and the other robots, it is determined that It is determined that the target robot can occupy the sub-path to be traveled;
    若所述待行驶子路径未被标记为由其他机器人进行待提交占据,确定所述目标机器人能够占据所述待行驶子路径。If the sub-path to be traveled is not marked as being submitted for occupation by other robots, it is determined that the target robot can occupy the sub-path to be traveled.
  4. 根据权利要求3所述的方法,其特征在于,确定所述至少一个已占据区域中是否存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域包括:The method according to claim 3, wherein determining whether there is an occupied area in the at least one occupied area that overlaps with the traveling area of the to-be-traveled sub-path includes:
    基于所述待行驶子路径的行驶区域的形状信息和形状信息数据库中的所述至少一个已占据区域中的每一个已占据区域的形状信息,确定所述至少一个已占据区域中是否存在具有与所述待行驶子路径的行驶区域的形状相交的形状的已占据区域;Based on the shape information of the traveling area of the to-be-traveled sub-path and the shape information of each occupied area in the at least one occupied area in the shape information database, it is determined whether there is a property in the at least one occupied area with The occupied area of the shape intersecting the shape of the driving area of the sub-path to be traveled;
    若所述至少一个已占据区域中存在具有与所述待行驶子路径的行驶区域的形状相交的形状的已占据区域,确定所述至少一个已占据区域中存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域;If there is an occupied area in the at least one occupied area that has a shape that intersects with the shape of the traveling area of the to-be-traveled sub-path, it is determined that there is a travel with the to-be-traveled sub-path in the at least one occupied area. Occupied areas with overlapping areas;
    若所述至少一个已占据区域中不存在具有与所述待行驶子路径的行驶区域的形状相交的形状的已占据区域,确定所述至少一个已占据区域中不存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域。If there is no occupied area in the at least one occupied area that has a shape that intersects with the shape of the traveling area of the to-be-traveled sub-path, it is determined that there is no occupied area in the at least one occupied area that is identical to the to-be-traveled sub-path. The driving area has an overlapping portion of the occupied area.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, characterized in that the method further includes:
    当所述目标机器人行驶完所述目标待行驶子路径并且存在对应所述目标待行驶子路径的冲突机器人时,向所述冲突机器人发送唤醒指令,其中,所述冲突机器人由于所述目标待行驶子路径的行驶区域和冲突机器人的其他行驶路径的相应子路径的行驶区域有重叠部分而不能够占据所述相应子路径,所述唤醒指令用于触发所述冲突机器人确定所述其他行驶路径的至少一个待行驶子路径中是否存在所述冲突机器人能够占据的至少一个待行驶子路径。When the target robot completes the target to-be-traveled sub-path and there is a conflicting robot corresponding to the target to-be-traveled sub-path, a wake-up instruction is sent to the conflicting robot, wherein the conflicting robot is The driving area of the sub-path overlaps with the driving area of the corresponding sub-path of other driving paths of the conflicting robot and cannot occupy the corresponding sub-path. The wake-up instruction is used to trigger the conflicting robot to determine the location of the other driving path. Whether there is at least one to-be-traveled sub-path that the conflicting robot can occupy in the at least one to-be-traveled sub-path.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, further comprising:
    当从所述目标机器人接收指示所述目标机器人行驶完所述每一个目标待行驶子路径的指令并且存在所述行驶路径的至少一个待行驶子 路径时,由所述目标机器人确定存在的至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径。When an instruction is received from the target robot instructing the target robot to complete each of the target to-be-traveled sub-paths and there is at least one to-be-traveled sub-path of the travel path, When selecting a path, the target robot determines whether there is at least one sub-path to be traveled that the target robot can occupy among the at least one sub-path to be traveled.
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, further comprising:
    当检测到所述目标机器人行驶完每一个目标待行驶子路径并且存在所述行驶路径的至少一个待行驶子路径时,由所述目标机器人确定存在的至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径。When it is detected that the target robot has completed each target to-be-traveled sub-path and there is at least one to-be-traveled sub-path of the traveling path, the target robot determines whether the existing at least one to-be-traveled sub-path exists. At least one sub-path to be traveled that the target robot can occupy.
  8. 一种电子设备,包括:存储器、处理器及存储在存储器上的计算机程序,其特征在于,所述处理器执行所述计算机程序以实现权利要求1-7中任一项所述的方法。An electronic device includes: a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the method according to any one of claims 1-7.
  9. 一种计算机可读存储介质,其上存储有计算机程序/指令,其特征在于,该计算机程序/指令被处理器执行时实现权利要求1-7中任一项所述的方法。A computer-readable storage medium on which a computer program/instruction is stored, characterized in that when the computer program/instruction is executed by a processor, the method of any one of claims 1-7 is implemented.
  10. 一种计算机程序产品,包括计算机程序/指令,其特征在于,该计算机程序/指令被处理器执行时实现权利要求1-7中任一项所述的方法。 A computer program product, including a computer program/instruction, characterized in that when the computer program/instruction is executed by a processor, the method according to any one of claims 1-7 is implemented.
PCT/CN2023/093149 2022-07-29 2023-05-10 Robot control method, electronic device and storage medium WO2024021758A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210911177.1A CN115357017A (en) 2022-07-29 2022-07-29 Robot control method, electronic device, and storage medium
CN202210911177.1 2022-07-29

Publications (1)

Publication Number Publication Date
WO2024021758A1 true WO2024021758A1 (en) 2024-02-01

Family

ID=84032119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/093149 WO2024021758A1 (en) 2022-07-29 2023-05-10 Robot control method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115357017A (en)
WO (1) WO2024021758A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357017A (en) * 2022-07-29 2022-11-18 北京旷视机器人技术有限公司 Robot control method, electronic device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102865877A (en) * 2012-10-08 2013-01-09 无锡普智联科高新技术有限公司 Solution for multiple mobile robot path conflict based on dense storage regions
CN108268016A (en) * 2018-01-19 2018-07-10 广东美的智能机器人有限公司 The method for collision management and system of multiple mobile robot
CN109976350A (en) * 2019-04-15 2019-07-05 上海钛米机器人科技有限公司 Multirobot dispatching method, device, server and computer readable storage medium
CN110531773A (en) * 2019-09-12 2019-12-03 北京极智嘉科技有限公司 Robot path dispatching method, device, server and storage medium
CN113111296A (en) * 2019-12-24 2021-07-13 浙江吉利汽车研究院有限公司 Vehicle path planning method and device, electronic equipment and storage medium
US20220089372A1 (en) * 2015-02-26 2022-03-24 Crown Equipment Corporation Systems and methods for managing movement of materials handling vehicles
CN114675656A (en) * 2022-04-22 2022-06-28 上海快仓智能科技有限公司 Robot path planning method, device, equipment, storage medium and program product
CN114779778A (en) * 2022-04-25 2022-07-22 北京京东乾石科技有限公司 Method and device for controlling vehicle running, electronic equipment and storage medium
CN115357017A (en) * 2022-07-29 2022-11-18 北京旷视机器人技术有限公司 Robot control method, electronic device, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102865877A (en) * 2012-10-08 2013-01-09 无锡普智联科高新技术有限公司 Solution for multiple mobile robot path conflict based on dense storage regions
US20220089372A1 (en) * 2015-02-26 2022-03-24 Crown Equipment Corporation Systems and methods for managing movement of materials handling vehicles
CN108268016A (en) * 2018-01-19 2018-07-10 广东美的智能机器人有限公司 The method for collision management and system of multiple mobile robot
CN109976350A (en) * 2019-04-15 2019-07-05 上海钛米机器人科技有限公司 Multirobot dispatching method, device, server and computer readable storage medium
CN110531773A (en) * 2019-09-12 2019-12-03 北京极智嘉科技有限公司 Robot path dispatching method, device, server and storage medium
CN113111296A (en) * 2019-12-24 2021-07-13 浙江吉利汽车研究院有限公司 Vehicle path planning method and device, electronic equipment and storage medium
CN114675656A (en) * 2022-04-22 2022-06-28 上海快仓智能科技有限公司 Robot path planning method, device, equipment, storage medium and program product
CN114779778A (en) * 2022-04-25 2022-07-22 北京京东乾石科技有限公司 Method and device for controlling vehicle running, electronic equipment and storage medium
CN115357017A (en) * 2022-07-29 2022-11-18 北京旷视机器人技术有限公司 Robot control method, electronic device, and storage medium

Also Published As

Publication number Publication date
CN115357017A (en) 2022-11-18

Similar Documents

Publication Publication Date Title
JP6759512B2 (en) Warehouse layout optimization based on customizable goals
KR102171648B1 (en) Autonomous condensing of pallets of items in a warehouse
JP6757490B2 (en) Autonomous replacement of pallets of items in the warehouse
JP6025289B2 (en) Linked system of automated guided vehicle and inventory management system
US20200089237A1 (en) Zone engine for providing context-augmented map layer
JP6810772B2 (en) Receipt / shipment support system, receipt / shipment support method and automatic guided vehicle
WO2024021758A1 (en) Robot control method, electronic device and storage medium
JP6141782B2 (en) Method for updating map information in a linked system of automated guided vehicle and inventory management system
CN116101939A (en) Cargo handling method, unmanned forklift and storage medium
WO2022169772A1 (en) Automated unit load fulfillment methods and systems
WO2023226756A1 (en) Device scheduling method, electronic device, and storage medium
US10460137B1 (en) Dynamic RFID tag singulation using state information masking
CN115293680A (en) Warehouse management method, electronic device and storage medium
WO2023273731A1 (en) Obstacle avoidance method and apparatus, and automatic navigation apparatus
US20220162001A1 (en) Predicting a path of material handling equipment and determining an obstacle-free path
CN114399247A (en) Task allocation method, electronic device, storage medium, and computer program product
JP4791481B2 (en) Transport route determination device, transport route determination method, and transport route determination program
CN115345447A (en) Task management method, electronic device and storage medium
CN113807770A (en) Exception handling method and device in warehousing system
CN116472542A (en) Sequential adjustment for performing functions on items in an order
CN115115301A (en) Scheduling method, apparatus, medium, and program product for transport apparatus
US11720122B1 (en) Robotic vehicle navigaton system and method
US11625678B2 (en) Mobile and stationary cameras for identifying a storage location of an inventory item
KR20240003367A (en) Logistics management system using autonomous mobile robot equipped with rfid reader and method thereof
CN113075923B (en) Mobile carrier and state estimation and sensing fusion switching method thereof