WO2022048248A1 - Method and apparatus for generating joint polishing path, and robot and storage medium - Google Patents

Method and apparatus for generating joint polishing path, and robot and storage medium Download PDF

Info

Publication number
WO2022048248A1
WO2022048248A1 PCT/CN2021/101178 CN2021101178W WO2022048248A1 WO 2022048248 A1 WO2022048248 A1 WO 2022048248A1 CN 2021101178 W CN2021101178 W CN 2021101178W WO 2022048248 A1 WO2022048248 A1 WO 2022048248A1
Authority
WO
WIPO (PCT)
Prior art keywords
seam
polished
grinding
range
coordinate information
Prior art date
Application number
PCT/CN2021/101178
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 WO2022048248A1 publication Critical patent/WO2022048248A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem

Definitions

  • the embodiments of the present application relate to industrial automation technologies, for example, to a method, device, robot, and storage medium for generating a seam grinding path.
  • Robots have the advantages of being flexible, reliable and accurate, and more and more construction sites use robots to polish the walls or ceilings of buildings. For example, after the concrete formwork is removed, there will be multiple explosion points on the ceiling, concentrated in the joint position. The concrete ceiling grinding robot needs to grind the joint explosion point position.
  • the operation method of concrete joint grinding is to carry out the operation while walking by measuring the identification data of the robot. If the measuring robot has passed the inspection, and most of the inspection joints are not on the formwork, if the concrete ceiling grinding robot is working while walking, if there is a 1mm joint. The seam will also be polished, resulting in more than 80% of invalid operation points, which seriously affects the operation efficiency of the measuring robot.
  • the present application provides a method, a device, a robot and a storage medium for generating a seam grinding path, so as to avoid robot over-inspection, optimize the grinding path, and improve the seam grinding efficiency.
  • the present application provides a method for generating a seam grinding path, including:
  • the coordinate information of the at least one seam to be polished in the preset direction within the preset position range is processed. Adjustment;
  • a grinding range is generated based on the effective grinding seam, and a target operation route of the effective grinding seam is generated according to the grinding range and the set motion planning model.
  • the present application also provides a device for generating a seam grinding path, comprising:
  • the module for obtaining the seam to be polished which is set to obtain at least one seam to be polished
  • the adjustment module for the coordinate information of the seam to be polished is configured to, for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, adjust at least one seam to be polished within a preset position range Adjust the coordinate information of the seam in the preset direction;
  • the effective grinding seam determination module is set to determine the effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and the aggregate length threshold;
  • the target operation route generation module is configured to generate a grinding range based on the effective grinding joint, and generate a target operation route for the effective grinding joint according to the grinding range and the set motion planning model.
  • the present application also provides a robot, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the first aspect when the processor executes the computer program
  • a robot including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the first aspect when the processor executes the computer program
  • the present application further provides a storage medium containing computer-executable instructions, the computer-executable instructions, when executed by a computer processor, implement the method for generating a seam polishing path according to the first aspect.
  • FIG. 1 is a schematic flowchart of a method for generating a seam grinding path according to Embodiment 1 of the present application;
  • Fig. 2 is the schematic diagram before the coordinate adjustment of the horizontal seam to be polished provided by the first embodiment of the application;
  • Fig. 3 is the schematic diagram after adjustment of the coordinates of the horizontal seam to be polished provided in Embodiment 1 of the present application;
  • FIG. 4 is a schematic logical diagram of a method for generating a seam grinding path according to Embodiment 1 of the present application;
  • FIG. 5 is a schematic flowchart of a method for generating a seam grinding path according to Embodiment 2 of the present application.
  • FIG. 6 is a schematic diagram of the division of the grinding operation line and its operation site provided by the second embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a device for generating a seam grinding path according to Embodiment 3 of the present application.
  • FIG. 8 is a schematic structural diagram of a robot according to Embodiment 4 of the present application.
  • FIG. 1 is a schematic flowchart of a method for generating a seam grinding path provided in Embodiment 1 of the present application. This embodiment is applicable to the situation where a target operation route is generated under the condition that the over-inspection of the measuring robot is avoided.
  • a seam grinding path generation device is implemented, wherein the device can be implemented in software and/or hardware and is generally integrated in the robot. Referring to FIG. 1 , the method may include steps S110 to S140.
  • the robot will screen out the joints to be polished from the multiple burst points according to the grinding accuracy.
  • BIM Building Information Modeling, Building Information Modeling
  • the seam of the building to be polished may be measured, and the seam with a length of the seam greater than the grinding precision is determined as the seam to be polished, wherein the grinding accuracy may be 1 mm or 2 mm.
  • the seams to be polished may be divided according to the location of the rooms of the building to be polished.
  • the seaming direction includes transverse and longitudinal directions.
  • a coordinate system may be established on the BIM, and the coordinate information of the to-be-polished seam in the coordinate system is determined according to the length of the to-be-polished seam, where the coordinate information is the coordinate range of the to-be-polished seam.
  • a horizontal set of seams to be polished and a vertical set of seams to be polished can be generated according to the direction of the seams, and the coordinate range of at least one seam to be polished can be determined according to the lengths of the seams to be polished in the two sets respectively.
  • the horizontal set of seams to be polished A ⁇ A 1 A 2 ... A n ⁇
  • the set of longitudinal seams to be polished B ⁇ B 1 B 2 ... B n ⁇
  • determine the origin of the coordinate system according to the origin of the coordinate system, the length of at least one horizontal seam to be polished and the length of at least one longitudinal seam to be polished, determine at least one horizontal seam to be polished in set A and The coordinate range of at least one longitudinal seam to be polished in set B in this coordinate system.
  • an and a' n in An represent the two end points of the horizontal joint to be polished respectively, and the length of the horizontal joint to be polished is
  • , b in B n n and b′ n respectively represent the two end points of the longitudinal seam to be polished, and the length of the seam of the longitudinal seam to be polished is
  • the larger the value of a' n the more marked first; when the value of a' n is the same, the smaller the value of bn , the more marked first;
  • the set B of the seams to be polished is selected, the larger the value of b' n , the more marked first, and when the value of b' n is the same, the smaller the value of a n is, the more marked first.
  • the coordinate range of at least one seam to be polished according to the coordinate value of at least one seam to be polished. For example, if the coordinate information of the seam to be polished within the preset position range is different, adjust the horizontal direction of the seam to be polished with a non-maximum seam length according to the coordinate information of the seam to be polished with the largest seam length within the preset position range Coordinate information or longitudinal coordinate information; for another example, if at least two seams to be polished overlap, merge the horizontal coordinate information or longitudinal coordinate information of the overlapping at least two seams to be polished, and merge the merged seams to be polished. In this way, many seams to be polished can be avoided by mistake when determining effective polishing seams, and a reliable grinding range can be determined to generate a reliable target operation path.
  • the preset position range may be determined according to the upward ⁇ mm to the downward ⁇ mm of the unadjusted seam to be polished, and the ⁇ may be set according to experience, for example, 1 mm, 2 mm or other data.
  • the position information of the seam divides the seams to be polished in the same seaming direction to obtain at least one horizontal to-be-adjusted range and at least one longitudinal to-be-adjusted range.
  • Exemplary may be: for at least one of the seams to be polished in the same seam direction, determine the second seam to be polished with the largest seam length among the seams to be polished that have not been adjusted; based on the second seam to be polished The coordinate information of the seam, and the position information of at least one seam to be polished that has not been adjusted, determine that the length of at least one seam within the preset position range of the second seam to be polished is not the maximum (except for the second seam). To-be-sanded patchwork (outside of to-be-sanded patchwork).
  • the coordinate information of the to-be-polished seams in the same horizontal to-be-adjusted range or the same vertical to-be-adjusted range can be regulated, which can ensure the orderly execution of the coordinate information adjustment operation, improve the coordinate information adjustment efficiency, and at the same time correct the visual
  • the problem of identification accuracy leads to the problem of differences in the coordinate information of the seams to be polished, so as to avoid mistakenly deleting many effective seams to be polished when determining effective seams to be polished later.
  • the seam to be polished with a non-maximum length is regarded as the same range to be adjusted, which facilitates the subsequent adjustment of coordinate information for the seam to be polished in the same range to be adjusted.
  • Fig. 2 is a schematic diagram of the horizontal seam to be polished before the coordinates are adjusted.
  • P 1 , P 2 and P 3 in Fig. 2 can all be used as the second seam to be polished, and P 5 and P 7 are the preliminaries of P 1 .
  • Set the seam to be polished with a non-maximum seam length within the position range P 6 and P 8 are the seam to be polished with a non-maximum seam length within the preset position range of P 2
  • P 4 is the preset of P 3 If the seam length within the position range is not the largest to be polished, then P 1 , P 5 and P 7 are divided into the same horizontal range to be adjusted, P 2 , P 6 and P 8 are divided into the same horizontal range to be adjusted, P 3 and P 4 are divided into the same horizontal range to be adjusted.
  • a new seam length can be determined according to the adjusted coordinate information of the seam to be polished, and the new seam length is combined with the summary
  • the length threshold is compared, and the effective grinding seam is determined according to the comparison result.
  • the method for determining the effective polished seam may be: determining the sum of the seam lengths of the seam to be polished in the same seam direction within the preset position range; if the sum of the seam lengths is greater than or equal to the aggregated length threshold, at least one patchwork to be polished whose sum of the lengths of the patchwork is greater than or equal to the aggregated length threshold value is used as a valid trimming patch.
  • the sum of the seam lengths is determined according to the adjusted coordinate information of the seam to be polished.
  • each seam to be polished whose sum of the seam lengths is less than the summary length threshold is regarded as an invalid polished seam, and the invalid polished seam is put together. seam deletion.
  • the aggregate length threshold may be determined according to the grinding accuracy. For example, when the grinding accuracy is 2 mm, the aggregate length threshold may be 5 cm, and when the grinding accuracy is 1 mm, the aggregate length threshold may be 10 cm.
  • Figure 3 is a schematic diagram of the horizontal seam to be polished after the coordinates are adjusted.
  • the sum of the seam lengths of P 1 , P 5 and P 7 in Figure 3 is compared with the summary length threshold, if The sum of the seam lengths of P 1 , P 5 and P 7 is greater than or equal to the summary length threshold, and P 1 , P 5 and P 7 are regarded as valid sanding seams, if the sum of the seam lengths of P 1 , P 5 and P 7 If the sum is less than the summary length threshold, P 1 , P 5 and P 7 are regarded as invalid grinding joints, and invalid grinding joints are regarded as over-checked joints and deleted to prevent invalid operation routes from being generated according to invalid grinding joints.
  • a grinding range is generated based on the effective grinding seam, and a target operation route for effectively grinding the seam is generated according to the grinding range and the set motion planning model.
  • the grinding work line can be determined according to the effective grinding joints, the grinding range can be determined directly according to the minimum coordinate value and the maximum coordinate value of the two end points of the grinding work line, and the effective grinding work can be generated according to the grinding range and the set motion planning model.
  • the measuring robot itself has a positioning error.
  • the grinding operation line can be determined according to the minimum and maximum coordinate values of the effective grinding seam within the preset position range. , and determine the grinding range according to the grinding operation line and the size of the grinding disc, and generate the target grinding route according to the grinding range and the set motion planning model.
  • the positioning error of the measuring robot may be 2 cm.
  • the horizontal grinding operation line is determined, and the horizontal grinding operation line is determined according to the horizontal grinding operation line and the size of the grinding disc of the measuring robot.
  • the target operation route is determined according to the horizontal grinding range and the set motion planning model.
  • the technical solution provided in this embodiment is to obtain at least one seam to be polished, and for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, at least one seam to be polished within a preset position range is Adjusting the coordinate information of the grinding seam in a preset direction, determining an effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and a summary length threshold, and generating a grinding range based on the effective grinding seam, According to the grinding range and the set motion planning model, a target operation route for effectively grinding joints is generated. It solves the problem of low operation efficiency caused by over-checking of robots in the related art.
  • FIG. 5 is a schematic flowchart of a method for generating a seam grinding path according to Embodiment 2 of the present application.
  • the seaming direction includes horizontal and vertical directions;
  • the preset direction is the vertical direction of the seaming direction;
  • Adjusting the coordinate information includes one of the following: adjusting the longitudinal coordinate value of at least one horizontal seam to be polished within the preset position range; adjusting the horizontal coordinate of at least one longitudinal seam to be polished within the preset position range value to adjust.
  • the method of this embodiment may include steps S210 to S240.
  • S220 for at least one seam to be polished in the same seam direction, perform one of the following: adjust the longitudinal coordinate value of at least one horizontal seam to be polished within a preset position range; Adjust the horizontal coordinate value of a longitudinal seam to be polished.
  • the seaming direction includes transverse direction and longitudinal direction
  • the preset direction is the vertical direction of the seaming direction.
  • at least one seam to be polished in the same seam direction based on the coordinate information of at least one seam to be polished, at least one seam to be polished within a preset position range is placed in a preset direction.
  • the method for adjusting the coordinate information is as follows: for a seam to be polished in any seam direction, based on the coordinate information of at least one seam to be polished and the seam length of at least one seam to be polished, determine the seam within a preset position range.
  • the first to-be-polished seam with the largest seam length based on the coordinate value of the first to-be-polished seam in the preset direction, adjust other to-be-polished seams (that is, other than the first to-be-polished seam) within the preset position range. ) is the coordinate value in the preset direction.
  • the first seam to be polished is determined.
  • the longitudinal coordinate value of the first seam to be polished is adjusted to the longitudinal coordinate of the first seam to be polished. value; if the seam direction is vertical and the preset direction is horizontal, the vertical seam to be polished with the longest seam length within the preset position range is taken as the first seam to be polished, and the first seam to be polished is determined.
  • the horizontal coordinate value of at least one longitudinal to-be-polished seam with a non-maximum seam length within the preset position range of the first to-be-polished seam is adjusted to the horizontal coordinate value of the first to-be-polished seam.
  • P 1 , P 5 and P 7 are the same horizontal to-be-adjusted range, and within the horizontal to-be-adjusted range, P 1 has the longest seam length, and the P 1 is used as the first seam to be polished and the longitudinal coordinate value of P 1 is determined. Within the horizontal to-be-adjusted range of P 1 , the longitudinal coordinate values of P 5 and P 7 are adjusted to the longitudinal coordinate value of P 1 to complete the same Adjust the vertical coordinate value within the horizontal to-be-adjusted range.
  • a seam to be polished in any seam direction different seams to be adjusted may overlap.
  • the coordinate information of the seam to be adjusted that overlaps in any seam direction can be processed. Adjustment.
  • at least one seam to be polished in the same seam direction based on the coordinate information of at least one seam to be polished, at least one seam to be polished within a preset position range is placed in a preset direction.
  • Adjusting the coordinate information according to the coordinate information also includes: for the seam to be polished in any seam direction, if at least two seams to be polished overlap within the preset position range, at least two seams to be polished that overlap will be assembled together
  • the coordinate information in the seam direction is merged to generate a merged seam to be polished, and the merged seam to be polished is regarded as an invalid seam to be polished, wherein the coordinate information of the seam to be polished is the coordinate range.
  • the seam direction is horizontal and the preset direction is vertical
  • determine the horizontal coordinate range and seam length of the overlapping seams to be polished The seam to be polished with a smaller seam length is merged by the seam to be polished with a larger seam length, and the horizontal coordinate range of the merged seam to be polished is determined according to the horizontal coordinate range of the overlapping seam to be polished, and at the same time Set the horizontal coordinate range of the seam to be polished with a smaller seam length to 0, that is, delete the seam to be polished with a smaller seam length; if the seam direction is vertical, the preset direction is horizontal, if the preset position range At least two of the seams to be polished overlap, and the longitudinal coordinate range and length of the overlapping seams to be polished are determined.
  • the seam to be polished with a smaller seam length is sewn together by the seam to be polished with a larger seam length. , and determine the longitudinal coordinate range of the merged seam to be polished according to the longitudinal coordinate range of the overlapping seam to be polished, and set the longitudinal coordinate range of the seam to be polished with a smaller seam length to 0, that is, the seam
  • the smaller length of the seam to be polished is deleted.
  • a grinding range is generated based on the effective grinding seam, and a target operation route for effectively grinding the seam is generated according to the grinding range and the set motion planning model.
  • the grinding line can be determined according to the minimum coordinate value and the maximum coordinate value in the new coordinate range of the effective grinding seam
  • the grinding range can be determined according to the grinding line and the grinding disc size of the grinding robot
  • the grinding range can be determined according to the grinding range and Set the motion planning model to generate the target operation route.
  • sorting can be based on the length of the sanding line.
  • the grinding operation line with the longest length is preferentially selected to determine the grinding range and divide the operation site.
  • the method for generating a grinding range includes: taking an effective grinding joint as an operation center, determining the number of joints to be ground in a specific range from the operation center, wherein the specific range includes the maximum distance from the operation center.
  • the distance is half of the size of the grinding disc and the range is composed of the areas on both sides of the operation center and the maximum distance from the work center is the range of the area of the grinding disc size and located on one side of the work center; according to the number of seams
  • the grinding range is generated from the coordinate information of the effective grinding seam within the maximum specific range and the specific range.
  • FIG. 6 is a schematic diagram of the division of the grinding line and its operating position.
  • a 1 >A 2 A 3 , then the number of seams is selected to be the upper and lower parts of A 1
  • the coordinate information of the effective grinding seam within the range of the vertical line at S1 and S2 at both ends of Z 1 according to the coordinate information and the upper and lower Generate a horizontal grinding range and a vertical grinding range, the horizontal grinding range is x min to x max , x min and x max are the abscissas of the two endpoints of Z n respectively, and the longitudinal grinding range includes to y n to
  • the generation method of the target operation route is: according to the coordinate information of the effective grinding seam within the grinding range, determine the constraint condition of the set motion planning model;
  • the set motion planning model is operated to obtain the target operation route.
  • V represents the set of values of n in the Sn node
  • Sn represents the operation starting point and operation end point within the grinding range
  • l ⁇ represents the distance value between node S ⁇ and node S ⁇
  • ⁇ and ⁇ are both from Select the number of nodes in the V set
  • Joint constraints (1) and (2) indicate that the distance between any two nodes is calculated only once
  • L ⁇ +1 x ⁇ +1 represents the distance between S ⁇ node and S ⁇ +1 node
  • L ⁇ +1 ⁇ x ⁇ +1 ⁇ represents the distance between S ⁇ +1 node and S ⁇ node
  • constraint (3) means that no sub-loop solution is generated within the grinding range
  • constraint (4) means that the operation line within the grinding range is an odd-numbered point S ⁇ and an even-numbered point S ⁇ +1 , ensuring that each operation point is sanded.
  • the technical solution provided by this embodiment is to adjust the longitudinal coordinate value of at least one horizontal seam to be polished within a preset position range, or adjust the transverse coordinate of at least one longitudinal seam to be polished within the preset position range Adjusting the value of the coordinate information can ensure the orderly execution of the adjustment operation of the coordinate information, improve the adjustment efficiency of the coordinate information, and at the same time correct the difference in the coordinate information of the seam to be polished due to the problem of visual recognition accuracy, so as to avoid the subsequent determination of the effective polishing seam.
  • many effective seams to be polished can be deleted; by generating the grinding range based on the coordinate information of the effectively polished seams and the size of the grinding disc, the problem of inaccurate grinding range caused by the positioning error of the measuring robot can be avoided.
  • FIG. 7 is a schematic structural diagram of a device for generating a seam grinding path according to Embodiment 3 of the present application. As shown in FIG. 7 , the device includes: an acquisition module 310 for seams to be polished, a coordinate information adjustment module 320 for seams to be polished, a determination module 330 for effectively polished seams, and a target operation route generation module 340 .
  • the to-be-polished seam acquisition module 310 is configured to acquire at least one to-be-polished seam
  • the coordinate information adjustment module 320 of the seam to be polished is configured to, for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, adjust at least one seam to be polished within the preset position range. Adjust the coordinate value of the grinding seam in the preset direction;
  • the effective grinding seam determination module 330 is configured to determine the effective grinding seam based on the adjusted coordinate information of at least one to-be-polished seam and the summary length threshold;
  • the target operation route generation module 340 is configured to generate a grinding range based on the effective grinding joint, and generate a target operation route for the effective grinding joint according to the grinding range and the set motion planning model.
  • the seaming direction includes horizontal and vertical directions; the preset direction is the vertical direction of the seaming direction; the coordinate information adjustment module 320 of the seam to be polished is set to adjust at least the seam within the preset position range.
  • the coordinate information adjustment module 320 of the seam to be polished is configured to, for the seam to be polished in any seam direction, based on the coordinate information of at least one seam to be polished and the seam length of at least one seam to be polished , determine the first seam to be polished with the largest seam length within the preset position range;
  • the coordinate information adjustment module 320 of the seam to be polished is set so that, for the seam to be polished in any direction of the seam, if at least two seams to be polished overlap within the preset position range, at least two overlapping seams will occur.
  • the coordinate information of the seam to be polished in the direction of any seam is merged to generate a merged seam to be polished, and the merged seam to be polished is regarded as an invalid seam to be polished, wherein the seam to be polished is
  • the coordinate information of the grinding seam is the coordinate range.
  • the device further includes: a lateral to-be-adjusted range determination module; wherein, the lateral to-be-adjusted range determination module is configured to, for at least one of the to-be-polished seams in the same seam direction, determine the seam in the to-be-polished seam that has not been adjusted. The second longest seam to be polished;
  • the second to-be-polished seam is determined based on the coordinate information of the second to-be-polished seam and the position information of at least one of the at least one to-be-polished seam in the same seam direction that has not been adjusted.
  • the length of at least one seam within the preset position range of the seam is the seam to be polished except the second seam to be polished.
  • the effective polishing seam determination module 330 is configured to determine the sum of the seam lengths of the seam to be polished in the same seam direction within the preset position range;
  • At least one to-be-sanded seam whose sum of the seam lengths is greater than or equal to the aggregated length threshold is used as a valid sanded seam.
  • the device further includes: an invalid sanding seam deletion module; wherein, the invalid sanding seam deletion module is set to, if the sum of the lengths of the seams is less than the summed length threshold, the sum of the lengths of the seams is smaller than the summed length threshold.
  • an invalid sanding seam deletion module is set to, if the sum of the lengths of the seams is less than the summed length threshold, the sum of the lengths of the seams is smaller than the summed length threshold.
  • the target operation route generation module 340 is configured to, with the effective grinding seam as the operation center, determine the number of seams to be polished within a specific range from the operation center, wherein the specific range includes the distance from the operation center.
  • the maximum distance from the center is half the size of the grinding disc and is composed of the area on both sides of the operation center, and the maximum distance from the work center is the size of the grinding disc and is located on one side of the operation center. range;
  • the grinding range is generated according to the coordinate information of the effective grinding seam in a specific range with the largest number of seams and the specific range.
  • the target operation route generation module 340 is configured to, according to the coordinate information of the effective grinding joints within the grinding range, determine the constraints of the set motion planning model;
  • the set motion planning model is operated to obtain the target operation route.
  • the expression for setting the motion planning model is:
  • V represents the set of values of n in the Sn node
  • Sn represents the operation starting point and operation end point within the grinding range
  • l ⁇ represents the distance value between node S ⁇ and node S ⁇
  • ⁇ and ⁇ are both from Select the number of nodes in the V set
  • Joint constraints (1) and (2) indicate that the distance between any two nodes is calculated only once
  • L ⁇ +1 x ⁇ +1 represents the distance between S ⁇ node and S ⁇ +1 node
  • L ⁇ +1 ⁇ x ⁇ +1 ⁇ represents the distance between S ⁇ +1 node and S ⁇ node
  • constraint (3) means that no sub-loop solution is generated within the grinding range
  • constraint (4) means that the operation line within the grinding range is an odd-numbered point S ⁇ and an even-numbered point S ⁇ +1 , ensuring that each operation point is sanded.
  • the to-be-polished seam obtaining module 310 is configured to measure the seam of the building to be polished, and to determine at least one seam whose length of the seam is greater than the polishing precision as at least one seam to be polished.
  • the technical solution provided in this embodiment is to obtain at least one seam to be polished, and for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, at least one seam to be polished within a preset position range is Adjusting the coordinate information of the grinding seam in a preset direction, determining an effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and a summary length threshold, and generating a grinding range based on the effective grinding seam, According to the grinding range and the set motion planning model, a target operation route for effectively grinding joints is generated. It solves the problem of low operation efficiency caused by over-checking of robots in the related art.
  • FIG. 8 is a schematic structural diagram of a robot according to Embodiment 4 of the present application.
  • FIG. 8 shows a block diagram of an exemplary robot 12 suitable for use in implementing embodiments of the present application.
  • the robot 12 shown in FIG. 8 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.
  • the robot 12 takes the form of a general-purpose computing device.
  • Components of the robot 12 may include, but are not limited to, at least one processor or processing unit 16 , a system memory 28 , and a bus 18 connecting various system components including the system memory 28 and the processing unit 16 .
  • the bus 18 represents at least one of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards) Association, VESA) local bus and Peripheral Component Interconnect (PCI) bus.
  • Robot 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the robot 12, including volatile and non-volatile media, removable and non-removable media.
  • System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory.
  • Robot 12 may include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be configured to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard drive”).
  • a magnetic disk drive for reading and writing to removable non-volatile magnetic disks (eg, "floppy disks") and removable non-volatile optical disks (eg, Compact Disc-Read only) may be provided.
  • each drive may be connected to bus 18 via at least one data medium interface.
  • the memory 28 may include at least one program product having a set of (eg, the seam to be sanded obtaining module 310 of the seam sanding path generating device, the coordinate information adjustment module 320 of the seam to be sanded, the valid sanding seam determination module 330, and the The target operation route generation module 340) program modules, which are configured to perform the functions of various embodiments of the present application.
  • a program with a set of program modules 46 (for example, the seam to be polished seam acquisition module 310 of the seam polishing path generation device, the coordinate information adjustment module 320 of the seam to be polished, the effective sanding seam determination module 330 and the target operation route generation module 340) program module 46 Utilities 44, which may be stored, for example, in memory 28, such program modules 46 including, but not limited to, an operating system, at least one application program, other program modules, and program data, each of which or some combination of these examples may include Implementation of the network environment.
  • Program modules 46 generally perform the functions and/or methods of the embodiments described herein.
  • the robot 12 may also communicate with at least one external device 14 (eg, a keyboard, pointing device, display 24, etc.), may also communicate with at least one device that enables a user to interact with the robot 12, and/or communicate with the robot 12. Any device (eg, network card, modem, etc.) that communicates with at least one other computing device. Such communication may take place through an input/output (I/O) interface 22 . Also, the robot 12 can communicate with at least one network (eg, a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the robot 12 via the bus 18 .
  • LAN Local Area Network
  • WAN Wide Area Network
  • public network such as the Internet
  • the processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a method for generating a seam polishing path provided by the embodiment of the present application, including:
  • the coordinate information of the at least one seam to be polished in the preset direction within the preset position range is processed. Adjustment;
  • a grinding range is generated based on the effective grinding seam, and a target operation route of the effective grinding seam is generated according to the grinding range and the set motion planning model.
  • the processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , for example, implementing a method for generating a seam polishing path provided by the embodiments of the present application.
  • processor can also implement the technical solution of the method for generating a seam grinding path provided by any embodiment of the present application.
  • the fifth embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • a method for generating a seam grinding path as provided in the embodiment of the present application is implemented, including:
  • the coordinate information of the at least one seam to be polished in the preset direction within the preset position range is processed. Adjustment;
  • a grinding range is generated based on the effective grinding seam, and a target operation route of the effective grinding seam is generated according to the grinding range and the set motion planning model.
  • the computer program stored on the computer-readable storage medium provided by the embodiment of the present application is not limited to the above method operations, and can also execute the method for generating a seam grinding path provided by any embodiment of the present application. related operations.
  • the computer storage medium of the embodiments of the present application may adopt any combination of at least one computer-readable medium.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or a combination of any of the above.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device.
  • the computer-readable signal medium can include coordinate information of the seam to be polished in a preset direction, the adjusted coordinate information of each seam to be polished, the polishing range, and the target operation route, etc., and a computer-readable program is carried therein. code.
  • a computer-readable signal medium can also be any computer-readable medium, other than a computer-readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, system, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • RF radio frequency
  • Computer program code for performing the operations of the present application may be written in at least one programming language, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional procedural programming, or a combination thereof. Language - such as "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • the modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, The specific names of the functional units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application.

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finish Polishing, Edge Sharpening, And Grinding By Specific Grinding Devices (AREA)
  • Constituent Portions Of Griding Lathes, Driving, Sensing And Control (AREA)

Abstract

A method and apparatus for generating a joint polishing path, and a robot and a storage medium. The method comprises: acquiring at least one joint to be polished; for at least one joint to be polished in the same joint direction, on the basis of coordinate information of the at least one joint to be polished, adjusting coordinate information, in a preset direction, of at least one joint to be polished within a preset position range; on the basis of the adjusted coordinate information of the at least one joint to be polished and a summarized length threshold value, determining an effective polished joint; and generating a polishing range on the basis of the effective polished joint, and generating a target operation route of the effective polished joint according to the polishing range and a set motion planning model.

Description

一种拼缝打磨路径生成方法、装置、机器人及存储介质A method, device, robot and storage medium for generating a seam grinding path
本申请要求在2020年9月2日提交中国专利局、申请号为202010907107.X的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application with application number 202010907107.X filed with the China Patent Office on September 2, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请实施例涉及工业自动化技术,例如涉及一种拼缝打磨路径生成方法、装置、机器人及存储介质。The embodiments of the present application relate to industrial automation technologies, for example, to a method, device, robot, and storage medium for generating a seam grinding path.
背景技术Background technique
机器人具有灵活、可靠且准确的优势,越来越多的建筑施工场地利用机器人打磨建筑物的墙体或天花板。例如,混凝土模板拆除后,天花板会出现多处爆点,集中在拼缝位置,混凝土天花板打磨机器人需要对拼缝爆点位置进行打磨。Robots have the advantages of being flexible, reliable and accurate, and more and more construction sites use robots to polish the walls or ceilings of buildings. For example, after the concrete formwork is removed, there will be multiple explosion points on the ceiling, concentrated in the joint position. The concrete ceiling grinding robot needs to grind the joint explosion point position.
混凝土拼缝打磨的作业方式是通过测量机器人识别数据进行边走边作业,如果测量机器人过检,并且大多数过检拼缝不在模板上,混凝土天花板打磨机器人在边走边作业时如果有一个1mm的拼缝,也会进行打磨,导致出现80%以上的无效作业点,严重影响测量机器人的作业效率。The operation method of concrete joint grinding is to carry out the operation while walking by measuring the identification data of the robot. If the measuring robot has passed the inspection, and most of the inspection joints are not on the formwork, if the concrete ceiling grinding robot is working while walking, if there is a 1mm joint. The seam will also be polished, resulting in more than 80% of invalid operation points, which seriously affects the operation efficiency of the measuring robot.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种拼缝打磨路径生成方法、装置、机器人及存储介质,以实现避免机器人过检,优化打磨路径,提高拼缝打磨效率。The present application provides a method, a device, a robot and a storage medium for generating a seam grinding path, so as to avoid robot over-inspection, optimize the grinding path, and improve the seam grinding efficiency.
第一方面,本申请提供了一种拼缝打磨路径生成方法,包括:In a first aspect, the present application provides a method for generating a seam grinding path, including:
获取至少一个待打磨拼缝;Obtain at least one patchwork to be polished;
对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整;For at least one of the seams to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, the coordinate information of the at least one seam to be polished in the preset direction within the preset position range is processed. Adjustment;
基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝;Based on the adjusted coordinate information of the at least one to-be-polished joint and a summary length threshold, determining an effective grinding joint;
基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线。A grinding range is generated based on the effective grinding seam, and a target operation route of the effective grinding seam is generated according to the grinding range and the set motion planning model.
第二方面,本申请还提供了一种拼缝打磨路径生成装置,包括:In a second aspect, the present application also provides a device for generating a seam grinding path, comprising:
待打磨拼缝获取模块,设置为获取至少一个待打磨拼缝;The module for obtaining the seam to be polished, which is set to obtain at least one seam to be polished;
待打磨拼缝坐标信息调整模块,设置为对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整;The adjustment module for the coordinate information of the seam to be polished is configured to, for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, adjust at least one seam to be polished within a preset position range Adjust the coordinate information of the seam in the preset direction;
有效打磨拼缝确定模块,设置为基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝;The effective grinding seam determination module is set to determine the effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and the aggregate length threshold;
目标作业路线生成模块,设置为基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线。The target operation route generation module is configured to generate a grinding range based on the effective grinding joint, and generate a target operation route for the effective grinding joint according to the grinding range and the set motion planning model.
第三方面,本申请还提供了一种机器人,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权第一方面所述的拼缝打磨路径生成方法。In a third aspect, the present application also provides a robot, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the first aspect when the processor executes the computer program The method for generating a seam grinding path is described.
第四方面,本申请还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时实现如第一方面所述的拼缝打磨路径生成方法。In a fourth aspect, the present application further provides a storage medium containing computer-executable instructions, the computer-executable instructions, when executed by a computer processor, implement the method for generating a seam polishing path according to the first aspect.
附图说明Description of drawings
图1为本申请实施例一提供的一种拼缝打磨路径生成方法的流程示意图;1 is a schematic flowchart of a method for generating a seam grinding path according to Embodiment 1 of the present application;
图2为本申请实施例一提供的横向的待打磨拼缝坐标调整前的示意图;Fig. 2 is the schematic diagram before the coordinate adjustment of the horizontal seam to be polished provided by the first embodiment of the application;
图3为本申请实施例一提供的横向的待打磨拼缝坐标调整后的示意图;Fig. 3 is the schematic diagram after adjustment of the coordinates of the horizontal seam to be polished provided in Embodiment 1 of the present application;
图4为本申请实施例一提供的一种拼缝打磨路径生成方法的逻辑示意图;4 is a schematic logical diagram of a method for generating a seam grinding path according to Embodiment 1 of the present application;
图5为本申请实施例二提供的一种拼缝打磨路径生成方法的流程示意图;5 is a schematic flowchart of a method for generating a seam grinding path according to Embodiment 2 of the present application;
图6为本申请实施例二提供的打磨作业线及其作业位点的划分示意图;6 is a schematic diagram of the division of the grinding operation line and its operation site provided by the second embodiment of the present application;
图7为本申请实施例三提供的一种拼缝打磨路径生成装置的结构示意图;7 is a schematic structural diagram of a device for generating a seam grinding path according to Embodiment 3 of the present application;
图8为本申请实施例四提供的一种机器人的结构示意图。FIG. 8 is a schematic structural diagram of a robot according to Embodiment 4 of the present application.
具体实施方式detailed description
下面结合附图和实施例对本申请作详细说明。The present application will be described in detail below with reference to the accompanying drawings and embodiments.
实施例一Example 1
图1为本申请实施例一提供的一种拼缝打磨路径生成方法的流程示意图,本实施例可适用于在避免测量机器人过检的情况下,生成目标作业路线的情况,该方法可以由拼缝打磨路径生成装置来执行,其中该装置可由软件和/或硬件实现,并一般集成在机器人中。参见图1所示,该方法可以包括步骤S110至S140。1 is a schematic flowchart of a method for generating a seam grinding path provided in Embodiment 1 of the present application. This embodiment is applicable to the situation where a target operation route is generated under the condition that the over-inspection of the measuring robot is avoided. A seam grinding path generation device is implemented, wherein the device can be implemented in software and/or hardware and is generally integrated in the robot. Referring to FIG. 1 , the method may include steps S110 to S140.
S110,获取至少一个待打磨拼缝。S110, obtain at least one patchwork to be polished.
可以理解的是,待打磨建筑的天花板面或者墙面的混凝土模板拆除后,模板之间的拼缝位置会出现多处爆点,机器人根据打磨精度从多处爆点中筛选出待打磨拼缝,并将待打磨拼缝输入至BIM(Building Information Modeling,建筑信息模型),根据BIM中的待打磨拼缝生成目标作业路线。可选地,可以对待打磨建筑的拼缝进行测量,将拼缝长度大于打磨精度的拼缝确定为待打磨拼缝,其中,打磨精度可以为1毫米或2毫米。可理解的是,所述待打磨拼缝可以根据待打磨建筑的房间位置划分的。It is understandable that after the concrete formwork on the ceiling or wall of the building to be polished is removed, there will be multiple burst points in the joints between the templates, and the robot will screen out the joints to be polished from the multiple burst points according to the grinding accuracy. , and input the seam to be polished into BIM (Building Information Modeling, Building Information Modeling), and generate the target operation route according to the seam to be polished in the BIM. Optionally, the seam of the building to be polished may be measured, and the seam with a length of the seam greater than the grinding precision is determined as the seam to be polished, wherein the grinding accuracy may be 1 mm or 2 mm. It is understandable that the seams to be polished may be divided according to the location of the rooms of the building to be polished.
S120,对于相同拼缝方向的至少一个待打磨拼缝,基于至少一个待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整。S120, for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, adjust the coordinate information of the at least one seam to be polished in a preset direction within a preset position range.
可选地,所述拼缝方向包括横向和纵向。可选地,可以在BIM上建立坐标系,根据待打磨拼缝的拼缝长度确定待打磨拼缝在该坐标系下的坐标信息,所述坐标信息为待打磨拼缝的坐标范围。本实施例中,可以根据拼缝方向生成横 向待打磨拼缝集合和纵向的待打磨拼缝集合,可以分别根据两个集合中的待打磨拼缝的长度确定至少一个待打磨拼缝的坐标范围。Optionally, the seaming direction includes transverse and longitudinal directions. Optionally, a coordinate system may be established on the BIM, and the coordinate information of the to-be-polished seam in the coordinate system is determined according to the length of the to-be-polished seam, where the coordinate information is the coordinate range of the to-be-polished seam. In this embodiment, a horizontal set of seams to be polished and a vertical set of seams to be polished can be generated according to the direction of the seams, and the coordinate range of at least one seam to be polished can be determined according to the lengths of the seams to be polished in the two sets respectively. .
示例性地,横向的待打磨拼缝集合A={A 1 A 2 … A n},纵向的待打磨拼缝集合B={B 1 B 2 … B n},在确定待打磨拼缝的坐标信息时,确定坐标系的原点,根据坐标系的原点、至少一个横向的待打磨拼缝的长度以及至少一个纵向的待打磨拼缝的长度,确定集合A中至少一个横向的待打磨拼缝和集合B中至少一个纵向的待打磨拼缝在该坐标系下的坐标范围。例如,横向的待打磨拼缝
Figure PCTCN2021101178-appb-000001
纵向的待打磨拼缝
Figure PCTCN2021101178-appb-000002
其中,A n中的a n和a′ n分别表示横向的待打磨拼缝的两个端点,横向的待打磨拼缝的拼缝长度为|a′ n-a n|,B n中的b n和b′ n分别表示纵向的待打磨拼缝的两个端点,纵向的待打磨拼缝的拼缝长度为|b n-b′ n|。本实施例中,在确定横向的待打磨拼缝的集合A时,a′ n值越大越先标记,在a′ n值相同时,b n值越小越先标记;同理,在确定纵向的待打磨拼缝的集合B时,b′ n值越大越先标记,在b′ n值相同时,a n值越小越先被标记。
Exemplarily, the horizontal set of seams to be polished A={A 1 A 2 ... A n }, and the set of longitudinal seams to be polished B={B 1 B 2 ... B n }, after determining the coordinates of the seams to be polished information, determine the origin of the coordinate system, according to the origin of the coordinate system, the length of at least one horizontal seam to be polished and the length of at least one longitudinal seam to be polished, determine at least one horizontal seam to be polished in set A and The coordinate range of at least one longitudinal seam to be polished in set B in this coordinate system. For example, horizontal seams to be sanded
Figure PCTCN2021101178-appb-000001
Longitudinal seam to be sanded
Figure PCTCN2021101178-appb-000002
Among them, an and a' n in An represent the two end points of the horizontal joint to be polished respectively, and the length of the horizontal joint to be polished is |a' n -a n |, b in B n n and b′ n respectively represent the two end points of the longitudinal seam to be polished, and the length of the seam of the longitudinal seam to be polished is |b n -b′ n |. In this embodiment, when determining the set A of the horizontal seams to be polished, the larger the value of a' n , the more marked first; when the value of a' n is the same, the smaller the value of bn , the more marked first; When the set B of the seams to be polished is selected, the larger the value of b' n , the more marked first, and when the value of b' n is the same, the smaller the value of a n is, the more marked first.
为了避免测量机器人过检,需要根据至少一个待打磨拼缝的坐标值将至少一个待打磨拼缝的坐标范围进行调整。例如,如果预设位置范围内的待打磨拼缝的坐标信息不同,根据预设位置范围内的拼缝长度最大的待打磨拼缝的坐标信息调整拼缝长度非最大的待打磨拼缝的横向坐标信息或纵向坐标信息;再如,如果至少两个待打磨拼缝发生重叠,将发生重叠的至少两个待打磨拼缝的横向 坐标信息或纵向坐标信息合并,并将被合并的待打磨拼缝删除,这样可以避免后续确定有效打磨拼缝时误删很多待打磨拼缝,并可以确定可靠的打磨范围进而生成可靠的目标作业路径。In order to prevent the measuring robot from over-checking, it is necessary to adjust the coordinate range of at least one seam to be polished according to the coordinate value of at least one seam to be polished. For example, if the coordinate information of the seam to be polished within the preset position range is different, adjust the horizontal direction of the seam to be polished with a non-maximum seam length according to the coordinate information of the seam to be polished with the largest seam length within the preset position range Coordinate information or longitudinal coordinate information; for another example, if at least two seams to be polished overlap, merge the horizontal coordinate information or longitudinal coordinate information of the overlapping at least two seams to be polished, and merge the merged seams to be polished. In this way, many seams to be polished can be avoided by mistake when determining effective polishing seams, and a reliable grinding range can be determined to generate a reliable target operation path.
可选地,所述预设位置范围可以根据未进行调整的待打磨拼缝的向上γ毫米至向下γ毫米确定,所述γ可以根据经验设置,例如是1mm、2mm或者其他数据。可选地,在基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整之前,可以根据至少一个待打磨拼缝的位置信息对相同拼缝方向的待打磨拼缝进行划分,得到至少一个横向待调整范围和至少一个纵向待调整范围。示例性的可以为:对于相同拼缝方向的至少一个所述待打磨拼缝,确定未进行调整的待打磨拼缝中拼缝长度最大的第二待打磨拼缝;基于所述第二待打磨拼缝的坐标信息,以及至少一个未进行调整的待打磨拼缝的位置信息,确定所述第二待打磨拼缝的预设位置范围内的至少一个拼缝长度非最大(除所述第二待打磨拼缝之外)的待打磨拼缝。通过这种方式,可以将同一横向待调整范围或同一纵向待调整范围的待打磨拼缝的坐标信息进行规整,可以确保有序执行坐标信息的调整操作,提高坐标信息调整效率,同时更正因视觉识别精度的问题导致的待打磨拼缝的坐标信息存在差异的问题,避免后续确定有效打磨拼缝时误删很多有效的待打磨拼缝。Optionally, the preset position range may be determined according to the upward γ mm to the downward γ mm of the unadjusted seam to be polished, and the γ may be set according to experience, for example, 1 mm, 2 mm or other data. Optionally, before adjusting the coordinate information of the at least one to-be-polished seam in the preset direction based on the coordinate information of at least one of the to-be-polished seams The position information of the seam divides the seams to be polished in the same seaming direction to obtain at least one horizontal to-be-adjusted range and at least one longitudinal to-be-adjusted range. Exemplary may be: for at least one of the seams to be polished in the same seam direction, determine the second seam to be polished with the largest seam length among the seams to be polished that have not been adjusted; based on the second seam to be polished The coordinate information of the seam, and the position information of at least one seam to be polished that has not been adjusted, determine that the length of at least one seam within the preset position range of the second seam to be polished is not the maximum (except for the second seam). To-be-sanded patchwork (outside of to-be-sanded patchwork). In this way, the coordinate information of the to-be-polished seams in the same horizontal to-be-adjusted range or the same vertical to-be-adjusted range can be regulated, which can ensure the orderly execution of the coordinate information adjustment operation, improve the coordinate information adjustment efficiency, and at the same time correct the visual The problem of identification accuracy leads to the problem of differences in the coordinate information of the seams to be polished, so as to avoid mistakenly deleting many effective seams to be polished when determining effective seams to be polished later.
示例性的,首先选取横向的或纵向的拼缝长度最大的待打磨拼缝,将横向的或纵向的拼缝长度最大的待打磨拼缝作为第二待打磨拼缝,并根据第二待打磨拼缝的坐标信息,确定位于第二待打磨拼缝的向上γ毫米至向下γ毫米范围内的至少一个拼缝长度非最大的待打磨拼缝,将第二待打磨拼缝和该拼缝长度非最大的待打磨拼缝作为同一待调整范围,便于后续对同一待调整范围的待打磨拼缝进行坐标信息规整。如图2所示为横向的待打磨拼缝坐标调整前 的示意图,图2中的P 1、P 2和P 3均可以作为第二待打磨拼缝,P 5和P 7是P 1的预设位置范围内的拼缝长度非最大的待打磨拼缝,P 6和P 8是P 2的预设位置范围内的拼缝长度非最大的待打磨拼缝,P 4是P 3的预设位置范围内的拼缝长度非最大的待打磨拼缝,则将P 1、P 5和P 7划分为同一横向待调整范围,P 2、P 6和P 8划分为同一横向待调整范围,P 3和P 4划分为同一横向待调整范围。 Exemplarily, first select the seam to be polished with the longest horizontal or vertical seam length, and take the seam to be polished with the largest horizontal or vertical seam length as the second seam to be polished, and according to the second seam to be polished Coordinate information of the seam, determine at least one seam to be polished with a non-maximum seam length located in the range of γ mm upward to γ mm downward of the second seam to be polished, and compare the second seam to be polished and the seam to be polished The seam to be polished with a non-maximum length is regarded as the same range to be adjusted, which facilitates the subsequent adjustment of coordinate information for the seam to be polished in the same range to be adjusted. Fig. 2 is a schematic diagram of the horizontal seam to be polished before the coordinates are adjusted. P 1 , P 2 and P 3 in Fig. 2 can all be used as the second seam to be polished, and P 5 and P 7 are the preliminaries of P 1 . Set the seam to be polished with a non-maximum seam length within the position range, P 6 and P 8 are the seam to be polished with a non-maximum seam length within the preset position range of P 2 , and P 4 is the preset of P 3 If the seam length within the position range is not the largest to be polished, then P 1 , P 5 and P 7 are divided into the same horizontal range to be adjusted, P 2 , P 6 and P 8 are divided into the same horizontal range to be adjusted, P 3 and P 4 are divided into the same horizontal range to be adjusted.
S130,基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝。S130 , based on the adjusted coordinate information of at least one to-be-polished joint and a summary length threshold, determine an effective grinding joint.
为了将测量机器人获取的过检拼缝删除,也防止生成无效的作业路线,本实施例可以根据待打磨拼缝的调整后的坐标信息确定新的拼缝长度,将新的拼缝长度与汇总长度阈值比较,根据比较结果确定有效打磨拼缝。可选地,有效打磨拼缝的确定方法可以为:确定所述预设位置范围内相同拼缝方向上的所述待打磨拼缝的拼缝长度之和;如果所述拼缝长度之和大于或等于所述汇总长度阈值,将所述拼缝长度之和大于或等于所述汇总长度阈值的至少一个待打磨拼缝作为有效打磨拼缝。其中,所述拼缝长度之和根据调整后的待打磨拼缝的坐标信息确定。可选地,如果所述拼缝长度之和小于所述汇总长度阈值,将拼缝长度之和小于所述汇总长度阈值的各待打磨拼缝作为无效打磨拼缝,并将所述无效打磨拼缝删除。其中,汇总长度阈值可以根据打磨精度确定,例如,打磨精度是2毫米时,汇总长度阈值可以是5厘米,打磨精度是1毫米时,汇总长度阈值可以是10厘米。In order to delete the over-checked seam acquired by the measuring robot and prevent the generation of an invalid operation route, in this embodiment, a new seam length can be determined according to the adjusted coordinate information of the seam to be polished, and the new seam length is combined with the summary The length threshold is compared, and the effective grinding seam is determined according to the comparison result. Optionally, the method for determining the effective polished seam may be: determining the sum of the seam lengths of the seam to be polished in the same seam direction within the preset position range; if the sum of the seam lengths is greater than or equal to the aggregated length threshold, at least one patchwork to be polished whose sum of the lengths of the patchwork is greater than or equal to the aggregated length threshold value is used as a valid trimming patch. Wherein, the sum of the seam lengths is determined according to the adjusted coordinate information of the seam to be polished. Optionally, if the sum of the seam lengths is less than the summary length threshold, each seam to be polished whose sum of the seam lengths is less than the summary length threshold is regarded as an invalid polished seam, and the invalid polished seam is put together. seam deletion. The aggregate length threshold may be determined according to the grinding accuracy. For example, when the grinding accuracy is 2 mm, the aggregate length threshold may be 5 cm, and when the grinding accuracy is 1 mm, the aggregate length threshold may be 10 cm.
如图3所示为横向的待打磨拼缝坐标调整后的示意图,,示例性地,将图3 中的P 1、P 5和P 7的拼缝长度之和与汇总长度阈值进行比较,如果P 1、P 5和P 7的拼缝长度之和大于或等于汇总长度阈值,将P 1、P 5和P 7作为有效打磨拼缝,如果P 1、P 5和P 7的拼缝长度之和小于汇总长度阈值,将P 1、P 5和P 7作为无效打磨拼缝,并将无效打磨拼缝作为过检拼缝并删除,防止根据无效打磨拼缝生成无效的作业路线。 Figure 3 is a schematic diagram of the horizontal seam to be polished after the coordinates are adjusted. Exemplarily, the sum of the seam lengths of P 1 , P 5 and P 7 in Figure 3 is compared with the summary length threshold, if The sum of the seam lengths of P 1 , P 5 and P 7 is greater than or equal to the summary length threshold, and P 1 , P 5 and P 7 are regarded as valid sanding seams, if the sum of the seam lengths of P 1 , P 5 and P 7 If the sum is less than the summary length threshold, P 1 , P 5 and P 7 are regarded as invalid grinding joints, and invalid grinding joints are regarded as over-checked joints and deleted to prevent invalid operation routes from being generated according to invalid grinding joints.
S140,基于有效打磨拼缝生成打磨范围,根据打磨范围和设定运动规划模型生成有效打磨拼缝的目标作业路线。S140 , a grinding range is generated based on the effective grinding seam, and a target operation route for effectively grinding the seam is generated according to the grinding range and the set motion planning model.
本实施例中,可以根据有效打磨拼缝确定打磨作业线,直接根据打磨作业线的两个端点的最小坐标值和最大坐标值确定打磨范围,根据打磨范围和设定运动规划模型生成有效打磨拼缝的目标作业路线。可以理解的是,测量机器人本身具有定位误差,结合图4所示,在确定有效打磨拼缝后,可以根据预设位置范围内的有效打磨拼缝的最小坐标值和最大坐标值确定打磨作业线,并根据打磨作业线和磨盘尺寸确定打磨范围,根据打磨范围和设定运动规划模型生成目标打磨路线。可选地,测量机器人的定位误差可以是2厘米。In this embodiment, the grinding work line can be determined according to the effective grinding joints, the grinding range can be determined directly according to the minimum coordinate value and the maximum coordinate value of the two end points of the grinding work line, and the effective grinding work can be generated according to the grinding range and the set motion planning model. The target work route for sewing. It can be understood that the measuring robot itself has a positioning error. As shown in Figure 4, after determining the effective grinding seam, the grinding operation line can be determined according to the minimum and maximum coordinate values of the effective grinding seam within the preset position range. , and determine the grinding range according to the grinding operation line and the size of the grinding disc, and generate the target grinding route according to the grinding range and the set motion planning model. Optionally, the positioning error of the measuring robot may be 2 cm.
结合图3示例性地解释,如前述步骤描述,如果P 1、P 5和P 7的拼缝长度之和大于或等于汇总长度阈值,将P 1、P 5和P 7作为有效打磨拼缝,并根据图3中的待打磨拼缝P 7的最小横向坐标值和待打磨拼缝P 1的最大横向坐标值确定横向打磨作业线,并根据横向打磨作业线与测量机器人的磨盘尺寸确定横向打磨范围,根据横向打磨范围与设定运动规划模型确定目标作业路线。 Exemplarily explained in conjunction with FIG. 3 , as described in the preceding steps, if the sum of the seam lengths of P 1 , P 5 and P 7 is greater than or equal to the summary length threshold, P 1 , P 5 and P 7 are regarded as valid sanding seams, And according to the minimum lateral coordinate value of the seam P7 to be polished and the maximum lateral coordinate value of the seam P1 to be polished in FIG. 3 , the horizontal grinding operation line is determined, and the horizontal grinding operation line is determined according to the horizontal grinding operation line and the size of the grinding disc of the measuring robot. The target operation route is determined according to the horizontal grinding range and the set motion planning model.
本实施例提供的技术方案,获取至少一个待打磨拼缝,对于相同拼缝方向的至少一个待打磨拼缝,基于至少一个待打磨拼缝的坐标信息,将预设位置范 围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整,基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝,并基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成有效打磨拼缝的目标作业路线。解决了相关技术中因为机器人出现过检导致的作业效率低的问题,通过将待打磨拼缝的坐标信息进行调整,可以避免后续确定有效打磨拼缝时误删很多待打磨拼缝,通过确定有效打磨拼缝,可以将测量机器人获取的过检拼缝删除,防止生成无效的作业路线,实现优化打磨路径,并提高拼缝打磨效率的效果。The technical solution provided in this embodiment is to obtain at least one seam to be polished, and for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, at least one seam to be polished within a preset position range is Adjusting the coordinate information of the grinding seam in a preset direction, determining an effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and a summary length threshold, and generating a grinding range based on the effective grinding seam, According to the grinding range and the set motion planning model, a target operation route for effectively grinding joints is generated. It solves the problem of low operation efficiency caused by over-checking of robots in the related art. By adjusting the coordinate information of the seam to be polished, it can avoid accidentally deleting a lot of seams to be polished when determining effective seams to be polished later. By grinding the seam, the over-checked seam obtained by the measuring robot can be deleted, preventing the generation of invalid operation routes, optimizing the grinding path, and improving the efficiency of seam grinding.
实施例二 Embodiment 2
图5为本申请实施例二提供的一种拼缝打磨路径生成方法的流程示意图。本实施例的技术方案在上述实施例的基础上进行了细化。可选地,所述拼缝方向包括横向和纵向;所述预设方向为所述拼缝方向的垂直方向;所述将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整,包括以下之一:将预设位置范围内的至少一个横向的待打磨拼缝的纵向坐标值进行调整;将预设位置范围内的至少一个纵向的待打磨拼缝的横向坐标值进行调整。参见图5所示,本实施例的方法可以包括步骤S210至S240。FIG. 5 is a schematic flowchart of a method for generating a seam grinding path according to Embodiment 2 of the present application. The technical solution of this embodiment is refined on the basis of the foregoing embodiment. Optionally, the seaming direction includes horizontal and vertical directions; the preset direction is the vertical direction of the seaming direction; Adjusting the coordinate information includes one of the following: adjusting the longitudinal coordinate value of at least one horizontal seam to be polished within the preset position range; adjusting the horizontal coordinate of at least one longitudinal seam to be polished within the preset position range value to adjust. Referring to FIG. 5 , the method of this embodiment may include steps S210 to S240.
S210,获取至少一个待打磨拼缝。S210: Obtain at least one patchwork to be polished.
S220,对于相同拼缝方向的至少一个待打磨拼缝,执行以下之一:将预设位置范围内的至少一个横向的待打磨拼缝的纵向坐标值进行调整;将预设位置范围内的至少一个纵向的待打磨拼缝的横向坐标值进行调整。S220, for at least one seam to be polished in the same seam direction, perform one of the following: adjust the longitudinal coordinate value of at least one horizontal seam to be polished within a preset position range; Adjust the horizontal coordinate value of a longitudinal seam to be polished.
其中,所述拼缝方向包括横向和纵向,所述预设方向为所述拼缝方向的垂直方向。可选地,对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整的方法为:对于任一拼缝方向的待打磨拼缝,基 于至少一个待打磨拼缝的坐标信息和至少一个待打磨拼缝的拼缝长度,确定预设位置范围内拼缝长度最大的第一待打磨拼缝;基于第一待打磨拼缝在预设方向上的坐标值,调节预设位置范围内其他待打磨拼缝(即除第一待打磨拼缝之外的)在预设方向上的坐标值。Wherein, the seaming direction includes transverse direction and longitudinal direction, and the preset direction is the vertical direction of the seaming direction. Optionally, for at least one seam to be polished in the same seam direction, based on the coordinate information of at least one seam to be polished, at least one seam to be polished within a preset position range is placed in a preset direction. The method for adjusting the coordinate information is as follows: for a seam to be polished in any seam direction, based on the coordinate information of at least one seam to be polished and the seam length of at least one seam to be polished, determine the seam within a preset position range. The first to-be-polished seam with the largest seam length; based on the coordinate value of the first to-be-polished seam in the preset direction, adjust other to-be-polished seams (that is, other than the first to-be-polished seam) within the preset position range. ) is the coordinate value in the preset direction.
示例性的,如果拼缝方向为横向,预设方向为纵向,将预设位置范围内的拼缝长度最大的横向的待打磨拼缝作为第一待打磨拼缝,并确定第一待打磨拼缝的纵向坐标值,将第一待打磨拼缝的预设位置范围内的拼缝长度非最大的至少一个横向的待打磨拼缝的纵向坐标值,调整为第一待打磨拼缝的纵向坐标值;如果拼缝方向为纵向,预设方向为横向,将预设位置范围内的拼缝长度最大的纵向的待打磨拼缝作为第一待打磨拼缝,并确定第一待打磨拼缝的横向坐标值,将第一待打磨拼缝的预设位置范围内的拼缝长度非最大的至少一个纵向的待打磨拼缝的横向坐标值,调整为第一待打磨拼缝的横向坐标值。通过在横向和纵向调整待打磨拼缝的坐标值,可以确保有序执行坐标信息的调整操作,提高坐标信息调整效率,同时更正因视觉识别精度的问题导致的待打磨拼缝的坐标信息存在差异的问题,避免后续确定有效打磨拼缝时误删很多有效的待打磨拼缝。Exemplarily, if the seam direction is horizontal and the preset direction is vertical, the horizontal seam to be polished with the largest seam length within the preset position range is used as the first seam to be polished, and the first seam to be polished is determined. The longitudinal coordinate value of the first seam to be polished is adjusted to the longitudinal coordinate of the first seam to be polished. value; if the seam direction is vertical and the preset direction is horizontal, the vertical seam to be polished with the longest seam length within the preset position range is taken as the first seam to be polished, and the first seam to be polished is determined. For the horizontal coordinate value, the horizontal coordinate value of at least one longitudinal to-be-polished seam with a non-maximum seam length within the preset position range of the first to-be-polished seam is adjusted to the horizontal coordinate value of the first to-be-polished seam. By adjusting the coordinate values of the seam to be polished horizontally and vertically, the adjustment operation of the coordinate information can be ensured in an orderly manner, the adjustment efficiency of the coordinate information can be improved, and the difference in the coordinate information of the seam to be polished caused by the problem of visual recognition accuracy can be corrected. To avoid the mistaken deletion of many effective seams to be polished when determining effective seams to be polished later.
示例性地,结合图2和图3,如前述实施例所述,P 1、P 5和P 7为同一横向待调整范围,该横向待调整范围内,P 1的拼缝长度最长,将P 1作为第一待打磨拼缝并确定P 1的纵向坐标值,在P 1的横向待调整范围内,将P 5和P 7为的纵向坐标值调整为P 1的纵向坐标值,完成同一横向待调整范围内的纵向坐标值调整。 Exemplarily, in conjunction with FIG. 2 and FIG. 3 , as described in the foregoing embodiments, P 1 , P 5 and P 7 are the same horizontal to-be-adjusted range, and within the horizontal to-be-adjusted range, P 1 has the longest seam length, and the P 1 is used as the first seam to be polished and the longitudinal coordinate value of P 1 is determined. Within the horizontal to-be-adjusted range of P 1 , the longitudinal coordinate values of P 5 and P 7 are adjusted to the longitudinal coordinate value of P 1 to complete the same Adjust the vertical coordinate value within the horizontal to-be-adjusted range.
可以理解的是,对于任一拼缝方向的待打磨拼缝,不同的待调整拼缝可能发生重叠,本实施例还可以对任一拼缝方向的发生重叠的待调整拼缝的坐标信息进行调整。可选地,对于相同拼缝方向的至少一个所述待打磨拼缝,基于至 少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整,还包括:对于任一拼缝方向的待打磨拼缝,若预设位置范围内至少两个待打磨拼缝发生重叠,将发生重叠的至少两个待打磨拼缝在拼缝方向上的坐标信息进行合并,生成合并后的待打磨拼缝,并将被合并的待打磨拼缝视为无效待打磨拼缝,其中,待打磨拼缝的坐标信息为坐标范围。It can be understood that, for a seam to be polished in any seam direction, different seams to be adjusted may overlap. In this embodiment, the coordinate information of the seam to be adjusted that overlaps in any seam direction can be processed. Adjustment. Optionally, for at least one seam to be polished in the same seam direction, based on the coordinate information of at least one seam to be polished, at least one seam to be polished within a preset position range is placed in a preset direction. Adjusting the coordinate information according to the coordinate information, it also includes: for the seam to be polished in any seam direction, if at least two seams to be polished overlap within the preset position range, at least two seams to be polished that overlap will be assembled together The coordinate information in the seam direction is merged to generate a merged seam to be polished, and the merged seam to be polished is regarded as an invalid seam to be polished, wherein the coordinate information of the seam to be polished is the coordinate range.
示例性的,如果拼缝方向为横向,预设方向为纵向,若预设位置范围内至少两个待打磨拼缝发生重叠,确定发生重叠的待打磨拼缝的横向坐标范围和拼缝长度,拼缝长度较小的待打磨拼缝被拼缝长度较大的待打磨拼缝合并,并根据发生重叠的待打磨拼缝的横向坐标范围确定合并后的待打磨拼缝的横向坐标范围,同时将拼缝长度较小的待打磨拼缝的横向坐标范围设置为0,即将拼缝长度较小的待打磨拼缝删除;如果拼缝方向为纵向,预设方向为横向,若预设位置范围内至少两个待打磨拼缝发生重叠,确定发生重叠的待打磨拼缝的纵向坐标范围和拼缝长度,拼缝长度较小的待打磨拼缝被拼缝长度较大的待打磨拼缝合并,并根据发生重叠的待打磨拼缝的纵向坐标范围确定合并后的待打磨拼缝的纵向坐标范围,同时将拼缝长度较小的待打磨拼缝的纵向坐标范围设置为0,即拼缝长度较小的待打磨拼缝删除。通过将发生重叠的待打磨拼缝的坐标信息合并,将被合并的待打磨拼缝删除,有利于将测量机器人过检识别的拼缝剔除,防止根据无效打磨拼缝生成无效的作业路线。Exemplarily, if the seam direction is horizontal and the preset direction is vertical, if at least two seams to be polished overlap within the preset position range, determine the horizontal coordinate range and seam length of the overlapping seams to be polished, The seam to be polished with a smaller seam length is merged by the seam to be polished with a larger seam length, and the horizontal coordinate range of the merged seam to be polished is determined according to the horizontal coordinate range of the overlapping seam to be polished, and at the same time Set the horizontal coordinate range of the seam to be polished with a smaller seam length to 0, that is, delete the seam to be polished with a smaller seam length; if the seam direction is vertical, the preset direction is horizontal, if the preset position range At least two of the seams to be polished overlap, and the longitudinal coordinate range and length of the overlapping seams to be polished are determined. The seam to be polished with a smaller seam length is sewn together by the seam to be polished with a larger seam length. , and determine the longitudinal coordinate range of the merged seam to be polished according to the longitudinal coordinate range of the overlapping seam to be polished, and set the longitudinal coordinate range of the seam to be polished with a smaller seam length to 0, that is, the seam The smaller length of the seam to be polished is deleted. By merging the coordinate information of the overlapping seams to be polished, the merged seams to be polished are deleted, which is beneficial to eliminate the seams identified by the measuring robot and prevent invalid operation routes from being generated based on invalid polishing seams.
示例性地,如图2和图3所示,同一横向待调整范围的P 3和P 4发生重叠,
Figure PCTCN2021101178-appb-000003
P 4的拼缝长度小于P 3的拼缝长度,将P 3和P 4的坐标信息合并后,重新确定的
Figure PCTCN2021101178-appb-000004
重新确定的
Figure PCTCN2021101178-appb-000005
也就是说,将P 4删除,得到图3所示的调整后的示意图。
Exemplarily, as shown in FIG. 2 and FIG. 3 , P 3 and P 4 of the same horizontal to-be-adjusted range overlap,
Figure PCTCN2021101178-appb-000003
The seam length of P 4 is less than that of P 3. After combining the coordinate information of P 3 and P 4 , the re-determined
Figure PCTCN2021101178-appb-000004
re-determined
Figure PCTCN2021101178-appb-000005
That is, delete P 4 to obtain the adjusted schematic diagram shown in FIG. 3 .
S230,基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝。S230 , based on the adjusted coordinate information of the at least one to-be-polished seam and the aggregated length threshold, determine an effective polished seam.
S240,基于有效打磨拼缝生成打磨范围,根据打磨范围和设定运动规划模型生成有效打磨拼缝的目标作业路线。S240 , a grinding range is generated based on the effective grinding seam, and a target operation route for effectively grinding the seam is generated according to the grinding range and the set motion planning model.
如前述实施例所述,可以根据有效打磨拼缝的新的坐标范围中的最小坐标值和最大坐标值确定打磨作业线,根据打磨作业线和打磨机器人的磨盘尺寸确定打磨范围,根据打磨范围和设定运动规划模型生成目标作业路线。可选地,可以根据打磨作业线的长度进行排序。例如,根据有效打磨拼缝的新的坐标范围生成的打磨作业线
Figure PCTCN2021101178-appb-000006
其中,|x n-x′ n|为打磨作业线的长度,|x n-x′ n|值越大,排序越靠前。可选的,优先选取长度最长的打磨作业线进行打磨范围的确定以及作业位点的划分。
As described in the previous embodiment, the grinding line can be determined according to the minimum coordinate value and the maximum coordinate value in the new coordinate range of the effective grinding seam, the grinding range can be determined according to the grinding line and the grinding disc size of the grinding robot, and the grinding range can be determined according to the grinding range and Set the motion planning model to generate the target operation route. Optionally, sorting can be based on the length of the sanding line. For example, the sanding line generated according to the new coordinate range of the effective sanding seam
Figure PCTCN2021101178-appb-000006
Among them, |x n -x' n | is the length of the grinding line, and the larger the value of |x n -x' n | is, the higher the ranking. Optionally, the grinding operation line with the longest length is preferentially selected to determine the grinding range and divide the operation site.
本实施例中,生成打磨范围的方法,包括:以有效打磨拼缝为作业中心,确定距离作业中心特定范围的待打磨拼缝的拼缝数量,其中,特定范围包括距离所述作业中心的最大距离为磨盘尺寸的一半且分别位于所述作业中心两侧的区域组成的范围和距离作业中心的最大距离为所述磨盘尺寸且位于所述作业中心一侧的区域组成的范围;根据拼缝数量最大的特定范围内的有效打磨拼缝的坐标信息和所述特定范围,生成所述打磨范围。In this embodiment, the method for generating a grinding range includes: taking an effective grinding joint as an operation center, determining the number of joints to be ground in a specific range from the operation center, wherein the specific range includes the maximum distance from the operation center. The distance is half of the size of the grinding disc and the range is composed of the areas on both sides of the operation center and the maximum distance from the work center is the range of the area of the grinding disc size and located on one side of the work center; according to the number of seams The grinding range is generated from the coordinate information of the effective grinding seam within the maximum specific range and the specific range.
如图6所示为打磨作业线及其作业位点的划分示意图,如图6所示,对于打磨作业线Z n,从Z 1开始,根据磨盘尺寸D和定位误差取有效打磨直径D′, D′=D-20mm,打磨机器人的定位误差为2cm,将作业路线Z n进行整理规划,方法为: As shown in Figure 6 is a schematic diagram of the division of the grinding line and its operating position. As shown in Figure 6, for the grinding line Z n , starting from Z 1 , the effective grinding diameter D' is taken according to the size D of the grinding disc and the positioning error, D′=D-20mm, the positioning error of the grinding robot is 2cm, and the operation route Z n is arranged and planned as follows:
(1)以Z 1为作业中心,上下各画
Figure PCTCN2021101178-appb-000007
的平行直线,平行直线与Z 1两端S1、S2处的垂线垂直,确定上下
Figure PCTCN2021101178-appb-000008
的平行直线与Z 1两端S1、S2处的垂线范围内的拼缝数量,记为A 1
(1) Take Z 1 as the operation center, draw the upper and lower
Figure PCTCN2021101178-appb-000007
The parallel lines are perpendicular to the vertical lines at S1 and S2 at both ends of Z 1 , determine the upper and lower
Figure PCTCN2021101178-appb-000008
The number of seams within the range of the vertical lines at S1 and S2 at both ends of Z 1 and Z 1 is denoted as A 1 ;
(2)以Z 1为作业中心,垂直向上画D′的平行直线,平行直线与Z 1两端S1、S2处的垂线垂直,确定向上D′的平行直线与Z 1两端S1、S2处的垂线范围内的拼缝数量,记为A 2(2) Taking Z 1 as the work center, draw a parallel straight line of D' vertically upward, the parallel line is perpendicular to the vertical lines at S1 and S2 at both ends of Z 1 , and determine the parallel line of upward D' and the two ends of Z 1 S1 and S2 The number of seams within the range of the vertical line at , is recorded as A 2 ;
(3)以Z 1为作业中心,垂直向下画D′的平行直线,平行直线与Z 1两端S1、S2处的垂线垂直,确定向下D′的平行直线与Z 1两端S1、S2处的垂线范围内的拼缝数量,记为A 3( 3 ) Taking Z1 as the work center, draw a parallel line of D' vertically downward. The parallel line is perpendicular to the vertical lines at S1 and S2 at both ends of Z1, and determine the parallel line of downward D ' and the two ends of Z1 S1 , the number of seams within the vertical line at S2, denoted as A 3 .
由图6可以看出,A 1>A 2=A 3,则选择拼缝数量为A 1的上下
Figure PCTCN2021101178-appb-000009
的平行直线与Z 1两端S1、S2处的垂线范围内的有效打磨拼缝的坐标信息,根据该坐标信息和上下
Figure PCTCN2021101178-appb-000010
生成横向打磨范围和纵向打磨范围,横向打磨范围为x min至x max,x min和x max分别为Z n的两个端点的横坐标,纵向打磨范围包 括
Figure PCTCN2021101178-appb-000011
至y n
Figure PCTCN2021101178-appb-000012
It can be seen from Figure 6 that A 1 >A 2 =A 3 , then the number of seams is selected to be the upper and lower parts of A 1
Figure PCTCN2021101178-appb-000009
The coordinate information of the effective grinding seam within the range of the vertical line at S1 and S2 at both ends of Z 1 , according to the coordinate information and the upper and lower
Figure PCTCN2021101178-appb-000010
Generate a horizontal grinding range and a vertical grinding range, the horizontal grinding range is x min to x max , x min and x max are the abscissas of the two endpoints of Z n respectively, and the longitudinal grinding range includes
Figure PCTCN2021101178-appb-000011
to y n to
Figure PCTCN2021101178-appb-000012
示例性的,目标作业路线的生成方法为:根据所述打磨范围内的有效打磨拼缝的坐标信息,确定所述设定运动规划模型的约束条件;基于所述约束条件并采用启发算法对所述设定运动规划模型进行运算,得到所述目标作业路线。Exemplarily, the generation method of the target operation route is: according to the coordinate information of the effective grinding seam within the grinding range, determine the constraint condition of the set motion planning model; The set motion planning model is operated to obtain the target operation route.
可选地,设定运动规划模型的表达式为:Optionally, set the expression of the motion planning model as:
V=1,2,3...,nV=1,2,3...,n
Figure PCTCN2021101178-appb-000013
Figure PCTCN2021101178-appb-000013
约束条件为:The constraints are:
Figure PCTCN2021101178-appb-000014
Figure PCTCN2021101178-appb-000014
其中,V表示S n节点中n的数值的集合,S n表示打磨范围内的作业起点和作业结束点,l αβ表示节点S α和节点S β之间的距离值,α和β均是从V集合中选取节点数,
Figure PCTCN2021101178-appb-000015
联合约束(1)和约束(2)表明任意两个节点之间距离只计算一遍,
Figure PCTCN2021101178-appb-000016
表示节点的集合,L αα+1x αα+1表示S α节点到 S α+1节点之间距离,L α+1αx α+1α表示S α+1节点到S α节点之间距离,约束(3)表示打磨范围内没有子回路解的产生,约束(4)表示打磨范围内的作业线都是一个奇数点位S α和一个偶数点位S α+1,保证每个作业点都被打磨。
Among them, V represents the set of values of n in the Sn node, Sn represents the operation starting point and operation end point within the grinding range, l αβ represents the distance value between node S α and node S β , α and β are both from Select the number of nodes in the V set,
Figure PCTCN2021101178-appb-000015
Joint constraints (1) and (2) indicate that the distance between any two nodes is calculated only once,
Figure PCTCN2021101178-appb-000016
Represents the set of nodes, L αα+1 x αα+1 represents the distance between S α node and S α+1 node, L α+1α x α+1α represents the distance between S α+1 node and S α node, constraint (3) means that no sub-loop solution is generated within the grinding range, and constraint (4) means that the operation line within the grinding range is an odd-numbered point S α and an even-numbered point S α+1 , ensuring that each operation point is sanded.
本实施例提供的技术方案,通过将预设位置范围内的至少一个横向的待打磨拼缝的纵向坐标值进行调整,或将预设位置范围内的至少一个纵向的待打磨拼缝的横向坐标值进行调整,可以确保有序执行坐标信息的调整操作,提高坐标信息调整效率,同时更正因视觉识别精度的问题导致的待打磨拼缝的坐标信息存在差异的问题,避免后续确定有效打磨拼缝时误删很多有效的待打磨拼缝;通过基于所述有效打磨拼缝的坐标信息和磨盘尺寸生成打磨范围,可以避免因测量机器人的定位误差导致打磨范围不准确的问题,并根据打磨范围和设定运动规划模型,生成可靠的目标作业路线。The technical solution provided by this embodiment is to adjust the longitudinal coordinate value of at least one horizontal seam to be polished within a preset position range, or adjust the transverse coordinate of at least one longitudinal seam to be polished within the preset position range Adjusting the value of the coordinate information can ensure the orderly execution of the adjustment operation of the coordinate information, improve the adjustment efficiency of the coordinate information, and at the same time correct the difference in the coordinate information of the seam to be polished due to the problem of visual recognition accuracy, so as to avoid the subsequent determination of the effective polishing seam. By mistake, many effective seams to be polished can be deleted; by generating the grinding range based on the coordinate information of the effectively polished seams and the size of the grinding disc, the problem of inaccurate grinding range caused by the positioning error of the measuring robot can be avoided. Set up motion planning models to generate reliable target job routes.
实施例三Embodiment 3
图7为本申请实施例三提供的一种拼缝打磨路径生成装置的结构示意图。如图7所示,该装置包括:待打磨拼缝获取模块310、待打磨拼缝坐标信息调整模块320、有效打磨拼缝确定模块330以及目标作业路线生成模块340。FIG. 7 is a schematic structural diagram of a device for generating a seam grinding path according to Embodiment 3 of the present application. As shown in FIG. 7 , the device includes: an acquisition module 310 for seams to be polished, a coordinate information adjustment module 320 for seams to be polished, a determination module 330 for effectively polished seams, and a target operation route generation module 340 .
其中,待打磨拼缝获取模块310,设置为获取至少一个待打磨拼缝;Wherein, the to-be-polished seam acquisition module 310 is configured to acquire at least one to-be-polished seam;
待打磨拼缝坐标信息调整模块320,设置为对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标值进行调整;The coordinate information adjustment module 320 of the seam to be polished is configured to, for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, adjust at least one seam to be polished within the preset position range. Adjust the coordinate value of the grinding seam in the preset direction;
有效打磨拼缝确定模块330,设置为基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝;The effective grinding seam determination module 330 is configured to determine the effective grinding seam based on the adjusted coordinate information of at least one to-be-polished seam and the summary length threshold;
目标作业路线生成模块340,设置为基于所述有效打磨拼缝生成打磨范围, 根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线。The target operation route generation module 340 is configured to generate a grinding range based on the effective grinding joint, and generate a target operation route for the effective grinding joint according to the grinding range and the set motion planning model.
可选的,所述拼缝方向包括横向和纵向;所述预设方向为所述拼缝方向的垂直方向;待打磨拼缝坐标信息调整模块320是设置为,将预设位置范围内的至少一个横向的待打磨拼缝的纵向坐标值进行调整;或,Optionally, the seaming direction includes horizontal and vertical directions; the preset direction is the vertical direction of the seaming direction; the coordinate information adjustment module 320 of the seam to be polished is set to adjust at least the seam within the preset position range. A horizontal longitudinal coordinate value of the seam to be ground to be adjusted; or,
将预设位置范围内的至少一个纵向的待打磨拼缝的横向坐标值进行调整。Adjust the transverse coordinate value of at least one longitudinal seam to be polished within the preset position range.
待打磨拼缝坐标信息调整模块320是设置为,对于任一拼缝方向的待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息和至少一个所述待打磨拼缝的拼缝长度,确定预设位置范围内拼缝长度最大的第一待打磨拼缝;The coordinate information adjustment module 320 of the seam to be polished is configured to, for the seam to be polished in any seam direction, based on the coordinate information of at least one seam to be polished and the seam length of at least one seam to be polished , determine the first seam to be polished with the largest seam length within the preset position range;
基于所述第一待打磨拼缝在预设方向上的坐标值,调节所述预设位置范围内除所述第一待打磨拼缝之外的待打磨拼缝在预设方向上的坐标值。Based on the coordinate values of the first to-be-polished seam in a preset direction, adjust the coordinate values of the to-be-polished seam in the preset direction within the preset position range except for the first to-be-polished seam .
待打磨拼缝坐标信息调整模块320是设置为,对于任一拼缝方向的待打磨拼缝,若所述预设位置范围内至少两个待打磨拼缝发生重叠,将发生重叠的至少两个待打磨拼缝在所述任一拼缝方向上的坐标信息进行合并,生成合并后的待打磨拼缝,并将被合并的待打磨拼缝视为无效待打磨拼缝,其中,所述待打磨拼缝的坐标信息为坐标范围。The coordinate information adjustment module 320 of the seam to be polished is set so that, for the seam to be polished in any direction of the seam, if at least two seams to be polished overlap within the preset position range, at least two overlapping seams will occur. The coordinate information of the seam to be polished in the direction of any seam is merged to generate a merged seam to be polished, and the merged seam to be polished is regarded as an invalid seam to be polished, wherein the seam to be polished is The coordinate information of the grinding seam is the coordinate range.
该装置还包括:横向待调整范围确定模块;其中,横向待调整范围确定模块,设置为对于相同拼缝方向的至少一个所述待打磨拼缝,确定未进行调整的待打磨拼缝中拼缝长度最大的第二待打磨拼缝;The device further includes: a lateral to-be-adjusted range determination module; wherein, the lateral to-be-adjusted range determination module is configured to, for at least one of the to-be-polished seams in the same seam direction, determine the seam in the to-be-polished seam that has not been adjusted. The second longest seam to be polished;
基于所述第二待打磨拼缝的坐标信息,以及相同拼缝方向的至少一个所述待打磨拼缝中的至少一个未进行调整的待打磨拼缝的位置信息,确定所述第二待打磨拼缝的预设位置范围内的至少一个拼缝长度除所述第二待打磨拼缝之外的待打磨拼缝。The second to-be-polished seam is determined based on the coordinate information of the second to-be-polished seam and the position information of at least one of the at least one to-be-polished seam in the same seam direction that has not been adjusted. The length of at least one seam within the preset position range of the seam is the seam to be polished except the second seam to be polished.
有效打磨拼缝确定模块330是设置为,确定所述预设位置范围内相同拼缝方向上的所述待打磨拼缝的拼缝长度之和;The effective polishing seam determination module 330 is configured to determine the sum of the seam lengths of the seam to be polished in the same seam direction within the preset position range;
如果所述拼缝长度之和大于或等于所述汇总长度阈值,将所述拼缝长度之和大于或等于所述汇总长度阈值的至少一个待打磨拼缝作为有效打磨拼缝。If the sum of the seam lengths is greater than or equal to the aggregated length threshold, at least one to-be-sanded seam whose sum of the seam lengths is greater than or equal to the aggregated length threshold is used as a valid sanded seam.
该装置还包括:无效打磨拼缝删除模块;其中,无效打磨拼缝删除模块,设置为如果所述拼缝长度之和小于所述汇总长度阈值,将拼缝长度之和小于所述汇总长度阈值的至少一个待打磨拼缝作为无效打磨拼缝,并将所述无效打磨拼缝删除。The device further includes: an invalid sanding seam deletion module; wherein, the invalid sanding seam deletion module is set to, if the sum of the lengths of the seams is less than the summed length threshold, the sum of the lengths of the seams is smaller than the summed length threshold The at least one to-be-polished patch is regarded as an invalid polished patch, and the invalid polished patch is deleted.
目标作业路线生成模块340是设置为,以所述有效打磨拼缝为作业中心,确定距离所述作业中心特定范围的待打磨拼缝的拼缝数量,其中,所述特定范围包括距离所述作业中心的最大距离为所述磨盘尺寸的一半且分别位于所述作业中心两侧的区域组成的范围和距离所述作业中心的最大距离为所述磨盘尺寸且位于所述作业中心一侧的区域组成的范围;The target operation route generation module 340 is configured to, with the effective grinding seam as the operation center, determine the number of seams to be polished within a specific range from the operation center, wherein the specific range includes the distance from the operation center. The maximum distance from the center is half the size of the grinding disc and is composed of the area on both sides of the operation center, and the maximum distance from the work center is the size of the grinding disc and is located on one side of the operation center. range;
根据拼缝数量最大的特定范围内的有效打磨拼缝的坐标信息和所述特定范围,生成所述打磨范围。The grinding range is generated according to the coordinate information of the effective grinding seam in a specific range with the largest number of seams and the specific range.
目标作业路线生成模块340是设置为,根据所述打磨范围内的有效打磨拼缝的坐标信息,确定所述设定运动规划模型的约束条件;The target operation route generation module 340 is configured to, according to the coordinate information of the effective grinding joints within the grinding range, determine the constraints of the set motion planning model;
基于所述约束条件并采用启发算法对所述设定运动规划模型进行运算,得到所述目标作业路线。Based on the constraints and using a heuristic algorithm, the set motion planning model is operated to obtain the target operation route.
可选的,所述设定运动规划模型的表达式为:Optionally, the expression for setting the motion planning model is:
V=1,2,3...,nV=1,2,3...,n
Figure PCTCN2021101178-appb-000017
Figure PCTCN2021101178-appb-000017
约束条件为:The constraints are:
Figure PCTCN2021101178-appb-000018
Figure PCTCN2021101178-appb-000018
其中,V表示S n节点中n的数值的集合,S n表示打磨范围内的作业起点和作业结束点,l αβ表示节点S α和节点S β之间的距离值,α和β均是从V集合中选取节点数,
Figure PCTCN2021101178-appb-000019
联合约束(1)和约束(2)表明任意两个节点之间距离只计算一遍,
Figure PCTCN2021101178-appb-000020
表示节点的集合,L αα+1x αα+1表示S α节点到S α+1节点之间距离,L α+1αx α+1α表示S α+1节点到S α节点之间距离,约束(3)表示打磨范围内没有子回路解的产生,约束(4)表示打磨范围内的作业线都是一个奇数点位S α和一个偶数点位S α+1,保证每个作业点都被打磨。
Among them, V represents the set of values of n in the Sn node, Sn represents the operation starting point and operation end point within the grinding range, l αβ represents the distance value between node S α and node S β , α and β are both from Select the number of nodes in the V set,
Figure PCTCN2021101178-appb-000019
Joint constraints (1) and (2) indicate that the distance between any two nodes is calculated only once,
Figure PCTCN2021101178-appb-000020
Represents the set of nodes, L αα+1 x αα+1 represents the distance between S α node and S α+1 node, L α+1α x α+1α represents the distance between S α+1 node and S α node, constraint (3) means that no sub-loop solution is generated within the grinding range, and constraint (4) means that the operation line within the grinding range is an odd-numbered point S α and an even-numbered point S α+1 , ensuring that each operation point is sanded.
待打磨拼缝获取模块310是设置为,对待打磨建筑的拼缝进行测量,将拼缝长度大于打磨精度的至少一个拼缝确定为至少一个待打磨拼缝。The to-be-polished seam obtaining module 310 is configured to measure the seam of the building to be polished, and to determine at least one seam whose length of the seam is greater than the polishing precision as at least one seam to be polished.
本实施例提供的技术方案,获取至少一个待打磨拼缝,对于相同拼缝方向的至少一个待打磨拼缝,基于至少一个待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整,基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝,并基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成 有效打磨拼缝的目标作业路线。解决了相关技术中因为机器人出现过检导致的作业效率低的问题,通过将待打磨拼缝的坐标信息进行调整,可以避免后续确定有效打磨拼缝时误删很多待打磨拼缝,通过确定有效打磨拼缝,可以将测量机器人获取的过检拼缝删除,防止生成无效的作业路线,实现优化打磨路径,并提高拼缝打磨效率的效果。The technical solution provided in this embodiment is to obtain at least one seam to be polished, and for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, at least one seam to be polished within a preset position range is Adjusting the coordinate information of the grinding seam in a preset direction, determining an effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and a summary length threshold, and generating a grinding range based on the effective grinding seam, According to the grinding range and the set motion planning model, a target operation route for effectively grinding joints is generated. It solves the problem of low operation efficiency caused by over-checking of robots in the related art. By adjusting the coordinate information of the seam to be polished, it can avoid accidentally deleting a lot of seams to be polished when determining effective seams to be polished later. By grinding the seam, the over-checked seam obtained by the measuring robot can be deleted, preventing the generation of invalid operation routes, optimizing the grinding path, and improving the efficiency of seam grinding.
实施例四 Embodiment 4
图8为本申请实施例四提供的一种机器人的结构示意图。图8示出了适于用来实现本申请实施方式的示例性机器人12的框图。图8显示的机器人12仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。FIG. 8 is a schematic structural diagram of a robot according to Embodiment 4 of the present application. FIG. 8 shows a block diagram of an exemplary robot 12 suitable for use in implementing embodiments of the present application. The robot 12 shown in FIG. 8 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.
如图8所示,机器人12以通用计算设备的形式表现。机器人12的组件可以包括但不限于:至少一个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 8, the robot 12 takes the form of a general-purpose computing device. Components of the robot 12 may include, but are not limited to, at least one processor or processing unit 16 , a system memory 28 , and a bus 18 connecting various system components including the system memory 28 and the processing unit 16 .
总线18表示几类总线结构中的至少一种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。The bus 18 represents at least one of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards) Association, VESA) local bus and Peripheral Component Interconnect (PCI) bus.
机器人12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被机器人12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Robot 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the robot 12, including volatile and non-volatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory,RAM)30和/或高速缓存存储器。机 器人12可以包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以设置为读写不可移动的、非易失性磁介质(图8未显示,通常称为“硬盘驱动器”)。尽管图8中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如只读光盘(Compact Disc-Read Only Memory,CD-ROM),数字视盘(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过至少一个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如拼缝打磨路径生成装置的待打磨拼缝获取模块310、待打磨拼缝坐标信息调整模块320、有效打磨拼缝确定模块330以及目标作业路线生成模块340)程序模块,这些程序模块被配置以执行本申请各实施例的功能。 System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory. Robot 12 may include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, storage system 34 may be configured to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard drive"). Although not shown in FIG. 8, a magnetic disk drive for reading and writing to removable non-volatile magnetic disks (eg, "floppy disks") and removable non-volatile optical disks (eg, Compact Disc-Read only) may be provided. Read Only Memory, CD-ROM), Digital Video Disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) optical disc drive for reading and writing. In these cases, each drive may be connected to bus 18 via at least one data medium interface. The memory 28 may include at least one program product having a set of (eg, the seam to be sanded obtaining module 310 of the seam sanding path generating device, the coordinate information adjustment module 320 of the seam to be sanded, the valid sanding seam determination module 330, and the The target operation route generation module 340) program modules, which are configured to perform the functions of various embodiments of the present application.
具有一组(例如拼缝打磨路径生成装置的待打磨拼缝获取模块310、待打磨拼缝坐标信息调整模块320、有效打磨拼缝确定模块330以及目标作业路线生成模块340)程序模块46的程序/实用工具44,可以存储在例如存储器28中,这样的程序模块46包括但不限于操作系统、至少一个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块46通常执行本申请所描述的实施例中的功能和/或方法。A program with a set of program modules 46 (for example, the seam to be polished seam acquisition module 310 of the seam polishing path generation device, the coordinate information adjustment module 320 of the seam to be polished, the effective sanding seam determination module 330 and the target operation route generation module 340) program module 46 Utilities 44, which may be stored, for example, in memory 28, such program modules 46 including, but not limited to, an operating system, at least one application program, other program modules, and program data, each of which or some combination of these examples may include Implementation of the network environment. Program modules 46 generally perform the functions and/or methods of the embodiments described herein.
机器人12也可以与至少一个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与至少一个使得用户能与该机器人12交互的设备通信,和/或与使得该机器人12能与至少一个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(Input/Output,I/O)接口22进行。并且,机器人12还可以通过网络适配器20与至少一个网络(例如局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与机器人12的其它模块通信。应当明白,尽管图中未示出,可以结合机器人12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理 单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)系统、磁带驱动器以及数据备份存储系统等。The robot 12 may also communicate with at least one external device 14 (eg, a keyboard, pointing device, display 24, etc.), may also communicate with at least one device that enables a user to interact with the robot 12, and/or communicate with the robot 12. Any device (eg, network card, modem, etc.) that communicates with at least one other computing device. Such communication may take place through an input/output (I/O) interface 22 . Also, the robot 12 can communicate with at least one network (eg, a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the robot 12 via the bus 18 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with the robot 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of disks Independent Disks, RAID) systems, tape drives, and data backup storage systems.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例所提供的一种拼缝打磨路径生成方法,包括:The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a method for generating a seam polishing path provided by the embodiment of the present application, including:
获取至少一个待打磨拼缝;Obtain at least one patchwork to be polished;
对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整;For at least one of the seams to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, the coordinate information of the at least one seam to be polished in the preset direction within the preset position range is processed. Adjustment;
基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝;Based on the adjusted coordinate information of the at least one to-be-polished joint and a summary length threshold, determining an effective grinding joint;
基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线。A grinding range is generated based on the effective grinding seam, and a target operation route of the effective grinding seam is generated according to the grinding range and the set motion planning model.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例所提供的一种拼缝打磨路径生成方法。The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , for example, implementing a method for generating a seam polishing path provided by the embodiments of the present application.
当然,本领域技术人员可以理解,处理器还可以实现本申请任意实施例所提供的一种拼缝打磨路径生成方法的技术方案。Of course, those skilled in the art can understand that the processor can also implement the technical solution of the method for generating a seam grinding path provided by any embodiment of the present application.
实施例五Embodiment 5
本申请实施例五还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请实施例所提供的一种拼缝打磨路径生成方法,包括:The fifth embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a method for generating a seam grinding path as provided in the embodiment of the present application is implemented, including:
获取至少一个待打磨拼缝;Obtain at least one patchwork to be polished;
对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整;For at least one of the seams to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, the coordinate information of the at least one seam to be polished in the preset direction within the preset position range is processed. Adjustment;
基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝;Based on the adjusted coordinate information of the at least one to-be-polished joint and a summary length threshold, determining an effective grinding joint;
基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线。A grinding range is generated based on the effective grinding seam, and a target operation route of the effective grinding seam is generated according to the grinding range and the set motion planning model.
当然,本申请实施例所提供的一种计算机可读存储介质,其上存储的计算机程序不限于如上的方法操作,还可以执行本申请任意实施例所提供的一种拼缝打磨路径生成方法中的相关操作。Of course, the computer program stored on the computer-readable storage medium provided by the embodiment of the present application is not limited to the above method operations, and can also execute the method for generating a seam grinding path provided by any embodiment of the present application. related operations.
本申请实施例的计算机存储介质,可以采用至少一个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、系统或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有至少一个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器((Erasable Programmable Read-Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、系统或者器件使用或者与其结合使用。The computer storage medium of the embodiments of the present application may adopt any combination of at least one computer-readable medium. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections having at least one conductor, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above . In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device.
计算机可读的信号介质可以包括在待打磨拼缝在预设方向上的坐标信息、各个待打磨拼缝的调整后的坐标信、打磨范围以及目标作业路线等,其中承载了计算机可读的程序代码。这种传播的待打磨拼缝在预设方向上的坐标信息、各个待打磨拼缝的调整后的坐标信、打磨作业线以及目标作业路线等形式。计 算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、系统或者器件使用或者与其结合使用的程序。The computer-readable signal medium can include coordinate information of the seam to be polished in a preset direction, the adjusted coordinate information of each seam to be polished, the polishing range, and the target operation route, etc., and a computer-readable program is carried therein. code. The disseminated coordinate information of the seam to be polished in the preset direction, the adjusted coordinate letter of each seam to be polished, the polishing operation line and the target operation route, etc. A computer-readable signal medium can also be any computer-readable medium, other than a computer-readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, system, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
可以以至少一种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in at least one programming language, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional procedural programming, or a combination thereof. Language - such as "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
值得注意的是,上述拼缝打磨路径生成装置的实施例中,所包括的各个模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。It is worth noting that in the above-mentioned embodiment of the device for generating a seam grinding path, the modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, The specific names of the functional units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application.

Claims (14)

  1. 一种拼缝打磨路径生成方法,包括:A method for generating a patchwork grinding path, comprising:
    获取至少一个待打磨拼缝;Obtain at least one patchwork to be polished;
    对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整;For at least one of the seams to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, the coordinate information of the at least one seam to be polished in the preset direction within the preset position range is processed. Adjustment;
    基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝;Based on the adjusted coordinate information of the at least one to-be-polished joint and a summary length threshold, determining an effective grinding joint;
    基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线。A grinding range is generated based on the effective grinding seam, and a target operation route of the effective grinding seam is generated according to the grinding range and the set motion planning model.
  2. 根据权利要求1所述的方法,其中,所述拼缝方向包括横向和纵向;所述预设方向为所述拼缝方向的垂直方向;The method according to claim 1, wherein the seaming direction includes a transverse direction and a longitudinal direction; the preset direction is a vertical direction of the seaming direction;
    所述将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整,包括以下之一:The adjusting the coordinate information of at least one to-be-polished seam in the preset direction within the preset position range includes one of the following:
    将预设位置范围内的至少一个横向的待打磨拼缝的纵向坐标值进行调整;Adjust the longitudinal coordinate value of at least one horizontal seam to be polished within the preset position range;
    将预设位置范围内的至少一个纵向的待打磨拼缝的横向坐标值进行调整。Adjust the transverse coordinate value of at least one longitudinal seam to be polished within the preset position range.
  3. 根据权利要求2所述的方法,其中,所述对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整,包括:The method according to claim 2, wherein, for the at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, at least one seam within a preset position range is Adjust the coordinate information of the seam to be polished in the preset direction, including:
    对于任一拼缝方向的待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息和至少一个所述待打磨拼缝的拼缝长度,确定预设位置范围内拼缝长度最大的第一待打磨拼缝;For a seam to be polished in any seam direction, based on the coordinate information of at least one seam to be polished and the seam length of at least one seam to be polished, determine the first seam with the largest seam length within the preset position range Once the seam is polished;
    基于所述第一待打磨拼缝在预设方向上的坐标值,调节所述预设位置范围内除所述第一待打磨拼缝之外的待打磨拼缝在预设方向上的坐标值。Based on the coordinate values of the first to-be-polished seam in a preset direction, adjust the coordinate values of the to-be-polished seam in the preset direction within the preset position range except for the first to-be-polished seam .
  4. 根据权利要求2所述的方法,其中,所述对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整,包括:The method according to claim 2, wherein, for the at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, at least one seam within a preset position range is Adjust the coordinate information of the seam to be polished in the preset direction, including:
    对于任一拼缝方向的待打磨拼缝,在所述预设位置范围内至少两个待打磨拼缝发生重叠的情况下,将发生重叠的至少两个待打磨拼缝在所述任一拼缝方向上的坐标信息进行合并,生成合并后的待打磨拼缝,并将被合并后的待打磨拼缝视为无效待打磨拼缝,其中,所述待打磨拼缝的坐标信息为坐标范围。For a seam to be polished in any seam direction, in the case where at least two seams to be polished overlap within the preset position range, the overlapping at least two seams to be polished will be placed on any seam to be polished. The coordinate information in the seam direction is merged to generate a merged seam to be polished, and the merged seam to be polished is regarded as an invalid seam to be polished, wherein the coordinate information of the seam to be polished is the coordinate range .
  5. 根据权利要求1所述的方法,在所述基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整之前,还包括:The method according to claim 1, before adjusting the coordinate information of at least one seam to be polished in a preset direction within a preset position range based on the coordinate information of at least one seam to be polished, Also includes:
    对于相同拼缝方向的至少一个所述待打磨拼缝,确定未进行调整的待打磨拼缝中拼缝长度最大的第二待打磨拼缝;For at least one of the seams to be polished in the same seam direction, determining the second seam to be polished with the longest seam length among the seams to be polished that have not been adjusted;
    基于所述第二待打磨拼缝的坐标信息,以及相同拼缝方向的至少一个所述待打磨拼缝中的至少一个未进行调整的待打磨拼缝的位置信息,确定所述第二待打磨拼缝的预设位置范围内的至少一个除所述第二待打磨拼缝之外的待打磨拼缝。The second to-be-polished seam is determined based on the coordinate information of the second to-be-polished seam and the position information of at least one of the at least one to-be-polished seam in the same seam direction that has not been adjusted. At least one patch to be polished except the second patch to be polished within the preset position range of the patch.
  6. 根据权利要求1所述的方法,其中,所述基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝,包括:The method according to claim 1, wherein, determining the effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and a summary length threshold, comprising:
    确定预设位置范围内相同拼缝方向上的所述待打磨拼缝的拼缝长度之和;Determine the sum of the seam lengths of the seam to be polished in the same seam direction within the preset position range;
    响应于所述拼缝长度之和大于或等于所述汇总长度阈值,将所述拼缝长度之和大于或等于所述汇总长度阈值的至少一个待打磨拼缝作为有效打磨拼缝。In response to the sum of the seam lengths being greater than or equal to the aggregated length threshold, at least one to-be-sanded seam whose sum of the seam lengths is greater than or equal to the aggregated length threshold is used as a valid sanded seam.
  7. 根据权利要求6所述的方法,还包括:The method of claim 6, further comprising:
    响应于所述拼缝长度之和小于所述汇总长度阈值,将拼缝长度之和小于所述汇总长度阈值的至少一个待打磨拼缝作为无效打磨拼缝,并将所述无效打磨拼缝删除。In response to the sum of the seam lengths being less than the summary length threshold, at least one to-be-polished seam whose sum of the seam lengths is less than the summary length threshold is regarded as an invalid sanding seam, and the invalid sanding seam is deleted .
  8. 根据权利要求1所述的方法,其中,所述基于所述有效打磨拼缝生成打磨范围,包括:The method according to claim 1, wherein the generating a grinding range based on the effective grinding seam comprises:
    以所述有效打磨拼缝为作业中心,确定距离所述作业中心特定范围的待打磨拼缝的拼缝数量,其中,所述特定范围包括距离所述作业中心的最大距离为 磨盘尺寸的一半且分别位于所述作业中心两侧的区域组成的范围和距离所述作业中心的最大距离为磨盘尺寸且位于所述作业中心一侧的区域组成的范围;Taking the effective grinding seam as the operation center, determine the number of seams to be polished within a specific range from the operation center, wherein the specific range includes that the maximum distance from the operation center is half of the size of the grinding disc and The range formed by the areas located on both sides of the operation center and the maximum distance from the operation center is the size of the grinding disc and the area formed by the areas located on one side of the operation center;
    根据拼缝数量最大的特定范围内的有效打磨拼缝的坐标信息和所述特定范围,生成所述打磨范围。The grinding range is generated according to the coordinate information of the effective grinding seam in a specific range with the largest number of seams and the specific range.
  9. 根据权利要求8所述的方法,其中,所述根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线,包括:The method according to claim 8, wherein the generating the target operation route for effectively grinding the seam according to the grinding range and the set motion planning model comprises:
    根据所述打磨范围内的有效打磨拼缝的坐标信息,确定所述设定运动规划模型的约束条件;According to the coordinate information of the effective grinding seam within the grinding range, the constraint condition of the set motion planning model is determined;
    基于所述约束条件并采用启发算法对所述设定运动规划模型进行运算,得到所述目标作业路线。Based on the constraints and using a heuristic algorithm, the set motion planning model is operated to obtain the target operation route.
  10. 根据权利要求9所述的方法,其中,所述设定运动规划模型的表达式为:The method according to claim 9, wherein the expression for setting the motion planning model is:
    V=1,2,3...,nV=1,2,3...,n
    Figure PCTCN2021101178-appb-100001
    Figure PCTCN2021101178-appb-100001
    约束条件为:The constraints are:
    Figure PCTCN2021101178-appb-100002
    Figure PCTCN2021101178-appb-100002
    其中,V表示S n节点中n的数值的集合,S n表示打磨范围内的作业起点和作业结束点,l αβ表示节点S α和节点S β之间的距离值,α和β均是从V集合 中选取节点数,
    Figure PCTCN2021101178-appb-100003
    联合约束(1)和约束(2)表明任意两个节点之间距离只计算一遍,
    Figure PCTCN2021101178-appb-100004
    表示节点的集合,L αα+1x αα+1表示S α节点到S α+1节点之间距离,L α+1αx α+1α表示S α+1节点到S α节点之间距离,约束(3)表示打磨范围内没有子回路解的产生,约束(4)表示打磨范围内的作业线都是一个奇数点位S α和一个偶数点位S α+1
    Among them, V represents the set of values of n in the Sn node, Sn represents the operation starting point and operation end point within the grinding range, l αβ represents the distance value between node S α and node S β , α and β are both from Select the number of nodes in the V set,
    Figure PCTCN2021101178-appb-100003
    Joint constraints (1) and (2) indicate that the distance between any two nodes is calculated only once,
    Figure PCTCN2021101178-appb-100004
    Represents the set of nodes, L αα+1 x αα+1 represents the distance between S α node and S α+1 node, L α+1α x α+1α represents the distance between S α+1 node and S α node, constraint (3) means that no sub-loop solution is generated within the grinding range, and constraint (4) means that the working lines within the grinding range are all an odd-numbered point S α and an even-numbered point S α+1 .
  11. 根据权利要求1所述的方法,其中,所述获取至少一个待打磨拼缝,包括:The method according to claim 1, wherein the obtaining at least one seam to be polished comprises:
    对待打磨建筑的拼缝进行测量,将拼缝长度大于打磨精度的至少一个拼缝确定为所述至少一个待打磨拼缝。The seam of the building to be polished is measured, and at least one seam whose length of the seam is greater than the grinding precision is determined as the at least one seam to be polished.
  12. 一种拼缝打磨路径生成装置,包括:A device for generating a seam grinding path, comprising:
    待打磨拼缝获取模块,设置为获取至少一个待打磨拼缝;The module for obtaining the seam to be polished, which is set to obtain at least one seam to be polished;
    待打磨拼缝坐标信息调整模块,设置为对于相同拼缝方向的至少一个所述待打磨拼缝,基于至少一个所述待打磨拼缝的坐标信息,将预设位置范围内的至少一个待打磨拼缝在预设方向上的坐标信息进行调整;The coordinate information adjustment module of the seam to be polished is configured to, for at least one seam to be polished in the same seam direction, based on the coordinate information of the at least one seam to be polished, adjust at least one seam to be polished within a preset position range Adjust the coordinate information of the seam in the preset direction;
    有效打磨拼缝确定模块,设置为基于至少一个待打磨拼缝的调整后的坐标信息和汇总长度阈值,确定有效打磨拼缝;The effective grinding seam determination module is set to determine the effective grinding seam based on the adjusted coordinate information of at least one to-be-ground seam and the aggregate length threshold;
    目标作业路线生成模块,设置为基于所述有效打磨拼缝生成打磨范围,根据所述打磨范围和设定运动规划模型生成所述有效打磨拼缝的目标作业路线。The target operation route generation module is configured to generate a grinding range based on the effective grinding joint, and generate a target operation route for the effective grinding joint according to the grinding range and the set motion planning model.
  13. 一种机器人,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-11中任一项所述的拼缝打磨路径生成方法。A robot, comprising a memory, a processor and a computer program stored on the memory and running on the processor, the processor implementing the spelling described in any one of claims 1-11 when the processor executes the computer program Seam grinding path generation method.
  14. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由 计算机处理器执行时实现如权利要求1-11中任一项所述的拼缝打磨路径生成方法。A storage medium containing computer-executable instructions that, when executed by a computer processor, implement the method for generating a seam polishing path according to any one of claims 1-11.
PCT/CN2021/101178 2020-09-02 2021-06-21 Method and apparatus for generating joint polishing path, and robot and storage medium WO2022048248A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010907107.XA CN111815078B (en) 2020-09-02 2020-09-02 Abutted seam polishing path generation method and device, robot and storage medium
CN202010907107.X 2020-09-02

Publications (1)

Publication Number Publication Date
WO2022048248A1 true WO2022048248A1 (en) 2022-03-10

Family

ID=72860700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101178 WO2022048248A1 (en) 2020-09-02 2021-06-21 Method and apparatus for generating joint polishing path, and robot and storage medium

Country Status (2)

Country Link
CN (1) CN111815078B (en)
WO (1) WO2022048248A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114406563A (en) * 2022-03-14 2022-04-29 无锡砺成智能装备有限公司 Automatic welding system and welding method
CN115026824A (en) * 2022-06-16 2022-09-09 华北电力大学 A kind of on-site robot wind rotor blade grinding control method
CN118438270A (en) * 2024-07-05 2024-08-06 珠海富士智能股份有限公司 Display frame polishing method and device, equipment and medium thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111815078B (en) * 2020-09-02 2020-12-08 广东博智林机器人有限公司 Abutted seam polishing path generation method and device, robot and storage medium
CN112100730B (en) * 2020-11-11 2021-09-14 广东博智林机器人有限公司 Operation route planning method and device, electronic equipment and readable storage medium
CN115047859B (en) * 2021-03-08 2024-07-12 广东博智林机器人有限公司 Ceiling grinding method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180281012A1 (en) * 2017-03-31 2018-10-04 Canvas Construction, Inc. Automated drywall painting system and method
CN111008985A (en) * 2019-11-07 2020-04-14 贝壳技术有限公司 Panorama picture seam detection method and device, readable storage medium and electronic equipment
CN111203766A (en) * 2020-04-20 2020-05-29 广东博智林机器人有限公司 Wall surface polishing path planning method, device, equipment and medium
CN111815078A (en) * 2020-09-02 2020-10-23 广东博智林机器人有限公司 Abutted seam polishing path generation method and device, robot and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9713869B2 (en) * 2012-03-07 2017-07-25 Matthew E. Trompeter Calibration of robot work paths
CN107491070A (en) * 2017-08-31 2017-12-19 成都通甲优博科技有限责任公司 A kind of method for planning path for mobile robot and device
CN108803621B (en) * 2018-07-27 2021-06-25 广州大学 A path planning method for a rail weld grinding robot
CN109794939B (en) * 2019-02-19 2022-02-08 宁波凯德科技服务有限公司 Parallel beam planning method for welding robot motion
CN110465843B (en) * 2019-08-21 2020-11-03 广东博智林机器人有限公司 Ceiling polishing robot
CN110988586B (en) * 2019-10-28 2021-11-16 国电南瑞科技股份有限公司 Distribution network live working robot operation accurate positioning method and system
CN111438578B (en) * 2020-03-26 2021-03-02 广东博智林机器人有限公司 Wall surface polishing path planning method and device, electronic equipment and storage medium
CN111496579B (en) * 2020-04-15 2022-02-22 广东博智林机器人有限公司 Mechanical arm, wall surface processing method, electronic device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180281012A1 (en) * 2017-03-31 2018-10-04 Canvas Construction, Inc. Automated drywall painting system and method
CN111008985A (en) * 2019-11-07 2020-04-14 贝壳技术有限公司 Panorama picture seam detection method and device, readable storage medium and electronic equipment
CN111203766A (en) * 2020-04-20 2020-05-29 广东博智林机器人有限公司 Wall surface polishing path planning method, device, equipment and medium
CN111815078A (en) * 2020-09-02 2020-10-23 广东博智林机器人有限公司 Abutted seam polishing path generation method and device, robot and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114406563A (en) * 2022-03-14 2022-04-29 无锡砺成智能装备有限公司 Automatic welding system and welding method
CN114406563B (en) * 2022-03-14 2023-09-08 无锡砺成智能装备有限公司 Automatic welding system and welding method
CN115026824A (en) * 2022-06-16 2022-09-09 华北电力大学 A kind of on-site robot wind rotor blade grinding control method
CN118438270A (en) * 2024-07-05 2024-08-06 珠海富士智能股份有限公司 Display frame polishing method and device, equipment and medium thereof

Also Published As

Publication number Publication date
CN111815078B (en) 2020-12-08
CN111815078A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
WO2022048248A1 (en) Method and apparatus for generating joint polishing path, and robot and storage medium
US11526992B2 (en) Imagery-based construction progress tracking
CN113916215A (en) Method, device and equipment for updating positioning map and storage medium
WO2022100457A1 (en) Operation route planning method and apparatus, electronic device, and readable storage medium
JPWO2018185972A1 (en) Map data generation apparatus and method
CN114925439A (en) Method, apparatus, apparatus and storage medium for generating floor plan
US20180300552A1 (en) Differential Tracking for Panoramic Images
US11509881B2 (en) Stereo camera and stereophotogrammetric method
WO2022062355A1 (en) Fusion positioning method and apparatus
CN112767211A (en) Rescue resource recommendation method and device, electronic equipment and storage medium
CN114674340B (en) Map data processing method, device, electronic device and storage medium
US11403816B2 (en) Three-dimensional map generation system, three-dimensional map generation method, and computer readable medium
JP2023077246A5 (en)
CN113469398A (en) Path planning method and device, electronic equipment and storage medium
WO2024169256A1 (en) Automatic container pickup method and apparatus for automated straddle carrier, electronic device and storage medium
CN111829520A (en) Indoor positioning path drawing tool
WO2020119052A1 (en) Image rotation control method and apparatus, image rotation display method and system, and medium
CN114065334B (en) A method, device and storage medium for determining the measurement position of a virtual ruler
CN114627130A (en) Cleaning map segmentation method and device, computer equipment and storage medium
CN113987098A (en) High-precision map road boundary updating method and device, electronic equipment and storage medium
CN114299192A (en) Method, device, equipment and medium for positioning and mapping
CN114964204A (en) Map construction method, map use method, apparatus, equipment and storage medium
US20170211937A1 (en) Indoor Positioning System with Fast Plan Mapping
JPH10280871A (en) Linear management method and linear management system of shield machine, and computer-readable recording medium having linear management program recorded therein
CN114036248B (en) High-precision map data processing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21863316

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21863316

Country of ref document: EP

Kind code of ref document: A1