A lamination path planning method, device, robot and storage medium
By acquiring and analyzing the coordinate information and images of obstacles and optimizing the laminating path, the problem of low efficiency of the laminating robot when encountering obstacles is solved and a more efficient laminating operation is achieved.
Patent Information
- Application Number
- CN202410323906.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-03-21
AI Technical Summary
Existing laminating robots need to detour and repeat the path when encountering obstacles, resulting in low laminating efficiency. How to plan the laminating path more rationally to improve efficiency.
By obtaining the coordinate information and images of the marked area, it is determined whether there are obstacles, and when there are no obstacles, the coordinates of the target point closest to the marked area are determined, and a temporary path is established to optimize the coating path and reduce repeated driving of the robot.
It effectively improves the coating efficiency, reduces the repetitive driving path of the robot, and ensures the consistency and effectiveness of the curing agent in the marked area and surrounding areas.
Smart Images

Figure CN117928520B
Abstract
Description
Technical Field
[0001] The present application relates to the field of concrete maintenance, and in particular to a coating path planning method, device, robot and storage medium. Background Art
[0002] At present, the construction steps of a building usually include pouring and vibrating concrete based on the built steel frame to construct the main body of the building's floor layer. Among them, after pouring, the concrete needs to be cured with a film curing agent to reduce the structural cracking of the main body of the floor layer caused by excessive evaporation of water.
[0003] In the related art, coating robots have gradually been used to coat the main body of the floor slab with concrete curing agents after pouring, which can effectively reduce and improve the efficiency of the operation. Usually, the coating robot starts from the starting point, coats based on a preset path, and returns to the starting point after the coating is completed. However, when encountering an obstacle in the coating area, the coating robot usually bypasses it directly, and after coating other areas and returning to the starting point, it coats the area with the obstacle. General obstacles may be construction workers or temporarily placed equipment. Usually, when it is found that obstacles affect the coating, these coating obstacles will be cleared in time; after returning to the starting point, the robot will coat the area to the obstacle again, which will require the robot to go through more repeated paths, affecting the efficiency of the coating.
[0004] Therefore, how to plan the laminating path more reasonably and improve the efficiency of laminating is an urgent problem to be solved. Summary of the invention
[0005] In order to improve the efficiency of lamination, the present application provides a lamination path planning method, device, robot and storage medium.
[0006] In a first aspect, the present application provides a lamination path planning method, which adopts the following technical solution:
[0007] A film laminating path planning method, comprising:
[0008] Acquire coordinate information of a marked area, where the marked area is an obstacle area marked on the coated path;
[0009] Acquire an image of the marked area based on the coordinate information of the marked area;
[0010] Determining whether there is an obstacle in the marked area based on the image of the marked area;
[0011] If it does not exist, determining an area adjacent to the marked area in the path to be coated, and determining the coordinates of the target point in the adjacent area with the shortest distance from the marked area;
[0012] Establishing a temporary path from the target point coordinates to the marking area and back, and when arriving at the target point coordinates, laminating along the temporary path to the marking area, wherein the laminating path includes a plurality of sub-areas arranged in sequence, the laminating path includes the sub-areas that have been laminarized and the marking area, and the path to be laminarized includes the sub-areas that have not been laminarized and are arranged in sequence;
[0013] Continue coating along the path to be coated starting from the target point coordinates.
[0014] By adopting the above technical solution, the laminating robot can verify whether there are still obstacles in the marked area where obstacles are determined to exist during the process of laminating on the path to be laminar, and when it is determined that there are no obstacles in the marked area, determine the coordinates of the target point closest to the marked area in the adjacent area of the marked area on the path to be laminar, and then establish a temporary area so that the laminating robot can temporarily travel to the marked area for laminating when it travels to the target point coordinates, and return to the target point coordinates to continue laminating along the path to be laminar. This can reduce the path that the robot repeatedly travels and effectively improve the overall laminating efficiency of the target space.
[0015] In a possible implementation manner, acquiring the image of the marked area based on the coordinate information of the marked area includes:
[0016] Get real-time coordinates;
[0017] Determine a steering angle of the camera device based on the real-time coordinates and the coordinate information of the marked area;
[0018] The camera device is controlled to rotate based on the steering angle and an image of the marked area is acquired.
[0019] In one possible implementation, determining whether an obstacle exists includes:
[0020] When laminating along the path to be laminarized, a target distance to a target object in the traveling direction is obtained, the target distance being obtained by an ultrasonic distance measuring device or an infrared distance measuring device, and the target object being a wall or an obstacle;
[0021] Obtaining real-time coordinates and the layout size of a target area, where the target area is the sub-area currently located;
[0022] Determine whether there is an obstacle on the path to be coated based on the real-time coordinates, the layout size of the target area, and the target distance.
[0023] In a possible implementation manner, determining the marked area includes:
[0024] After determining that there is an obstacle, obtaining real-time coordinates and obtaining an image of the obstacle;
[0025] Determining an impact range of the obstacle based on the image of the obstacle;
[0026] Based on the real-time coordinates and the influence range, a marking area is determined and coordinate information of the marking area is determined.
[0027] In a possible implementation, after determining that an obstacle exists, the method further includes:
[0028] Based on the image of the obstacle, determining the category of the obstacle, the category of the obstacle including human targets and non-human targets;
[0029] If the obstacle is a human target, generating first warning information to control the warning device to issue a warning;
[0030] If the obstacle is a non-human target, a second warning message is generated based on the coordinate information of the marked area and sent to a preset target device.
[0031] In a possible implementation manner, determining a coating path includes:
[0032] Acquire layout information of the sub-region to be coated in the target space, wherein the layout information includes the region type and layout size of the sub-region to be coated, and the sub-region to be coated does not include the sub-regions corresponding to the wall and the beam;
[0033] Establishing a coordinate system based on the layout information and determining a starting point for lamination;
[0034] Determine all sub-regions associated with the edge of the target space from the starting point as independent edge regions;
[0035] Determine a sub-region that is not associated with the edge of the target space as a central region, and determine a dependent region from adjacent regions of the central region, wherein the dependent region is an independent edge region with the largest contact width with the central region;
[0036] Merging the central area with the dependent area to obtain a merged edge area;
[0037] Taking each of the independent edge regions and each of the merged edge regions as a meta-region and sorting them according to the continuous direction of the edges to obtain an initial sorting result;
[0038] A coating path is determined based on the sorting result.
[0039] In a possible implementation, determining the coating path based on the sorting result includes:
[0040] Obtaining distribution information of the casting grids divided in each of the element regions, and obtaining edge coordinates of each of the casting grids;
[0041] Determine the coating sequence in the meta-region based on the casting grid distribution information, and determine the path corresponding to each meta-region based on the edge coordinates of each casting grid, so as to obtain the paths corresponding to each meta-region;
[0042] Acquire distribution information of a non-movable area, where the non-movable area at least includes sub-areas corresponding to an elevator shaft and stairs;
[0043] The coating path is determined based on the paths corresponding to the respective element areas and the distribution information of the immovable area.
[0044] In a second aspect, the present application provides a lamination path planning device, which adopts the following technical solution:
[0045] A film coating path planning device, comprising:
[0046] A first acquisition module is used to acquire coordinate information of a marked area, where the marked area is an obstacle area marked on the coated path;
[0047] A second acquisition module, configured to acquire an image of the marked area based on the coordinate information of the marked area;
[0048] An obstacle determination module, configured to determine whether there is an obstacle in the marked area based on the image of the marked area;
[0049] An adjacent area determination module, used to determine an adjacent area to be coated and the marked area, and to determine the coordinates of a target point in the adjacent area that is shortest in distance to the marked area;
[0050] A temporary path establishment module is used to establish a temporary path from the target point coordinates to the marked area and back, and when arriving at the target point coordinates, to coat the marked area along the temporary path, wherein the coating path includes a plurality of sub-areas arranged in sequence, the coated path is the sub-area that has been coated and the marked area, and the to-be-coated path is the sub-area that has not been coated and is arranged in sequence;
[0051] The relay module is used to continue laminating along the path to be laminarized from the target point coordinates.
[0052] By adopting the above technical solution, the laminating robot can verify whether there are still obstacles in the marked area where obstacles are determined to exist during the process of laminating on the path to be laminar, and when it is determined that there are no obstacles in the marked area, determine the coordinates of the target point closest to the marked area in the adjacent area of the marked area on the path to be laminar, and then establish a temporary area so that the laminating robot can temporarily travel to the marked area for laminating when it travels to the target point coordinates, and return to the target point coordinates to continue laminating along the path to be laminar. This can reduce the path that the robot repeatedly travels and effectively improve the overall laminating efficiency of the target space.
[0053] In a possible implementation manner, when the second acquisition module acquires the image of the marked area based on the coordinate information of the marked area, it is specifically used to:
[0054] Get real-time coordinates;
[0055] Determine a steering angle of the camera device based on the real-time coordinates and the coordinate information of the marked area;
[0056] The camera device is controlled to rotate based on the steering angle and an image of the marked area is acquired.
[0057] In a possible implementation, when determining whether an obstacle exists, the obstacle determination module is specifically used to:
[0058] When laminating along the path to be laminarized, a target distance to a target object in the traveling direction is obtained, the target distance being obtained by an ultrasonic distance measuring device or an infrared distance measuring device, and the target object being a wall or an obstacle;
[0059] Obtaining real-time coordinates and the layout size of a target area, where the target area is the sub-area currently located;
[0060] Determine whether there is an obstacle on the path to be coated based on the real-time coordinates, the layout size of the target area, and the target distance.
[0061] In a possible implementation, the lamination path planning device further includes a marking area determination module, and when determining the marking area, the marking area determination module is specifically used to:
[0062] After determining that there is an obstacle, obtaining real-time coordinates and obtaining an image of the obstacle;
[0063] Determining an impact range of the obstacle based on the image of the obstacle;
[0064] Based on the real-time coordinates and the influence range, a marking area is determined and coordinate information of the marking area is determined.
[0065] In a possible implementation, the lamination path planning device further includes:
[0066] An obstacle category determination module, used to determine the category of the obstacle based on the image of the obstacle, wherein the category of the obstacle includes a human target and a non-human target;
[0067] A first warning information generating module, used to generate first warning information to control the warning device to issue a warning;
[0068] The second warning information generating module is used to generate the second warning information based on the coordinate information of the marked area and send the second warning information to a preset target device.
[0069] In a possible implementation, the film coating path planning device further includes a film coating path determining module, and when determining the film coating path, the film coating path determining module is specifically configured to include:
[0070] Acquire layout information of the sub-region to be coated in the target space, wherein the layout information includes the region type and layout size of the sub-region to be coated, and the sub-region to be coated does not include the sub-regions corresponding to the wall and the beam;
[0071] Establishing a coordinate system based on the layout information and determining a starting point for lamination;
[0072] Determine all sub-regions associated with the edge of the target space from the starting point as independent edge regions;
[0073] Determine a sub-region that is not associated with the edge of the target space as a central region, and determine a dependent region from adjacent regions of the central region, wherein the dependent region is an independent edge region with the largest contact width with the central region;
[0074] Merging the central area with the dependent area to obtain a merged edge area;
[0075] Taking each of the independent edge regions and each of the merged edge regions as a meta-region and sorting them according to the continuous direction of the edges to obtain an initial sorting result;
[0076] A coating path is determined based on the sorting result.
[0077] In a possible implementation, when the laminating path determination module determines the laminating path based on the sorting result, it is specifically used to:
[0078] Obtaining distribution information of the casting grids divided in each of the element regions, and obtaining edge coordinates of each of the casting grids;
[0079] Determine the coating sequence in the meta-region based on the casting grid distribution information, and determine the path corresponding to each meta-region based on the edge coordinates of each casting grid, so as to obtain the paths corresponding to each meta-region;
[0080] Acquire distribution information of a non-movable area, where the non-movable area at least includes sub-areas corresponding to an elevator shaft and stairs;
[0081] The coating path is determined based on the paths corresponding to the respective element areas and the distribution information of the immovable area.
[0082] In a third aspect, the present application provides a robot, which adopts the following technical solution:
[0083] Photographic equipment capable of capturing images;
[0084] Distance measuring equipment capable of measuring the target distance to the target object along the direction of travel;
[0085] Warning equipment, capable of giving warnings;
[0086] A communication module capable of transmitting data and interacting with a preset target device;
[0087] It also includes a memory and at least one processor, and the photographing device, the distance measuring device, the warning device and the communication module can all exchange information with the at least one processor;
[0088] It also includes at least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the above-mentioned lamination path planning method.
[0089] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0090] A computer-readable storage medium includes: a computer program that can be loaded by a processor and execute the above-mentioned lamination path planning method.
[0091] In summary, the present application includes at least one of the following beneficial technical effects:
[0092] During the process of laminating on the path to be laminarized, the laminating robot can verify whether there are still obstacles in the marked area where obstacles are determined, and when it is determined that there are no obstacles in the marked area, it can determine the coordinates of the target point closest to the marked area in the area adjacent to the marked area on the path to be laminarized, and then establish a temporary area so that when the laminating robot travels to the target point coordinates, it can temporarily travel to the marked area for laminating, and return to the target point coordinates to continue laminating along the path to be laminarized. This can reduce the path that the robot repeatedly travels and effectively improve the laminating efficiency of the target space as a whole. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 It is a flowchart of a lamination path planning method in an embodiment of the present application;
[0094] Figure 2 is a schematic diagram of the structure of a film coating path planning device in an embodiment of the present application;
[0095] Figure 3 It is a schematic diagram of the structure of the robot in the embodiment of the present application. DETAILED DESCRIPTION
[0096] The following is combined with Figure 1 -Attached Figure 3 This application is described in further detail.
[0097] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.
[0098] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0099] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0100] The present application embodiment provides a lamination path planning method, which is performed by a robot for laminating, referring to Figure 1 ,The method includes steps S11 to S16, wherein:
[0101] Step S11, obtaining coordinate information of a marked area, where the marked area is an obstacle area marked on the coated path.
[0102] For the embodiment of the present application, the coating path includes a plurality of sub-areas arranged in order, the coated path is the sub-area and the marked area that have been coated, and the path to be coated is the sub-area arranged in order that has not been coated. Among them, a two-dimensional plane coordinate system of the target space is constructed in advance based on the layout information of the target space to be coated, and then the coordinates of the starting point and the end point of the coating path are set. And the coating robot is set to travel along the coating path at the starting point. Among them, the coating robot records the distance traveled in real time and determines the current real-time coordinates according to the steering angle. The marked area is an area on the coated path. The method of how to determine the marked area and the coordinate information of the marked area will be explained in detail in the subsequent embodiments.
[0103] Step S12, acquiring an image of the marked area based on the coordinate information of the marked area;
[0104] Step S13: determining whether there is an obstacle in the marked area based on the image of the marked area.
[0105] For the embodiment of the present application, the laminating robot carries a camera that can rotate 360 degrees axially. When taking pictures of the marked area, the laminating robot obtains real-time coordinates, and determines the steering angle of the camera based on the real-time coordinates and the coordinate information of the marked area, and then controls the camera to rotate based on the steering angle and obtains the image of the marked area. The laminating robot will issue corresponding warnings when determining each marked area. General obstacles may be construction workers or temporarily placed equipment. After receiving the corresponding warnings, the on-site personnel will usually clear these laminating obstacles in time. Therefore, it is necessary to obtain an image of the marked area after a preset time after the moment of determining the marked area. At this time, the image of the marked area is obtained again to further verify whether there are still obstacles in the marked area.
[0106] Step S14: if it does not exist, determine the adjacent area to the marked area in the path to be coated, and determine the coordinates of the target point in the adjacent area with the shortest distance to the marked area;
[0107] Step S15, establish a temporary path from the target point coordinates to the marked area and back, and when arriving at the target point coordinates, follow the temporary path to the marked area for lamination, wherein the lamination path includes multiple sub-areas arranged in sequence, the coated path is the sub-areas and the marked area that have been coated, and the path to be coated is the sub-areas arranged in sequence that have not been coated.
[0108] For the embodiment of the present application, how to verify that there are no obstacles in the marked area, the laminating robot determines the sub-area adjacent to the sub-area where the marked area is located on the laminating path as the adjacent area, and determines the coordinates of the target point in the adjacent area that is shortest to the marked area. Then a temporary path is established, which includes the outbound trajectory from the target point coordinates to the marked area and the return trajectory from the target area to the target point coordinates.
[0109] After determining the coordinates of the target point, based on the coordinates of the target point and the coordinate information of the marked area and the layout information of the target space, determine whether there is an inaccessible area on the straight path between the target point and the marked area, such as a load-bearing column and a ventilation shaft. If there is no inaccessible area, a temporary trajectory is established based on the coordinates of the target point and the coordinate information of the marked area. If there is an inaccessible area, a coordinate point is re-determined as a new target point on the path to be coated, and a temporary path between the target point and the marked area is established based on the coordinates of the new target point.
[0110] Step S16, continue laminating along the path to be laminarized from the target point coordinates.
[0111] After the laminating robot reaches the marked area along the temporary path, it laminates the marked area and then returns to its original position, and continues laminating along the path to be laminated.
[0112] In the scheme of the embodiment of the present application, the laminating robot can verify whether there are still obstacles in the marked area where obstacles are determined to exist during the process of laminating on the path to be laminar, and when it is determined that there are no obstacles in the marked area, determine the coordinates of the target point closest to the marked area in the adjacent area of the marked area on the path to be laminar, and then establish a temporary area so that the laminating robot can laminar along the temporary path to the marked area when it travels to the target point coordinates, and return to the target point coordinates to continue laminating along the path to be laminar. In this way, the robot can reduce the path of repeated travel and effectively improve the laminating efficiency of the target space as a whole.
[0113] In the related art, the coating robot completes the coating of the target space as a whole along the coating path and then returns to each marked area for coating. In addition to the fact that the coating robot needs to travel multiple repeated paths, since the marked area is coated with the curing agent later than the surrounding area, the drying and shaping effect of the curing agent is not consistent with the surrounding area, which will lead to a difference in the curing effect of the marked area and the curing effect of the area around the marked area. In the solution of the present application, since the marked area can be coated with the curing agent at an earlier time, the consistency of the coating curing agent of the marked area and the surrounding area is better, and the curing effect can be closer.
[0114] Further, when determining the lamination path, the process may specifically include step S01 (not shown in the figure) to step S07 (not shown in the figure), wherein:
[0115] Step S01, obtaining layout information of the sub-areas to be coated in the target space, the layout information including the area type and layout size of the sub-areas to be coated, and the sub-areas to be coated do not include the sub-areas corresponding to the walls and beams;
[0116] Step S02: establishing a coordinate system based on the layout information and determining a starting point for lamination.
[0117] Specifically, generally speaking, the main body of the floor slab of each floor of a building is poured with concrete, and only the main body of the floor slab (ground) needs to be covered with a film curing agent for maintenance. In the existing construction process, the general construction stage will be carried out in real time in conjunction with the BIM model of the building.
[0118] Specifically, the area division information of the target space is obtained based on the BIM model of the target space. The area division information includes multiple sub-areas divided according to area types, for example, bathroom areas, living room areas, wall areas, and bedroom areas marked during construction. Then, the sub-areas that do not need to be coated are deleted from the area division information, and the layout information of the areas to be coated in the target space is obtained. Among them, the sub-areas that do not need to be coated include sub-areas of set types, such as sub-areas corresponding to walls and sub-areas corresponding to beams and columns. Furthermore, the layout information of the sub-areas to be coated in the target space can also be extracted from the drawings input by the user.
[0119] A two-dimensional coordinate system is established based on the layout information, and the origin coordinates are specified. The starting point coordinates can be specified by the user, or the entrance and exit positions of the target space can be determined as the starting point based on the layout information.
[0120] Step S03, determining all sub-regions associated with the edge of the target space from the starting point as independent edge regions;
[0121] Step S04: determine the sub-region not associated with the edge of the target space as the central region, and determine the dependent region from the adjacent regions of the central region, where the dependent region is the independent edge region with the largest contact width with the central region;
[0122] Step S05: merge the central area and the dependent area to obtain a merged edge area.
[0123] Specifically, the outer wall or boundary line of the target space is the edge, and the edge line of the target space is determined in the coordinate system. The sub-area in contact with the edge line is marked as an independent edge area, and the sub-area not in contact with the edge area is marked as a central area. Among them, for each central area, the contact width of the independent edge area connected to the central area and the central area is determined, and then the adjacent area with the largest contact width is determined as the dependent area of the central area, and the central area and the dependent area are re-marked as a merged edge area.
[0124] Furthermore, if there are two dependent regions in a central region, the central region is segmented to obtain two temporary regions, wherein each temporary region is merged with the contacting dependent region to obtain a corresponding merged edge region.
[0125] Step S06: Treat each independent edge region and each merged edge region as a meta-region and sort them according to the continuous direction of the edges to obtain an initial sorting result.
[0126] The merged edge regions and the independent edge regions are sequentially sorted along a continuous direction of the edge line to obtain an initial sorting result, so as to complete the initial region division step of the target space.
[0127] Further, step S07, determining the coating path based on the sorting result, may specifically include: obtaining the distribution information of the casting grids divided in each meta-area, and obtaining the edge coordinates of each casting grid, and then determining the coating order in the meta-area based on the casting grid distribution information, and determining the path corresponding to each meta-area based on the edge coordinates of each casting grid, so as to obtain the paths corresponding to each meta-area, and then determining the coating path based on the paths corresponding to each meta-area.
[0128] When pouring the concrete of the main body of the floor slab, it is poured based on the grid composed of the pre-built steel frame. The overlap of the steel frame has strict specifications and is based on the construction drawings. There are relevant annotations in the corresponding BIM model or construction drawings. When establishing a coordinate system based on the layout information of the target space, the pouring grid is pre-connected and drawn, and the coordinates of the edge vertices for each pouring grid are determined as the edge coordinates. There are multiple pouring grids in each element area, and they are arranged regularly.
[0129] Specifically, the coating sequence in the element area is determined based on the distribution information of the casting grids. For the area where the starting point of the coating path is located, it is determined that each casting grid is passed in sequence from the starting point so that the path of the coating robot is the shortest, and the casting grid where the coating robot drives out of the element area is determined as the leaving grid. Starting from the subsequent element area, an entry grid and an exit grid of the original area are determined for each element area, and it is required that for two adjacent element areas, the exit grid of the element area ranked in front is adjacent to or in contact with the entry grid of the element area ranked in the back. At the same time, the order of the casting grids passed from the entry grid to the exit grid in each element area constitutes the path of the element area, and is enough to cover each grid in the element area, and the travel distance of the path is the shortest. The center point of each casting grid is taken as a point, and then the path of the element area is determined based on the shortest coating path planning algorithm.
[0130] Furthermore, after determining the paths corresponding to each meta-area, it is also necessary to consider that the meta-areas may pass through sub-areas that do not require coating and hollow areas that cannot be traveled, where the hollow areas can be sub-areas corresponding to the elevator shaft and sub-areas corresponding to the stairs. Then, the paths corresponding to each meta-area are connected to obtain the coating path for the target space. The coating path can pass through the non-sprayable area but the non-travelable hollow area needs to be excluded. Among them, the shortest coating path planning algorithm can adopt any one of the Dijkstra algorithm, the Bellman-Ford algorithm and the Floyd algorithm, which is not specifically limited in the embodiments of the present application.
[0131] It should be noted that when laminating each meta-region based on the established laminating path, since one meta-region includes at least one sub-region divided based on the region type, the thickness of the laminating is different when laminating in different sub-regions. Specifically, a mapping table of laminating thickness and region type can be pre-configured. When laminating along the laminating path, each time the robot travels to a sub-region, the region type of the current sub-region is obtained based on the current position of the robot, and then the mapping table of laminating thickness and region type is retrieved based on the region type to determine the laminating thickness of the current sub-region, and then the current sub-region is laminating according to the laminating path.
[0132] Furthermore, determining whether there are obstacles may specifically include: when laminating along the path to be laminar, obtaining a target distance from a target object in the direction of travel; obtaining real-time coordinates and a layout size of a target area, where the target area is a sub-area currently located; and determining whether there are obstacles on the path to be laminar based on the real-time coordinates, the layout size of the target area, and the target distance.
[0133] Furthermore, for all the meta-areas that can be coated, the ground height is also different. For example, the ground height of the meta-areas corresponding to the bathroom and kitchen is higher than the ground height of the meta-area corresponding to the living room. Therefore, when spray coating is carried out, the difference in ground height between different meta-areas should be considered to formulate the route so that the travel distance of the determined coating path is the shortest.
[0134] Furthermore, for the nozzle for spraying coating on the robot, a height adjustment device is provided on the robot, which can adjust the height of the nozzle from the ground, so as to realize adaptive adjustment of the height of the nozzle in different area types.
[0135] Specifically, a distance measuring module is provided on the laminating robot, and the target distance is measured by the distance measuring module. The distance measuring module may be an ultrasonic distance measuring device or an infrared distance measuring device. If there is no obstacle, the target object is a wall in the target space or an object in a non-laminated area. If there is an obstacle on the path to be laminated, the target object is a wall. For example, in the current direction of travel of the laminating robot, the distance from the wall in the current direction of travel is determined to be 3 meters based on the real-time coordinates of the current laminating robot, but the distance from the target object in the direction of travel measured by the distance measuring module is only 1 meter from the laminating robot. At this time, it can be determined that the target object is an obstacle.
[0136] Furthermore, determining the marked area may specifically include: after determining the existence of an obstacle, obtaining real-time coordinates, and obtaining an image of the obstacle, and based on the image of the obstacle, determining the influence range of the obstacle, and then determining the marked area based on the real-time coordinates and the influence range and determining the coordinate information of the marked area.
[0137] Specifically, the camera device is a device that can take structured light images. The laminating robot stops traveling at this time, and controls the camera device to take pictures in the direction of travel to obtain an image of the obstacle, and performs edge recognition and segmentation on the image of the obstacle to obtain an image of the obstacle area. Depth of field information is constructed based on the structured light parameters of the obstacle image, and the influence range of the obstacle is determined based on the depth of field information and the target distance of the obstacle from the laminating robot, and the edge coordinates corresponding to the influence range of the obstacle in the coordinate system are used as the coordinate information of the marked area.
[0138] Furthermore, based on the image of the obstacle, the category of the obstacle is determined, and the category of the obstacle includes human targets and non-human targets. If the obstacle is a human target, a first warning message is generated to control the warning device to warn; if the obstacle is a non-human target, a second warning message is generated based on the coordinate information of the marked area and sent to a preset target device.
[0139] Specifically, the laminating robot is provided with a warning device and a communication module. If the obstacle is a human target, a first warning message is generated to control the warning device to warn, so as to remind the human target. If the obstacle is a non-human target, a second warning message is generated based on the coordinate information of the marked area, and the generated second warning message is sent to the preset target device through the communication module. During actual lamination, the target device is generally carried by the relevant on-site management personnel. When the target device receives the second warning message, it can clear the obstacles in the marked area in time. Among them, the warning device can be a buzzer or a strobe light, which is not specifically limited in the embodiments of the present application. The communication module can be a 4G or 5G communication module.
[0140] The above-mentioned embodiment introduces a coating path planning method from the perspective of method flow, and the following embodiment introduces a coating path planning device from the perspective of a virtual module or a virtual unit. Please refer to the following embodiment for details.
[0141] The present application embodiment provides a coating path planning device, such as Figure 2 As shown, the device may specifically include a first acquisition module 201, a second acquisition module 202, an obstacle determination module 203, an adjacent area determination module 204, a temporary path establishment module 205 and a relay module 206, wherein:
[0142] The first acquisition module 201 is used to acquire coordinate information of a marked area, where the marked area is an obstacle area marked on the coated path;
[0143] A second acquisition module 202, configured to acquire an image of the marked area based on the coordinate information of the marked area;
[0144] An obstacle determination module 203 is used to determine whether there is an obstacle in the marked area based on the image of the marked area;
[0145] The adjacent region determination module 204 is used to determine the adjacent region of the path to be coated and the marked region, and determine the coordinates of the target point in the adjacent region that is the shortest distance from the marked region;
[0146] The temporary path establishment module 205 is used to establish a temporary path from the target point coordinates to the marked area and back, and when arriving at the target point coordinates, follow the temporary path to the marked area for lamination, wherein the lamination path includes a plurality of sub-areas arranged in sequence, the lamination path is the sub-areas and the marked area that have been lamination, and the path to be lamination is the sub-areas arranged in sequence that have not been lamination;
[0147] The relay module 206 is used to continue laminating along the path to be laminarized from the target point coordinates.
[0148] In a possible implementation, when the second acquisition module 202 acquires the image of the marked area based on the coordinate information of the marked area, it is specifically used to:
[0149] Get real-time coordinates;
[0150] Determine the steering angle of the camera device based on the real-time coordinates and the coordinate information of the marked area;
[0151] The camera device is controlled to rotate based on the steering angle and an image of the marked area is acquired.
[0152] In a possible implementation, when determining whether an obstacle exists, the obstacle determination module is specifically used to:
[0153] When laminating along the path to be laminarized, the target distance to the target object in the traveling direction is obtained, the target distance is obtained by an ultrasonic distance measuring device or an infrared distance measuring device, and the target object is a wall or an obstacle;
[0154] Get the real-time coordinates and layout size of the target area, where the target area is the current sub-area;
[0155] Determine whether there are obstacles on the path to be coated based on the real-time coordinates, the layout size of the target area, and the target distance.
[0156] In a possible implementation, the lamination path planning device further includes a marking area determination module, and when determining the marking area, the marking area determination module is specifically used to:
[0157] After determining that there is an obstacle, obtain the real-time coordinates and obtain an image of the obstacle;
[0158] Based on the image of the obstacle, determine the impact range of the obstacle;
[0159] Based on the real-time coordinates and the impact range, the marked area is determined and the coordinate information of the marked area is determined.
[0160] In a possible implementation, the lamination path planning device further includes:
[0161] An obstacle category determination module, used to determine the category of the obstacle based on the image of the obstacle, the category of the obstacle including human targets and non-human targets;
[0162] A first warning information generating module, used to generate first warning information to control the warning device to issue a warning;
[0163] The second warning information generating module is used to generate the second warning information based on the coordinate information of the marked area and send it to a preset target device.
[0164] In a possible implementation, the film coating path planning device further includes a film coating path determining module, and when determining the film coating path, the film coating path determining module is specifically configured to include:
[0165] Acquire layout information of the sub-region to be coated in the target space, the layout information including the region type and layout size of the sub-region to be coated, and the sub-region to be coated does not include the sub-regions corresponding to the walls and beams;
[0166] Establish a coordinate system based on the layout information and determine the starting point of the lamination;
[0167] All sub-regions associated with the edge of the target space from the starting point are determined as independent edge regions;
[0168] Determine a sub-region that is not associated with the edge of the target space as the central region, and determine a dependent region from adjacent regions of the central region, where the dependent region is an independent edge region with the largest contact width with the central region;
[0169] Merge the central region with the dependent region to obtain a merged edge region;
[0170] Each independent edge region and each merged edge region is regarded as a meta-region and is sorted according to the continuous direction of the edge to obtain an initial sorting result;
[0171] The coating path is determined based on the sorting results.
[0172] In a possible implementation, when the laminating path determination module determines the laminating path based on the sorting result, it is specifically used to:
[0173] Obtain the distribution information of the casting grids divided in each element area, and obtain the edge coordinates of each casting grid;
[0174] Determine the coating order in the element area based on the casting grid distribution information, and determine the path corresponding to each element area based on the edge coordinates of each casting grid to obtain the path corresponding to each element area;
[0175] Obtaining distribution information of a non-movable area, where the non-movable area at least includes sub-areas corresponding to the elevator shaft and the stairs;
[0176] The lamination path is determined based on the paths corresponding to the respective meta-regions and the distribution information of the immovable region.
[0177] The embodiment of the present application provides a robot 300, which specifically includes:
[0178] A camera device 301 capable of capturing images;
[0179] A distance measuring device 302 capable of measuring a target distance from a target object along a traveling direction;
[0180] Alert device 303, capable of providing an alert;
[0181] Communication module 304, capable of transmitting data and interacting with a preset target device;
[0182] It also includes a memory 305 and at least one processor 306, and the camera device 301, the distance measuring device 302, the warning device 303 and the communication module 304 can all exchange information with the at least one processor 306;
[0183] It also includes at least one application, wherein the at least one application is stored in the memory 305 and is configured to be executed by the at least one processor 306, and the at least one application is configured to be used for: the coating path planning method in the above method embodiment.
[0184] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.
[0185] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0186] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A lamination path planning method, characterized in that: Executed by a robot, the method includes: Acquire coordinate information of a marked area, where the marked area is an obstacle area marked on the coated path; Acquire an image of the marked area based on the coordinate information of the marked area; determining whether there is an obstacle in the marked area based on the image of the marked area; If it does not exist, determining an area adjacent to the marked area in the path to be coated, and determining the coordinates of the target point in the adjacent area with the shortest distance from the marked area; Establishing a temporary path from the target point coordinates to the marking area and back, and when arriving at the target point coordinates, laminating along the temporary path to the marking area, wherein the laminating path includes a plurality of sub-areas arranged in sequence, the laminating path includes the sub-areas that have been laminarized and the marking area, and the path to be laminarized includes the sub-areas that have not been laminarized and are arranged in sequence; Continue coating along the path to be coated starting from the target point coordinates.
2. A coating path planning method according to claim 1, characterized in that: The acquiring the image of the marked area based on the coordinate information of the marked area includes: Get real-time coordinates; Determine a steering angle of the camera device based on the real-time coordinates and the coordinate information of the marked area; The camera device is controlled to rotate based on the steering angle and an image of the marked area is acquired.
3. A coating path planning method according to claim 1, characterized in that: Determine if there are any obstructions, including: When laminating along the path to be laminarized, a target distance to a target object in the traveling direction is obtained, the target distance being obtained by an ultrasonic distance measuring device or an infrared distance measuring device, and the target object being a wall or an obstacle; Obtaining real-time coordinates and the layout size of a target area, where the target area is the sub-area currently located; Determine whether there is an obstacle on the path to be coated based on the real-time coordinates, the layout size of the target area, and the target distance.
4. A coating path planning method according to claim 3, characterized in that: Identify the marked area, including: After determining that there is an obstacle, obtaining real-time coordinates and obtaining an image of the obstacle; Determining an impact range of the obstacle based on the image of the obstacle; Based on the real-time coordinates and the influence range, a marking area is determined and coordinate information of the marking area is determined.
5. A coating path planning method according to claim 4, characterized in that: After determining the existence of obstacles, it also includes: Based on the image of the obstacle, determining the category of the obstacle, the category of the obstacle including human targets and non-human targets; If the obstacle is a human target, generating first warning information to control the warning device to issue a warning; If the obstacle is a non-human target, a second warning message is generated based on the coordinate information of the marked area and sent to a preset target device.
6. A coating path planning method according to claim 1, characterized in that: Determine the lamination path, including: Acquire layout information of the sub-region to be coated in the target space, wherein the layout information includes the region type and layout size of the sub-region to be coated, and the sub-region to be coated does not include the sub-regions corresponding to the wall and the beam; Establishing a coordinate system based on the layout information and determining a starting point for lamination; Determine all sub-regions associated with the edge of the target space from the starting point as independent edge regions; Determine a sub-region that is not associated with the edge of the target space as a central region, and determine a dependent region from adjacent regions of the central region, wherein the dependent region is an independent edge region with the largest contact width with the central region; Merging the central area with the dependent area to obtain a merged edge area; Taking each of the independent edge regions and each of the merged edge regions as a meta-region and sorting them according to the continuous direction of the edges to obtain an initial sorting result; A coating path is determined based on the sorting result.
7. A coating path planning method according to claim 6, characterized in that: The step of determining the lamination path based on the sorting result includes: Obtaining distribution information of the casting grids divided in each of the element regions, and obtaining edge coordinates of each of the casting grids; Determine the coating sequence in the meta-region based on the casting grid distribution information, and determine the path corresponding to each meta-region based on the edge coordinates of each casting grid, so as to obtain the paths corresponding to each meta-region; Acquire distribution information of a non-movable area, where the non-movable area at least includes sub-areas corresponding to an elevator shaft and stairs; The coating path is determined based on the paths corresponding to the respective element areas and the distribution information of the immovable area.
8. A lamination path planning device, characterized in that: include: A first acquisition module is used to acquire coordinate information of a marked area, where the marked area is an obstacle area marked on the coated path; A second acquisition module, configured to acquire an image of the marked area based on the coordinate information of the marked area; An obstacle determination module is used to determine whether there is an obstacle in the marked area based on the image of the marked area; An adjacent region determination module, used to determine an adjacent region to be coated and the marked region, and to determine the coordinates of a target point in the adjacent region that is shortest in distance from the marked region; A temporary path establishment module is used to establish a temporary path from the target point coordinates to the marking area and back, and when arriving at the target point coordinates, to coat the marking area along the temporary path, wherein the coating path includes a plurality of sub-areas arranged in sequence, the coated path is the sub-area that has been coated and the marking area, and the to-be-coated path is the sub-area that has not been coated and is arranged in sequence; The relay module is used to continue laminating along the path to be laminarized from the target point coordinates.
9. A robot, characterized in that: The robot includes: Photographic equipment capable of capturing images; Distance measuring equipment capable of measuring the target distance to the target object along the direction of travel; Warning equipment, capable of giving warnings; A communication module capable of transmitting data and interacting with a preset target device; It also includes a memory and at least one processor, and the photographing device, the distance measuring device, the warning device and the communication module can all exchange information with the at least one processor; It also includes at least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the coating path planning method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: include: A computer program is stored which can be loaded by a processor and execute the lamination path planning method as described in any one of claims 1 to 7.
