Unmanned aerial vehicle path planning method and device
Optimizing UAV path planning through a two-way random search tree and target offset sampling strategy solves the problem of low efficiency and effectiveness of path planning in complex environments and achieves the effect of quickly finding the optimal path.
Patent Information
- Application Number
- CN202410878618.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-17
AI Technical Summary
Existing UAV path planning methods have low efficiency and effectiveness in complex environments, are difficult to quickly find the optimal path, and have large randomness.
The two-way random search tree method is used to construct two random search trees from the starting point and the target point direction, and uses the target bias sampling strategy and greedy algorithm to adjust the preset step size and expansion direction to reduce the randomness of searching for new nodes. Improve the collision detection pass rate and optimize path planning.
It significantly improves the efficiency and effectiveness of UAV path planning, can quickly find the optimal path in complex environments, reduces computing resource consumption, and is suitable for autonomous flight control systems of medium- and heavy-load unmanned helicopters.
Smart Images

Figure CN118654677A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicles (UAVs), and in particular to a method and device for UAV path planning. Background Art
[0002] With the development of science and technology, drones have been widely used in logistics, disaster relief, reconnaissance and monitoring and other fields. In these application scenarios, unmanned helicopters need to fly autonomously in complex environments. Therefore, it is particularly important to study their automatic path planning technology. However, existing path planning methods still face many challenges when dealing with complex environments. Traditional path planning methods have low efficiency and effectiveness, high randomness, and it is difficult to quickly find the optimal path. Summary of the invention
[0003] The purpose of the present invention is to provide a method and device for UAV path planning, which can reduce the randomness in the UAV path planning process, improve the efficiency and effectiveness of path planning, and quickly find the optimal path.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is: a UAV path planning method, comprising:
[0005] Determine the starting point and target point of the drone, build the first random search tree from the starting point to the target point, and build the second random search tree from the target point to the starting point;
[0006] After constructing the first random search tree and the second random search tree, repeat the following steps until the first random search tree intersects with the second random search tree:
[0007] In the first random search tree, a random sampling point is generated using the target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected;
[0008] Expand the nearest node of the first random search tree toward the target point according to the preset step size to generate a new node;
[0009] Perform collision detection on the new node of the first random search tree. If the collision detection result is no collision, add the new node to the first random search tree.
[0010] Extend the second random search tree to the first random search tree with the new node added;
[0011] When the first random search tree intersects with the second random search tree, they start from the intersection point and find the planning path from the intersection point to the starting point and the target point respectively;
[0012] Optimize the planned path to obtain the optimal planned path.
[0013] Furthermore, before the nearest node of the first random search tree is extended toward the target point according to a preset step size, it includes:
[0014] When a random sampling point is generated during each iteration, a random sampling probability value is generated accordingly; the random sampling probability value is uniformly distributed between 0 and 1; the random sampling probability value is used to adjust the preset step size and the target bias value in the target bias sampling strategy.
[0015] Furthermore, according to the relationship between the random sampling probability value p and the preset probability threshold P0, the preset step size is adjusted as follows:
[0016]
[0017] Among them, step is the preset step size after adjustment, step preset The preset step size before adjustment is a fixed distance value used when extending from one node to another node.
[0018] Furthermore, the method further comprises:
[0019] When the collision detection result is a collision, repeat the following steps until the collision detection result of the new node is no collision:
[0020] Adjust the direction in which the nearest node of the first random search tree expands toward the target point;
[0021] The nearest node of the first random search tree is extended toward the target point according to the adjusted extension direction, a new node is regenerated, and collision detection is performed on the regenerated new node.
[0022] Furthermore, the planned path is optimized using a greedy algorithm to obtain the optimal planned path.
[0023] The present invention also provides a UAV path planning device, comprising:
[0024] A random search tree construction module is used to determine the starting point and target point of the drone, construct the first random search tree from the starting point to the target point, and construct the second random search tree from the target point to the starting point;
[0025] The planning path optimization module is used to repeatedly perform the following steps after constructing the first random search tree and the second random search tree until the first random search tree intersects with the second random search tree:
[0026] In the first random search tree, a random sampling point is generated using the target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected;
[0027] Expand the nearest node of the first random search tree toward the target point according to the preset step size to generate a new node;
[0028] Perform collision detection on the new node of the first random search tree. If the collision detection result is no collision, add the new node to the first random search tree.
[0029] Extend the second random search tree to the first random search tree with the new node added;
[0030] When the first random search tree intersects with the second random search tree, they start from the intersection point and find the planning path from the intersection point to the starting point and the target point respectively;
[0031] Optimize the planned path to obtain the optimal planned path.
[0032] Furthermore, when the planning path optimization module generates a random sampling point during each iteration, a random sampling probability value is generated accordingly; the random sampling probability value is uniformly distributed between 0 and 1; the random sampling probability value is used to adjust the preset step size and the target bias value in the target bias sampling strategy.
[0033] Furthermore, when the collision detection result is that a collision occurs, the planning path optimization module repeatedly performs the following steps until the collision detection result of the new node is that no collision occurs:
[0034] Adjust the direction in which the nearest node of the first random search tree expands toward the target point;
[0035] The nearest node of the first random search tree is extended toward the target point according to the adjusted extension direction, a new node is regenerated, and collision detection is performed on the regenerated new node.
[0036] Furthermore, the planned path optimization module optimizes the planned path using a greedy algorithm to obtain an optimal planned path.
[0037] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0038] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0039] The present invention also provides a computer program product, which includes a computer program, and the computer program implements the above method when executed by a processor.
[0040] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a method and device for UAV path planning, which constructs two random search trees from the starting point to the target point and from the target point to the starting point, and in the path planning process, controls the expansion direction of the nearest node to the target point, effectively reduces the randomness of searching for new nodes, improves the pass rate of new node collision detection, and improves the efficiency and effectiveness of UAV path planning. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0042] Figure 1 Flow chart of the UAV path planning method in an embodiment of the present invention;
[0043] Figure 2 This is a flow chart of performing collision detection on a new node in an embodiment of the present invention;
[0044] Figure 3 A simulation diagram of the path planning of a UAV in an embodiment of the present invention;
[0045] Figure 4 Schematic diagram of a drone path planning device in an embodiment of the present invention;
[0046] Figure 5 Schematic diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0048] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0049] Figure 1: is a flow chart of the UAV path planning method in this embodiment, the method includes:
[0050] Step 101: Determine the starting point and target point of the drone, construct a first random search tree from the starting point to the target point, and construct a second random search tree from the target point to the starting point.
[0051] Step 102: After constructing the first random search tree and the second random search tree, repeatedly perform the following steps until the iteration termination condition is reached, that is, the first random search tree intersects with the second random search tree; it should be noted that when the distance between the newly generated nodes of the first random search tree and the second random search tree is less than a set threshold, it is considered that the first random search tree intersects with the second random search tree;
[0052] 1) In the first random search tree, a random sampling point is generated using the target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected;
[0053] 2) Extend the nearest node of the first random search tree toward the target point according to the preset step size to generate a new node;
[0054] 3) Perform collision detection on the new node of the first random search tree. If the collision detection result is no collision, add the new node to the first random search tree;
[0055] 4) Using the same method as steps 1) to 3), the second random search tree is extended to the first random search tree to which the new node has been added;
[0056] When the first random search tree intersects with the second random search tree, they start from the intersection point and find the planning path from the intersection point to the starting point and the target point respectively;
[0057] Optimize the planned path to obtain the optimal planned path.
[0058] Each step is described in detail below.
[0059] In step 101, the starting point and target point of the drone are set, a first random search tree is constructed from the starting point to the target point, and a second random search tree is constructed from the target point to the starting point.
[0060] In a specific embodiment, before setting the starting point and target point of the unmanned helicopter, first, the flight environment of the unmanned helicopter is accurately modeled, including the boundaries of the flight area, the location and shape of obstacles, etc. The environment model can be two-dimensional or three-dimensional, depending on the operating space of the unmanned helicopter.
[0061] In step 102, after constructing the first random search tree and the second random search tree, the following steps are repeatedly performed until the first random search tree intersects with the second random search tree:
[0062] 1) In the first random search tree, a random sampling point is generated using the target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected.
[0063] In this embodiment, a target bias sampling strategy is used to generate random sampling points. The target bias strategy introduces directionality, reduces randomness in the search process, and thus improves search efficiency and result accuracy.
[0064] In this embodiment, before the nearest node of the first random search tree is extended toward the target point according to the preset step length, the following steps are included:
[0065] When a random sampling point is generated during each iteration, a random sampling probability value is generated accordingly; the random sampling probability value is uniformly distributed between 0 and 1; the random sampling probability value is used to adjust the preset step size and the target bias value in the target bias sampling strategy.
[0066] In a specific embodiment, the preset step size is adjusted according to the relationship between the random sampling probability index p and the preset probability threshold P0:
[0067]
[0068] Among them, step is the preset step size after adjustment, step preset The preset step size before adjustment represents a fixed distance value used in the algorithm to expand from one node to another.
[0069] 2) Expand the nearest node of the first random search tree toward the target point according to the preset step size to generate a new node.
[0070] 3) Perform a collision check on the new node of the first random search tree. When the collision check result is that no collision occurs, add the new node to the first random search tree.
[0071] like Figure 2 As shown, in this embodiment, this step also includes:
[0072] When the collision detection result is a collision, repeat the following steps until the collision detection result of the new node is no collision:
[0073] Step 201: Adjust the direction in which the nearest node of the first random search tree expands toward the target point.
[0074] Step 202: Expand the nearest node of the first random search tree toward the target point according to the adjusted expansion direction, regenerate a new node, and perform collision detection on the regenerated new node.
[0075] 4) Using the same method as steps 1) to 3), the second random search tree is extended to the first random search tree to which the new node has been added;
[0076] When the first random search tree intersects with the second random search tree, they start from the intersection point and find the planning path from the intersection point to the starting point and the target point respectively.
[0077] Optimize the planned path to obtain the optimal planned path.
[0078] In a specific embodiment, if the detection result of the new node is that no collision occurs, the new node will be added to the first random search tree and become part of the tree. During the expansion process, the distance between the nodes in the first random search tree T1 and the second random search tree T2 is continuously monitored. When the distance between any node in T1 and any node in T2 is less than a preset encounter threshold, the two trees are considered to have "met". Once the two trees meet, the encountering node is used as the intersection point, and T1 and T2 are connected through the intersection point to form a path from the starting point to the target point.
[0079] In a specific embodiment, a greedy algorithm is used to optimize the planned path to remove redundant nodes and form an optimized optimal planned path.
[0080] In order to comprehensively evaluate the performance and effectiveness of this method, this experiment was designed to cover two-dimensional (2D) and three-dimensional (3D) space, aiming to simulate the actual flight scenario of the unmanned helicopter through spatial environments of different dimensions. Specifically, the experiment includes two different scene settings: Scene 1 is designed as an environment with fewer obstacles, while Scene 2 contains a large number of obstacles to simulate more complex flight conditions.
[0081] In these two scenarios, the following algorithms were simulated and compared for path planning: the traditional fast random expansion tree (RRT) algorithm, the optimized RRT algorithm, the target biased RRT-GoalBias algorithm, the bidirectional RRT (B-RRT*) algorithm, and the method of the present invention. The specific experimental quantitative data are shown in Table 1:
[0082] Table 1
[0083]
[0084] The average planning time of the method of the present invention in a 2D environment is 0.1557 seconds, while that in a 3D environment is 0.2202 seconds. Compared with the RRT, RRT*, RRT-GoalBias and B-RRT* algorithms, the method of the present invention achieves the shortest average planning time in both environments, which shows that it has a significant advantage in path search speed. Specifically, in a 2D environment, compared with the RRT algorithm, the average planning time of the method of the present invention is reduced by 80.77%, and in a 3D environment it is reduced by 92.94%. The path planning diagram of a medium and heavy-load unmanned helicopter in a complex environment based on the method of the present invention is shown in the figure. Figure 3 shown. Figure 3 The upper left corner represents the starting point of the unmanned helicopter, which is the location where path planning begins. Figure 3 The lower right corner represents the target point of the unmanned helicopter, that is, the location where a path needs to be found. The black rectangle represents the obstacles preset in the experiment. These obstacles can be static, such as buildings, trees or other structures, or dynamic obstacles, such as other aircraft or moving obstacles. The red line usually represents the final path generated by this method, that is, the actual flight trajectory of the unmanned helicopter. This path is the path after optimization and smoothing, which takes into account obstacle avoidance, path length minimization and flight performance requirements. The blue line is the exploration tree generated in the method of the present invention, that is, the path sequence generated in the process of exploring and trying to connect the starting point and the target point in the search space.
[0085] In 2D, the average path length of the proposed method is 713.5 units, while in 3D, it is 1000 units. Although the path length in 3D is slightly longer than that in 2D, the proposed method still provides a shorter path length than RRT*, RRT-GoalBias, and B-RRT*, which highlights the effectiveness of the proposed method in finding the optimal path. In 2D, the proposed method reduces the path length by 22.09% compared to the RRT algorithm, and in 3D, it reduces it by 26.14% compared to the RRT algorithm.
[0086] The average number of iterations of the method in the 2D environment is 126.5 times, and in the 3D environment is 64.5 times, which is the lowest among all algorithms, indicating that the method in the present invention has a significant advantage in iteration efficiency and can find a feasible path in fewer iterations. In the 2D environment, compared with the RRT algorithm, the number of iterations of the method in the present invention is reduced by 90.83%, and in the 3D environment it is reduced by 97.21%.
[0087] Taking planning time, path length and number of iterations into consideration, the method of the present invention not only ensures the optimization of the path, but also significantly reduces the consumption of computing resources. In particular, the performance advantage of the method of the present invention is more prominent in 3D environments, which is particularly critical for complex scenes in practical applications.
[0088] When dealing with path planning problems in complex environments, the method of the present invention can not only quickly find a solution, but also ensure the optimization and efficiency of the path. These characteristics make the method of the present invention very suitable for use in the autonomous flight control system of medium and heavy-load unmanned helicopters, especially in emergency or complex situations that require rapid response and efficient planning. The method of the present invention demonstrates its excellent applicability and practicality.
[0089] This embodiment also provides a UAV path planning device, such as Figure 4 As shown, the device comprises:
[0090] A random search tree construction module 401 is used to determine the starting point and the target point of the UAV, construct a first random search tree from the starting point to the target point, and construct a second random search tree from the target point to the starting point;
[0091] The planning path optimization module 402 is used to repeatedly perform the following steps after constructing the first random search tree and the second random search tree until the first random search tree intersects with the second random search tree:
[0092] In the first random search tree, a random sampling point is generated using the target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected;
[0093] Expand the nearest node of the first random search tree toward the target point according to the preset step size to generate a new node;
[0094] Perform collision detection on the new node of the first random search tree. If the collision detection result is no collision, add the new node to the first random search tree.
[0095] Extend the second random search tree to the first random search tree with the new node added;
[0096] When the first random search tree intersects with the second random search tree, they start from the intersection point and find the planning path from the intersection point to the starting point and the target point respectively;
[0097] Optimize the planned path to obtain the optimal planned path.
[0098] In this embodiment, the planning path optimization module 402 generates a random sampling point using a target bias sampling strategy.
[0099] In this embodiment, when the planning path optimization module 402 generates a random sampling point during each iteration, a random sampling probability value is generated accordingly; the random sampling probability value is uniformly distributed between 0 and 1; the random sampling probability value is used to adjust the preset step size and the target bias value in the target bias sampling strategy.
[0100] In this embodiment, when the collision detection result is a collision, the planning path optimization module 402 repeatedly performs the following steps until the collision detection result of the new node is no collision:
[0101] Adjust the direction in which the nearest node of the first random search tree expands toward the target point;
[0102] The nearest node of the first random search tree is extended toward the target point according to the adjusted extension direction, a new node is regenerated, and collision detection is performed on the regenerated new node.
[0103] In this embodiment, the planned path optimization module 402 optimizes the planned path using a greedy algorithm to obtain an optimal planned path.
[0104] This embodiment also provides a computer device, Figure 5 This is a schematic diagram of a computer device in this embodiment. The computer device 500 includes a memory 510, a processor 520, and a computer program 530 stored in the memory 510 and executable on the processor 520. When the processor 520 executes the computer program 530, the above-mentioned UAV path planning method is implemented.
[0105] This embodiment also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned drone path planning method is implemented.
[0106] This embodiment also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the above-mentioned drone path planning method is implemented.
[0107] The method and device for planning a path for an unmanned aerial vehicle provided by the present invention determine a starting point and a target point of the unmanned aerial vehicle, construct a first random search tree from the starting point to the target point, and construct a second random search tree from the target point to the starting point; after constructing the first random search tree and the second random search tree, repeatedly perform the following steps until the first random search tree intersects with the second random search tree: in the first random search tree, a random sampling point is generated by using a target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected; the nearest node of the first random search tree is extended toward the target point according to a preset step length to generate a new node; collision detection is performed on the new node of the first random search tree, and when the collision detection result is that no collision occurs, the new node is added to the first random search tree; the second random search tree is extended to the first random search tree to which the new node has been added by using the same method; when the first random search tree intersects with the second random search tree, respectively starting from the intersection point, a planning path from the intersection point to the starting point and the target point is searched; the planning path is optimized to obtain an optimal planning path. In the above process, the present invention controls the expansion direction of the nearest node to the target point through the target bias sampling strategy, effectively reduces the randomness of searching for new nodes, improves the pass rate of new node collision detection, and improves the efficiency and effectiveness of the drone's path planning.
[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0112] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A method for UAV path planning, characterized in that: include: Determine the starting point and target point of the drone, build the first random search tree from the starting point to the target point, and build the second random search tree from the target point to the starting point; After constructing the first random search tree and the second random search tree, repeat the following steps until the first random search tree intersects with the second random search tree: In the first random search tree, a random sampling point is generated using the target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected; Expand the nearest node of the first random search tree toward the target point according to the preset step size to generate a new node; Perform collision detection on the new node of the first random search tree. If the collision detection result is no collision, add the new node to the first random search tree. Extend the second random search tree to the first random search tree with the new node added; When the first random search tree intersects with the second random search tree, they start from the intersection point and find the planning path from the intersection point to the starting point and the target point respectively; Optimize the planned path to obtain the optimal planned path.
2. A method for UAV path planning according to claim 1, characterized in that: Before the nearest node of the first random search tree is extended toward the target point according to the preset step size, it includes: When a random sampling point is generated during each iteration, a random sampling probability value is generated accordingly; the random sampling probability value is uniformly distributed between 0 and 1; the random sampling probability value is used to adjust the preset step size and the target bias value in the target bias sampling strategy.
3. A method for UAV path planning according to claim 2, characterized in that: According to the relationship between the random sampling probability value p and the preset probability threshold P0, the preset step size is adjusted as follows: Among them, step is the preset step size after adjustment, step preset The preset step size before adjustment is a fixed distance value used when extending from one node to another node.
4. A method for UAV path planning according to claim 1, characterized in that: Also includes: When the collision detection result is a collision, repeat the following steps until the collision detection result of the new node is no collision: Adjust the direction in which the nearest node of the first random search tree expands toward the target point; The nearest node of the first random search tree is extended toward the target point according to the adjusted extension direction, a new node is regenerated, and collision detection is performed on the regenerated new node.
5. A method for UAV path planning according to claim 1, characterized in that: The greedy algorithm is used to optimize the planned path to obtain the optimal planned path.
6. A drone path planning device, characterized in that: include: A random search tree construction module is used to determine the starting point and target point of the drone, construct the first random search tree from the starting point to the target point, and construct the second random search tree from the target point to the starting point; The planning path optimization module is used to repeatedly perform the following steps after constructing the first random search tree and the second random search tree until the first random search tree intersects with the second random search tree: In the first random search tree, a random sampling point is generated using the target bias sampling strategy, and the nearest node in the first random search tree that is closest to the random sampling point is selected; Expand the nearest node of the first random search tree toward the target point according to the preset step size to generate a new node; Perform collision detection on the new node of the first random search tree. If the collision detection result is no collision, add the new node to the first random search tree. Extend the second random search tree to the first random search tree with the new node added; When the first random search tree intersects with the second random search tree, they start from the intersection point and find the planning path from the intersection point to the starting point and the target point respectively; Optimize the planned path to obtain the optimal planned path.
7. The UAV path planning device according to claim 6, characterized in that: When the planning path optimization module generates a random sampling point in each iteration process, a random sampling probability value is correspondingly generated; the random sampling probability value is evenly distributed between 0 and 1; The random sampling probability value is used to adjust the preset step size and the target bias value in the target bias sampling strategy.
8. The unmanned aerial vehicle path planning device according to claim 6, characterized in that: When the collision detection result is a collision, the planning path optimization module repeatedly performs the following steps until the collision detection result of the new node is no collision: Adjust the direction in which the nearest node of the first random search tree expands toward the target point; The nearest node of the first random search tree is extended toward the target point according to the adjusted extension direction, a new node is regenerated, and collision detection is performed on the regenerated new node.
9. The UAV path planning device according to claim 1, characterized in that: The planning path optimization module optimizes the planning path using a greedy algorithm to obtain the optimal planning path.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
RRT-Connect algorithm-based bended feeding and discharging path planning method of robot metal plate
CN110794869A
Path planning method and device based on improved bidirectional RRT and Dijkstra fusion algorithm
CN113359746A
Unmanned aerial vehicle flight path planning method based on bidirectional APF-RRT* algorithm
CN114115362A
AUV (Autonomous Underwater Vehicle) back-to-dock path planning method based on bidirectional search RRT*
CN115454106A
Industrial robot path planning method and simulation teaching platform
CN115990884A
Cited By
Parking space selection method and system
CN121415624A
