Unmanned vehicle formation control method and terminal
A control method, an unmanned vehicle technology, applied in the direction of two-dimensional position/channel control, etc., can solve the problems of time-consuming, laborious, deviation, unmanned vehicle marshalling path can not be guaranteed to be completely consistent, etc., to improve efficiency and accuracy Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0085] Please refer to figure 1 , Figure 3-Figure 7 , a method for controlling formation of unmanned vehicles in this embodiment, comprising the steps of:
[0086] S0, initialize the canvas canvas, including:
[0087] S01. Use the browser's own document.createElement('canvas') method to create a canvas tag, set the length and width of the canvas, and use the appendChild method in the browser API interface to add the canvas tag to the preset display area;
[0088] S02. Use the built-in getContext('2d') method of the canvas to obtain the context (ctx) of the canvas, and then operate the ctx to realize the content rendering of the canvas;
[0089] S03, draw a chessboard in canvas;
[0090] Specifically, as image 3 As shown, suppose to draw a chessboard with specification (Col)=9 and width (width)=20, it needs to cycle N times, N=Col+1=10, draw N(10) horizontal lines and N(10) vertical lines Line; take the upper left corner as the [0,0] point, then:
[0091] The starting p...
Embodiment 2
[0137] Please refer to figure 2 , an unmanned vehicle formation control terminal of this embodiment includes a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the embodiment when the processor executes the computer program Each step in the formation control method of unmanned vehicles in one.
[0138] To sum up, the present invention provides an unmanned vehicle formation control method and terminal, which draws an icon corresponding to each unmanned vehicle in the formation according to the preset formation, and determines the corresponding unmanned vehicle according to the icon. Unmanned vehicle information; determine formation parameters according to the unmanned vehicle information; obtain the formation center waypoint, and calculate based on the formation parameters and the formation center waypoint to obtain the unmanned vehicle waypoint of the unmanned vehicle ; Control the unmanned vehicle ac...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


