Shelf inclination measurement method, system, equipment and medium based on laser scanning
Through laser scanning, the shelf legs are identified and the relative angles are calculated to adjust the AGV travel route, which solves the risk of collision when AGVs transport shelves in complex scenarios, improves handling efficiency and reduces costs.
Patent Information
- Application Number
- CN202111382841.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-11-19
AI Technical Summary
When the AGV transports shelves in complex scenes, and the space between the body size and the rack bracket is narrow, there is a risk of collision with the legs. The existing technical solutions increase the processor calculation volume and material costs.
The shelf inclination measurement method based on laser scanning is used to detect the distance between the AGV and the shelf, identify the outline and coordinates of the shelf legs, calculate the relative distance and angle, and adjust the AGV travel route to avoid collisions.
It improves the AGV's obstacle avoidance ability when transporting shelves, improves transport efficiency, and reduces processor computing and material costs.
Smart Images

Figure CN114234853B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of AGV control technology, and in particular to a method, system, equipment and medium for measuring the inclination of a shelf based on laser scanning. Background Art
[0002] In recent years, with the rise of smart factories and unmanned warehouses and the transformation and upgrading of traditional manufacturing industries, laser forklifts based on laser autonomous navigation have been widely used in many automated production lines as an important AGV equipment. At the same time, latent QR code navigation AGVs also play an important role in the automation industry. In actual applications, QR code navigation AGVs generally use fixed sites for picking up and unloading. The AGV will first come under the shelf, then lift the rack through the lifting mechanism, and finally send the rack to the designated location. For simple applications, this is the most direct and effective way to carry it. However, in complex scenarios, when the size of the vehicle body and the space gap between the rack bracket are relatively narrow, if the rack is deviated by position or angle, there is a risk of collision with the legs if the AGV directly enters the bottom of the shelf to pick up the goods.
[0003] To solve the above technical problems, the existing technical solution is to use an external camera for recognition, and further use deep learning or point cloud matching recognition algorithms to recognize the shelf legs, which will undoubtedly increase the processor's computing power and material costs. Summary of the invention
[0004] The purpose of the present invention is to provide a method, system, device and medium for measuring shelf inclination based on laser scanning to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.
[0005] In a first aspect, a method for measuring shelf inclination based on laser scanning is provided, comprising:
[0006] Detect the distance between the AGV and the target shelf in front, and send a notification signal when the AGV enters the adjustment area, so that the laser scanner mounted on the AGV scans the direction of the target shelf;
[0007] Identify the shelf leg outline and shelf leg coordinates of the target shelf in the laser scanning area;
[0008] Calculate the relative distance and angle between the target shelf and the AGV based on the shelf leg coordinates;
[0009] Adjust the AGV's route based on the calculation results.
[0010] Further, the detecting the distance between the AGV and the target shelf in front and sending a notification signal when the AGV enters the adjustment area includes:
[0011] The laser scanner is used to obtain the distance between the AGV and the target shelf in front, and to determine whether the distance between the AGV and the target shelf reaches the preset detection threshold;
[0012] If yes, a scanning signal is sent to the laser scanner and a stop signal is sent to the AGV;
[0013] If not, maintain the distance between the AGV and the target shelf in front obtained from the laser scanner.
[0014] Further, the identifying the shelf leg contour and the shelf leg coordinates of the target shelf in the laser scanning area includes:
[0015] Acquire a dense feature data area that matches the shelf leg features in the scanning area according to the angular resolution of the laser scanner and the target shelf direction, and determine the position coordinates of the dense feature data area;
[0016] Measure the length of the shelf legs of the target shelf, and use the exhaustive method to filter out the dense feature data area that matches the length of the shelf legs;
[0017] The offset error and offset angle of the target shelf are constrained to determine whether the offset error and offset angle of the screened dense feature data area are within the allowable error range. If so, the dense feature data area is confirmed to be a shelf leg.
[0018] Further, the relative distance and relative angle between the target shelf and the AGV are calculated based on the shelf leg coordinates, including:
[0019] The area of the target shelf is determined by the two shelf legs, and the inclination angle of the target shelf and the center point of the target shelf are calculated using the coordinates of the two shelf legs to determine the coordinates of the target shelf;
[0020] The distance and relative angle between the laser scanner and the center point of the target shelf are calculated, and the coordinates of the target shelf are converted into the AGV global coordinate system through matrix transformation.
[0021] Further, the use of the coordinates of the two shelf legs to calculate the inclination angle of the target shelf and the center point of the target shelf to determine the coordinates of the target shelf includes:
[0022] Calculate the coordinates of the midpoints of the two shelf legs, and determine the center position between the two shelf legs and the inclination angle of the target shelf based on the height difference between the midpoints of the two shelf legs;
[0023] Get the width of the target shelf, and use the shelf center calculation formula to determine the coordinates of the center position of the target shelf within the scanning area; the shelf center calculation formula is as follows:
[0024]
[0025] Wherein, X represents the horizontal coordinate of the center position of the two shelf legs, Y represents the vertical coordinate of the center position of the two shelf legs, W represents the width of the target shelf, X0 represents the horizontal coordinate of the center point of the target shelf, Y0 represents the vertical coordinate of the center point of the target shelf, and θ represents the inclination angle of the target.
[0026] Furthermore, the calculation of the distance and relative angle between the laser scanner and the center point of the target shelf, and the conversion of the coordinates of the target shelf into the AGV global coordinate system by matrix transformation, includes:
[0027] Obtain the real coordinates of a reference point of the AGV in the AGV global coordinate system;
[0028] Measure the relative angle and distance between the laser scanner and the reference point, and calculate the real coordinates of the laser scanner in the AGV global coordinate system through rigid body transformation;
[0029] Perform a rigid body transformation on the coordinates of the target shelf in the scanning area and calculate the real coordinates of the target shelf in the AGV global coordinate system.
[0030] Furthermore, the laser scanner is a nanoScan3 safety laser scanner.
[0031] In a second aspect, a shelf inclination measurement system based on laser scanning is provided, comprising:
[0032] The monitoring module is used to detect the distance between the AGV and the target shelf in front. When the AGV enters the adjustment area, a notification signal is sent to enable the laser scanner mounted on the AGV to scan the direction of the target shelf;
[0033] A recognition module, used to recognize the shelf leg contour and shelf leg coordinates of the target shelf in the laser scanning area;
[0034] A calculation module is used to calculate the relative distance and relative angle between the target shelf and the AGV based on the coordinates of the shelf legs;
[0035] The adjustment module is used to adjust the travel route of the AGV according to the calculation results.
[0036] According to a third aspect, a computer device is provided, comprising:
[0037] a memory storing a computer program;
[0038] A processor, wherein when executing the computer program, the processor implements the shelf inclination measurement method based on laser scanning as described in the first aspect.
[0039] In a fourth aspect, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for measuring the shelf inclination based on laser scanning as described in the first aspect is implemented.
[0040] The beneficial effects of the present invention are as follows: on the basis of the basic obstacle avoidance and navigation functions of the AGV, the inclination angle of the target shelf is determined by identifying the orientation of the shelf legs of the target shelf, and then the travel route of the AGV is adjusted according to the inclination angle of the target shelf, thereby avoiding the collision between the AGV and the shelf legs when transporting the target shelf, thereby improving the transportation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 The figure is a flow chart of a method for measuring shelf inclination based on laser scanning according to an embodiment.
[0042] Figure 2 is a flowchart of step S100 according to an embodiment.
[0043] Figure 3 is a flowchart of step S200 according to an embodiment.
[0044] Figure 4 is a flowchart of step S300 according to an embodiment.
[0045] Figure 5 It is a structural block diagram of a shelf inclination measurement system based on laser scanning according to an embodiment.
[0046] Figure 6 The figure is a diagram showing the internal structure of a computer device according to an embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be further described below in conjunction with the embodiments and drawings.
[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0049] According to a first aspect of the present invention, a method for measuring the inclination of a shelf based on laser scanning is provided.
[0050] See also Figure 1 , Figure 1FIG. 1 is a flow chart of a method for measuring shelf inclination based on laser scanning according to an embodiment. Figure 1 As shown, the method includes the following steps S100 to S400.
[0051] Step S100. Detect the distance between the AGV and the target shelf in front, and send a notification signal when the AGV enters the adjustment area, so that the laser scanner mounted on the AGV scans the direction of the target shelf.
[0052] Among them, AGV (Automated Guided Vehicle, referred to as AGV) is also commonly referred to as an AGV cart. It is a transport vehicle equipped with an electromagnetic or optical automatic navigation device, which can travel along a specified navigation path and has safety protection and various transfer functions. In industrial applications, a transport vehicle that does not require a driver uses a rechargeable battery as its power source. Generally, its path and behavior can be controlled by a computer, or its path can be set up using an electromagnetic path-following system. The electromagnetic track is attached to the floor, and the unmanned transport vehicle relies on the information brought by the electromagnetic track to move and act.
[0053] In this embodiment, the laser scanner is a nanoScan3 safety laser scanner.
[0054] The AGV executes the set instructions and carries the target shelf. In the process of carrying the shelf, the AGV reciprocates according to the set travel path. The detection action in step S100 occurs when the AGV approaches the target shelf and is about to carry the target shelf. When the AGV travels along the set travel path and is about to reach the position of the target shelf, the distance between the AGV and the target shelf in front is detected by distance measurement.
[0055] Step S200: Identify the shelf leg contour and shelf leg coordinates of the target shelf within the laser scanning area.
[0056] The laser scanner mounted on the AGV scans the direction of the target shelf to obtain a laser scanning area. The laser scanning area shows the approximate outline of the scanned object, that is, it includes the outline of the target shelf and the outline of the shelf legs. Based on the preset travel instructions in the AGV, the position of the target shelf can be roughly determined, that is, it is in front of the AGV and the distance from the AGC is the length of the adjustment area. The coordinates of the shelf legs are obtained by performing coordinate calculations in the laser scanning area.
[0057] Step S300: Calculate the relative distance and relative angle between the target shelf and the AGV based on the shelf leg coordinates.
[0058] When calculating the relative angle between the target shelf and the AGC, the AGV processor or the host computer connected to the AGV identifies the type of the target shelf through the target shelf outline, and determines the actual parameters of the target shelf through the type recognition result, such as the size of the shelf legs and the width of the target shelf. After obtaining the shelf leg coordinates, the approximate position of the target shelf in the laser scanning area can be determined, and the relative distance and relative angle between the target shelf and the AGV can be calculated by representing the target shelf coordinates with a reference point of the target shelf.
[0059] It should be noted that when determining the approximate position of the target shelf by using the two shelf legs, whether the two shelf legs belong to the target shelf can be determined based on the contour of the object in the laser scanning area. For example, when there is a contour between the two shelf legs that is similar to the contour features of the target shelf, it is determined that the two shelf legs belong to the target shelf, and then the target shelf corresponding to the two shelf legs is determined.
[0060] Step S400: Adjust the route of the AGV according to the calculation result.
[0061] In this way, based on the basic obstacle avoidance and navigation functions of the AGV, the inclination angle of the target shelf is determined by identifying the orientation of the shelf legs of the target shelf, and then the AGV's route is adjusted according to the inclination angle of the target shelf, thereby avoiding the AGV from colliding with the shelf legs when transporting the target shelf and improving the transportation efficiency.
[0062] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of step S100 according to an embodiment. Figure 2 As shown, the method includes the following steps S110 to S130.
[0063] Step S110. Obtain the distance between the AGV and the target shelf in front through a laser scanner, and determine whether the distance between the AGV and the target shelf reaches a preset detection threshold. If yes, execute step S120; if not, execute step S130.
[0064] Step S120: Send a scanning signal to the laser scanner and a stop signal to the AGV.
[0065] Step S130: Maintain the distance between the AGV and the target shelf in front obtained from the laser scanner.
[0066] In this embodiment, the distance between the AGV and the target shelf is measured from the laser scanning area of the laser scanner, so that the laser scanner can not only meet the obstacle avoidance function, but also provide the function of identifying the shelf legs in the laser scanning area obtained.
[0067] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of step S200 according to an embodiment. Figure 3 As shown, the method includes the following steps S210 to S230.
[0068] Step S210. Acquire a dense feature data area in the scanning area that matches the shelf leg features based on the angular resolution of the laser scanner and the target shelf direction, and determine the position coordinates of the dense feature data area.
[0069] Exemplarily, the angular resolution of the laser scanner is 0.17°, and the maximum scanning angle is 275°. The data packet of the laser scanning area is transmitted to the AGV processor for identification via TCP / IP. The data packet of the laser scanning area includes 6604 measurement data ((1651x4), which includes object distance and reflectivity information). The AGV processor pre-determines the contour of the scanned object within the detection range of 1000mm from the laser scanner based on the position and size of the shelf legs. For example, if the shelf leg is 100mm, according to α=arctan(100 / 1000)=5.7°, the dense data area of the scanning point can be calculated from the angular resolution of 0.17° (5.7÷0.17≈33), thereby screening out the position coordinates that can match a single shelf leg.
[0070] Step S220: Measure the length of the shelf legs of the target shelf, and use an exhaustive method to filter out a dense feature data area that matches the length of the shelf legs.
[0071] In the dense feature data area that matches the shelf leg feature, the data that may be the shelf leg is matched.
[0072] By measuring the actual physical length of the shelf legs and converting it to the corresponding length in the laser scanning area, and then calculating the length of each dense feature data area according to the two-point distance formula, the exhaustive method is used to match the two shelf legs that best match the actual length, thereby determining the two required shelf supports.
[0073] Step S230. Constrain the offset error and offset angle of the target shelf, and determine whether the offset error and offset angle of the screened dense feature data area are within the allowable error range. If so, confirm that the dense feature data area is a shelf leg.
[0074] After preliminarily determining the two required shelf supports, the offset errors and offset angles of the target shelf are constrained, and the shelf legs of the target shelf can be matched again. Within the allowable range of position and angle errors, they can be confirmed as shelf legs.
[0075] See also Figure 4 , Figure 4FIG. 1 is a flow chart of step S300 according to an embodiment. Figure 4 As shown, the method includes the following steps S310 to S320.
[0076] Step S310. Determine the area of the target shelf by using the two shelf legs, calculate the inclination angle of the target shelf and the center point of the target shelf using the coordinates of the two shelf legs, and determine the coordinates of the target shelf.
[0077] In step S310, the specific process of determining the target shelf coordinates is as follows:
[0078] The coordinates of the midpoints of the two shelf legs are calculated, and the center position between the two shelf legs and the inclination angle of the target shelf are determined based on the height difference between the midpoints of the two shelf legs.
[0079] Among them, when the target shelf has an inclination relative to the laser scanner, the shelf legs in the laser scanning area have a height difference. The inclination of the target shelf is determined by the inclination of the line connecting the midpoints of the two shelf legs. The midpoint of the line connecting the midpoints of the two shelf legs is the center position between the two shelf legs. The coordinates of the center position between the two shelf legs are represented by (X, Y).
[0080] Get the width of the target shelf, and use the shelf center calculation formula to determine the coordinates of the center position of the target shelf within the scanning area; the shelf center calculation formula is as follows:
[0081]
[0082] Wherein, X represents the horizontal coordinate of the center position of the two shelf legs, Y represents the vertical coordinate of the center position of the two shelf legs, W represents the width of the target shelf, X0 represents the horizontal coordinate of the center point of the target shelf, Y0 represents the vertical coordinate of the center point of the target shelf, and θ represents the inclination angle of the target.
[0083] Thus, the coordinates of the center position of the target shelf within the scanning area are (x0, y0, θ0).
[0084] Step S320. Calculate the distance and relative angle between the laser scanner and the center point of the target shelf, and transform the target shelf coordinates into the AGV global coordinate system through matrix transformation.
[0085] In step S320, the specific process of converting the target shelf coordinates into the AGV global coordinate system for representation is as follows:
[0086] Obtain the real coordinates of a reference point of the AGV in the AGV global coordinate system. In this embodiment, the real coordinates of the reference point of the AGV in the AGV coordinate system are obtained by using a reflector positioning or contour positioning method. The real coordinates of the reference point of the AGV are expressed as (X1, Y1).
[0087] The relative angle and distance between the laser scanner and the reference point are measured, and the real coordinates of the laser scanner in the AGV global coordinate system are calculated through rigid body transformation.
[0088] Taking the position of the AGV reference point as the reference origin, the coordinates of the laser scanner relative to the AGV reference point are expressed as (x2, y2, θ2). The coordinates of the laser scanner are rigidly transformed using the transformation matrix to obtain the true coordinates of the laser scanner in the AGV global coordinate system. The true coordinates of the laser scanner in the AGV global coordinate system are expressed as (X2, Y2, θ2).
[0089] The transformation matrix is
[0090] Perform a rigid body transformation on the coordinates of the target shelf in the scanning area and calculate the real coordinates of the target shelf in the AGV global coordinate system.
[0091] Use the transformation matrix to perform the same rigid body transformation as the above steps on the coordinates (x0, y0, θ0) of the center position of the target shelf in the scanning area to obtain the real coordinates of the center position of the target shelf in the AGV global coordinate system. The real coordinates of the center position of the target shelf in the AGV global coordinate system are expressed as (X0, Y0, θ0).
[0092] In this way, the accurate position of the target shelf in the AGV global coordinate system provides a basis for adjusting the AGV's route by determining the relative angle and relative distance between the AGV and the target shelf in the AGV global coordinate system.
[0093] According to a second aspect of the present invention, a shelf inclination measurement system based on laser scanning is provided.
[0094] See also Figure 5 , Figure 5 FIG. 1 is a block diagram of a shelf inclination measurement system based on laser scanning according to an embodiment. Figure 5 As shown, the system comprises:
[0095] The monitoring module 510 is used to detect the distance between the AGV and the target shelf in front, and send a notification signal when the AGV enters the adjustment area, so that the laser scanner mounted on the AGV scans the direction of the target shelf;
[0096] An identification module 520, for identifying the shelf leg contour and the shelf leg coordinates of the target shelf in the laser scanning area;
[0097] A calculation module 530 is used to calculate the relative distance and relative angle between the target shelf and the AGV according to the shelf leg coordinates;
[0098] The adjustment module 540 is used to adjust the travel route of the AGV according to the calculation result.
[0099] The laser scanning-based shelf inclination measurement system executes the laser scanning-based shelf inclination measurement method of the first aspect mentioned above. For the specific limitations of the laser scanning-based shelf inclination measurement system, please refer to the limitations of the laser scanning-based shelf inclination measurement method mentioned above, which will not be repeated here.
[0100] Each module in the above-mentioned laser scanning-based shelf inclination angle measurement system can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0101] According to a third aspect of the present invention, a computer device is provided.
[0102] See also Figure 6 , Figure 6 FIG. 1 is a diagram showing the internal structure of a computer device according to an embodiment. Figure 6 As shown, the computer device includes a processor, a memory and a database connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the shelf inclination measurement method based on laser scanning described in the first aspect is implemented.
[0103] The memory and processor components are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The processor is used to control the calculation of the shelf inclination, and the processor includes at least one software function module that can be stored in the memory in the form of software or firmware or solidified in the operating system (OS) of the server. The processor is used to execute the executable module stored in the memory.
[0104] The memory may be a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store programs and voice data, and the processor executes the program after receiving the execution instruction.
[0105] The processor may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0106] The processor couples various input / output devices to the processor and the memory. In some embodiments, the processor and the memory can be implemented in a single chip. In some other examples, they can be implemented by independent chips respectively.
[0107] The peripheral interface couples various input / output devices to the processor and the memory. In some embodiments, the peripheral interface, the processor and the memory can be implemented in a single chip. In some other examples, they can be implemented by separate chips respectively.
[0108] According to a fourth aspect of the present invention, a computer storage medium is further provided, wherein a computer program is stored in the computer storage medium, and the computer storage medium may be a magnetic random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a flash memory, a magnetic surface memory, an optical disk, or a read-only optical disk, etc.; or may be various devices including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program is executed by a processor, the shelf inclination angle measurement method based on laser scanning described in the first aspect is implemented.
[0109] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0110] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.
[0111] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for measuring shelf inclination based on laser scanning, characterized in that: include: Detect the distance between the AGV and the target shelf in front, and send a notification signal when the AGV enters the adjustment area, so that the laser scanner mounted on the AGV scans the direction of the target shelf; Identify the shelf leg outline and shelf leg coordinates of the target shelf in the laser scanning area; Calculate the relative distance and angle between the target shelf and the AGV based on the shelf leg coordinates; Adjust the AGV's route based on the calculation results; The method of calculating the relative distance and relative angle between the target shelf and the AGV according to the shelf leg coordinates includes: The area of the target shelf is determined by the two shelf legs, and the inclination angle of the target shelf and the center point of the target shelf are calculated using the coordinates of the two shelf legs to determine the coordinates of the target shelf; Calculate the distance and relative angle between the laser scanner and the center point of the target shelf, and transform the target shelf coordinates into the AGV global coordinate system through matrix transformation; The method of using the coordinates of the two shelf legs to calculate the inclination angle of the target shelf and the center point of the target shelf to determine the coordinates of the target shelf includes: Calculate the coordinates of the midpoints of the two shelf legs, and determine the center position between the two shelf legs and the inclination angle of the target shelf based on the height difference between the midpoints of the two shelf legs; Get the width of the target shelf, and use the shelf center calculation formula to determine the coordinates of the center position of the target shelf within the scanning area; the shelf center calculation formula is as follows: , ; in, The horizontal coordinate representing the center position of the two shelf legs, Indicates the ordinate of the center position of the two shelf legs, Indicates the width of the target shelf. Indicates the horizontal coordinate of the center point of the target shelf, Indicates the ordinate of the center point of the target shelf, Indicates the inclination angle of the target.
2. The method for measuring shelf inclination angle based on laser scanning according to claim 1, characterized in that: The detecting the distance between the AGV and the target shelf in front and sending a notification signal when the AGV enters the adjustment area includes: The laser scanner is used to obtain the distance between the AGV and the target shelf in front, and to determine whether the distance between the AGV and the target shelf reaches the preset detection threshold; If yes, a scanning signal is sent to the laser scanner and a stop signal is sent to the AGV; If not, maintain the distance between the AGV and the target shelf in front obtained from the laser scanner.
3. The method for measuring shelf inclination angle based on laser scanning according to claim 1, characterized in that: The identifying of the shelf leg contour and the shelf leg coordinates of the target shelf in the laser scanning area includes: Acquire a dense feature data area that matches the shelf leg features in the scanning area according to the angular resolution of the laser scanner and the target shelf direction, and determine the position coordinates of the dense feature data area; Measure the length of the shelf legs of the target shelf, and use the exhaustive method to filter out the dense feature data area that matches the length of the shelf legs; The offset error and offset angle of the target shelf are constrained to determine whether the offset error and offset angle of the screened dense feature data area are within the allowable error range. If so, the dense feature data area is confirmed to be a shelf leg.
4. The method for measuring shelf inclination angle based on laser scanning according to claim 1, characterized in that: The calculation of the distance and relative angle between the laser scanner and the center point of the target shelf, and the conversion of the coordinates of the target shelf into the AGV global coordinate system by matrix transformation, includes: Obtain the real coordinates of a reference point of the AGV in the AGV global coordinate system; Measure the relative angle and distance between the laser scanner and the reference point, and calculate the real coordinates of the laser scanner in the AGV global coordinate system through rigid body transformation; Perform a rigid body transformation on the coordinates of the target shelf in the scanning area and calculate the real coordinates of the target shelf in the AGV global coordinate system.
5. The method for measuring shelf inclination angle based on laser scanning according to any one of claims 1 to 4, characterized in that: The laser scanner is a nanoScan3 safety laser scanner.
6. A shelf inclination measurement system based on laser scanning, characterized in that: include: The monitoring module is used to detect the distance between the AGV and the target shelf in front. When the AGV enters the adjustment area, a notification signal is sent to enable the laser scanner mounted on the AGV to scan the direction of the target shelf; A recognition module, used to recognize the shelf leg contour and shelf leg coordinates of the target shelf in the laser scanning area; A calculation module is used to calculate the relative distance and relative angle between the target shelf and the AGV based on the coordinates of the shelf legs; An adjustment module, used to adjust the AGV's travel route according to the calculation results; The method of calculating the relative distance and relative angle between the target shelf and the AGV according to the shelf leg coordinates includes: The area of the target shelf is determined by the two shelf legs, and the inclination angle of the target shelf and the center point of the target shelf are calculated using the coordinates of the two shelf legs to determine the coordinates of the target shelf; Calculate the distance and relative angle between the laser scanner and the center point of the target shelf, and transform the target shelf coordinates into the AGV global coordinate system through matrix transformation; The method of using the coordinates of the two shelf legs to calculate the inclination angle of the target shelf and the center point of the target shelf to determine the coordinates of the target shelf includes: Calculate the coordinates of the midpoints of the two shelf legs, and determine the center position between the two shelf legs and the inclination angle of the target shelf based on the height difference between the midpoints of the two shelf legs; Get the width of the target shelf, and use the shelf center calculation formula to determine the coordinates of the center position of the target shelf within the scanning area; the shelf center calculation formula is as follows: , ; in, The horizontal coordinate representing the center position of the two shelf legs, Indicates the ordinate of the center position of the two shelf legs, Indicates the width of the target shelf. Indicates the horizontal coordinate of the center point of the target shelf, Indicates the ordinate of the center point of the target shelf, Indicates the inclination angle of the target.
7. A computer device, characterized in that: include: a memory storing a computer program; A processor, wherein when executing the computer program, the processor implements the shelf inclination measurement method based on laser scanning as described in any one of claims 1 to 5.
8. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for measuring shelf inclination based on laser scanning as described in any one of claims 1 to 5 is implemented.
