A dual vector-based intelligent demolition robot collision detection method and system, and computer storage medium
The intelligent demolition robot and obstacles are modeled as line segment structures through the dual vector method, which is divided into rough and fine detection stages. This solves the problems of low detection accuracy and high computational load in the existing technology, and achieves more efficient collision detection.
Patent Information
- Application Number
- CN202211431407.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-11-15
AI Technical Summary
In the existing technology, the accuracy of collision detection of intelligent demolition robots in complex environments is low or the calculation load is too large, making it impossible to effectively avoid collisions between the robotic arm and environmental objects.
The collision detection method based on dual vectors is used to model the obstacles in the three-dimensional space as simple geometric structures. It is approximated by multiple line segments and divided into two stages: rough detection and fine detection. The dual vector method is used to calculate the shortest distance between line segments. , determine whether it is less than the safe distance to determine collision.
It improves the accuracy and practicality of collision detection, reduces the calculation load, and can effectively avoid collisions between the robotic arm and environmental objects.
Smart Images

Figure CN115958593B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of demolition robot control, and in particular to a dual vector-based intelligent demolition robot collision detection method and system, and a computer storage medium. Background Art
[0002] The actual working environment of intelligent demolition robots is often complex. When demolishing target objects in complex environments, it is necessary to prevent the robot arm from colliding with objects in the environment. This requires us to complete the collision detection between the demolition head and the target object, as well as the collision detection between the robot arm and objects in the environment. This section proposes a collision detection method based on dual vectors.
[0003] Domestic and foreign scholars have conducted some relevant research on collision detection. Collision detection algorithms can be divided into two categories, one is static collision detection algorithm and the other is dynamic collision detection algorithm. Static collision detection algorithm aims to detect whether objects collide in a static state. For example, Uchiki proposed a collision detection algorithm called space occupancy method. Dynamic collision detection algorithm is aimed at whether the position of objects changes in the collision state. It can be divided into collision detection algorithm based on object space and collision detection algorithm based on image space. Collision detection algorithms based on object space have been widely used, such as space segmentation method and hierarchical bounding box. The main idea of space segmentation method is to divide the space where the object is located into small spaces of equal volume and use these small spaces to approximate the object. Therefore, collision detection between spatial objects can be converted into intersection detection between spatial units. The hierarchical bounding box algorithm uses a bounding box with a slightly larger volume and simple geometric features to approximate complex objects. Then, by constructing a tree-like hierarchical structure, the geometric model of the object is getting closer and closer until the geometric features of the object are almost completely obtained. In this way, only the overlapping parts of the bounding box need to be further tested for intersections. Commonly used bounding boxes are spherical bounding boxes, axial bounding boxes, and directional bounding boxes. The calculation of the spherical bounding box is the simplest, but the accuracy is low. Both the axial bounding box and the directional bounding box have improved the accuracy, but still have difficulty meeting the requirements of more complex obstacles. Ketchel et al. proposed a cylindrical rigid body collision detection method. Kuan-chen et al. used spherical and cylindrical approximations to represent construction machinery and structural elements at the construction site.
[0004] In previous studies, the problem of spatial obstacle collision detection has been studied to a certain extent. However, in these three-dimensional space obstacle modeling and collision detection, simple geometric model envelopes are generally used. This will reduce the accuracy of potential collision detection and greatly reduce the safe working space. On the contrary, if a relatively accurate model is used, the amount of calculation in the obstacle avoidance process is always large, occupying more computer computing resources and device storage resources. This method solves the technical problems in the prior art that only simple models are used to envelop obstacles, resulting in low detection accuracy and only fine models are used for detection, resulting in a large calculation load, thereby improving the practicality of collision detection in simulation. Summary of the invention
[0005] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to provide a collision detection method and system for an intelligent demolition robot based on a dual vector, and a computer storage medium for realizing collision detection of an intelligent demolition robot.
[0006] The technical solution adopted by the present invention is: a collision detection method of an intelligent demolition robot, comprising the following steps:
[0007] Model obstacles in three-dimensional space using spatial geometric models;
[0008] Based on the established model, the demolition robot and obstacles are simplified into simple geometric structures, which are approximated by multiple line segments;
[0009] Convert the collision detection between spatial geometric models into collision detection between line segments;
[0010] Collision detection is divided into two stages: coarse detection and fine detection;
[0011] In the rough detection stage, the obstacle and the intelligent demolition robot are simplified into a line segment passing through their geometric center, and this line segment is coupled with a larger safety distance; in real time, it is detected whether the shortest distance between the intelligent demolition robot and the line segment represented by the obstacle is less than the safety distance. If the judgment result is no, the intelligent demolition robot has not collided with the obstacle;
[0012] Furthermore, if the judgment result is yes, the intelligent demolition robot may collide with the obstacle;
[0013] In the fine detection stage, a geometric body composed of multiple line segments is used to approximate the obstacle, and a line segment with a safety distance is used to represent the intelligent demolition robot; it is determined whether the shortest distance between the line segment simplified by the intelligent demolition robot and the spatial geometric model simplified by the obstacle is less than or equal to the safety distance. If the judgment result is yes, the intelligent demolition robot collides with the obstacle;
[0014] Further, if the judgment result is no, the intelligent demolition robot collides with the obstacle or not.
[0015] Another technical solution adopted by the present invention is: a collision detection system for an intelligent demolition robot, comprising:
[0016] A modeling unit is constructed to respectively model the intelligent demolition robot and obstacles in the space using a spatial geometric model;
[0017] A model conversion unit, used to simplify the demolition robot and obstacles into simple geometric structures, where the geometric structures are approximated by multiple line segments;
[0018] The rough detection unit detects in real time whether the shortest distance between the intelligent demolition robot and the line segment represented by the obstacle is less than the safe distance. If the judgment result is no, it is determined that the intelligent demolition robot has not collided with the obstacle and the detection ends;
[0019] Furthermore, if the judgment result is yes, the intelligent demolition robot may collide with the obstacle and perform fine detection;
[0020] The fine detection unit determines whether the shortest distance between the line segment simplified by the intelligent demolition robot and the space geometric model simplified by the obstacle is less than or equal to the safety distance. If the judgment result is yes, the intelligent demolition robot collides with the obstacle; if the judgment result is no, the intelligent demolition robot collides with the obstacle or not;
[0021] Further, if the judgment result is no, it is determined whether the intelligent demolition robot collides with the obstacle or not.
[0022] Another technical solution adopted by the present invention is: a computer storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the following steps:
[0023] The obstacles and demolition robots in three-dimensional space are modeled using spatial geometric models;
[0024] Based on the established model, the demolition robot and obstacles are simplified into simple geometric structures, which are approximated by multiple line segments;
[0025] Convert the collision detection between spatial geometric models into collision detection between line segments;
[0026] Collision detection is divided into two stages: coarse detection and fine detection;
[0027] In the rough detection stage, the obstacle and the intelligent demolition robot are simplified into a line segment passing through their geometric center, and this line segment is coupled with a larger safety distance; in real time, it is detected whether the shortest distance between the intelligent demolition robot and the line segment represented by the obstacle is less than the safety distance. If the judgment result is no, the intelligent demolition robot has not collided with the obstacle;
[0028] Furthermore, if the judgment result is yes, the intelligent demolition robot may collide with the obstacle;
[0029] In the fine detection stage, a geometric body composed of multiple line segments is used to approximate the obstacle, and a line segment with a safety distance is used to represent the intelligent demolition robot; it is determined whether the shortest distance between the line segment simplified by the intelligent demolition robot and the spatial geometric model simplified by the obstacle is less than or equal to the safety distance. If the judgment result is yes, the intelligent demolition robot collides with the obstacle;
[0030] Further, if the judgment result is no, the intelligent demolition robot collides with the obstacle or not.
[0031] The beneficial effects of the present invention are:
[0032] The present invention provides a collision detection method and system for a demolition robot, and a computer storage medium, which are used to model obstacles in three-dimensional space with a spatial geometric model based on an established model; simplify the demolition robot and the obstacle into a simple geometric structure based on the established model; approximate the geometric structure with multiple line segments; and convert the collision detection between spatial geometric models into collision detection between line segments and points or between line segments. The collision detection method is divided into two stages: rough detection and fine detection. Rough detection is performed first, and if no collision occurs, the detection ends; if a collision occurs, a fine detection is performed to finally determine whether a collision occurs. Multiple line segments are used to envelop obstacles, and multiple line segments can also be used to perfectly envelop objects with more complex structures. The technical problems of only using a simple model to envelop obstacles in the prior art, resulting in low detection accuracy, and only using a fine model for detection, resulting in a large calculation load, are solved, thereby improving the practicality of collision detection in simulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Some specific embodiments of the present invention will be described in detail below in an illustrative and non-limiting manner with reference to the accompanying drawings.
[0034] The same reference numerals in the drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the drawings:
[0035] Figure 1 A schematic diagram of calculating the distance between a point and a line segment in the collision detection method provided in the present invention;
[0036] Figure 2 A schematic diagram of calculating the distance between line segments in the collision detection method provided in the present invention;
[0037] Figure 3 A schematic diagram of calculating the distance between a line segment and a plane geometric body in the collision detection method provided in the present invention;
[0038] Figure 4 A schematic diagram of calculating the distance between a line segment and a curved surface geometric body in the collision detection method provided in the present invention;
[0039] Figure 5 A schematic diagram of the flow of the collision detection method provided in the present invention;
[0040] Figure 6 A schematic diagram of a rough detection process of the collision detection method provided in the present invention;
[0041] Figure 7 Schematic diagram of the positional relationship between the intelligent demolition robot and obstacles for collision detection in the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0043] Aiming at the collision detection problem of intelligent demolition robots in the working environment, a collision detection strategy based on the dual vector method is proposed, which includes the following steps:
[0044] Obstacles in three-dimensional space are modeled using a spatial geometric model; based on the established model, the demolition robot and obstacles are simplified into simple geometric structures; the geometric structures are approximated using multiple line segments; and the collision detection between spatial geometric models is converted into collision detection between line segments and points or between line segments.
[0045] refer to Figure 1 Schematic diagram of calculating the distance between a point and a line segment in the collision detection method; the shortest distance from point C to line segment AB is determined using the vector method, and the vectors of points A, B, and C can be recorded as x A ,x B and x C There are three possible positions of point C relative to AB: C1, C2, and C3. The projection of point C on line segment AB is point D, and we distinguish these three cases by determining the projection of vector AC in the direction of vector AB.
[0046] The direction vector of line segment AB can be expressed as:
[0047]
[0048] The position of point C can be determined by ε, which can be described as:
[0049]
[0050] When ε≤0, the obstacle is located at point C1; when 0<ε<1, the obstacle is located at point C2; when ε≥1, the obstacle is located at point C3; therefore, according to the value of the distance ε, the minimum distance between the point and the line segment is:
[0051]
[0052] Figure 2 Schematic diagram of calculating the distance between line segments in the collision detection method; the shortest distance between two line segments is calculated using the dual vector method, and the line segments are represented using Planck coordinates and dual vectors. The dual vector method is very suitable for collision detection because it allows a relatively simple way to find the length of the common perpendicular line between the lines on which the two line segments lie.
[0053] The relative positions of these two lines are Figure 2 The straight line S1 can be represented by point T1 and direction vector s, as shown in the following formula:
[0054]
[0055]
[0056] The present invention uses dual vectors to represent line segments. In dual vector algebra, ε 2 =0, define the following equation:
[0057]
[0058]
[0059] Line point product is expressed as:
[0060]
[0061] The line cross product is expressed as:
[0062]
[0063] in yes and The above operation provides the length d0 of the two lines' common normals. The dual angle of two lines in space consists of a real part and a dual part; two intersecting lines have only a real part, while two parallel lines have only an imaginary part. Therefore, we can determine the relative position of the two lines by determining the dual angle.
[0064] First, the two line segments are checked to determine if they are parallel. If the line segments are parallel, then we must determine whether the projection of one line segment onto the other overlaps in some way or does not overlap at all. If the line segments overlap in some way, then the shortest distance between them is d0; otherwise, the shortest distance is the distance between the two closest endpoints.
[0065] We first find where the common normal intersects the line on which each line segment lies. These two lines can be represented by the endpoints B1, B2 of the line segment and the line segment Therefore, is the length of the two line segments. The common perpendicular N intersects S1 and S2 respectively. The parametric equation of the common perpendicular at points a1 and a2 on S1 and S2 is:
[0066] a1=B1+t1s (10)
[0067] a1=B1+t1s (11)
[0068] in,
[0069]
[0070]
[0071] n=s×w (14)
[0072] The position of a is determined by the size of t. If t≤0, a is at or before the start of the line segment; if t≥1, a is at or after the end of the line segment, and if 0<t<1, a is on the line segment. The shortest distance between line segments depends on the position of the perpendicular point, so it is determined as follows.
[0073] If a1 and a2 are both within the two endpoints of the line segment, the shortest distance is d lmin =d0.
[0074] If a1 and a2 do not fall within the two endpoints of the line segment at the same time, the shortest distance is the minimum distance from the end point of the line segment to the other line segment.
[0075] refer to Figure 3 and Figure 4Schematic diagram of the collision detection method for calculating the shortest distance between a line segment and a geometric shape; the geometric shape is bounded by faces. The most basic geometric shapes belong to one of the following two categories: planar geometric shapes such as pyramids and prisms, and dicurvilinear geometric shapes such as spheres, cylinders, and cones.
[0076] refer to Figure 3 Schematic diagram of calculating the shortest distance between a line segment and a plane geometry. First, the plane with the shortest distance between the line segment and the geometry is identified. This plane is recorded as the target plane.
[0077] The intersection lines between the outer surfaces of the geometry are the contour lines of the geometry. These line segments are used as key line segments of the geometry and are represented by vectors. The shortest distance between these contour lines and the target line segment NV is calculated. The two line segments with the shortest distance to the target line segment NV are AB and CD, as shown in Figure 3 As shown in (b), the target plane is determined by them. Then, a new line segment IJ is formed through the midpoints of line segments AD and BC. Then, the shortest distances between line segments AB, CD, IJ and the target line segment NV are calculated respectively. In this way, the shortest two line segments can still be found, and the size of the target plane can be reduced by continuously adding new line segments.
[0078] If the two shortest line segments intersect, for example, Figure 3 Since their two points coincide, this overlapping point is the endpoint of a new line segment. For example, take the midpoint of DF as k. In this example, use CK as the newly detected line segment. Then a new target plane is formed in the same way, as well as a new line segment CG. The line segment density can be increased in the same way as above until the desired level is reached. The shortest distance is d gmin . Cubes and other types of pyramids can also be solved this way.
[0079] Figure 4 A schematic diagram for calculating the distance between a surface and a line segment. However, contour lines cannot be used to represent geometric surfaces. The distance between spheres and cylinders and line segments is the most widely studied. The sphere is usually represented by the radius r p , while a cylinder is usually represented by a radius r l The minimum distance d between a point and a line segment p The minimum distance d between the line segments l The calculation of can be done using the method mentioned above.
[0080] The shortest distance between a line segment and a sphere is:
[0081] d gmin =d p -r p (15)
[0082] The shortest distance between a line segment and a cylinder is:
[0083] d gmin =d l -r l (16)
[0084] On the cone surface, the key segments are represented by four evenly spaced generatrixes; Figure 4 In , these generatrixes are AB, AC, AD, and AE. The shortest distances between these four segments and the target segment are calculated. This shows that Figure 4 The two line segments closest to the conical obstacle are AB and AC. Then, the midpoint F of the arc BC is determined. Using the three new line segments AB, AF, and AH, the two line segments AF and AH with the shortest distance can be found, and the new target surface can be found. As mentioned above, the line density can be increased continuously until the line segment density reaches the desired level. The shortest distance that can be obtained is d gmin .
[0085] refer to Figure 5 It is a flow chart of the collision detection method provided in the present invention; the collision detection includes two stages: a rough detection stage and a fine detection stage; the rough detection is performed when the demolition robot arm is far away from the obstacle or the demolition robot is far away from the obstacle. The obstacle is simplified into a line segment coupled with a large safety distance r0 through its geometric center; it is detected in real time whether the shortest distance between the line segment represented by the intelligent demolition robot and the obstacle is less than the safety distance. If the judgment result is no, the intelligent demolition robot and the obstacle have not collided; the fine detection uses a geometric body composed of multiple line segments to approximate the envelope obstacle, and uses a line segment with a safety distance to represent the intelligent demolition robot; it is determined whether the shortest distance between the line segment simplified by the intelligent demolition robot and the simplified spatial geometric model of the obstacle is less than or equal to the safety distance. If the judgment result is yes, the intelligent demolition robot and the obstacle have collided;
[0086] refer to Figure 6The schematic diagram of the rough detection process of the collision detection method provided in the present invention. The method of using dual vectors is very advantageous for collision detection. It can calculate the distance between the common perpendicular line between the straight lines where the two line segments are located and the angle between them in a relatively simple way. If the distance obtained is greater than the safe distance, then no collision will occur regardless of the length of the two line segments. If the distance between the straight lines is less than the safe distance. Then determine whether the two line segments are parallel. If they are parallel, it must be determined that the projection of one line segment onto the other line segment overlaps in some way; if the line segments overlap in some way, a collision must occur; otherwise, the collision does not occur. If they are not parallel, the shortest distance between the line segments is calculated by the position of the vertical points a1 and a2 of the common perpendicular line on the line segment relative to the line segment. If the shortest distance is less than the safe distance, a detailed detection is performed. In this way, the calculation can be minimized without affecting the accuracy of the detection.
[0087] refer to Figure 7 Schematic diagram of the positional relationship between the intelligent demolition robot and obstacles for collision detection in the present invention. Figure 7 (a) Rough detection of the demolition robot and the obstacle, simplifying the obstacle and the intelligent demolition robot into a line segment passing through their geometric center, and coupling this line segment with a larger safety distance r0; Figure 7 (b) Fine detection of the contours of the demolition robot and the obstacle to determine the target plane to be detected in the next step; Figure 7 (c) Detailed detection of the newly generated line segments between the demolition robot and the obstacle; the demolition robot continuously detects the newly generated line segments until the accuracy requirements are met.
[0088] Based on the above method, the present invention also provides a dual vector-based intelligent demolition robot collision detection system, comprising:
[0089] A modeling unit, used to respectively model the intelligent demolition robot and obstacles in the space using a spatial geometric model;
[0090] A model conversion unit, used to simplify the demolition robot and obstacles into simple geometric structures, where the geometric structures are approximated by multiple line segments;
[0091] The rough detection unit detects in real time whether the shortest distance between the intelligent demolition robot and the line segment represented by the obstacle is less than the safe distance. If the judgment result is no, it is determined that the intelligent demolition robot has not collided with the obstacle and the detection ends;
[0092] Furthermore, if the judgment result is yes, the intelligent demolition robot may collide with the obstacle and perform fine detection;
[0093] The fine detection unit determines whether the shortest distance between the line segment simplified by the intelligent demolition robot and the space geometric model simplified by the obstacle is less than or equal to the safety distance. If the judgment result is yes, the intelligent demolition robot collides with the obstacle; if the judgment result is no, the intelligent demolition robot collides with the obstacle or not;
[0094] Further, if the judgment result is no, it is determined whether the intelligent demolition robot collides with the obstacle or not.
[0095] The specific working process description of a dual vector-based intelligent demolition robot collision detection system can refer to the description of the above-mentioned dual vector-based intelligent demolition robot collision detection method, which will not be repeated here.
[0096] In addition, a computer storage medium is characterized in that a computer program is stored thereon, and when the program is executed by a processor, the following steps are implemented:
[0097] Model obstacles in three-dimensional space using spatial geometric models;
[0098] Based on the established model, the demolition robot and obstacles are simplified into simple geometric structures, which are approximated by multiple line segments;
[0099] Prioritize rough detection. If no collision occurs, the detection ends.
[0100] If a collision occurs, a detailed detection is performed to ultimately determine whether a collision has occurred.
[0101] The present invention is a dual vector-based intelligent demolition robot collision detection method and system, and a computer storage medium. Multiple line segments are used to envelop obstacles, and multiple line segments can also be used to perfectly envelop objects with more complex structures. The technical problems of only using a simple model to envelop obstacles in the prior art, resulting in low detection accuracy, and only using a fine model for detection, resulting in a large calculation load, are solved, thereby improving the practicality of collision detection in simulation.
[0102] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A collision detection method for an intelligent demolition robot based on dual vectors, characterized in that: The following steps are involved: Model obstacles in three-dimensional space using spatial geometric models; Based on the established model, the intelligent demolition robot and obstacles are simplified into simple geometric structures, which are approximated by multiple line segments; Convert the collision detection between spatial geometric models into collision detection between line segments and points or between line segments and line segments; Collision detection is divided into two stages: coarse detection and fine detection; First, a rough detection is performed. If no collision occurs, the detection ends; If a collision occurs, a detailed detection is performed to finally determine whether a collision has occurred; The collision detection is divided into two stages: rough detection and fine detection, including: Firstly, a rough detection is performed on all obstacles in the virtual simulation scene to obtain the rough detection result; then, a fine detection is performed on obstacles that may collide in the rough detection to obtain the fine detection result; The method of first performing a rough detection on all obstacles in the virtual simulation scene to obtain a rough detection result includes: In the rough detection stage, the obstacle and the intelligent demolition robot are simplified into a line segment passing through their geometric center, and this line segment is coupled with a larger first safety distance; in real time, it is detected whether the shortest distance between the line segment represented by the intelligent demolition robot and the obstacle is less than the first safety distance. If the judgment result is no, the intelligent demolition robot has not collided with the obstacle; if the judgment result is yes, the intelligent demolition robot may collide with the obstacle; The detailed detection is performed on the obstacles that may collide in the rough detection to obtain the detailed detection result, including: In the fine detection stage, a geometric body composed of multiple line segments is used to approximate the envelope obstacle, and a line segment with a safety distance is used to represent the intelligent demolition robot; it is determined whether the shortest distance between the line segment simplified by the intelligent demolition robot and the spatial geometric model simplified by the obstacle is less than or equal to the second safety distance. If the judgment result is yes, the intelligent demolition robot collides with the obstacle; if the judgment result is no, the intelligent demolition robot does not collide with the obstacle.
2. According to the dual vector-based intelligent demolition robot collision detection method of claim 1, it is characterized in that: The real-time detection of whether the shortest distance between the line segments represented by the intelligent demolition robot and the obstacle is less than the safety distance includes: using line geometry and dual vector algebra to calculate the shortest distance between two line segments, and the first safety distance is the set distance.
3. According to the dual vector-based intelligent demolition robot collision detection method of claim 1, it is characterized in that: The shortest distance between the line segment simplified by the intelligent demolition robot and the space geometric model simplified by the obstacle includes: The contour lines of the spatial geometric model simplified by the obstacle are defined as the key line segments of the geometric shape; the distances between these contour lines and the line segments simplified by the intelligent demolition robot are calculated, and the two line segments with the shortest distances are recorded as the target planes; new line segments are generated through these two line segments; the shortest distance between these two line segments and the newly generated line segments is calculated, so that the two shortest line segments can still be found and a new target plane can be generated. The size of the target plane can be reduced by continuously adding new line segments until the accuracy requirements are met.
4. A dual vector-based intelligent demolition robot collision detection system, used to implement a dual vector-based intelligent demolition robot collision detection method according to any one of claims 1 to 3, characterized in that: The following units are included: A modeling unit, used to respectively model the intelligent demolition robot and obstacles in the three-dimensional space using a spatial geometric model; A model conversion unit, used to simplify the intelligent demolition robot and obstacles into simple geometric structures, where the geometric structures are approximated by multiple line segments; The rough detection unit detects in real time whether the shortest distance between the intelligent demolition robot and the line segment represented by the obstacle is less than the first safety distance. If the judgment result is no, the intelligent demolition robot does not collide with the obstacle and the detection ends; If the judgment result is yes, the intelligent demolition robot may collide with the obstacle and perform fine detection; A fine detection unit determines whether the shortest distance between the line segment simplified by the intelligent demolition robot and the space geometric model simplified by the obstacle is less than or equal to the second safety distance. If the determination result is yes, the intelligent demolition robot collides with the obstacle. If the judgment result is no, then the intelligent demolition robot has not collided with the obstacle.
5. A computer storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the steps of the intelligent demolition robot collision detection method based on dual vectors according to any one of claims 1 to 3 are implemented. Model obstacles in three-dimensional space using spatial geometric models; Based on the established model, the intelligent demolition robot and obstacles are simplified into simple geometric structures, which are approximated by multiple line segments; First, a rough detection is performed. If no collision occurs, the detection ends; If a collision occurs, a detailed detection is performed to ultimately determine whether a collision has occurred.
