Unmanned ship path planning method, system and device and storage medium
By calculating the forward node and driving distance, combined with threat assessment indicators, the path planning of the unmanned vehicle is optimized, which solves the problem that the path planning method of the unmanned vehicle cannot be dynamically adjusted, and achieves efficient task completion and priority processing of high-threat targets.
Patent Information
- Application Number
- CN202410639830.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-23
AI Technical Summary
Existing unmanned vehicle path planning methods cannot dynamically adjust the route to respond to changes in target location and threat level, resulting in low mission efficiency.
By obtaining the unmanned boat information and the opponent's unmanned boat information, the forward node and driving distance are calculated, combined with the threat assessment index, the driving route is optimized to prioritize high-threat targets, and the path is dynamically adjusted.
It realizes the efficient path planning of the unmanned ship when the target position changes and the threat level changes, ensuring that the task is completed in the shortest time and high-threat targets are prioritized.
Smart Images

Figure CN118534904A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of path planning, and in particular relates to an unmanned boat path planning method, system, equipment and storage medium. Background Art
[0002] With the rapid development of science and technology, unmanned equipment can replace human-operated equipment to perform tasks in certain scenarios. Compared with traditional human-operated equipment, unmanned equipment can greatly ensure human safety when performing some dangerous tasks. Unmanned equipment needs to plan routes through program settings and perform corresponding tasks according to the planned routes.
[0003] In related technologies, the path planning of unmanned equipment such as unmanned boats mainly adopts a static model, that is, the change of the target position is not considered, the destination of the unmanned boat is fixed at a specified location within a certain period of time, and then the destination of each unmanned boat is determined according to the utility function.
[0004] Regarding the above-mentioned related technologies, in the actual execution of the mission, the destination of the unmanned boat is not fixed. During the execution of the mission, the destination may need to be changed as the target moves. At the same time, according to the difficulty of the target, it is also necessary to give priority to solving the more difficult targets, and the driving path of the unmanned boat will be different. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide an unmanned boat path planning method, system, device and storage medium, which reasonably allocate the driving route of each unmanned boat according to the difficulty and location of the executed target, so as to complete the task efficiently and quickly.
[0006] A method for unmanned boat path planning includes:
[0007] Obtain information about our own unmanned boat and the other party's unmanned boat;
[0008] Based on the information of our unmanned boat and the information of the opponent's unmanned boat, a forward node is obtained;
[0009] Based on the forward node, the travel distance of the unmanned boat is obtained;
[0010] Based on the travel distance of the unmanned boat and the threat level of the opponent, an evaluation index is obtained;
[0011] Based on the evaluation index and the constraint conditions, the driving route of the unmanned boat is obtained.
[0012] Optionally, obtaining the forward node based on the information of the unmanned boat of the party and the information of the unmanned boat of the other party includes:
[0013] Based on the information of the other party's unmanned boat, obtain the current position information, travel direction and travel speed of the other party's unmanned boat;
[0014] Based on the information of our unmanned boat, obtain the current position information, working radius and travel speed of our unmanned boat;
[0015] The forward node is obtained based on the current position information of the opponent's unmanned boat, the traveling direction, the opponent's traveling speed, the current position information of our current unmanned boat, the working radius and our traveling speed.
[0016] Optionally, when our unmanned boat reaches the target position and the opponent's unmanned boat simultaneously enters the working radius of our unmanned boat, the target position is the forward node.
[0017] Optionally, obtaining the travel distance of the unmanned boat based on the forward node includes:
[0018] When our unmanned boat departs from the base, the current distance is obtained based on the base location and the current location information of the opponent's unmanned boat;
[0019] Obtaining travel time based on the current position information of the other unmanned boat, the current distance and the working radius;
[0020] Based on the driving time and our travel speed, the driving distance of the unmanned boat is obtained.
[0021] Optionally, obtaining the travel distance of the unmanned boat based on the forward node includes:
[0022] When our unmanned boat is transferring in the middle, based on the current position information of the other unmanned boat and the traveling direction, the next position of the other unmanned boat entering the working radius of our unmanned boat is obtained;
[0023] Obtaining the travel time based on the next position, the current position information of the other unmanned boat and the other traveling speed;
[0024] Based on the driving time, the driving distance of the unmanned boat is obtained.
[0025] Optionally, the evaluation index obtained based on the travel distance of the unmanned boat and the threat level of the other party includes:
[0026] Based on the opponent's threat level, a driving order is obtained;
[0027] Based on the driving sequence and the driving distance of the unmanned boat, the evaluation index of the unmanned boat is obtained.
[0028] Optionally, obtaining the driving route of the unmanned boat based on the evaluation index and the constraint condition includes:
[0029] Optimizing the evaluation index based on the constraint condition to obtain a maximum evaluation index;
[0030] Based on the maximum evaluation index, the driving route of each unmanned boat is obtained.
[0031] An unmanned boat path planning method system, comprising:
[0032] The acquisition module is used to obtain the information of our unmanned boat and the opponent's unmanned boat;
[0033] A first calculation module is used to obtain a forward node based on the information of the unmanned boat of the party and the information of the unmanned boat of the opponent;
[0034] A second calculation module is used to obtain the travel distance of the unmanned boat based on the forward node;
[0035] An evaluation module, used to obtain an evaluation index based on the travel distance of the unmanned boat and the threat level of the opponent;
[0036] The planning module is used to obtain the driving route of the unmanned boat based on the evaluation indicators and constraints.
[0037] A terminal device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor loads and executes the computer program, the above-mentioned unmanned boat path planning method is adopted.
[0038] A computer-readable storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the above-mentioned unmanned boat path planning method is adopted.
[0039] The beneficial effect of the present invention is: according to the information of the other party's unmanned boat and our unmanned boat, the forward node where our unmanned boat can perform the task can be calculated, and the driving distance of our unmanned boat can be calculated, and then the evaluation index is obtained in combination with the threat level of the other party's unmanned boat, and the optimal driving path for each unmanned boat to perform the task is calculated by setting constraints. It is possible to continuously generate new paths as the position of the other party's unmanned boat changes, and consider the threat level of the other party's unmanned boat to prioritize the path so that our unmanned boat can perform the task first, thereby solving the problem of the other party's unmanned boat with a higher threat level, and reasonably arrange the driving route of our unmanned boat to complete the task in the shortest time. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic diagram of a process flow of an unmanned boat path planning method according to the present invention;
[0041] Figure 2 A schematic diagram of a forward node at the shortest distance of a path planning method for an unmanned boat according to the present invention;
[0042] Figure 3 A schematic diagram of the forward nodes in the shortest time of a path planning method for an unmanned boat according to the present invention;
[0043] Figure 4 A schematic diagram of a driving path starting from a base in a method for planning a path for an unmanned boat according to the present invention;
[0044] Figure 5 A schematic diagram of a driving path when an intermediate position is transferred in a path planning method for an unmanned boat according to the present invention;
[0045] Figure 6 A schematic diagram of path planning of an unmanned boat path planning method according to the present invention. DETAILED DESCRIPTION
[0046] A path planning method for an unmanned boat, such as Figure 1 As shown, including:
[0047] S100: Obtain information about our unmanned boat and information about the opponent's unmanned boat.
[0048] Specifically, our unmanned boat information includes the geographical location, mission radius, and moving speed of our unmanned boat, etc. The opponent's unmanned boat information includes the opponent's unmanned boat's current location, moving direction, moving speed, and number of unmanned boats, etc.
[0049] S110. Obtain a forward node based on the information of our unmanned boat and the information of the opponent's unmanned boat.
[0050] Specifically, the forward node is a node calculated based on the position, moving direction, and moving speed of the other party's unmanned boat combined with the geographical location and moving speed of our unmanned boat. At this forward node, the distance between our unmanned boat and the other party's unmanned boat is less than or equal to the mission radius. Our unmanned boat will go to the forward node to perform the mission.
[0051] S120: Based on the forward node, obtain the travel distance of the unmanned boat.
[0052] Specifically, the driving distance of the unmanned boat is the total distance from the time the unmanned boat leaves the base to the forward node or from the forward node to the next forward node. The total distance is calculated by starting from the base, passing through several forward nodes and finally returning to the base.
[0053] S130: Obtain an evaluation index based on the travel distance of the unmanned boat and the threat level of the opponent.
[0054] Specifically, the threat level of the other party is determined based on the tonnage and speed of the other party's unmanned boat. In addition to the threat level of the other party, the evaluation indicators also include the task cost, which refers to the time cost and the distance traveled by the unmanned boat. The time cost mainly refers to the time required to complete the entire task. During the execution of the task, the time needs to be as short as possible.
[0055] S140: Based on the evaluation index and the constraint conditions, a driving route of the unmanned boat is obtained.
[0056] Specifically, when planning the route of the unmanned boat, in addition to the evaluation indicators, additional conditions need to be set, such as when allocating, each forward node must have an unmanned boat to perform the task and a forward node can only go once, and the unmanned boat needs to return to the base after departing from the base, etc. Finally, the route of each unmanned boat is output.
[0057] Specifically, the current position information of the other party's unmanned boat is the coordinates of the other party's unmanned boat on the map, and the direction of travel refers to the direction of movement of the unmanned boat from the current position to the next position. Of course, the other party's unmanned boat may also remain motionless, in which case the direction of travel is 0 degrees.
[0058] Specifically, the working radius is the effective range of our unmanned boat to perform tasks. For example, if the working radius is 100 meters, the task can be performed when the distance to the other unmanned boat is 100 meters. The current position information of our unmanned boat is the coordinates of our unmanned boat on the map. If our unmanned boat has not started to perform the task, the current coordinates are the base coordinates.
[0059] In one implementation of this embodiment, step S110, when the travel time of our unmanned boat is the shortest, obtaining the forward node based on our unmanned boat information and the opponent's unmanned boat information includes:
[0060] S200: Based on the information of the other party's unmanned boat, obtain the current position information, the moving direction and the moving speed of the other party's unmanned boat.
[0061] S210. Based on the information of our unmanned boat, obtain the current position information, working radius and travel speed of our unmanned boat.
[0062] S220. Obtain a forward node based on the current position information, traveling direction, and traveling speed of the other party's unmanned boat, the current position information, the working radius, and the traveling speed of our current unmanned boat.
[0063] Specifically, Figure 2 As shown in the figure, according to the current position information and direction of the other unmanned boat, the 0,iThe forward node position that our unmanned boat should reach after time. When our unmanned boat needs to travel the shortest distance, the current position of our unmanned boat, the forward node and the current position of the opponent's unmanned boat need to be on a straight line. With the current position of the opponent's unmanned boat as the center and the working radius of our unmanned boat as the radius, we get the strike circle, L' is any point on the circle, at this time:
[0064]
[0065] Among them, L is the forward node, l2 is the distance between the current position of the unmanned boat and the forward node. Point L is the shortest driving distance that our unmanned boat can theoretically perform the task.
[0066] Specifically, the shortest travel time of our unmanned boat needs to meet a condition, that is, assuming that when our party reaches the forward node, the opponent's unmanned boat just enters the working radius of our unmanned boat, such as Figure 3 As shown in the figure, B is the initial position of the other party's unmanned boat. When our unmanned boat reaches L1, the other party's unmanned boat has not yet reached B', so we need to wait until the other party's unmanned boat reaches B', which is longer than the time to take L2 as the forward node. Therefore, according to the current position information, travel direction, and travel speed of the other party's unmanned boat, as well as the current position information, working radius, and travel speed of our current unmanned boat, the forward node is calculated to be L2.
[0067] In one implementation of this embodiment, step S120, based on the forward node, obtains the unmanned boat travel distance including:
[0068] S300: When our unmanned boat departs from the base, the current distance is obtained based on the base location and the current location information of the other party's unmanned boat.
[0069] Specifically, the current distance is the distance between the base and the current position of the opponent's unmanned boat.
[0070] S310: Obtain travel time based on the current position information, current distance and working radius of the other unmanned boat.
[0071] S320: Based on the driving time and our traveling speed, obtain the driving distance of the unmanned boat.
[0072] Specifically, Figure 4 As shown, taking the base as the origin of coordinates and establishing Cartesian coordinates, the following calculation formula can be obtained:
[0073] The specific calculation formula is:
[0074] (l AL +r) 2 = l AB 2 +|BB'|2 -2|l AL +r|·|l AB |·COS∠ABB';
[0075] The lengths of the sides are:
[0076] l AL =v A ·t 0,i ;
[0077]
[0078] l AB =v i ·t 0,i .
[0079] Among them, point L is the forward node, l AL is the distance from the base to the forward node, r is the working radius, l AB For 0,i The position of the other party's unmanned boat after t, BB' is the position of the other party's unmanned boat after t 0,i The distance traveled by the other unmanned boat after time, β i is the direction of the other party’s unmanned boat. i for:
[0080]
[0081] cos∠ABB'=-sin(α i +β i ).
[0082] Among them, X 0,i and Y 0,i is the coordinate of the initial position of the other unmanned boat. In the above formula, i After calculation, according to the known β i , you can find the cosine value, and then substitute the cosine value into it to solve the unknown l Al , that is, the distance traveled by the unmanned boat, and then according to the formula:
[0083] l AL =v A ·t 0,i , V A is the speed of our unmanned boat. If is known, the time from the base to the forward node can be solved. In one implementation of this embodiment, step S120 is based on the forward node to obtain the unmanned boat travel distance including:
[0084] S400: When our unmanned boat is transferring in the middle, based on the current position information and the moving direction of the other unmanned boat, the next position of the other unmanned boat entering the working radius of our unmanned boat is obtained.
[0085] S410: Obtain travel time based on the next position, the current position information of the other unmanned boat and the other traveling speed.
[0086] S420: Based on the driving time, obtain the driving distance of the unmanned boat.
[0087] Specifically, this is the situation where the unmanned boat, after departing from the base, completes the task of one forward node and needs to continue to perform the tasks of other forward nodes. Figure 5 As shown, L i is the forward node that has completed the mission, J is the current position of the other party’s unmanned boat, and J′ is the hypothetical position of the other party’s unmanned boat after passing t j,j The position reached after time.
[0088] According to the cosine theorem, we can get:
[0089]
[0090] Among them, v j is the moving speed of the other party’s unmanned boat, V A It is the moving speed of our unmanned boat.
[0091] The position of the other unmanned boat at time ti is:
[0092] X i,ti =X i,0 +v i t i sinβ i
[0093] Y i,ti =Y i,0 +v i t i cosβ i .
[0094] Where ∠L i JJ' can be determined by the following formula:
[0095]
[0096]
[0097] Combining the above formula, the time required for the local unmanned boat to move from J to J′ can be obtained as:
[0098]
[0099] The time it takes for the unmanned boat to move from J to J′ is the same as the time it takes for our unmanned boat to move from L i Move to L j的 The time is the same, so the unmanned boat can use V A *tget.
[0100] In one implementation of this embodiment, step S130 is to obtain evaluation indicators based on the driving distance of the unmanned boat and the threat level of the other party, including:
[0101] S500: Obtain a driving order based on the opponent's threat level.
[0102] Specifically, the driving order is to determine whether there is an opponent's unmanned boat that needs to be dealt with first based on the threat level of the opponent's unmanned boat.
[0103] S510: Obtain evaluation indicators of the unmanned boat based on the driving order and the driving distance of the unmanned boat.
[0104] Specifically, the evaluation indicators also include the strike cost, which is represented by the total distance traveled by the unmanned boat, specifically:
[0105]
[0106] Since the order of processing targets is different, the rewards obtained are different, so the threat level of our enemy targets decreases as follows:
[0107]
[0108]
[0109] Among them, λ represents the attack sequence of the target in the unmanned boat. If it is the second attack, λ=2.
[0110] The final reward for a single unmanned boat is:
[0111]
[0112] Among them, ω i For the threat level of the other party, is the weight.
[0113] In one implementation of this embodiment, step S140, based on the evaluation index and the constraint conditions, obtains the driving route of the unmanned boat, including:
[0114] S600: Optimize the evaluation index based on the constraint conditions to obtain the maximum evaluation index.
[0115] Specifically, the constraints are:
[0116] ui,j = {0, 1}, i, j∈N, i≠j
[0117]
[0118]
[0119]
[0120] |L i T i |≤r
[0121]
[0122] Among them, constraint 1: from i to j can only be visited once at most. This constraint means that in path planning, each target point in the path from starting point i to end point j can only be visited once.
[0123] Constraints 2 and 3: must start from the base and eventually return to the base. These two constraints ensure that the path planning must start from the base, pass through a series of target points, and eventually return to the base.
[0124] Constraint 4: All target points must be visited. This constraint requires that the path planning must pass through all target points, and no target point can be ignored or skipped.
[0125] Constraint 5: The distance between the forward node of our unmanned boat and the opponent's unmanned boat must be smaller than the working radius of our unmanned boat to ensure that our unmanned boat can perform the mission.
[0126] Constraint 6: Maximum endurance. This constraint limits the maximum endurance of the unmanned boat in path planning to ensure that the unmanned boat can complete the task before the energy is exhausted.
[0127] S610: Based on the maximum evaluation index, obtain the driving route of each unmanned boat.
[0128] Specifically, due to the number of times the target is visited and the maximum capacity of the unmanned boat, at a certain moment the target can no longer be selected or the unmanned boat cannot perform the task, and a mask is used to indicate whether the unmanned boat can perform the action at a certain moment. We define the mask rule as follows:
[0129]
[0130] If the unmanned boat reaches its maximum capacity, the mask is defined as {0, 0, 0, ..., 1}.
[0131] When calculating the route of each unmanned boat, we use the MADDPG algorithm and combine it with the constraints to obtain the algorithm programming program as follows:
[0132] $$
[0133] \begin{aligned}
[0134] &r_t=\sigma(W_r\cdot h_{t-1},x_t])\\
[0135] &z_t=\sigma(W_z\cdot[h_{t-1},x_t])\\
[0136] &\tilde{h}_t=\tanh(W\cdot[r_t*h_{t-1},x_t])\\
[0137] &h_t=(1-z_t)*h_{t-1}+z_t*\tilde{h}_t
[0138] \end{aligned}
[0139] $$
[0140] Among them, r t and z t are the reset gate and update gate, h t is the hidden state, x t is the input, * denotes element-wise multiplication, σ is the sigmoid function, and W is the weight matrix.
[0141] The above programming is interpreted as sampling a state s from the environment (including enemy unmanned boat information, our unmanned boat information, and base location, etc.), using the actor network to select an action a, execute action a (the unmanned boat goes to a certain place to perform a task), get the reward r and the new state s', store the transformation (s, a, r, s'), sample a small batch from the stored transformation, calculate the actual return: r+γ*critic(s', actor(s')), update the critic network to minimize the gap between the predicted value and the actual return, and update the actor network to maximize the critic's predicted value.
[0142] According to maximizing the critic's prediction value, the corresponding path planning is obtained.
[0143] Experimental results: Figure 6As shown in the figure, the MTWTA method is used to solve the task allocation problem with 5 unmanned surface boats on our side and 25 unmanned surface boats on the other side. We set the number of training times to 10,000, the dimension of the hidden layer to 128, the model to be updated every 50 times, and the path planning to be s1: 2→20→19→24→10, s2: 3→9→21→16→15, s3: 4→17→22→13→6, s4: 7→0→23→11→1, and s5: 12→5→8→14→18.
[0144] An unmanned boat path planning system, comprising:
[0145] The acquisition module is used to obtain the information of our unmanned boat and the opponent's unmanned boat;
[0146] The first calculation module is used to obtain the forward node based on the information of our unmanned boat and the information of the opponent's unmanned boat;
[0147] The second calculation module is used to obtain the travel distance of the unmanned boat based on the forward node;
[0148] An evaluation module is used to obtain evaluation indicators based on the travel distance of the unmanned boat and the threat level of the opponent;
[0149] The planning module is used to obtain the driving route of the unmanned boat based on evaluation indicators and constraints.
[0150] An embodiment of the present application also discloses a terminal device, including a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor loads and executes the computer program, an unmanned boat path planning method is adopted.
[0151] The terminal device may be a computer device such as a desktop computer, a laptop computer or a cloud server, and the terminal device includes but is not limited to a processor and a memory. For example, the terminal device may also include input and output devices, a network access device and a bus.
[0152] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.
[0153] Among them, the memory can be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device, or it can be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the terminal device, etc., and the memory can also be a combination of an internal storage unit and an external storage device of the terminal device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.
[0154] Among them, through this terminal device, an unmanned boat path planning method in the above embodiment is stored in the memory of the terminal device, and is loaded and executed on the processor of the terminal device for easy use.
[0155] An embodiment of the present application further discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, an unmanned boat path planning method in the above embodiment is adopted.
[0156] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above-mentioned components.
[0157] Among them, through this computer-readable storage medium, an unmanned boat path planning method in the above embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above method.
[0158] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of protection of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0159] One or more embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A method for unmanned boat path planning, characterized in that: include: Obtain information about our own unmanned boat and the other party's unmanned boat; Based on the information of our unmanned boat and the information of the opponent's unmanned boat, a forward node is obtained; Based on the forward node, the travel distance of the unmanned boat is obtained; Based on the travel distance of the unmanned boat and the threat level of the opponent, an evaluation index is obtained; Based on the evaluation index and the constraint conditions, the driving route of the unmanned boat is obtained.
2. The unmanned boat path planning method according to claim 1, characterized in that: The obtaining of the forward node based on the information of the unmanned boat of the party and the information of the unmanned boat of the other party includes: Based on the information of the other party's unmanned boat, obtain the current position information, travel direction and travel speed of the other party's unmanned boat; Based on the information of our unmanned boat, obtain the current position information, working radius and travel speed of our unmanned boat; The forward node is obtained based on the current position information of the opponent's unmanned boat, the traveling direction, the opponent's traveling speed, the current position information of our current unmanned boat, the working radius and our traveling speed.
3. The unmanned boat path planning method according to claim 2, characterized in that: When our unmanned boat reaches the target position and the opponent's unmanned boat enters the working radius of our unmanned boat at the same time, the target position is the forward node.
4. The unmanned boat path planning method according to claim 2, characterized in that: The obtaining of the unmanned boat travel distance based on the forward node includes: When our unmanned boat departs from the base, the current distance is obtained based on the base location and the current location information of the opponent's unmanned boat; Obtaining travel time based on the current position information of the other unmanned boat, the current distance and the working radius; Based on the driving time and our travel speed, the driving distance of the unmanned boat is obtained.
5. The unmanned boat path planning method according to claim 4, characterized in that: The obtaining of the unmanned boat travel distance based on the forward node includes: When our unmanned boat is transferring in the middle, based on the current position information of the other unmanned boat and the traveling direction, the next position of the other unmanned boat entering the working radius of our unmanned boat is obtained; Obtaining the travel time based on the next position, the current position information of the other unmanned boat and the other traveling speed; Based on the driving time, the driving distance of the unmanned boat is obtained.
6. The unmanned boat path planning method according to claim 1, characterized in that: The evaluation indicators obtained based on the driving distance of the unmanned boat and the threat level of the other party include: Based on the opponent's threat level, a driving order is obtained; Based on the driving sequence and the driving distance of the unmanned boat, the evaluation index of the unmanned boat is obtained.
7. The unmanned boat path planning method according to claim 1, characterized in that: The driving route of the unmanned boat obtained based on the evaluation index and the constraint conditions includes: Optimizing the evaluation index based on the constraint condition to obtain a maximum evaluation index; Based on the maximum evaluation index, the driving route of each unmanned boat is obtained.
8. An unmanned boat path planning system, characterized in that: include: The acquisition module is used to obtain the information of our unmanned boat and the opponent's unmanned boat; A first calculation module is used to obtain a forward node based on the information of the unmanned boat of the party and the information of the unmanned boat of the opponent; A second calculation module is used to obtain the travel distance of the unmanned boat based on the forward node; An evaluation module, used to obtain an evaluation index based on the travel distance of the unmanned boat and the threat level of the opponent; The planning module is used to obtain the driving route of the unmanned boat based on the evaluation indicators and constraints.
9. A terminal device, comprising a memory and a processor, characterized in that: The memory stores a computer program that can be run on the processor, and when the processor loads and executes the computer program, the method according to any one of claims 1 to 7 is adopted.
10. A computer-readable storage medium having a computer program stored therein, characterized in that: When the computer program is loaded and executed by a processor, the method according to any one of claims 1 to 7 is adopted.
