WO2022226720A1 - Path planning method, path planning device, and medium - Google Patents
Path planning method, path planning device, and medium Download PDFInfo
- Publication number
- WO2022226720A1 WO2022226720A1 PCT/CN2021/089876 CN2021089876W WO2022226720A1 WO 2022226720 A1 WO2022226720 A1 WO 2022226720A1 CN 2021089876 W CN2021089876 W CN 2021089876W WO 2022226720 A1 WO2022226720 A1 WO 2022226720A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sub
- convex
- convex sub
- region
- path
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 99
- 238000005520 cutting process Methods 0.000 claims description 257
- 238000004590 computer program Methods 0.000 claims description 27
- 230000011218 segmentation Effects 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 36
- 230000033001 locomotion Effects 0.000 description 34
- 238000010586 diagram Methods 0.000 description 26
- 238000012545 processing Methods 0.000 description 26
- 230000007246 mechanism Effects 0.000 description 21
- 238000005507 spraying Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 239000000575 pesticide Substances 0.000 description 8
- 230000001133 acceleration Effects 0.000 description 7
- 238000004364 calculation method Methods 0.000 description 6
- 239000011159 matrix material Substances 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 4
- 238000013507 mapping Methods 0.000 description 4
- 239000007921 spray Substances 0.000 description 4
- 238000013519 translation Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000001953 sensory effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000010845 search algorithm Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/12—Edge-based segmentation
Definitions
- the present application relates to the field of imaging technologies, and in particular, to a path planning method, a path planning device, and a medium.
- Unmanned aerial vehicle is referred to as "UAV”. It is an unmanned aircraft operated by radio remote control equipment and self-provided program control device. It can be used for agricultural, forestry and plant protection operations, exploration operations, etc., with the advantages of safety, efficiency and resource saving. .
- UAVs The automatic operation technology of UAVs is not perfect, and it can only be used for simple terrains. For operation areas with complex terrains, such as concave irregular operation areas, obstacles in the operation area, etc., the scope of application of UAVs is limited.
- the embodiments of the present application provide a path planning method, a path planning device, and a medium, so as to improve the scope of application of the UAV for automatic operation.
- an embodiment of the present application provides a path planning method for planning a target path of a movable platform.
- the method includes: cutting a concave working area of the movable platform into a plurality of convex sub-regions; determining each The reference path of the movable platform corresponding to the convex sub-area, the direction of the reference path is parallel to the direction of the cutting line in the cutting operation area; connect the reference paths corresponding to each convex sub-area to generate the movement of the movable platform in the operation area.
- Target path includes: cutting a concave working area of the movable platform into a plurality of convex sub-regions; determining each The reference path of the movable platform corresponding to the convex sub-area, the direction of the reference path is parallel to the direction of the cutting line in the cutting operation area; connect the reference paths corresponding to each convex sub-area to generate the movement of the movable platform in the operation area.
- an embodiment of the present application provides a path planning method for planning a target path of a movable platform.
- the method includes: determining a plurality of convex sub-regions and respective sub-target paths of the plurality of convex sub-regions ; Connect the respective sub-goal paths of each convex sub-region to generate the target path, so that the target path is the shortest.
- an embodiment of the present application provides a path planning apparatus for planning a target path of a movable platform, the apparatus comprising: one or more processors; and a computer-readable storage medium for storing one or more The computer program, when the computer program is executed by the processor, realizes: cutting the concave working area of the movable platform into a plurality of convex sub-regions; determining the reference path of the movable platform corresponding to each convex sub-region, and the reference path of the The direction is parallel to the direction of the cutting line of the cutting operation area; the reference path corresponding to each convex sub-area is connected to generate the target path when the movable platform operates in the operation area.
- an embodiment of the present application provides a path planning apparatus for planning a target path of a movable platform, the apparatus comprising: one or more processors; and a computer-readable storage medium for storing one or more A computer program, when executed by a processor, realizes: determining a plurality of convex sub-regions and respective sub-goal paths of the plurality of convex sub-regions; connecting the respective sub-goal paths of each convex sub-region to generate a target path so that the target path is the shortest.
- embodiments of the present application provide a computer-readable storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, can cause one or more processors to execute the above method.
- an embodiment of the present application provides a computer program, including executable instructions, which, when executed, implement the above method.
- the reference path corresponding to each sub-area is parallel to the direction of the cutting line.
- the consistency of the target path in the overall direction can be improved. It helps to improve the stability of the UAV operation, and on the other hand, it can make the operation of the movable platform at the boundary of two adjacent sub-areas more uniform.
- the flight path planning of complex terrain can be handled, and the calculation amount of the flight path planning can be reduced.
- the operation effect of the drone can be effectively improved.
- the drones move in the same direction and spray the pesticide on the left and right sides of the cutting line, and the pesticide spraying is more uniform. , It is not easy to have problems such as over-spraying and missing spraying.
- 1 is an application scenario of a path planning method, a path planning device, and a medium provided by an embodiment of the present application;
- FIG. 2 is a schematic diagram of a planned path provided by the prior art
- FIG. 3 is an application scenario of a path planning method, a path planning device, and a medium provided by another embodiment of the present application;
- FIG. 4 is a schematic flowchart of a path planning method provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a working area provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of a cutting line provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a convex sub-region provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of a cutting line provided by another embodiment of the present application.
- FIG. 9 is a schematic diagram of a reference path provided by an embodiment of the present application.
- FIG. 10 is a schematic diagram of a sub-target path for a convex sub-region in FIG. 9;
- FIG. 11 is a schematic diagram of a target path provided by an embodiment of the present application.
- FIG. 12 is a schematic diagram of a target path provided by another embodiment of the present application.
- Fig. 13 is the schematic diagram of the connection path in Fig. 12;
- FIG. 14 is a schematic flowchart of a path planning method provided by another embodiment of the present application.
- 15 is a schematic diagram of respective ports of image sub-regions provided by an embodiment of the present application.
- FIG. 16 is a flowchart of route planning performed by the route planning system provided by the embodiment of the present application.
- FIG. 17 is a schematic structural diagram of a path planning apparatus provided by an embodiment of the present application.
- FIG. 18 is a schematic structural diagram of a path planning apparatus provided by another embodiment of the present application.
- the operation scene of agricultural drones is relatively complex, and a large part of the problem is that the operation area is naturally formed, and the shapes are mostly irregular geometric shapes.
- most of the farmland in the hilly areas of southern and western mainland China is divided into special geometric areas by small hillsides, ponds, and villages.
- a geometrical area with a concave outer contour, or a geometrical area containing obstacles in its interior here we collectively refer to the above two geometrical areas as a concave operating area.
- Traditional path planning can better solve the scenarios of convex work areas. For concave work areas, the planned paths often go beyond the work area, which brings security risks. Efficiency is also greatly reduced.
- the UAV route planning technology in the related art can involve applications in agriculture and surveying and mapping.
- the concave operation area still has the following defects: for example, when switching areas, the route will still exceed the delimited operation area.
- the route was not optimized from the overall mission performance efficiency.
- the operation area is divided by the cutting line, and the target path in each convex sub-area obtained by the segmentation is planned based on the direction of the cutting line,
- the UAV can automatically plan the target path of the operation area, and there is no intersection between the target path and the forbidden area in the operation area, and there is no intersection between the target path and the area outside the operation area.
- the target path of each convex sub-region is planned based on the direction of the cutting line, it can effectively improve the consistency of the target path in the overall direction, help improve the stability of the UAV operation, and make the The operation of the drone at the border of two adjacent sub-regions is more uniform.
- the drones move in the same direction and spray pesticides on the left and right sides of the cutting line.
- the embodiments of the present application help to improve the operation accuracy and shorten the length of the target path.
- FIG. 1 is an application scenario of a path planning method, a path planning device, and a medium provided by an embodiment of the present application.
- the UAV flies in a certain flight direction, and can fly into the operation area 100 in the certain flight direction or a preset flight direction to perform operations.
- the work area 100 may include a no-pass area, such as an obstacle area 103 .
- the work area 100 may be divided based on the certain flight direction to obtain a plurality of convex sub-areas 101 .
- the work area 100 may be divided based on the cutting line 102 parallel to the certain flying direction, so as to obtain a plurality of convex sub-areas 101 .
- a complex work area 100 such as a work area 100 including a concave area and/or obstacles, can be divided into a plurality of convex sub-areas 101, so as to avoid the planned target path (as shown by the dotted line in the work area 100) passing through the work Outside the area, causing potential flight risks or wasting operation materials, etc.
- the sub-target path 1011 of each convex sub-region can be determined based on the cutting line 102, and then the sub-target path 1011 of each convex sub-region can be connected through the connection path 104 to obtain the target path of the working region.
- FIG. 2 is a schematic diagram of a planned route provided by the prior art.
- the vertical line is the planned target path for the concave working area.
- the planned path does not consider the geometry of the working area, and the planned path may pass through the non-working area.
- crossing the non-operating area has great safety risks; on the other hand, frequently crossing the non-operating area reduces the efficiency of task execution.
- the concave operation area is divided into at least two convex sub-areas by at least one cutting line, which effectively solves the problem of complex operation area, It adapts to scenarios such as complex borders of actual farmland and large obstacles in the middle of the area.
- the multiple cutting lines are parallel to each other, and the sub-target paths obtained by planning at least two convex sub-regions based on the cutting lines help improve the consistency of the overall direction of the target paths It is helpful to improve the stability of UAV operation.
- the embodiment of the present application not only plans a path, but also solves the problem of the optimal path through a search method, which improves the efficiency of task execution and saves the use of resources.
- the search algorithm provided by the embodiment of the present application has a search efficiency that is less than 1/10 of the global search, which effectively reduces the dependence of path planning on high computing resources.
- the scene where the target path or the connection path between multiple convex sub-regions crosses the outer contour of the work area can be effectively avoided.
- FIG. 3 is an application scenario of a path planning method, a path planning apparatus, and a medium provided by another embodiment of the present application. As shown in FIG. 3 , the working device 14 mounted on the movable platform 10 will be described as an example.
- the movable platform 10 in FIG. 3 includes a main body 11 , a carrier 13 and a working device 14 .
- the movable platform 10 is described as an aircraft, such description is not limiting, and any type of movable platform previously described is applicable (eg, an unmanned aerial vehicle).
- the working device 14 may be located directly on the movable platform 10 without the need for the carrier 13 .
- the movable platform 10 may include a power mechanism 15 , a sensing system 12 .
- the mobile platform 10 may also include a communication system.
- the powertrain 15 may include one or more rotating bodies, propellers, blades, engines, motors, wheels, bearings, magnets, nozzles.
- the rotating body of the powertrain may be a self-tightening rotating body, a rotating body assembly, or other rotating body power unit.
- the movable platform may have one or two, two or more, three or more, or four or more power mechanisms. All powertrains can be of the same type. Alternatively, one or more of the power mechanisms may be of a different type.
- the power mechanism 15 may be mounted on the movable platform by suitable means, such as by support elements (eg drive shafts).
- the power mechanism 15 may be installed in any suitable location on the movable platform 10, such as the top, the bottom, the front, the rear, the side, or any combination thereof.
- the power mechanism 15 enables the movable platform 10 to take off vertically from a surface, or to land vertically on a surface, without any horizontal movement of the movable platform 10 (eg, without taxiing on a runway).
- the power mechanism 15 may allow the movable platform 10 to preset a position in the air and/or to rotate the steering wheel.
- One or more of the power mechanisms 100 may be controlled independently of the other power mechanisms. Alternatively, one or more power mechanisms 100 may be controlled simultaneously.
- the movable platform 10 may have a plurality of horizontal rotation bodies to control the lifting and/or pushing of the movable platform 10.
- the horizontally oriented rotator can be actuated to provide the movable platform 10 with vertical take-off, vertical landing, and hovering capabilities.
- one or more of the horizontal rotating bodies may rotate clockwise, while the other one or more of the horizontal rotating bodies may rotate counterclockwise.
- the rate of rotation of each horizontal rotating body can be varied independently to enable the lifting and/or pushing operations caused by each rotating body to adjust the spatial orientation, velocity and/or acceleration of the movable platform 10 (eg, relative to up to rotation and translation in three degrees of freedom).
- Sensing system 12 may include one or more sensors to sense surrounding obstacles, spatial orientation, velocity, and/or acceleration (eg, rotation and translation with respect to up to three degrees of freedom) of movable platform 10 .
- the one or more sensors include any of the sensors described above, including but not limited to ranging sensors, GPS sensors, motion sensors, inertial sensors, or image sensors.
- Sensing data provided by the sensing system 12 may be used to control the spatial orientation, velocity and/or acceleration of the movable platform 10 .
- the sensing system 12 may be used for data on the environment of the movable platform 10, such as climatic conditions, surrounding obstacle distances, locations of geographic features, locations of man-made structures, and the like.
- the carrier 13 may be various supporting structures, including but not limited to: fixed brackets, detachable brackets, and adjustable posture structures, etc., for setting the working device 14 on the main body 11 .
- the carrier 13 may be a pan/tilt
- the operation device 14 includes at least one of a pesticide spraying device, a surveying and mapping device, a surveying device, a sprinkler device, a fire extinguishing device, a photographing device or an aiming device.
- the head allows the nozzle of the spray device to be displaced relative to the body 11, or rotated along one or more axes, such as the carrier 13 allowing the nozzle to follow one or more of the pitch, yaw and roll axes Combined translational motion of an axis.
- the carrier 13 may allow the nozzle to rotate about one or more of a pitch axis, a yaw axis, and a roll axis.
- the first movement (eg, movement or rotation) of the main body 11 can be converted into the second movement of the carrier 13 . vice versa.
- the communication system can realize the communication between the movable platform 10 and the control terminal 20 having the communication system through the wireless signal 30 sent and received by the antenna 22 , and the antenna 22 is arranged on the main body 21 .
- a communication system may include any number of transmitters, receivers, and/or transceivers for wireless communication.
- Communication can be one-way communication, so that data can be sent from one direction.
- one-way communication may include that only the mobile platform 10 transmits data to the control terminal 20, or vice versa.
- One or more transmitters of the communication system may transmit data to one or more receivers of the communication system, and vice versa.
- the communication may be two-way communication, so that data can be transferred between the movable platform 10 and the control terminal 20 in both directions.
- Two-way communication includes that one or more transmitters of the communication system can send data to one or more receivers of the communication system, and vice versa.
- control terminal 20 may provide control instructions to one or more of the movable platform 10 , the carrier 13 and the working device 14 , and provide control instructions from the movable platform 10 , the carrier 13 and the working device 14 .
- Information eg, position and/or motion information of obstacles, movable platform 10 , carrier 13 or working device 14 , load sensing data such as image data captured by cameras
- control data of the control terminal 20 may include instructions regarding position, movement, braking, or control of the movable platform 10 , the carrier 13 and/or the working device 14 .
- control data may cause a change in the position and/or orientation of the movable platform 10 (eg, by controlling the power mechanism 15), or cause movement of the carrier 13 relative to the movable platform 10 (eg, by controlling the carrier 13).
- Control data from the control terminal 20 may result in load control, such as controlling the operation of the spraying device (change nozzle angle, flow rate, etc.).
- load control such as controlling the operation of a camera or other image capture device (capturing still or moving images, zooming, turning on or off, switching imaging modes, changing image resolution, changing focus, changing depth of field, changing exposure time, changing viewing angle or viewing angle) field).
- communications between movable platform 10, carrier 13, and/or working device 14 may include information from one or more sensors (eg, distance sensor 12 or an image sensor of working device 14).
- Communication may include sensory information transmitted from one or more different types of sensors, such as GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors.
- the sensing information is about the position (eg, orientation, position), motion, or acceleration of the movable platform 10 , the carrier 13 and/or the working device 14 .
- the sensory information transmitted from the work equipment 14 includes data captured by the work equipment 14 or the state of the work equipment 14 .
- the control data transmitted by the control terminal 20 may be used to control the state of one or more of the movable platform 10 , the carrier 13 or the working device 14 .
- one or more of the carrier 13 and the working device 14 may include a communication module for communicating with the control terminal 20 so that the control terminal 20 can communicate individually or control the movable platform 10, the carrier 13 and the working device 14.
- the control terminal 20 may be a remote controller of the movable platform 10 , or may be an intelligent electronic device such as a mobile phone, an iPad, a wearable electronic device, etc., which can be used to control the movable platform 10 .
- control terminal 20 can be far away from the movable platform 10 to realize remote control of the movable platform 10, and can be fixedly or detachably installed on the movable platform 10, and can be set as required.
- the removable platform 10 may communicate with other remote devices other than the control terminal 20 , or with remote devices other than the control terminal 20 .
- the control terminal 20 may also communicate with another remote device and the movable platform 10 .
- the movable platform 10 and/or the control terminal 20 may be in communication with another movable platform or a carrier or payload of another movable platform.
- the additional remote device may be a second terminal or other computing device (eg, a computer, desktop, tablet, smartphone, or other mobile device).
- the remote device may transmit data to the removable platform 10 , receive data from the removable platform 10 , transmit data to the control terminal 20 , and/or receive data from the control terminal 20 .
- the remote device may be connected to the Internet or other telecommunication network to allow data received from the removable platform 10 and/or the control terminal 20 to be uploaded to a website or server.
- the movable platform 10 may also be a land robot, an unmanned vehicle, etc., which is not limited herein.
- FIG. 4 is a schematic flowchart of a path planning method provided by an embodiment of the present application.
- the path planning method may include operations S402 to S406.
- the concave working area of the movable platform is cut into a plurality of convex sub-areas.
- the concave working area can be divided to obtain at least two convex sub-areas.
- the concave work area can be divided using cutting lines.
- the cut line may pass through one or more vertices of the concave work area.
- the vertices may include convex vertices and concave vertices.
- the concave working area includes a prohibited area (such as an obstacle area)
- the cutting line can pass through the vertex of the prohibited area, so as to avoid the planned target path overlapping with the prohibited area.
- the extension direction of the cutting line may be a direction specified by the user, such as the direction input by the user on the control terminal, and the direction may be determined based on the wind direction, the direction of the ridge in the field, the direction of the arrangement of crops, the direction of the ridge, etc. .
- the control terminal is provided with components such as buttons and levers, and the user can input the direction by operating these components.
- the control terminal may include a display screen, and the user may input direction information or angle values through interactive components (such as virtual keys, joysticks, text input components, etc.) displayed on the display screen.
- the control terminal may be integrated, for example, the remote controller is provided with a processor, a memory, a display screen, and the like.
- the control terminal can be split.
- the remote control and other electronic devices can form a control terminal.
- the remote control and a smart phone can be interconnected to form a control terminal.
- an application APP
- operation instructions, setting parameters, etc. may be input on the APP.
- the extension direction of the cutting line can be the current movement direction of the movable platform, which is convenient for the drone to operate directly along the current movement direction, without the need to adjust the movement direction of the movable platform to the user's arbitrary setting or system default for the operation. the specified direction.
- a reference path of the movable platform corresponding to each convex sub-region is determined, and the direction of the reference path is parallel to the direction of the cutting line of the cutting operation region.
- the reference path may be set based on the cutting line, such as keeping the direction of the cutting line consistent.
- the reference path may be a plurality of parallel lines parallel to each other, and the distance between two adjacent parallel lines may be related to the working width of the movable platform, such as spraying width, exploration width, and the like. In this way, it is convenient to generate respective sub-target paths of each convex sub-region based on the reference path of each convex sub-region.
- the reference path is divided into multiple work areas.
- the end points of the reference path are located on the boundary, and the distance between two adjacent moving paths is equal to the working width of the UAV.
- the flight direction of the UAV can be determined in various ways, for example, the direction of the longest side of the concave working area is used as the flight direction of the UAV.
- the reference paths corresponding to each convex sub-area are connected to generate a target path when the movable platform operates in the work area.
- each convex sub-region may have at least two ports, wherein the at least two ports may include an inlet and an outlet.
- the exit of one convex sub-region can be connected to the entrance of another convex sub-region, and the target path can be obtained after the exit and entrance of multiple convex sub-regions are connected.
- the shortest path may be obtained by traversing the respective exits and entrances of the plurality of convex sub-regions, and the shortest path may be used as the target path.
- the sub-target paths of each convex sub-area are connected.
- the process of dividing convex sub-regions, planning a reference path, and generating a target path based on the reference path improves the problem of difficulty in path planning caused by the complex operation area, and adapts to the complex boundary of the actual farmland and the existence of large scales in the middle of the area. obstacles, etc.
- cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
- candidate cutting lines are generated that pass through each of a plurality of vertices of the outer contour of the concave work area, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform.
- the concave working area is cut into a plurality of convex sub-areas each having a convex polygon outer contour based on the first preset cutting rule and at least one cutting line, the at least one cutting line being determined from the candidate cutting lines.
- the number of convex sub-regions is the minimum value of the number of convex sub-regions into which the concave work region can be decomposed. This helps to reduce the computational resources and processing time consumed by searching for the optimal path.
- the outer contour of the concave working area can be represented by the coordinates of multiple vertices and the connection relationship between the coordinates.
- the coordinates may include coordinates of a plurality of feature points for representing the boundary of the concave working area.
- the coordinate information of the feature points input by the user can be received through the input device, and the coordinate information of the feature points can also be obtained from the topographic image of the concave working area through image recognition.
- Feature points can be on boundaries. Line segments or curve segments can be used to connect the feature points on the boundary and serve as all or part of the boundary.
- Determining the vertex coordinates may include the following operations. First, acquiring the latitude and longitude coordinates used to represent the vertices of the boundary, for example, acquiring the coordinates of the feature points used to represent the boundary as the latitude and longitude coordinates. Then, convert the latitude and longitude coordinates into three-dimensional coordinates in the geocentric coordinate system. For example, consider the earth as a sphere, and convert the latitude and longitude coordinates into three-dimensional coordinates in the three-dimensional Cartesian geocentric coordinate system with the center of the earth as the origin. Next, the three-dimensional coordinates can also be converted into two-dimensional coordinates in a plane coordinate system tangent to the earth's surface. The tangent point between the plane and the earth may be the starting point, or may be a point inside the concave working area or on the boundary.
- the latitude and longitude coordinates of vertex 1 are represented as p1( ⁇ , ⁇ ), where ⁇ represents longitude and ⁇ represents latitude. Then, the latitude and longitude coordinates are converted into three-dimensional coordinates in the geocentric coordinate system OXYZ, and the three-dimensional coordinates can be expressed as p2(X, Y, Z).
- X R*cos( ⁇ *TO_RADIAN)*cos( ⁇ *TO_RADIAN)
- Y R*cos( ⁇ *TO_RADIAN)*sin( ⁇ *TO_RADIAN)
- Z R*sin( ⁇ *TO_RADIAN)
- R is The radius of the earth
- TO_RANDIAN pi/180
- pi is the pi.
- the calculation process of the subsequent flight path planning is very complicated, and may even bring greater errors. For this reason, the latitude and longitude coordinates are projected.
- the plane coordinates that are tangent to the earth's surface can effectively reduce the amount of subsequent calculations.
- the first preset cutting rule is used to cut the concave working area into a plurality of convex sub-regions each having a convex polygonal outer contour based on cutting lines passing through concave vertices of the concave working area.
- the processor can automatically divide the concave working area to obtain a reasonable number of sub-areas (such as a minimum number or a sub-area that does not cause too many numbers), and no concave-shaped sub-areas are generated.
- each vertex activates 1 time per vertex that is connected to and to the right of the vertex.
- the first preset cutting rule includes at least one of the following.
- the candidate cutting line via the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line.
- the candidate cutting line passing through the current vertex is used as the cutting line.
- the current vertex is activated once, in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line relative to the two vertices connected to the current vertex.
- the candidate cutting lines of the vertices are used as cutting lines.
- the candidate cutting line via the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects with the outer contour of the concave working area at least two intersections other than the current vertex, and the current vertex in the direction of the candidate cutting line is located at two of the above intersections In between, the candidate cutting line is used as the cutting line.
- For overlapping candidate cutting lines use one of the candidate cutting lines as the cutting line.
- suitable cutting lines can be selected, so as to divide the concave working area into a plurality of convex sub-areas based on these cutting lines.
- the concave working area may further include an obstacle area, and the polygonal outer contour of the obstacle area serves as the polygonal inner contour of the concave working area.
- FIG. 5 is a schematic diagram of a working area provided by an embodiment of the present application.
- the enclosed area enclosed by the end point A, the end point B, the end point C, the end point D, the end point E and the end point F in the figure is a concave working area.
- the enclosed area enclosed by the endpoint a, the endpoint b, the endpoint c, and the endpoint d in the figure is the obstacle region.
- the boundary of the concave working area may further include a second boundary for representing the outer contour of the obstacle area.
- the obstacle area here may refer to an area with obstacles that the drone needs to bypass, such as a no-fly zone, an area with obstacles such as houses and utility poles that are not suitable for flying.
- cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
- the candidate cutting lines passing through the outer contour of the concave working area and the multiple vertices of the polygon outer contour are determined, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform.
- the area between the outer contour of the concave working area and the outer contour of the polygon is divided into a plurality of convex sub-regions each having the outer contour of the convex polygon, and the at least one cutting line is from Candidate cutting lines identified.
- the number of convex sub-regions is the minimum value of the number of convex polygonal outer contours that can be decomposed into the area between the outer contour of the concave working area and the polygonal outer contour. This helps to get a reasonable number of convex sub-regions without creating concave sub-regions.
- the second preset cutting rule is used to cut the difference between the outer contour of the concave working area and the outer contour of the polygon based on the first candidate cutting lines passing through the concave vertices of the concave working area and the second candidate cutting lines passing through the vertices of the outer contour of the polygon.
- the area between is divided into a plurality of convex sub-areas each having a convex polygonal outer contour. where the concave vertex is the vertex that is activated twice.
- each vertex activates the vertex connected to the vertex and located to the right of the vertex once, and the second preset It is assumed that the cutting rule includes at least one of the following.
- the candidate cutting line via the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line.
- the candidate cutting line passing through the current vertex is used as the cutting line.
- the current vertex is activated once, in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line relative to the two vertices connected to the current vertex.
- the candidate cutting lines of the vertices are used as cutting lines.
- the candidate cutting line via the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects with the outer contour of the concave working area at least two intersection points other than the current vertex, and the current vertex is located between the two intersection points in the direction of the candidate cutting line time, the candidate cutting line is used as the cutting line.
- the candidate cutting lines passing through the vertices of the polygon outer contour are used as the cutting lines.
- FIG. 6 is a schematic diagram of a cutting line provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a convex sub-region provided by an embodiment of the present application.
- the cutting line passes through a vertex (the boundary of the work area or the outline of an internal obstacle) and is parallel to the UAV flight direction.
- the operation area is cut into multiple sub-areas according to the boundary and contour, and each sub-area is a convex polygon, as shown in FIG. 7 .
- the concave working area when the concave working area is divided by a cutting line with a specific angle (such as a non-horizontal or vertical cutting line), in order to reduce the consumption of subsequent computing resources and improve the processing speed, the concave The working area is rotated so that the cutting line at the specific angle becomes a horizontal cutting line or a vertical cutting line.
- a specific angle such as a non-horizontal or vertical cutting line
- cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
- the coordinate system may be a transformed plane coordinate system.
- the concave working area is cut into a plurality of convex sub-areas each having an outer contour of a convex polygon based on a cutting line consistent with the designated direction.
- the concave operation area can be divided by horizontal or vertical cutting lines, which can effectively reduce the computational resources consumed in the subsequent dividing process, and improve the processing speed.
- the above method may further include the following operation: reversely rotate the concave work based on the included angle The coordinate system where the outer contour of the area is located, and the target path of the movable platform for the restored concave working area is obtained.
- FIG. 8 is a schematic diagram of a cutting line provided by another embodiment of the present application.
- the direction of the cutting line can be horizontal or vertical by rotating the coordinate system.
- the computational complexity can be reduced by pre-rotating the coordinates. For example, when there is an angle of +30° between the direction of the cutting line and the vertical direction, you can first rotate the coordinates of the entire work area by -30°; then, in the rotated coordinate system, the path is carried out in the vertical direction Planning; then, rotate the path coordinates planned in the previous operation by +30°, so that the path coordinate system returns to the coordinate system with an included angle of +30°.
- the above operations of rotating the coordinate axis can effectively reduce the resources consumed by the subsequent determination of the target path, such as dividing convex sub-regions, traversing the connection mode between each convex sub-region, and determining the respective entrance and exit of each convex sub-region. resources consumed.
- determining the reference path of the movable platform corresponding to each convex sub-region may include the following operations.
- multiple reference paths parallel to each other are generated based on the direction of the cutting line, and the distance between two adjacent reference paths is related to the working radius of the movable platform.
- the extension direction of the reference path is parallel to the direction of the cutting line, which is helpful to realize the operation consistency of the movable platform in the operation along the reference path in each convex sub-region.
- the reference path is cut using the outer contour of each convex sub-region, so as to generate a reference path for each convex sub-region, so as to generate respective sub-target paths of the convex sub-region.
- generating the respective sub-target paths for the convex sub-regions may include the following operations.
- the reference path of the convex sub-region and the turning path for the outer contour of the convex sub-region are connected to obtain a sub-target path of the convex sub-region.
- the outer contour of the convex sub-region may be used as a reference line for setting the turning path.
- the outer contour of the convex sub-area can be indented, and the result obtained after indenting As a baseline for setting the turning path.
- the target paths include respective switching paths for the convex sub-regions, such that the movable platform can move to an adjacent reference path of the current reference path based on the switching paths.
- FIG. 9 is a schematic diagram of a reference path provided by an embodiment of the present application.
- the concave work area is divided into three convex sub-areas C1 , C2 , and C3 .
- the extension direction of the reference path is consistent with the extension direction of the cutting line.
- the intersections of the convex sub-regions C1 , C2 , and C3 with the vertical reference paths can be used as endpoints of the respective reference paths.
- the end point of the reference path can be indented by a certain size, such as indented by a dimension l corresponding to the working radius.
- connection modes, inlets and outlets, etc. of each convex sub-region will be exemplarily described below.
- connecting the reference paths corresponding to each convex sub-area to generate a target path for the movable platform to operate in the work area may include the following operations.
- each convex subregion determines the order of connections between each convex subregion. Then, the respective entrances and exits of each convex sub-region are determined based on the connection order, and respective sub-target paths for each convex sub-region are respectively generated based on the respective entrances and exits of each convex sub-region.
- the respective sub-target paths of each convex sub-area are connected to generate a target path of the movable platform in the concave working area. For example, the outlet and inlet of each convex sub-area are connected according to the above connection sequence, so as to obtain the target path of the movable platform in the concave working area.
- the endpoints on both sides of the outermost reference path of the convex subregion are taken as the ports of the current convex subregion.
- a convex sub-region can have 4 ports, one of which is used as an exit and the other is used as an entrance, so as to connect the sub-target paths of each convex sub-region.
- FIG. 10 is a schematic diagram of a sub-target path for the convex sub-region in FIG. 9 .
- the convex sub-regions C1, C2, and C3 each have four ports.
- the convex sub-region C1 has ports i11, i12, i13, and i14
- the convex sub-region C2 has ports i21, i22, i23, i24
- the convex subregion C3 has ports i31, i32, i33, i34.
- the traversal method can be used to determine which port is used as the starting point (entrance) of the target path, and which port is used as the end point (exit) of the target path, so that the path length of the target path is the shortest.
- each convex sub-area has 4 entrances.
- the convex sub-area has 4 entrances.
- the exit is determined.
- a recursive depth search method can be used. For example, the first layer: construct a different connection order; the second layer: construct a different entry order. Taking the shortest overall path as the search goal, finally obtain the connection order of each sub-area, and the exit and entrance positions of each sub-area path.
- the path with the least non-job consumption may also be used as the target path.
- the non-operational consumption can refer to the consumption other than the flying operation of the UAV, at least including the distance consumption between different convex sub-regions. In addition, it can also include the distance consumption from the starting point to the operation area and the distance consumption from the exit to the take-off point.
- a path with the least non-work consumption can be selected as the target path of the UAV.
- the connection mode between the convex sub-regions can be determined.
- connection method can be determined by permutation and combination. For n convex sub-regions, to traverse all convex sub-regions, there are n! As the number of convex sub-regions increases, the amount of computation increases sharply. In order to reduce the amount of calculation, the entrance of each sub-region can be ignored first, and only the total length of the connection paths between n convex sub-regions can be considered. For example, a graph of the connectivity relationship between different convex sub-regions can be drawn, and based on different connection modes, the total path length of each connection mode can be obtained. This method is equivalent to considering the adjacent relationship between n convex sub-regions.
- two convex sub-regions connected by a line indicate that the two convex sub-regions are adjacent, and two convex sub-regions not connected by a line are adjacent.
- a convex sub-region means that the two convex sub-regions are non-contiguous.
- connecting the respective sub-target paths of each convex sub-area to generate the target path of the movable platform in the concave work area may include the following operations.
- a target path of the movable platform in the concave working area is generated based on the connection with the convex sub-areas and the respective entrances or exits of each convex sub-area, so that the target path is the shortest.
- the inlet and outlet of the convex sub-region are determined according to the ports of each convex sub-region and the number of reference paths included in the convex sub-region, and then determined according to the inlet and outlet of the convex sub-region.
- the connection mode between the convex sub-regions if the convex sub-region C1 is used as the starting convex sub-region, the connection order of the plurality of convex sub-regions C1, C2, C3 is the region C1 to the region C3, and Area C2 to Area C3.
- each convex sub-area the inlet and outlet of each convex sub-area can be determined by permutation and combination, that is, each port can be used as an inlet or an outlet;
- the number of reference paths and the entrance are determined, that is, the UAV enters the convex sub-area from the entrance and then flies back and forth according to the reference path, and then leaves the convex sub-area as the exit port.
- searching the connection manner of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations.
- candidate target paths under each connection mode are determined: for a connection mode, the respective entrances or exits of each convex sub-region under the connection mode are determined, so that the target path is the shortest under the connection mode.
- only one candidate port connection mode can be used, that is, for the convex sub-region, the port closest to the starting point is selected as the entrance of the convex sub-region, and according to the aforementioned method, according to the convex sub-region
- the number of reference paths included in the sub-region and the entrance of the convex sub-region determine the exit of the convex sub-region; for the remaining convex sub-regions, the port closest to the exit of the previous convex sub-region is selected as the current convex sub-region.
- the entrance of the convex sub-region, and in the aforementioned manner, the exit of the current convex sub-region is determined according to the number of reference paths included in the current convex sub-region and the entrance of the current convex sub-region.
- the non-operational consumption may include the consumption of any non-operational path during the flight, for example, the non-operational consumption may include at least the distance consumption between different convex sub-regions and the distance consumption from the origin to the convex sub-areas.
- it can be calculated by using the adjacency matrix.
- the elements of the i-th row and the j-th column of the adjacency matrix represent the cost of connecting the i-th convex sub-region and the j-th convex sub-region, that is, the UAV is in the two convex sub-regions. Distance consumption between sub-regions.
- the elements of the adjacency matrix are 16-dimensional vectors, which respectively represent the two convex sub-regions. Consumption of any two port connections.
- the specified port connection consumption corresponding to different convex sub-regions can be found from the adjacency matrix, and then accumulated.
- the start/end point can be counted in the adjacency matrix as a special convex subregion, or the distance cost between the start point/end point and the convex subregion can be calculated separately.
- the connection sequence is determined to be the region C1 to the region C3, and the region C2 to the region C3. If the entrance of area C1 is port i11, it can be determined that the exit of area C1 is port i13, the entrance of area C3 is port i31, the exit of area C3 is port i34, the entrance of area C2 is port i23, and the exit of area C2 is port i21.
- the above methods can effectively reduce the computing resources consumed by the search algorithm, improve the search efficiency, and obtain target paths with less non-job consumption. After verification, the search efficiency of the above algorithm is less than 1/10 of the global search.
- the concave operation area is divided into a plurality of convex sub-areas, and then the flight path of the UAV is determined according to the plurality of convex sub-areas, the flight path planning of the concave operation area with complex terrain can be processed, and the flight path is reduced. Computational amount of path planning.
- the concave work area further includes an obstacle area.
- the above method may further include the following operations. First, based on the connection mode and the respective entrance or exit of each convex sub-region, the connection path of the convex sub-region under each connection mode is determined. Then, if the connecting path of the convex sub-region overlaps the obstacle region, it is determined that the connecting manner corresponding to the connecting path of the convex sub-region is unsafe, so as to remove the unsafe connecting manner.
- the geographic shape of the operation area involved in agricultural operations is complex.
- the concave operation area includes multiple obstacle areas and multiple concave areas.
- the movable area In the process of switching the convex sub-areas for operation, there is a certain risk that the movable area can be moved.
- the platform moves according to the target path, it moves to the obstacle area or the concave area. Therefore, after the target path is generated, the target path can be detected, and if the above risk exists, the connection mode can be deleted to reduce the risk.
- FIG. 11 is a schematic diagram of a target path provided by an embodiment of the present application.
- FIG. 12 is a schematic diagram of a target path provided by another embodiment of the present application.
- FIG. 13 is a schematic diagram of the steering path in FIG. 12 .
- the concave working area ABCDEF includes the obstacle area abcd, the reference paths in the target path planned for this scene are parallel to each other, and the reference paths are connected by the steering path, and the sub-target paths in different convex sub-areas Connect through a specific connection method.
- each line segment is shown in the form of a grayscale image in FIG. 13 .
- 13 shows the outer contour of the concave working area, the outer contour of the obstacle area, the reference path, the turning path, and the connecting path.
- the outer contour of the concave working area, the outer contour of the obstacle area and the reference path are shown with black solid lines.
- Steering paths are shown as solid grey lines.
- Connection paths are shown in bold solid lines.
- the cutting line is also shown in FIG. 13 , as shown by the thin dashed line, the cutting line from the end point b is covered by the reference path, which is not shown. It should be noted that the cutting lines are not displayed in the generated target path.
- the salient features of the target path generated in this embodiment of the present application include, but are not limited to, at least one of the following.
- the target path avoids obstacles in the area in a different way than the side detour, that is, when the target path encounters an obstacle, the target path goes to the adjacent reference path instead of detouring to the reference path the other side of the obstacle.
- the target path will not fly out of the work area from the concave portion.
- reference paths are parallel to each other.
- the reference path and the cutting line are parallel to each other.
- the movable platform when the movable platform flies according to the connection path, referring to the connection path 104 in FIG. 1 , the movable platform does not need to perform operations during the movement along the connection path 104 , otherwise it will lead to repeated operations , which affects the consistency of the job.
- a coordinate sequence of multiple task points can be formed. In different target path intervals, it is determined whether to execute the job based on the task set by the user.
- the drone will operate between multiple mission points in a sequence of coordinates.
- the mission points include at least the points where the drone needs to change the operating state.
- the task points at least include coordinate points and corresponding job states.
- the calculated coordinates of the task point can be the plane coordinates based on the tangent plane.
- the plane coordinates can be converted into longitude and latitude coordinates. This calculation process is the inverse operation of the above-mentioned conversion of longitude and latitude into plane coordinates.
- the state of the movable platform can be adjusted from the working state to the stop working state, but Continue to move along connection path 104 .
- the drone should stop working when flying from one convex sub-region to another convex sub-region to avoid waste.
- a task point corresponding to the other end point of the connection path 104 may be triggered, and the state of the movable platform may be adjusted from the stop operation state to the operation state.
- At least one of the concave work area outer contour and the polygonal outer contour is input by the user.
- the operation object input by the user may be a control terminal, and the control terminal may be integrated with the movable platform, or may be separated.
- the execution body for determining the outer contour of the concave working area and the polygonal outer contour may be a control application program of a movable platform, such as an application (app), or a device running the control application program, such as a remote control of the movable platform, Mobile phones, ipads, base stations for mobile platforms, etc.
- a topographic image of the concave work area may be displayed.
- the landform image is displayed on the display screen, or the landform image is projected and displayed, and the landform image can be a downloaded map or obtained through aerial photography of a drone.
- the coordinates of a plurality of feature points representing the boundaries of the topographic image of the concave work area are acquired.
- the coordinate information of the feature points input by the user can be received through an input device, such as a touch screen, a keyboard, a mouse, a microphone, a key, etc., or the coordinate information of the feature points can be extracted from a landform image through image recognition.
- Feature points may or may not be on the boundary.
- the feature points include at least a plurality of feature points for representing the outer contour of the concave working area.
- the feature points may further include feature points for representing the outer contour of the obstacle area.
- the obstacle area here refers to an area with obstacles that the drone needs to bypass, such as a no-fly zone, an area with obstacles such as houses and utility poles that are not suitable for flying.
- the edge line of the concave working area can be determined according to the coordinates of the multiple feature points. For example, a straight line or a curved line can be used to connect the feature points on the boundary and the formed polyline or curved line can be used as all or part of the edge line.
- the edge lines can be displayed on the display superimposed with the relief image.
- the user input may further include operation parameters, etc.
- the movable platform is an unmanned aerial vehicle.
- the above method may further include the following operation: acquiring the operation parameters of the UAV.
- the operation parameters input by the user can be obtained through the input device, and the operation parameters of the UAV can also be obtained through other methods, such as from the Internet or locally stored data.
- the operating parameters include at least the wind direction, the operating width of the drone and the starting point.
- the operation parameters may further include safety distance thresholds, abnormal handling methods (such as returning home, landing, etc.), spraying parameters and other parameters.
- the UAV determines the flight path of the UAV in the concave operation area according to the target path and the operation parameters of the UAV. It should be noted that there may be differences between the actual flight path and the target path. If an obstacle moves to the target path, the UAV needs to bypass the obstacle and continue to drive along the target path.
- these reference paths are connected with the starting point (plus the end point if necessary), and the connection method with the least non-operational consumption is selected as the flight path.
- the above method may further include: displaying the flight path.
- the flight path can be displayed on the display screen, and the flight path can be displayed overlaid with the landscape image.
- the operational parameters of the UAV should include the parameters required to estimate the return point, such as the maximum flight time and flight distance of the UAV.
- the start and return points can be shown on the display.
- it can also display threats detected by the drone, such as obstacle information, etc.
- the drone is provided with an image sensor, the captured image information can be further transmitted to the remote controller, so as to display the captured image information.
- FIG. 14 is a schematic flowchart of a path planning method provided by another embodiment of the present application.
- the path planning method is used to plan the target path of the movable platform. Specifically, the method may include operations S1402 to S1404.
- the plurality of convex sub-regions may be determined by dividing the work area based on a rule, or may be obtained by the user by himself/herself.
- the sub-target path of the convex sub-region may be determined based on the reference path and the outer contour of the convex sub-region.
- the extension direction of the reference path may be set by the user, or determined based on the moving direction of the movable platform.
- the respective sub-target paths of each convex sub-region are connected to generate a target path such that the target path is the shortest.
- connection mode between each convex sub-region can be determined by traversing each convex sub-region.
- the shortest target path may refer to the least consumption of non-job resources.
- connecting the respective sub-target paths of each convex sub-region to generate a target path such that the target path is the shortest may include the following operations.
- each convex sub-region search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region.
- the respective entrance or exit of each convex sub-region is located in one of the reference path of the convex sub-region and the outer contour of the convex sub-region. intersection.
- the intersection of the outermost reference path in the convex sub-region and the outer contour of the convex sub-region can be used as a port.
- a convex sub-region may include 4 ports, two of which may serve as the inlet or outlet of the convex sub-region.
- the target path of the movable platform in the concave work area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest, and the concave work area includes each convex sub-area.
- FIG. 15 is a schematic diagram of each port of an image sub-region provided by an embodiment of the present application.
- the ports of the two convex sub-regions are shown in FIG. 15 .
- the convex sub-region in the upper left corner has a total of 4 ports.
- one port can be used as ingress, and one port can be used as egress.
- the inlet and outlet can be the same port or two different ports.
- the upper left convex subregion in FIG. 15 includes ports a1, a2, a3 and a4, and the convex subregion adjacent to the upper left convex subregion includes ports b1, b2, b3 and b4.
- ports a1, a2, a3 and a4 can be used as the inlet of the upper left convex sub-region, and one of the ports a1, a2, a3 and a4 can be used as the outlet of the upper left convex sub-region.
- port a1 is used as the entrance of the upper left convex sub-area
- port a1 is used as the exit of the upper left convex sub-area.
- port b1 As the inlet of the convex sub-region, one of the ports b2, b3 and b4 serves as the outlet of the convex sub-region.
- the respective sub-target paths of the convex sub-regions may be determined in the following manner. First, multiple reference paths that are consistent with the specified direction or the current moving direction of the movable platform are generated, and two adjacent paths are generated. The distance between the reference paths is related to the working radius of the movable platform. Then, use the outer contour of each convex sub-region to cut the reference path to generate the reference path of the movable platform in each convex sub-region, so as to generate the respective sub-target path of the movable platform in each convex sub-region. Specifically, for the reference path, reference may be made to the related description for FIG. 9 .
- the extension direction of the reference path may be determined based on the current moving direction of the movable platform, the current wind direction, etc., and the distance between adjacent reference paths may be determined based on the working radius of the movable platform.
- the coordinate system in which the reference path is located can be rotated, etc.
- searching the connection manner of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations.
- connection mode determines the respective entrance or exit of each convex sub-region under the connection mode, so that the target path is the shortest under the connection mode; first, compare the Candidate target paths for each connection mode. Then, the connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrance or exit of each convex sub-region are obtained.
- the path with the least non-job consumption can also be used as the target path.
- the non-operational consumption can refer to the consumption other than the flying operation of the UAV, at least including the distance consumption between different convex sub-regions.
- it can also include the distance consumption from the starting point to the operation area and the distance consumption from the exit to the take-off point.
- a path with the least non-work consumption can be selected as the target path of the UAV.
- the connection mode between the convex sub-regions may be determined first. Then, the sub-target path of each convex sub-region is determined based on the connection mode.
- the candidate connection modes can be determined by permutation and combination, and then the connection modes between the convex sub-regions can be determined by traversing the candidate connection modes, such as the connection mode with the shortest path. Then, the target path is determined based on the connection manner, the entrance and port of each convex sub-region, the width between adjacent reference paths, and the like.
- connection method is convex sub-area 1-convex sub-area 2-convex sub-area 3
- the entrance is a port of convex sub-area 1
- the above-mentioned port can be used as the starting point, along the reference path and
- the outer contour of the convex sub-region and the connection path (determined based on the connection mode between different convex sub-regions) generate the target path.
- the above method may further include the following operations. First, identify multiple obstacle areas. Then, after the above-mentioned determination of candidate target paths in each connection mode, based on the connection mode and the respective entrance or exit of each convex sub-region, the convex sub-region connection path in each connection mode is determined. If the connection path of the convex sub-region overlaps with the obstacle region, it is determined that the connection method corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection method. In this way, the probability of risk occurring when the movable platform transfers the convex sub-region for operation is reduced.
- the path planning system may include a movable platform and a control terminal, an application (APP) may be installed on the control terminal, and the user may transmit information between the application and the movable platform, such as sending or receiving control instructions, working parameters, etc. .
- APP application
- FIG. 16 is a flowchart of route planning performed by the route planning system provided in this embodiment of the present application.
- the user can set the working area, demarcate the obstacle area and set the width between adjacent reference paths (such as the distance between adjacent reference paths) through the APP. parameters such as the direction of movement.
- the control terminal sends the values of the above-mentioned parameters to the movable platform through the APP, and the movable platform uses the algorithm to process at least part of the values of the above-mentioned parameters to realize such as cutting convex sub-regions, generating reference paths, and determining each convex sub-region.
- the sequence of connections between regions and operations such as connecting convex subregions to generate target paths. If the movable platform is a drone, the path is an air route.
- the work area is divided into a plurality of convex sub-areas by using the cutting lines. Then a reference route is generated, and the cut route position is generated in the convex sub-region. Next, a search method is used to determine the connection sequence and entry of each convex sub-region. Then, the routes of the convex sub-regions are connected in the order of connection. In addition, the safety of connecting routes between convex sub-areas can be checked relative to the obstacle area to reduce the risk.
- Another aspect of the present application provides a path planning apparatus for planning a target path of a movable platform.
- FIG. 17 is a schematic structural diagram of a path planning apparatus provided by an embodiment of the present application.
- the path planning apparatus 1700 may include one or more processors 1710, and the one or more processors 1710 may be integrated in one processing unit, or may be separately provided in multiple processing units.
- the path planning apparatus 1700 may be set in one execution body or respectively set in multiple execution bodies.
- the path planning device 1700 can be installed in the land robot.
- the land robot is provided with a gimbal, and operation equipment (such as spraying equipment) can be installed on the gimbal. device, camera, radar, etc.), the body of the land robot is provided with a display screen to facilitate interaction with the user.
- operation equipment such as spraying equipment
- the body of the land robot is provided with a display screen to facilitate interaction with the user.
- at least part of the path planning apparatus 1700 can be set in the control terminal, such as the relevant functions of accepting user operations are set in the control terminal.
- At least a part of the path planning apparatus 1700 may be set in a movable platform, such as at least one of an information transmission function, an environmental information sensing function, and a linkage control function.
- at least part of the path planning apparatus 1700 may be provided in the flight controller to perform convex sub-region division, generate reference paths, and the like.
- the processing unit may comprise a Field-Programmable Gate Array (FPGA) or one or more ARM processors.
- the processing unit may be connected to non-volatile computer readable storage medium 1720 .
- the non-volatile computer-readable storage medium 1720 may store logic, code, and/or computer instructions executed by the processing unit for performing one or more steps.
- the non-volatile computer readable storage medium 1720 may include one or more storage units (removable media or external memory such as SD card or RAM).
- the data sensed by the sensors may be transferred and stored directly into a storage unit of the non-volatile computer-readable storage medium 1720 .
- the storage units of the non-volatile computer-readable storage medium 1720 may store logic, code, and/or computer instructions executed by the processing unit to perform various embodiments of the various methods described herein.
- a processing unit may be configured to execute instructions to cause one or more processors of the processing unit to perform the tracing functions described above.
- the storage unit may store sensing module sensing data, the data sensing being processed by the processing unit.
- the storage unit of the non-volatile computer-readable storage medium 1720 may store processing results generated by the processing unit.
- the processing unit may be connected to the control module for controlling the state of the movable platform.
- the control module may be used to control the power mechanism of the movable platform to adjust the spatial orientation, velocity and/or acceleration of the movable platform relative to six degrees of freedom.
- the control module may control one or more of the carrier, load or sensing module.
- the processing unit may also be connected to the communication module for transmitting and/or receiving data with one or more peripheral devices (eg, terminals, display devices, or other remote control devices).
- peripheral devices eg, terminals, display devices, or other remote control devices.
- Any suitable communication method may be utilized here, such as wired communication or wireless communication.
- the communication module may utilize one or more local area networks, wide area networks, infrared, radio, Wi-Fi, peer-to-peer (P2P) networks, telecommunication networks, cloud networks, and the like.
- P2P peer-to-peer
- a relay station such as a signal tower, a satellite, or a mobile base station, can be used.
- the above-mentioned various components may be compatible with each other.
- one or more components are located on a movable platform, carrier, payload, terminal, sensing system, or additional external device in communication with each of the foregoing.
- one or more of the processing unit and/or non-transitory computer-readable medium may be located in different locations, such as on a removable platform, carrier, payload, terminal, sensing system, or Additional external devices that communicate with the foregoing devices and various combinations of the foregoing.
- control terminal adapted to the movable platform may include an input module, a processing unit, a memory, a display module, and a communication module, all of which are connected by a bus or similar network.
- the input module includes one or more input mechanisms to obtain input generated by the user by manipulating the input module.
- Input mechanisms include one or more joysticks, switches, knobs, slide switches, buttons, dials, touchscreens, keypads, keyboards, mice, voice controls, gesture controls, inertial modules, and the like.
- the input module may be used to obtain user input for controlling the movable platform, carrier, load, or any aspect of the components therein. Any aspect includes attitude, position, orientation, flight, tracking, etc.
- the input mechanism may be that the user manually sets one or more positions, each position corresponding to a preset input, to control the movable platform.
- the input mechanism may be operated by a user to input control commands to control the movement of the movable platform.
- a user can use a knob, switch, or similar input mechanism to input a motion mode of the movable platform, such as auto-flying, auto-pilot, or moving according to a preset motion path.
- the user can control the position, attitude, orientation, or other aspects of the movable platform by tilting the control terminal in a certain way.
- the tilt of the control terminal can be detected by one or more inertial sensors, and corresponding motion commands can be generated.
- the user can utilize the above input mechanism to adjust the operational parameters of the payload (eg spray or not, flow adjustment, zoom), the attitude of the payload (via the carrier), or other aspects of any object on the movable platform.
- the input mechanism may be operated by the user to input the aforementioned descriptive object information.
- a user may select an appropriate motion mode, such as a manually controlled movement mode or an automatically controlled movement mode, using a knob, switch, or similar input mechanism.
- the user can also use this input mechanism to select the target path to take.
- the input module may be executed by more than one device.
- the input module can be implemented by a standard remote controller with a joystick.
- a standard remote controller with a joystick connects to a mobile device (eg, a smartphone) running a suitable application ("app") to generate control commands for the movable platform.
- the app can be used to get input from the user.
- the processing unit may be connected to the memory.
- Memory includes volatile or non-volatile storage media for storing data, and/or logic, code, and/or program instructions executable by a processing unit for performing one or more rules or functions.
- the memory may include one or more storage units (removable media or external memory such as SD card or RAM).
- the data input to the module may be directly transferred and stored in a storage unit of the memory.
- the storage units of the memory may store logic, code and/or computer instructions executed by the processing unit to perform various embodiments of the various methods described herein.
- the processing unit may be configured to execute instructions to cause one or more processors of the processing unit to process and display sensory data (eg, images) obtained from the movable platform, control commands generated based on user input, including motion commands and objects information, and cause the communication module to transmit and/or receive data, etc.
- the storage unit may store sensed data or other data received from an external device such as a removable platform.
- the storage unit of the memory may store the processing result generated by the processing unit.
- the display module may be used to display the position, translation velocity, translation acceleration, direction, angular velocity, angular acceleration, or a combination thereof of the movable platform 10, the carrier 13 and/or the working device 14 as shown in FIG. 3 . etc. information.
- the display module can be used to obtain information sent by the movable platform and/or the payload, such as sensing data (images recorded by cameras or other image capturing devices), control feedback data, and the like.
- the display module may be executed by the same device as the input module. In other embodiments, the display module and the input module may be executed by different devices.
- the communication module may be used to transmit and/or receive data from one or more remote devices (eg, removable platforms, carriers, base stations, etc.).
- the communication module can transmit control signals (such as motion signals, target information, and tracking control commands) to peripheral systems or devices, such as the movable platform 10 , the carrier 13 and/or the working device 14 in FIG. 3 .
- the communication module may include a transmitter and a receiver for receiving data from and transmitting data to the remote device, respectively.
- the communication module may include a transceiver that combines the functions of a transmitter and a receiver.
- the transmitter and receiver and the processing unit may communicate with each other. Communication may utilize any suitable means of communication, such as wired or wireless communication.
- Images captured by the movable platform during motion can be transmitted from the movable platform or imaging device back to a control terminal or other suitable device for display, playback, storage, editing, or other purposes. Such transmission may occur in real-time or near real-time as the imaging device captures the imagery. Optionally, there may be a delay between the capture and transmission of the imagery.
- the imagery may be stored in the removable platform's memory without being transferred anywhere else. The user can view these images in real time and, if necessary, adjust target information or other aspects of the movable platform or its components. Adjusted object information may be provided to the movable platform, and the iterative process may continue until the desired image is obtained.
- the imagery may be transmitted to a remote server from the removable platform, the imagery device, and/or the control terminal. For example, images can be shared on some social networking platforms, such as WeChat Moments or Weibo.
- cutting the concave working area of the movable platform into a plurality of convex sub-areas includes the following operations. First, candidate cutting lines are generated that pass through each of a plurality of vertices of the outer contour of the concave work area, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform. Then, the concave working area is cut into a plurality of convex sub-areas each having a convex polygon outer contour based on the first preset cutting rule and at least one cutting line, the at least one cutting line being determined from the candidate cutting lines.
- the number of convex sub-regions is the minimum value of the number of convex sub-regions into which the concave working region can be decomposed.
- the first preset cutting rule is used to cut the concave working area into a plurality of convex sub-regions each having a convex polygonal outer contour based on cutting lines passing through concave vertices of the concave working area.
- the first preset cutting rule includes at least one of the following: in the direction perpendicular to the candidate cutting line and from left to right, each vertex is activated once connected to the vertex and located on the right side of the vertex vertices.
- the candidate cutting line via the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line.
- the candidate cutting line passing through the current vertex is used as the cutting line.
- the current vertex is activated once, in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line relative to the two vertices connected to the current vertex.
- the candidate cutting lines of the vertices are used as cutting lines.
- the candidate cutting line via the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects with the outer contour of the concave working area at least two intersection points other than the current vertex, and the current vertex is located between the two intersection points in the direction of the candidate cutting line time, the candidate cutting line is used as the cutting line.
- For overlapping candidate cutting lines use one of the candidate cutting lines as the cutting line.
- the concave working area further includes an obstacle area, and the polygonal outer contour of the obstacle area serves as the polygonal inner contour of the concave working area.
- cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
- the candidate cutting lines passing through the outer contour of the concave working area and the multiple vertices of the polygon outer contour are determined, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform.
- the area between the outer contour of the concave working area and the outer contour of the polygon is divided into a plurality of convex sub-regions each having the outer contour of the convex polygon, and the at least one cutting line is from Candidate cutting lines identified.
- the number of convex sub-regions is the minimum value of the number of convex polygonal outer contours that can be decomposed into a region between the outer contour of the concave working region and the polygonal outer contour.
- the second preset cutting rule is used for cutting the outer contour of the concave working area based on the first candidate cutting lines passing through the concave vertices of the concave working area and the second candidate cutting lines passing through the vertices of the polygonal outer contour.
- the region between the polygonal outer contour and the polygonal outer contour is divided into a plurality of convex sub-regions each having a convex polygonal outer contour.
- the second preset cutting rule includes at least one of the following: for the outer contour of the concave working area, in the direction perpendicular to the candidate cutting line and from left to right, each vertex is activated once and connected to the vertex and the vertex to the right of that vertex.
- the candidate cutting line via the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave work area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line
- the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave work area at at least two intersections other than the current vertex, and at least two intersections are located at the current vertex in the direction of the candidate cutting line on both sides, the candidate cutting line passing through the current vertex will be used as the cutting line.
- the current vertex is activated once, and in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line than the two vertices connected to the current vertex.
- the candidate cutting line via the current vertex is used as the cutting line.
- the candidate cutting line via the current vertex is discarded.
- the candidate cut line via the current vertex intersects the outer contour of the concave work area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cut line
- the candidate cutting line passing through the current vertex is discarded.
- the candidate cutting line via the current vertex intersects the outer contour of the concave working area at least two intersection points other than the current vertex, and the current vertex in the direction of the candidate cutting line is located at two Between the intersection points, the candidate cutting line is used as the cutting line.
- a candidate cutting line passing through a vertex of the polygonal outer contour is used as the cutting line.
- the target paths include respective switching paths for the convex sub-regions, such that the movable platform can move to an adjacent reference path of the current reference path based on the switching paths.
- connecting the reference paths corresponding to each convex sub-area to generate a target path for the movable platform to operate in the work area may include the following operations. First, a respective subgoal path for each convex subregion is generated. Then, the respective sub-target paths of each convex sub-area are connected to generate the target path of the movable platform in the concave work area.
- determining the reference path of the movable platform corresponding to each convex sub-region may include the following operations.
- multiple reference paths parallel to each other are generated based on the direction of the cutting line, and the distance between two adjacent reference paths is related to the working radius of the movable platform.
- the reference path is cut using the outer contour of each convex sub-region, so as to generate a reference path for each convex sub-region, so as to generate respective sub-target paths of the convex sub-region.
- generating the respective sub-target paths for the convex sub-regions may include the following operations. First, a turning path for the outer contour of each convex sub-region is generated. Then, for each of the convex sub-regions, the reference path of the convex sub-region and the turning path for the outer contour of the convex sub-region are connected to obtain a sub-target path of the convex sub-region.
- connecting the respective sub-target paths of each convex sub-area to generate the target path of the movable platform in the concave work area may include the following operations.
- a target path of the movable platform in the concave working area is generated based on the connection with the convex sub-areas and the respective entrances or exits of each convex sub-area, so that the target path is the shortest.
- searching the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations, repeating the following operations until the candidate target paths under each connection mode are determined: for one connection mode , determine the respective entrance or exit of each convex sub-region in this connection mode, so that the target path is the shortest in this connection mode. For example, compare candidate target paths under each connection mode. Then, the connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrance or exit of each convex sub-region are obtained.
- the concave work area further includes an obstacle area.
- the computer program when the computer program is executed by the processor, the computer program also realizes: first, determine each connection based on the connection mode and the respective entrance or exit of each convex sub-region. Convex subregion connection path in mode. Then, if the connecting path of the convex sub-region overlaps the obstacle region, it is determined that the connecting manner corresponding to the connecting path of the convex sub-region is unsafe, so as to remove the unsafe connecting manner.
- cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations. First, rotate the coordinate system where the outer contour of the concave working area is located based on the included angle, so that the coordinate axis of the coordinate system is consistent with or perpendicular to the specified direction. Then, the concave working area is cut into a plurality of convex sub-areas each having an outer contour of a convex polygon based on a cutting line consistent with the designated direction.
- the computer program may further implement the following operations when executed by the processor. Based on the coordinate system where the outer contour of the concave working area is reversely rotated based on the included angle, the target path of the movable platform for the restored concave working area is obtained.
- At least one of the concave work area outer contour and the polygonal outer contour is input by the user.
- Another aspect of the present application provides a path planning apparatus for planning a target path of a movable platform.
- FIG. 18 is a schematic structural diagram of a path planning apparatus provided by another embodiment of the present application.
- the above-described apparatus 1800 may include one or more processors 1810 and a computer-readable storage medium 1820 .
- the computer-readable storage medium 1820 is used for storing one or more computer programs 1821.
- the computer programs 1821 are executed by the processor, the following operations can be implemented.
- a plurality of convex sub-regions and respective sub-target paths of the plurality of convex sub-regions are determined.
- each convex sub-region is connected to generate a goal path such that the goal path is the shortest.
- connecting the respective sub-target paths of each convex sub-region to generate a target path such that the target path is the shortest may include the following operations.
- the target path of the movable platform in the concave work area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest, and the concave work area includes each convex sub-area.
- searching for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations: repeating the following operations until candidate target paths under each connection mode are determined: for one connection mode , determine the respective entrance or exit of each convex sub-region in this connection mode, so that the target path is the shortest in this connection mode. For example, the candidate target paths under each connection mode are compared; the connection mode of the convex sub-region corresponding to the candidate target path with the shortest path length and the respective entrance or exit of each convex sub-region are obtained.
- the computer program when executed by the processor, further implements: determining a plurality of obstacle regions. After repeating the following operations until the candidate target paths in each connection mode are determined, the convex sub-region connection path in each connection mode is determined based on the connection mode and the respective entrance or exit of each convex sub-region. If the connection path of the convex sub-region overlaps with the obstacle region, it is determined that the connection method corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection method.
- the respective sub-target paths of the convex sub-regions may be determined by: generating multiple reference paths that are consistent with the specified direction or the current moving direction of the movable platform, and the two adjacent reference paths are The distance between them is related to the working radius of the movable platform. Then, use the outer contour of each convex sub-region to cut the reference path to generate the reference path of the movable platform in each convex sub-region, so as to generate the respective sub-target path of the movable platform in each convex sub-region.
- control terminal is provided on a movable platform.
- control terminal and movable pan are integrated.
- specific content refer to the same part of the previous embodiment, which will not be repeated here.
- the embodiments of the present application also provide a computer program product, which includes a computer program, the computer program includes program codes for executing the methods provided by the embodiments of the present application, when the computer program product runs on an electronic device, the The program code is used to enable the electronic device to implement the image model training method or the image processing method provided by the embodiments of the present application.
- the computer program may rely on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like.
- the computer program may also be transmitted, distributed in the form of a signal over a network medium, and downloaded and installed through the communication portion, and/or installed from a removable medium.
- the program code embodied by the computer program may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
- the program code for executing the computer program provided by the embodiments of the present application may be written in any combination of one or more programming languages.
- Programming languages include, but are not limited to, languages such as Java, C++, python, "C" or similar programming languages.
- the program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server.
- the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
- LAN local area network
- WAN wide area network
- an external computing device eg, using an Internet service provider business via an Internet connection
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
A path planning method, a path planning device, and a medium, for use in planning a target path of a mobile platform. The method comprises: segmenting a concave operation region of a mobile platform into a plurality of convex sub-regions (S402); determining a reference path of the mobile platform corresponding to each convex sub-region, the direction of the reference path being parallel to the direction of the segmentation line of a segmentation operation region (S404); and connecting the reference path corresponding to each convex sub-region so as to generate a target path of the mobile platform when operating in the operation region (S406).
Description
本申请涉及摄像技术领域,尤其涉及一种路径规划方法、路径规划装置和介质。The present application relates to the field of imaging technologies, and in particular, to a path planning method, a path planning device, and a medium.
无人驾驶飞机简称“无人机”,是利用无线电遥控设备和自备的程序控制装置操纵的不载人飞机,可用于农林植物保护作业、勘探作业等,具有安全、高效、节省资源等优点。Unmanned aerial vehicle is referred to as "UAV". It is an unmanned aircraft operated by radio remote control equipment and self-provided program control device. It can be used for agricultural, forestry and plant protection operations, exploration operations, etc., with the advantages of safety, efficiency and resource saving. .
无人机自动作业技术不完善,一般只能针对简单地形,而对于复杂地形的作业区域,例如凹型不规则作业区域、作业区域中具有障碍物等,限制了无人机的适用范围。The automatic operation technology of UAVs is not perfect, and it can only be used for simple terrains. For operation areas with complex terrains, such as concave irregular operation areas, obstacles in the operation area, etc., the scope of application of UAVs is limited.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例提供一种路径规划方法、路径规划装置和介质,以提升适用无人机进行自动作业的适用范围。In view of this, the embodiments of the present application provide a path planning method, a path planning device, and a medium, so as to improve the scope of application of the UAV for automatic operation.
第一方面,本申请实施例提供了一种路径规划方法,用于规划可移动平台的目标路径,上述方法包括:将可移动平台的凹型作业区域切割为多个凸型子区域;确定每个凸型子区域对应的可移动平台的参考路径,参考路径的方向与切割作业区域的切割线的方向平行;连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径。In a first aspect, an embodiment of the present application provides a path planning method for planning a target path of a movable platform. The method includes: cutting a concave working area of the movable platform into a plurality of convex sub-regions; determining each The reference path of the movable platform corresponding to the convex sub-area, the direction of the reference path is parallel to the direction of the cutting line in the cutting operation area; connect the reference paths corresponding to each convex sub-area to generate the movement of the movable platform in the operation area. Target path.
第二方面,本申请实施例提供了一种路径规划方法,用于规划可移动平台的目标路径,上述方法包括:确定多个凸型子区域,以及多个凸型子区域各自的子目标路径;连接每个凸型子区域各自的子目标路径以生成目标路径,使得目标路径最短。In a second aspect, an embodiment of the present application provides a path planning method for planning a target path of a movable platform. The method includes: determining a plurality of convex sub-regions and respective sub-target paths of the plurality of convex sub-regions ; Connect the respective sub-goal paths of each convex sub-region to generate the target path, so that the target path is the shortest.
第三方面,本申请实施例提供了一种路径规划装置,用于规划可移动平台的目标路径,上述装置包括:一个或多个处理器;计算机可读存储介质,用于存储一个或多个计算机程序,计算机程序在被处理器执行时,实现:将可移动平台的凹型作业区域切割为多个凸型子区域;确定每个凸型子区域对应的可移动平台的参考路径,参考路径的方向与切割作业区域的切割线的方向平行;连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径。In a third aspect, an embodiment of the present application provides a path planning apparatus for planning a target path of a movable platform, the apparatus comprising: one or more processors; and a computer-readable storage medium for storing one or more The computer program, when the computer program is executed by the processor, realizes: cutting the concave working area of the movable platform into a plurality of convex sub-regions; determining the reference path of the movable platform corresponding to each convex sub-region, and the reference path of the The direction is parallel to the direction of the cutting line of the cutting operation area; the reference path corresponding to each convex sub-area is connected to generate the target path when the movable platform operates in the operation area.
第四方面,本申请实施例提供了一种路径规划装置,用于规划可移动平台的目标路径,上述装置包括:一个或多个处理器;计算机可读存储介质,用于存储一个或多个计算机程序,计算机程序在被处理器执行时,实现:确定多个凸型子区域,以及多个凸型子区域各自的子目标路径;连接每个凸型子区域各自的子目标路径以生成目标路径,使得目标路径最短。In a fourth aspect, an embodiment of the present application provides a path planning apparatus for planning a target path of a movable platform, the apparatus comprising: one or more processors; and a computer-readable storage medium for storing one or more A computer program, when executed by a processor, realizes: determining a plurality of convex sub-regions and respective sub-goal paths of the plurality of convex sub-regions; connecting the respective sub-goal paths of each convex sub-region to generate a target path so that the target path is the shortest.
第五方面,本申请实施例提供了一种计算机可读存储介质,其存储有可执行指令,可执行指令在由一个或多个处理器执行时,可以使一个或多个处理器执行如上的方法。In a fifth aspect, embodiments of the present application provide a computer-readable storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, can cause one or more processors to execute the above method.
第六方面,本申请实施例提供了一种计算机程序,包括可执行指令,该可执行指令在被执行时,实现如上的方法。In a sixth aspect, an embodiment of the present application provides a computer program, including executable instructions, which, when executed, implement the above method.
在本申请实施例中,通过将凹型作业区域划分至多个凸型子区域,每个子区域对应的参考路径都与切割线的方向平行,一方面可以提高目标路径在整体方向上的一致性,有助 于提高无人机运行的稳定性,另一方面可以使得可移动平台在相邻两个子区域边界处的作业更加均匀。此外,通过上述作业区域分割,可以处理复杂地形的飞行路径规划,并减少飞行路径规划的计算量。In the embodiment of the present application, by dividing the concave operation area into a plurality of convex sub-areas, the reference path corresponding to each sub-area is parallel to the direction of the cutting line. On the one hand, the consistency of the target path in the overall direction can be improved. It helps to improve the stability of the UAV operation, and on the other hand, it can make the operation of the movable platform at the boundary of two adjacent sub-areas more uniform. In addition, through the above-mentioned division of the work area, the flight path planning of complex terrain can be handled, and the calculation amount of the flight path planning can be reduced.
在本申请实施例中,可以有效提升无人机作业效果,以无人机喷洒农药为例,在切割线左右两侧无人机都是以相同的方向移动并喷洒农药的,农药喷洒更加均匀,不容易出现多喷、漏喷等问题。In the embodiment of the present application, the operation effect of the drone can be effectively improved. Taking the pesticide spraying by the drone as an example, the drones move in the same direction and spray the pesticide on the left and right sides of the cutting line, and the pesticide spraying is more uniform. , It is not easy to have problems such as over-spraying and missing spraying.
应当明白,本申请的不同方面可以被单独地、共同地或彼此结合地理解。本文所描述的本申请的各个方面可以适用于下文阐述的任何特定应用或者适用于任何其他类型的可移动物体。本文对诸如无人飞行器等飞行器的任何描述可适用于和用于任何可移动物体,诸如任何载具。另外,本文在空中运动(例如,飞行)的情景下公开的系统、设备和方法还可以适用于其他类型运动的情景下,诸如在地面上或在水上的移动、水下运动或者在太空中的运动。It should be understood that different aspects of the present application may be understood individually, collectively or in combination with each other. The various aspects of the application described herein may be applicable to any particular application set forth below or to any other type of movable object. Any description herein of an aircraft, such as an unmanned aerial vehicle, is applicable to and for any movable object, such as any vehicle. Additionally, the systems, devices, and methods disclosed herein in the context of aerial motion (eg, flight) may also be applicable in the context of other types of motion, such as movement on the ground or on water, underwater motion, or in space sports.
本申请的附加方面的优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Advantages of additional aspects of the present application will be set forth in part in the following description, in part will be apparent from the following description, or learned by practice of the present application.
通过参照附图的以下详细描述,本申请实施例的上述和其他目的、特征和优点将变得更容易理解。在附图中,将以示例以及非限制性的方式对本申请的多个实施例进行说明,其中:The above and other objects, features and advantages of embodiments of the present application will become more readily understood from the following detailed description with reference to the accompanying drawings. In the accompanying drawings, various embodiments of the present application will be illustrated by way of example and not limitation, wherein:
图1为本申请实施例提供的路径规划方法、路径规划装置和介质的应用场景;1 is an application scenario of a path planning method, a path planning device, and a medium provided by an embodiment of the present application;
图2为现有技术提供的一种规划好的路径的示意图;2 is a schematic diagram of a planned path provided by the prior art;
图3为本申请另一实施例提供的路径规划方法、路径规划装置和介质的应用场景;3 is an application scenario of a path planning method, a path planning device, and a medium provided by another embodiment of the present application;
图4为本申请实施例提供的路径规划方法的流程示意图;4 is a schematic flowchart of a path planning method provided by an embodiment of the present application;
图5为本申请实施例提供的工作区域的示意图;5 is a schematic diagram of a working area provided by an embodiment of the present application;
图6为本申请实施例提供的切割线的示意图;6 is a schematic diagram of a cutting line provided by an embodiment of the present application;
图7为本申请实施例提供的凸型子区域的示意图;7 is a schematic diagram of a convex sub-region provided by an embodiment of the present application;
图8为本申请另一实施例提供的切割线的示意图;8 is a schematic diagram of a cutting line provided by another embodiment of the present application;
图9为本申请实施例提供的参考路径的示意图;FIG. 9 is a schematic diagram of a reference path provided by an embodiment of the present application;
图10为针对图9中凸型子区域的子目标路径的示意图;10 is a schematic diagram of a sub-target path for a convex sub-region in FIG. 9;
图11为本申请实施例提供的目标路径的示意图;11 is a schematic diagram of a target path provided by an embodiment of the present application;
图12为本申请另一实施例提供的目标路径的示意图;12 is a schematic diagram of a target path provided by another embodiment of the present application;
图13为图12中连接路径的示意图;Fig. 13 is the schematic diagram of the connection path in Fig. 12;
图14为本申请另一实施例提供的路径规划方法的流程示意图;14 is a schematic flowchart of a path planning method provided by another embodiment of the present application;
图15为本申请实施例提供的图像子区域各自的端口的示意图;15 is a schematic diagram of respective ports of image sub-regions provided by an embodiment of the present application;
图16为本申请实施例提供的路径规划系统进行路径规划的流程图;FIG. 16 is a flowchart of route planning performed by the route planning system provided by the embodiment of the present application;
图17为本申请实施例提供的路径规划装置的结构示意图;FIG. 17 is a schematic structural diagram of a path planning apparatus provided by an embodiment of the present application;
图18为本申请另一实施例提供的路径规划装置的结构示意图。FIG. 18 is a schematic structural diagram of a path planning apparatus provided by another embodiment of the present application.
下面详细描述本申请的实施例,实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to be used to explain the present application, but should not be construed as a limitation to the present application.
以农业无人机的作业场景为例进行示例性说明,农业无人机的作业场景较为复杂,导致该问题的很大一方面是由于作业区域是自然形成的,形状大多是不规则的几何形状。例如,中国大陆南方和西部的丘陵区域农田,大多被小山坡、水塘、村庄等分割为特殊的几何区域。例如外轮廓为凹型的几何区域、或者其内部包含障碍物的几何区域,在这里我们将以上两种几何区域统称为凹型作业区域。传统的路径规划能够较好的解决凸形作业区域的场景,对于凹型作业区域,规划出来的路径常常会超出到作业区域之外,带来安全风险,同时,在凹型场景下,相关方法的作业效率也极大的降低了。Taking the operation scene of agricultural drones as an example to illustrate, the operation scene of agricultural drones is relatively complex, and a large part of the problem is that the operation area is naturally formed, and the shapes are mostly irregular geometric shapes. . For example, most of the farmland in the hilly areas of southern and western mainland China is divided into special geometric areas by small hillsides, ponds, and villages. For example, a geometrical area with a concave outer contour, or a geometrical area containing obstacles in its interior, here we collectively refer to the above two geometrical areas as a concave operating area. Traditional path planning can better solve the scenarios of convex work areas. For concave work areas, the planned paths often go beyond the work area, which brings security risks. Efficiency is also greatly reduced.
例如,相关技术中无人机航线规划技术,可以涉及农业和测绘中的应用。在农业中的应用,对于凹型作业区域的场景依然存在如下所示的缺陷:如切换区域时的航线依然会超出划定的作业区域。此外,没有从整个任务的执行效率上去优化航线。For example, the UAV route planning technology in the related art can involve applications in agriculture and surveying and mapping. In agricultural applications, the concave operation area still has the following defects: for example, when switching areas, the route will still exceed the delimited operation area. In addition, the route was not optimized from the overall mission performance efficiency.
在测绘中,由于测绘场景飞机相对于作业区域较高,对于作业区域较小的凹进部分,其对作业效率和安全性影响较低。但是对于大型的凹进部分,当前的某些航线规划任务无法执行,需要用户手动的将作业区域重新划分成多个简单的子区域,该场景下整个作业流程自动化程度较低。亟需一种能够用于凹型区域的路径规划,兼顾作业效率的解决方案。In surveying and mapping, since the plane of the surveying and mapping scene is relatively high relative to the work area, the concave part of the work area is smaller, and its influence on the work efficiency and safety is low. However, for large concave parts, some current route planning tasks cannot be performed, and the user needs to manually re-divide the operation area into multiple simple sub-areas. In this scenario, the automation of the entire operation process is low. There is an urgent need for a solution that can be used for path planning in concave areas and takes into account operational efficiency.
以无人机自动作业场景为例,本申请实施例在用户确定作业区域之后,利用切割线对作业区域进行分割,并且基于切割线的方向规划分割得到的各凸型子区域内的目标路径,使得无人机可以自动规划作业区域的目标路径,并且目标路径与作业区域中禁止通行区域之间无交叉,目标路径与作业区域外的区域之间无交叉。此外,由于每个凸型子区域目标路径都是基于切割线的方向进行规划的,可以有效提升目标路径在整体方向上的一致性,有助于提高无人机运行的稳定性,并且可以使得无人机在相邻两个子区域边界处的作业更加均匀。以无人机喷洒农药为例,在切割线左右两侧无人机都是以相同的方向移动并喷洒农药的,农药喷洒更加均匀,不容易出现多喷或漏喷等情形。本申请实施例有助于提升作业准确率,缩短目标路径的长度。Taking the automatic operation scene of the unmanned aerial vehicle as an example, in the embodiment of the present application, after the user determines the operation area, the operation area is divided by the cutting line, and the target path in each convex sub-area obtained by the segmentation is planned based on the direction of the cutting line, The UAV can automatically plan the target path of the operation area, and there is no intersection between the target path and the forbidden area in the operation area, and there is no intersection between the target path and the area outside the operation area. In addition, since the target path of each convex sub-region is planned based on the direction of the cutting line, it can effectively improve the consistency of the target path in the overall direction, help improve the stability of the UAV operation, and make the The operation of the drone at the border of two adjacent sub-regions is more uniform. Taking the pesticide spraying by drones as an example, the drones move in the same direction and spray pesticides on the left and right sides of the cutting line. The embodiments of the present application help to improve the operation accuracy and shorten the length of the target path.
图1为本申请实施例提供的路径规划方法、路径规划装置和介质的应用场景。FIG. 1 is an application scenario of a path planning method, a path planning device, and a medium provided by an embodiment of the present application.
如图1所示,无人机以某一飞行方向进行飞行,并且可以以该某一飞行方向或预设的飞行方向飞入作业区域100进行作业。作业区域100中可以包括禁止通行区域,如障碍物区域103。例如,可以基于该某一飞行方向对作业区域100进行分割,得到多个凸型子区域101。具体地,可以基于与该某一飞行方向平行的切割线102对作业区域100进行分割,得到多个凸型子区域101。这样可以将复杂的作业区域100,如包括凹型区域和/或障碍物的作业区域100分割为多个凸型子区域101,避免规划的目标路径(如作业区域100内的虚线所示)经过作业区域之外,造成潜在的飞行风险或浪费作业物资等。例如,可以先分别基于切割线102确定各凸型子区域的子目标路径1011,然后通过连接路径104连接各凸型子区域的子目标路径1011,得到作业区域的目标路径。As shown in FIG. 1 , the UAV flies in a certain flight direction, and can fly into the operation area 100 in the certain flight direction or a preset flight direction to perform operations. The work area 100 may include a no-pass area, such as an obstacle area 103 . For example, the work area 100 may be divided based on the certain flight direction to obtain a plurality of convex sub-areas 101 . Specifically, the work area 100 may be divided based on the cutting line 102 parallel to the certain flying direction, so as to obtain a plurality of convex sub-areas 101 . In this way, a complex work area 100, such as a work area 100 including a concave area and/or obstacles, can be divided into a plurality of convex sub-areas 101, so as to avoid the planned target path (as shown by the dotted line in the work area 100) passing through the work Outside the area, causing potential flight risks or wasting operation materials, etc. For example, the sub-target path 1011 of each convex sub-region can be determined based on the cutting line 102, and then the sub-target path 1011 of each convex sub-region can be connected through the connection path 104 to obtain the target path of the working region.
需要说明的是,以上场景仅为示例性的场景,还可以是针对地质勘探、洒水等的作业场景等,不能理解为对本申请的限制。It should be noted that the above scenarios are only exemplary scenarios, and may also be operational scenarios for geological exploration, water spraying, etc., which should not be construed as limitations to the present application.
图2为现有技术提供的一种规划好的路径的示意图。FIG. 2 is a schematic diagram of a planned route provided by the prior art.
如图2所示,竖线是规划出的针对凹型作业区域的目标路径。该规划好的路径未考虑作业区域的几何形状,规划出的路径会出现穿越非作业区域。一方面,穿越非作业区域存在较大的安全风险;另一方面,频繁的穿越非作业区域降低了任务的执行效率。As shown in Figure 2, the vertical line is the planned target path for the concave working area. The planned path does not consider the geometry of the working area, and the planned path may pass through the non-working area. On the one hand, crossing the non-operating area has great safety risks; on the other hand, frequently crossing the non-operating area reduces the efficiency of task execution.
从图2中可以看到,竖线所在的区域与凹型作业区域外的区域之间存在交叠区域。以无人机喷农药作业为例,图2所示的目标路径会使得上述交叠区域被喷洒农药,造成该交叠区域被污染,如该区域存在房屋、车辆或娱乐健身设施等,则会导致房屋、车辆或设施等被污染等,并且导致无人机作业的原料被浪费,作业效率较低。这给无人机自动喷药作业的推广带来了较大不便。It can be seen from Figure 2 that there is an overlapping area between the area where the vertical line is located and the area outside the concave working area. Taking the pesticide spraying operation by drones as an example, the target path shown in Figure 2 will cause the above-mentioned overlapping area to be sprayed with pesticides, causing the overlapping area to be polluted. It will lead to pollution of houses, vehicles or facilities, etc., and lead to the waste of raw materials for drone operation, and the operation efficiency is low. This brings great inconvenience to the promotion of automatic spraying operations by drones.
本申请实施例提供的路径规划方法、路径规划装置和介质,对于凹型作业区域,通过至少一条切割线将该凹型作业区域分割为至少两个凸型子区域,有效解决了作业区域复杂的问题,适应了实际农田边界复杂、区域中间存在大型障碍物等场景。同时,当存在多条切割线时,多条切割线之间相互平行,基于上述切割线对至少两个凸型子区域进行规划得到的子目标路径有助于提升目标路径在整体方向上的一致性,有助于提高无人机运行的稳定性。此外,本申请实施例不仅仅规划出了路径,还通过搜索的方法解决了最优路径问题,提升了任务执行效率,节约了资源的使用。例如,经过验证,本申请实施例提供的搜索算法在搜索效率上,搜索次数小于全局搜索的1/10,有效降低了路径规划对高计算资源的依赖。同时,通过加入启发式避障,可以有效地规避目标路径或多个凸型子区域之间的连接路径穿越作业区域的外部轮廓的场景。The path planning method, the path planning device and the medium provided by the embodiments of the present application, for the concave operation area, the concave operation area is divided into at least two convex sub-areas by at least one cutting line, which effectively solves the problem of complex operation area, It adapts to scenarios such as complex borders of actual farmland and large obstacles in the middle of the area. At the same time, when there are multiple cutting lines, the multiple cutting lines are parallel to each other, and the sub-target paths obtained by planning at least two convex sub-regions based on the cutting lines help improve the consistency of the overall direction of the target paths It is helpful to improve the stability of UAV operation. In addition, the embodiment of the present application not only plans a path, but also solves the problem of the optimal path through a search method, which improves the efficiency of task execution and saves the use of resources. For example, it has been verified that the search algorithm provided by the embodiment of the present application has a search efficiency that is less than 1/10 of the global search, which effectively reduces the dependence of path planning on high computing resources. At the same time, by adding heuristic obstacle avoidance, the scene where the target path or the connection path between multiple convex sub-regions crosses the outer contour of the work area can be effectively avoided.
为了便于理解本申请的技术方案,以下结合图3~图20进行示例性说明。In order to facilitate the understanding of the technical solutions of the present application, an exemplary description is given below with reference to FIGS. 3 to 20 .
图3为本申请另一实施例提供的路径规划方法、路径规划装置和介质的应用场景。如图3所示,以搭载在可移动平台10上的作业装置14为例进行说明。FIG. 3 is an application scenario of a path planning method, a path planning apparatus, and a medium provided by another embodiment of the present application. As shown in FIG. 3 , the working device 14 mounted on the movable platform 10 will be described as an example.
图3中可移动平台10包括本体11、承载体13及作业装置14。尽管可移动平台10被描述为飞行器,然而这样的描述并不是限制,前述描述的任何类型的可移动平台都适用(如无人飞行器)。在某些实施例中,作业装置14可以直接位于可移动平台10上,而不需要承载体13。可移动平台10可以包括动力机构15,传感系统12。此外,该可移动平台10还可以包括通讯系统。The movable platform 10 in FIG. 3 includes a main body 11 , a carrier 13 and a working device 14 . Although the movable platform 10 is described as an aircraft, such description is not limiting, and any type of movable platform previously described is applicable (eg, an unmanned aerial vehicle). In some embodiments, the working device 14 may be located directly on the movable platform 10 without the need for the carrier 13 . The movable platform 10 may include a power mechanism 15 , a sensing system 12 . In addition, the mobile platform 10 may also include a communication system.
动力机构15可以包括一个或者多个旋转体、螺旋桨、桨叶、引擎、电机、轮子、轴承、磁铁、喷嘴。例如,动力机构的旋转体可以是自紧固(self-tightening)旋转体、旋转体组件、或者其它的旋转体动力单元。可移动平台可以有一个或者两个、两个或者多个、三个或者多个、或者四个或者多个动力机构。所有的动力机构可以是相同的类型。可选地,一个或者多个动力机构可以是不同的类型。动力机构15可以通过合适的手段安装在可移动平台上,如通过支撑元件(如驱动轴)。动力机构15可以安装在可移动平台10任何合适的位置,如顶端、下端、前端、后端、侧面或者其中的任意结合。The powertrain 15 may include one or more rotating bodies, propellers, blades, engines, motors, wheels, bearings, magnets, nozzles. For example, the rotating body of the powertrain may be a self-tightening rotating body, a rotating body assembly, or other rotating body power unit. The movable platform may have one or two, two or more, three or more, or four or more power mechanisms. All powertrains can be of the same type. Alternatively, one or more of the power mechanisms may be of a different type. The power mechanism 15 may be mounted on the movable platform by suitable means, such as by support elements (eg drive shafts). The power mechanism 15 may be installed in any suitable location on the movable platform 10, such as the top, the bottom, the front, the rear, the side, or any combination thereof.
在某些实施例中,动力机构15能够使可移动平台10垂直地从表面起飞,或者垂直地降落在表面上,而不需要可移动平台10任何水平运动(如不需要在跑道上滑行)。可选地,动力机构15可以允许可移动平台10在空中预设位置及/或者方向盘旋。一个或者多个动力机构100在受到控制时可以独立于其它的动力机构。可选地,一个或者多个动力机构100可以同时受到控制。例如,可移动平台10可以有多个水平方向的旋转体,以控制可 移动平台10的提升及/或推动。水平方向的旋转体可以被致动以提供可移动平台10垂直起飞、垂直降落、盘旋的能力。在某些实施例中,水平方向的旋转体中的一个或者多个可以顺时针方向旋转,而水平方向的旋转体中的其它一个或者多个可以逆时针方向旋转。例如,顺时针旋转的旋转体与逆时针旋转的旋转体的数量一样。每一个水平方向的旋转体的旋转速率可以独立变化,以实现每个旋转体导致的提升及/或推动操作,从而调整可移动平台10的空间方位、速度及/或加速度(如相对于多达三个自由度的旋转及平移)。In some embodiments, the power mechanism 15 enables the movable platform 10 to take off vertically from a surface, or to land vertically on a surface, without any horizontal movement of the movable platform 10 (eg, without taxiing on a runway). Optionally, the power mechanism 15 may allow the movable platform 10 to preset a position in the air and/or to rotate the steering wheel. One or more of the power mechanisms 100 may be controlled independently of the other power mechanisms. Alternatively, one or more power mechanisms 100 may be controlled simultaneously. For example, the movable platform 10 may have a plurality of horizontal rotation bodies to control the lifting and/or pushing of the movable platform 10. The horizontally oriented rotator can be actuated to provide the movable platform 10 with vertical take-off, vertical landing, and hovering capabilities. In some embodiments, one or more of the horizontal rotating bodies may rotate clockwise, while the other one or more of the horizontal rotating bodies may rotate counterclockwise. For example, there are the same number of rotating bodies that rotate clockwise as there are counter-clockwise rotating bodies. The rate of rotation of each horizontal rotating body can be varied independently to enable the lifting and/or pushing operations caused by each rotating body to adjust the spatial orientation, velocity and/or acceleration of the movable platform 10 (eg, relative to up to rotation and translation in three degrees of freedom).
传感系统12可以包括一个或者多个传感器,以感测可移动平台10的周边障碍物、空间方位、速度及/或加速度(如相对于多达三个自由度的旋转及平移)。一个或者多个传感器包括前述描述的任何传感器,包括但不限于测距传感器、GPS传感器、运动传感器、惯性传感器或者影像传感器。传感系统12提供的感测数据可以用于控制可移动平台10的空间方位、速度及/或加速度。可选地,传感系统12可以用于可移动平台10的环境的数据,如气候条件、周边障碍物距离、地理特征的位置、人造结构的位置等。 Sensing system 12 may include one or more sensors to sense surrounding obstacles, spatial orientation, velocity, and/or acceleration (eg, rotation and translation with respect to up to three degrees of freedom) of movable platform 10 . The one or more sensors include any of the sensors described above, including but not limited to ranging sensors, GPS sensors, motion sensors, inertial sensors, or image sensors. Sensing data provided by the sensing system 12 may be used to control the spatial orientation, velocity and/or acceleration of the movable platform 10 . Optionally, the sensing system 12 may be used for data on the environment of the movable platform 10, such as climatic conditions, surrounding obstacle distances, locations of geographic features, locations of man-made structures, and the like.
承载体13可以是多种支撑结构,包括但不限于:固定支架、可拆卸支架、姿态可调结构等,用于将作业装置14设置在本体11上。例如,承载体13可以是云台,作业装置14包括喷洒农药装置、测绘装置、勘探装置、洒水装置、灭火装置、拍摄装置或瞄准装置等中至少一种。例如该云台允许喷洒装置的喷嘴相对于本体11发生位移,或者,沿着一个或多个轴转动,如承载体13允许喷嘴沿着俯仰轴、航向轴和横滚轴中一个轴或多个轴的结合平移运动。又例如,承载体13可以允许喷嘴围绕俯仰轴、航向轴和横滚轴中的一个或多个轴转动。其中承载体13和本体11之间可以具有联动换算关系,如本体11发生的第一运动(如移动或转动)可以换算成承载体13发生的第二运动。反之亦然。The carrier 13 may be various supporting structures, including but not limited to: fixed brackets, detachable brackets, and adjustable posture structures, etc., for setting the working device 14 on the main body 11 . For example, the carrier 13 may be a pan/tilt, and the operation device 14 includes at least one of a pesticide spraying device, a surveying and mapping device, a surveying device, a sprinkler device, a fire extinguishing device, a photographing device or an aiming device. For example, the head allows the nozzle of the spray device to be displaced relative to the body 11, or rotated along one or more axes, such as the carrier 13 allowing the nozzle to follow one or more of the pitch, yaw and roll axes Combined translational motion of an axis. As another example, the carrier 13 may allow the nozzle to rotate about one or more of a pitch axis, a yaw axis, and a roll axis. There may be a linkage conversion relationship between the carrier 13 and the main body 11 . For example, the first movement (eg, movement or rotation) of the main body 11 can be converted into the second movement of the carrier 13 . vice versa.
通讯系统能够实现可移动平台10与具有通讯系统的控制终端20通过天线22收发的无线信号30进行通讯,天线22设置在本体21上。通讯系统可以包括任何数量的用于无线通讯的发送器、接收器、及/或收发器。通讯可以是单向通讯,这样数据可以从一个方向发送。例如,单向通讯可以包括,只有可移动平台10传送数据给控制终端20,或者反之亦然。通讯系统的一个或者多个发送器可以发送数据给通讯系统的一个或者多个接收器,反之亦然。可选地,通讯可以是双向通讯,这样,数据可以在可移动平台10与控制终端20之间在两个方向传输。双向通讯包括通讯系统的一个或者多个发送器可以发送数据给通讯系统的一个或者多个接收器,及反之亦然。The communication system can realize the communication between the movable platform 10 and the control terminal 20 having the communication system through the wireless signal 30 sent and received by the antenna 22 , and the antenna 22 is arranged on the main body 21 . A communication system may include any number of transmitters, receivers, and/or transceivers for wireless communication. Communication can be one-way communication, so that data can be sent from one direction. For example, one-way communication may include that only the mobile platform 10 transmits data to the control terminal 20, or vice versa. One or more transmitters of the communication system may transmit data to one or more receivers of the communication system, and vice versa. Alternatively, the communication may be two-way communication, so that data can be transferred between the movable platform 10 and the control terminal 20 in both directions. Two-way communication includes that one or more transmitters of the communication system can send data to one or more receivers of the communication system, and vice versa.
在某些实施例中,控制终端20可以向可移动平台10、承载体13及作业装置14中的一个或者多个提供控制指令,并且从可移动平台10、承载体13及作业装置14中的一个或者多个中接收信息(如障碍物、可移动平台10、承载体13或者作业装置14的位置及/或运动信息,负载感测的数据,如拍摄装置捕获的影像数据)。在某些实施例中,控制终端20的控制数据可以包括关于位置、运动、制动的指令,或者对可移动平台10、承载体13及/或作业装置14的控制。例如,控制数据可以导致可移动平台10位置及/或方向的改变(如通过控制动力机构15),或者导致承载体13相对于可移动平台10的运动(如通过对承载体13的控制)。控制终端20的控制数据可以导致负载控制,如控制喷洒装置的操作(改变喷嘴角度、流量等)。如控制拍摄装置或者其它影像捕获设备的操作(捕获静止或者运动的影像、变焦、开启或关闭、切换成像模式、改变影像分辨率、改变焦距、改变景深、改变曝光时间、改变可视角度或者视场)。在某些实施例中,可移动平台10、承载 体13及/或作业装置14的通讯可以包括一个或者多个传感器(如距离传感器12或者作业装置14的图像传感器)发出的信息。通讯可以包括从一个或者多个不同类型的传感器(如GPS传感器、运动传感器、惯性传感器、近程传感器或者影像传感器)传送的感应信息。感应信息是关于可移动平台10、承载体13及/或作业装置14的位置(如方向、位置)、运动、或者加速度。从作业装置14传送的感应信息包括作业装置14捕获的数据或者作业装置14的状态。控制终端20传送提供的控制数据可以用于控制可移动平台10、承载体13或者作业装置14中一个或者多个的状态。可选地,承载体13及作业装置14中一个或多个可以包括通讯模块,用于与控制终端20通讯,以便控制终端20可以单独地通讯或者控制可移动平台10、承载体13及作业装置14。其中,控制终端20可以为可移动平台10的遥控器,也可以为诸如手机、iPad、可穿戴电子设备等能够用于控制可移动平台10的智能电子设备。In some embodiments, the control terminal 20 may provide control instructions to one or more of the movable platform 10 , the carrier 13 and the working device 14 , and provide control instructions from the movable platform 10 , the carrier 13 and the working device 14 . Information (eg, position and/or motion information of obstacles, movable platform 10 , carrier 13 or working device 14 , load sensing data such as image data captured by cameras) is received in one or more of these. In some embodiments, the control data of the control terminal 20 may include instructions regarding position, movement, braking, or control of the movable platform 10 , the carrier 13 and/or the working device 14 . For example, the control data may cause a change in the position and/or orientation of the movable platform 10 (eg, by controlling the power mechanism 15), or cause movement of the carrier 13 relative to the movable platform 10 (eg, by controlling the carrier 13). Control data from the control terminal 20 may result in load control, such as controlling the operation of the spraying device (change nozzle angle, flow rate, etc.). Such as controlling the operation of a camera or other image capture device (capturing still or moving images, zooming, turning on or off, switching imaging modes, changing image resolution, changing focus, changing depth of field, changing exposure time, changing viewing angle or viewing angle) field). In some embodiments, communications between movable platform 10, carrier 13, and/or working device 14 may include information from one or more sensors (eg, distance sensor 12 or an image sensor of working device 14). Communication may include sensory information transmitted from one or more different types of sensors, such as GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors. The sensing information is about the position (eg, orientation, position), motion, or acceleration of the movable platform 10 , the carrier 13 and/or the working device 14 . The sensory information transmitted from the work equipment 14 includes data captured by the work equipment 14 or the state of the work equipment 14 . The control data transmitted by the control terminal 20 may be used to control the state of one or more of the movable platform 10 , the carrier 13 or the working device 14 . Optionally, one or more of the carrier 13 and the working device 14 may include a communication module for communicating with the control terminal 20 so that the control terminal 20 can communicate individually or control the movable platform 10, the carrier 13 and the working device 14. The control terminal 20 may be a remote controller of the movable platform 10 , or may be an intelligent electronic device such as a mobile phone, an iPad, a wearable electronic device, etc., which can be used to control the movable platform 10 .
需要说明的是,控制终端20可以远离可移动平台10,以实现对可移动平台10的远程控制,可以固定或可拆卸地设于可移动平台10上,具体可以根据需要设置。It should be noted that the control terminal 20 can be far away from the movable platform 10 to realize remote control of the movable platform 10, and can be fixedly or detachably installed on the movable platform 10, and can be set as required.
在某些实施例中,可移动平台10可以与除了控制终端20之外的其它远程设备,或者非控制终端20的远程设备通讯。控制终端20也可以与另外一个远程设备及可移动平台10进行通讯。例如,可移动平台10及/或控制终端20可以与另一个可移动平台或者另一个可移动平台的承载体或负载通讯。当有需要的时候,另外的远程设备可以是第二终端或者其它计算设备(如计算机、桌上型电脑、平板电脑、智能手机、或者其它移动设备)。该远程设备可以向可移动平台10传送数据,从可移动平台10接收数据,传送数据给控制终端20,及/或从控制终端20接收数据。可选地,该远程设备可以连接到因特网或者其它电信网络,以使从可移动平台10及/或控制终端20接收的数据上传到网站或者服务器上。In some embodiments, the removable platform 10 may communicate with other remote devices other than the control terminal 20 , or with remote devices other than the control terminal 20 . The control terminal 20 may also communicate with another remote device and the movable platform 10 . For example, the movable platform 10 and/or the control terminal 20 may be in communication with another movable platform or a carrier or payload of another movable platform. When desired, the additional remote device may be a second terminal or other computing device (eg, a computer, desktop, tablet, smartphone, or other mobile device). The remote device may transmit data to the removable platform 10 , receive data from the removable platform 10 , transmit data to the control terminal 20 , and/or receive data from the control terminal 20 . Optionally, the remote device may be connected to the Internet or other telecommunication network to allow data received from the removable platform 10 and/or the control terminal 20 to be uploaded to a website or server.
需要说明的是,可移动平台10还可以是陆地机器人、无人车等,在此不做限定。It should be noted that the movable platform 10 may also be a land robot, an unmanned vehicle, etc., which is not limited herein.
图4为本申请实施例提供的路径规划方法的流程示意图。FIG. 4 is a schematic flowchart of a path planning method provided by an embodiment of the present application.
如图4所示,该路径规划方法可以包括操作S402~操作S406。As shown in FIG. 4 , the path planning method may include operations S402 to S406.
在操作S402,将可移动平台的凹型作业区域切割为多个凸型子区域。In operation S402, the concave working area of the movable platform is cut into a plurality of convex sub-areas.
在本实施例中,当可移动平台在凹型作业区域中移动时,移动轨迹容易与凹型区域(非作业区域)相交叠。为了改善上述问题,可以对凹型作业区域进行分割,得到至少两个凸型子区域。可移动平台在凸型子区域中移动时,不会因存在凹型区域而移动到凸型子区域的外部。具体地,可以使用切割线对凹型作业区域进行分割。In this embodiment, when the movable platform moves in the concave working area, the movement trajectory easily overlaps with the concave area (non-working area). In order to improve the above problems, the concave working area can be divided to obtain at least two convex sub-areas. When the movable platform moves in the convex sub-region, it does not move outside the convex sub-region due to the presence of the concave region. Specifically, the concave work area can be divided using cutting lines.
例如,切割线可以过凹型作业区域的一个或多个顶点。其中,顶点可以包括凸顶点和凹顶点。经过顶点做切割线,不会分割出过多的凸型子区域,并且能减小分割得到凹型子区域的概率。此外,当凹型作业区域内包括禁止通行区域(如障碍物区域)时,切割线可以过禁止通行区域的顶点,这样可以避免规划的目标路径与禁止通行区域存在交叠。For example, the cut line may pass through one or more vertices of the concave work area. The vertices may include convex vertices and concave vertices. By making cutting lines through vertices, too many convex sub-regions will not be divided, and the probability of obtaining concave sub-regions can be reduced. In addition, when the concave working area includes a prohibited area (such as an obstacle area), the cutting line can pass through the vertex of the prohibited area, so as to avoid the planned target path overlapping with the prohibited area.
例如,切割线的延伸方向可以是用户指定的方向,如用户在控制终端上输入的方向,该方向可以是基于风向、田地中田垄的走向、作物的排布方向、山脊的走向等来确定的。例如,控制终端上设置有按键、拨杆等部件,用户可以通过操作这些部件输入方向。又例如,控制终端上可以包括显示屏,用户可以通过显示屏上显示的交互组件(如虚拟的按键、摇杆、文本输入组件等)来输入方向信息或角度值等。控制终端可以是一体式的,如遥控器上设置有处理器、存储器、显示屏等。控制终端可以是分体式的,如遥控器可以和其它 电子设备共同构成控制终端,如遥控器和智能手机互连后共同构成控制终端。其中,智能手机上可以安装有应用(APP),该APP上可以输入操作指令、设置参数等。For example, the extension direction of the cutting line may be a direction specified by the user, such as the direction input by the user on the control terminal, and the direction may be determined based on the wind direction, the direction of the ridge in the field, the direction of the arrangement of crops, the direction of the ridge, etc. . For example, the control terminal is provided with components such as buttons and levers, and the user can input the direction by operating these components. For another example, the control terminal may include a display screen, and the user may input direction information or angle values through interactive components (such as virtual keys, joysticks, text input components, etc.) displayed on the display screen. The control terminal may be integrated, for example, the remote controller is provided with a processor, a memory, a display screen, and the like. The control terminal can be split. For example, the remote control and other electronic devices can form a control terminal. For example, the remote control and a smart phone can be interconnected to form a control terminal. Wherein, an application (APP) may be installed on the smart phone, and operation instructions, setting parameters, etc. may be input on the APP.
例如,切割线的延伸方向可以是可移动平台当前的运动方向,这样便于无人机直接沿着当前移动方向进行作业,而无需为了进行作业调整可移动平台的移动方向至用户随意设置或系统默认的指定方向。For example, the extension direction of the cutting line can be the current movement direction of the movable platform, which is convenient for the drone to operate directly along the current movement direction, without the need to adjust the movement direction of the movable platform to the user's arbitrary setting or system default for the operation. the specified direction.
在操作S404,确定每个凸型子区域对应的可移动平台的参考路径,参考路径的方向与切割作业区域的切割线的方向平行。In operation S404, a reference path of the movable platform corresponding to each convex sub-region is determined, and the direction of the reference path is parallel to the direction of the cutting line of the cutting operation region.
在本实施例中,参考路径可以是基于切割线设置的,如与切割线的方向保持一致。例如,参考路径可以是多条相互平行的平行线,相邻两个平行线之间的距离可以与可移动平台的作业宽度,如喷洒宽度、勘探宽度等有关。这样便于基于各凸型子区域的参考路径生成各凸型子区域各自的子目标路径。In this embodiment, the reference path may be set based on the cutting line, such as keeping the direction of the cutting line consistent. For example, the reference path may be a plurality of parallel lines parallel to each other, and the distance between two adjacent parallel lines may be related to the working width of the movable platform, such as spraying width, exploration width, and the like. In this way, it is convenient to generate respective sub-target paths of each convex sub-region based on the reference path of each convex sub-region.
例如,基于无人机的作业宽度,获取凹型作业区域内的平行于无人机的飞行方向的多条参考路径,参考路径为规划中的无人机在飞行区域内的作业路径。根据参考路径与边界的相交位置,即参考路径的端点位置或者转向点位置,将参考路径划分至多个作业区域。For example, based on the operation width of the UAV, multiple reference paths in the concave operation area parallel to the flight direction of the UAV are obtained, and the reference paths are the planned operation paths of the UAV in the flight area. According to the intersection of the reference path and the boundary, that is, the position of the end point of the reference path or the position of the turning point, the reference path is divided into multiple work areas.
一般而言,参考路径的端点位于边界上,相邻两个移动路径之间的间距等于无人机的作业宽度。无人机的飞行方向可以根据多种方式确定,例如以凹型作业区域的最长边的方向作为无人机的飞行方向。Generally speaking, the end points of the reference path are located on the boundary, and the distance between two adjacent moving paths is equal to the working width of the UAV. The flight direction of the UAV can be determined in various ways, for example, the direction of the longest side of the concave working area is used as the flight direction of the UAV.
在操作S406,连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径。In operation S406, the reference paths corresponding to each convex sub-area are connected to generate a target path when the movable platform operates in the work area.
在本实施例中,各凸型子区域可以具有至少两个端口,其中,至少两个端口中可以包括进口和出口。可以将一个凸型子区域的出口与另一个凸型子区域的入口相连,当完成多个凸型子区域的出口和入口连接后,即可得到目标路径。In this embodiment, each convex sub-region may have at least two ports, wherein the at least two ports may include an inlet and an outlet. The exit of one convex sub-region can be connected to the entrance of another convex sub-region, and the target path can be obtained after the exit and entrance of multiple convex sub-regions are connected.
需要说明的是,为了提升作业效率,可以通过遍历多个凸型子区域各自的出口和入口的方式来得到最短路径,将该最短路径作为目标路径。例如,参考无人机的作业特点,包括少转弯、就近飞行、遍历凹型作业区域等,对各凸型子区域的子目标路径进行连接。It should be noted that, in order to improve work efficiency, the shortest path may be obtained by traversing the respective exits and entrances of the plurality of convex sub-regions, and the shortest path may be used as the target path. For example, referring to the operational characteristics of the UAV, including fewer turns, flying nearby, and traversing the concave operation area, the sub-target paths of each convex sub-area are connected.
本申请实施例,通过分割凸型子区域、参考路径规划和基于参考路径生成目标路径的过程,改善了作业区域复杂导致的不易进行路径规划的问题,适应了实际农田边界复杂、区域中间存在大型障碍物等场景。In the embodiment of the present application, the process of dividing convex sub-regions, planning a reference path, and generating a target path based on the reference path improves the problem of difficulty in path planning caused by the complex operation area, and adapts to the complex boundary of the actual farmland and the existence of large scales in the middle of the area. obstacles, etc.
在某些实施例中,将可移动平台的凹型作业区域切割为多个凸型子区域可以包括如下操作。In some embodiments, cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
首先,生成经由凹型作业区域外轮廓的多个顶点各自的候选切割线,候选切割线的延伸方向是指定方向或者可移动平台的当前移动方向。First, candidate cutting lines are generated that pass through each of a plurality of vertices of the outer contour of the concave work area, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform.
然后,基于第一预设切割规则和至少一个切割线将凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个切割线是从候选切割线中确定的。例如,凸型子区域的个数,是凹型作业区域可分解成的凸型子区域的个数的最小值。这样有助于减少搜索最优路径消耗的计算资源和处理时长。Then, the concave working area is cut into a plurality of convex sub-areas each having a convex polygon outer contour based on the first preset cutting rule and at least one cutting line, the at least one cutting line being determined from the candidate cutting lines. For example, the number of convex sub-regions is the minimum value of the number of convex sub-regions into which the concave work region can be decomposed. This helps to reduce the computational resources and processing time consumed by searching for the optimal path.
其中,凹型作业区域外轮廓可以通过多个顶点的坐标和坐标之间的连接关系进行表示。例如,为了便于标示凹型作业区域的边界,坐标可以包括用于表示凹型作业区域边界的多个特征点的坐标。可以通过输入装置接收用户输入的特征点的坐标信息,也可以通过图像 识别从凹型作业区域的地貌图像中获取特征点的坐标信息。特征点可以在边界上。可以采用直线段或者曲线段连接在边界上的特征点并作为全部或部分边界。The outer contour of the concave working area can be represented by the coordinates of multiple vertices and the connection relationship between the coordinates. For example, in order to facilitate marking the boundary of the concave working area, the coordinates may include coordinates of a plurality of feature points for representing the boundary of the concave working area. The coordinate information of the feature points input by the user can be received through the input device, and the coordinate information of the feature points can also be obtained from the topographic image of the concave working area through image recognition. Feature points can be on boundaries. Line segments or curve segments can be used to connect the feature points on the boundary and serve as all or part of the boundary.
确定顶点坐标可以包括如下操作,首先,获取用于表示边界顶点的经纬度坐标,如获取用于表示边界的特征点的坐标为经纬度坐标。然后,将经纬度坐标转换为地心坐标系下的三维坐标,如将地球看作一个球体,将经纬度坐标转换为以地心为原点的三维直角地心坐标系下的三维坐标。接着,还可以将三维坐标转换为与地球表面相切的平面坐标系下的二维坐标。其中,平面与地球的切点可以为起始点,也可以为凹型作业区域内部的或者边界上的点。Determining the vertex coordinates may include the following operations. First, acquiring the latitude and longitude coordinates used to represent the vertices of the boundary, for example, acquiring the coordinates of the feature points used to represent the boundary as the latitude and longitude coordinates. Then, convert the latitude and longitude coordinates into three-dimensional coordinates in the geocentric coordinate system. For example, consider the earth as a sphere, and convert the latitude and longitude coordinates into three-dimensional coordinates in the three-dimensional Cartesian geocentric coordinate system with the center of the earth as the origin. Next, the three-dimensional coordinates can also be converted into two-dimensional coordinates in a plane coordinate system tangent to the earth's surface. The tangent point between the plane and the earth may be the starting point, or may be a point inside the concave working area or on the boundary.
下面举例说明具体计算过程:将顶点1的经纬度坐标表示为p1(α,β),其中α表示经度,β表示纬度。然后,将经纬度坐标转换为地心坐标系OXYZ下的三维坐标,该三维坐标可以表示为p2(X,Y,Z)。其中X=R*cos(β*TO_RADIAN)*cos(α*TO_RADIAN),Y=R*cos(β*TO_RADIAN)*sin(α*TO_RADIAN),Z=R*sin(β*TO_RADIAN),R为地球半径,TO_RANDIAN=pi/180,pi为圆周率。将p2(X,Y,Z)绕OZ旋转-α0度,绕OX旋转-(90-β0)度,其中(α0,β0)为平面与地球切点的经纬度坐标,获得以指向切点的方向为z轴的三维坐标系oxyz下的坐标p3(x,y,z),再将坐标p3(x,y,z)坐标向切平面oxy投影获得平面坐标p4(x,y)。由于凹型作业区域相比整个地球面积很小,可以近似为平面,如果顶点的坐标采用经纬度坐标,后续飞行路径规划的计算过程非常复杂,甚至可能带来更大的误差,为此将经纬度坐标投影至地球表面相切的平面坐标,可有效的减少后续的计算量。The specific calculation process is illustrated below with an example: the latitude and longitude coordinates of vertex 1 are represented as p1(α, β), where α represents longitude and β represents latitude. Then, the latitude and longitude coordinates are converted into three-dimensional coordinates in the geocentric coordinate system OXYZ, and the three-dimensional coordinates can be expressed as p2(X, Y, Z). where X=R*cos(β*TO_RADIAN)*cos(α*TO_RADIAN), Y=R*cos(β*TO_RADIAN)*sin(α*TO_RADIAN), Z=R*sin(β*TO_RADIAN), R is The radius of the earth, TO_RANDIAN=pi/180, pi is the pi. Rotate p2(X, Y, Z) around OZ by -α0 degrees and around OX by -(90-β0) degrees, where (α0, β0) are the latitude and longitude coordinates of the tangent point between the plane and the earth, and obtain the direction pointing to the tangent point is the coordinate p3(x, y, z) under the three-dimensional coordinate system oxyz of the z-axis, and then the coordinate p3(x, y, z) coordinate is projected to the tangent plane oxy to obtain the plane coordinate p4(x, y). Since the concave operating area is smaller than the entire earth, it can be approximated as a plane. If the coordinates of the vertices use latitude and longitude coordinates, the calculation process of the subsequent flight path planning is very complicated, and may even bring greater errors. For this reason, the latitude and longitude coordinates are projected. The plane coordinates that are tangent to the earth's surface can effectively reduce the amount of subsequent calculations.
在某些实施例中,第一预设切割规则用于基于经由凹型作业区域的凹顶点的切割线,将凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。这样可以由处理器自动对凹型作业区域进行划分,得到数量合理(如最少个数或不至于导致过多个数的子区域),且不会产生凹型子区域。In some embodiments, the first preset cutting rule is used to cut the concave working area into a plurality of convex sub-regions each having a convex polygonal outer contour based on cutting lines passing through concave vertices of the concave working area. In this way, the processor can automatically divide the concave working area to obtain a reasonable number of sub-areas (such as a minimum number or a sub-area that does not cause too many numbers), and no concave-shaped sub-areas are generated.
例如,在垂直于候选切割线并且从左至右的方向上,每个顶点激活1次与该顶点相连且位于该顶点右侧的顶点。相应地,第一预设切割规则包括以下至少一种。For example, in the direction perpendicular to the candidate cut line and from left to right, each vertex activates 1 time per vertex that is connected to and to the right of the vertex. Correspondingly, the first preset cutting rule includes at least one of the following.
如果当前顶点被激活零次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated zero times and there is no intersection between the candidate cutting line via the current vertex and the outer contour of the concave work area other than the current vertex, the candidate cutting line via the current vertex is discarded.
如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点分别位于当前顶点在候选切割线方向上的两侧,则将经由当前顶点的候选切割线作为切割线。If the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line. On both sides, the candidate cutting line passing through the current vertex is used as the cutting line.
如果当前顶点被激活一次,在候选切割线的延伸方向上,当前顶点相对于与该当前顶点相连的两个顶点更接近凹型作业区域外轮廓在垂直候选切割线方向的中心线,则将经由当前顶点的候选切割线作为切割线。If the current vertex is activated once, in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line relative to the two vertices connected to the current vertex. The candidate cutting lines of the vertices are used as cutting lines.
如果当前顶点被激活两次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated twice and there is no intersection other than the current vertex between the candidate cutting line via the current vertex and the outer contour of the concave working area, the candidate cutting line via the current vertex is discarded.
如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于 除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated twice, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓至少相交于除当前顶点之外的至少两个交点,并且当前顶点在候选切割线方向上的位于两个上述交点之间,则将该候选切割线作为切割线。If the current vertex is activated twice, the candidate cutting line via the current vertex intersects with the outer contour of the concave working area at least two intersections other than the current vertex, and the current vertex in the direction of the candidate cutting line is located at two of the above intersections In between, the candidate cutting line is used as the cutting line.
对于重叠的候选切割线,将其中一条候选切割线作为切割线。For overlapping candidate cutting lines, use one of the candidate cutting lines as the cutting line.
通过以上方式即可选取出较合适的切割线,以便基于这些切割线把凹型作业区域分割成多个凸型子区域。In the above manner, suitable cutting lines can be selected, so as to divide the concave working area into a plurality of convex sub-areas based on these cutting lines.
在某些实施例中,凹型作业区域还可以包括障碍物区域,障碍物区域的多边形外轮廓作为凹型作业区域的多边形内轮廓。In some embodiments, the concave working area may further include an obstacle area, and the polygonal outer contour of the obstacle area serves as the polygonal inner contour of the concave working area.
图5为本申请实施例提供的工作区域的示意图。FIG. 5 is a schematic diagram of a working area provided by an embodiment of the present application.
如图5所示,图中由端点A、端点B、端点C、端点D、端点E和端点F围成的封闭区域是凹型作业区域。图中由端点a、端点b、端点c和端点d围成的封闭区域是障碍物区域。当凹型作业区域内存在障碍物区域时,凹型作业区域的边界进一步可以包括用于表示该障碍物区域的外部轮廓的第二边界。这里的障碍物区域可以是指无人机需要绕行的有障碍物的区域,例如禁飞区、存在房子、电线杆等不宜飞越的障碍物的区域。As shown in FIG. 5 , the enclosed area enclosed by the end point A, the end point B, the end point C, the end point D, the end point E and the end point F in the figure is a concave working area. The enclosed area enclosed by the endpoint a, the endpoint b, the endpoint c, and the endpoint d in the figure is the obstacle region. When an obstacle area exists within the concave working area, the boundary of the concave working area may further include a second boundary for representing the outer contour of the obstacle area. The obstacle area here may refer to an area with obstacles that the drone needs to bypass, such as a no-fly zone, an area with obstacles such as houses and utility poles that are not suitable for flying.
在某些实施例中,将可移动平台的凹型作业区域切割为多个凸型子区域可以包括如下操作。In some embodiments, cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
首先,确定经由凹型作业区域外轮廓和多边形外轮廓的多个顶点各自的候选切割线,候选切割线的延伸方向是指定方向或者可移动平台的当前移动方向。First, the candidate cutting lines passing through the outer contour of the concave working area and the multiple vertices of the polygon outer contour are determined, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform.
然后,基于第二预设切割规则和至少一个切割线将凹型作业区域外轮廓和多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个切割线是从候选切割线中确定的。Then, based on the second preset cutting rule and at least one cutting line, the area between the outer contour of the concave working area and the outer contour of the polygon is divided into a plurality of convex sub-regions each having the outer contour of the convex polygon, and the at least one cutting line is from Candidate cutting lines identified.
例如,凸型子区域的个数,是凹型作业区域外轮廓和多边形外轮廓之间的区域可分解成的凸多边形外轮廓的个数的最小值。这样有助于得到数量合理的凸型子区域,并且不会产生凹型子区域。For example, the number of convex sub-regions is the minimum value of the number of convex polygonal outer contours that can be decomposed into the area between the outer contour of the concave working area and the polygonal outer contour. This helps to get a reasonable number of convex sub-regions without creating concave sub-regions.
例如,第二预设切割规则用于基于经由凹型作业区域的凹顶点的第一候选切割线以及经由多边形外轮廓的各顶点的第二候选切割线,将凹型作业区域外轮廓和多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域。其中,凹顶点是被激活两次的顶点。For example, the second preset cutting rule is used to cut the difference between the outer contour of the concave working area and the outer contour of the polygon based on the first candidate cutting lines passing through the concave vertices of the concave working area and the second candidate cutting lines passing through the vertices of the outer contour of the polygon. The area between is divided into a plurality of convex sub-areas each having a convex polygonal outer contour. where the concave vertex is the vertex that is activated twice.
在某些实施例中,对于凹型作业区域外轮廓,在垂直于候选切割线并且从左至右的方向上,每个顶点激活一次与该顶点相连且位于该顶点右侧的顶点,第二预设切割规则包括以下至少一种。In some embodiments, for the outer contour of the concave working area, in the direction perpendicular to the candidate cutting line and from left to right, each vertex activates the vertex connected to the vertex and located to the right of the vertex once, and the second preset It is assumed that the cutting rule includes at least one of the following.
如果当前顶点被激活零次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated zero times and there is no intersection between the candidate cutting line via the current vertex and the outer contour of the concave work area other than the current vertex, the candidate cutting line via the current vertex is discarded.
如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于 除当前顶点之外的至少两个交点,并且至少两个交点分别位于当前顶点在候选切割线方向上的两侧,则将经由当前顶点的候选切割线作为切割线。If the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line. On both sides, the candidate cutting line passing through the current vertex is used as the cutting line.
如果当前顶点被激活一次,在候选切割线的延伸方向上,当前顶点相对于与该当前顶点相连的两个顶点更接近凹型作业区域外轮廓在垂直候选切割线方向的中心线,则将经由当前顶点的候选切割线作为切割线。If the current vertex is activated once, in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line relative to the two vertices connected to the current vertex. The candidate cutting lines of the vertices are used as cutting lines.
如果当前顶点被激活两次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated twice and there is no intersection other than the current vertex between the candidate cutting line via the current vertex and the outer contour of the concave working area, the candidate cutting line via the current vertex is discarded.
如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated twice, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓至少相交于除当前顶点之外的至少两个交点,并且当前顶点在候选切割线方向上的位于两个交点之间,则将该候选切割线作为切割线。If the current vertex is activated twice, the candidate cutting line via the current vertex intersects with the outer contour of the concave working area at least two intersection points other than the current vertex, and the current vertex is located between the two intersection points in the direction of the candidate cutting line time, the candidate cutting line is used as the cutting line.
对于多边形外轮廓,将经由多边形外轮廓的顶点的候选切割线作为切割线。For the polygon outer contour, the candidate cutting lines passing through the vertices of the polygon outer contour are used as the cutting lines.
保留重叠的候选切割线中一条。保留重叠的切割线中一条。Keep one of the overlapping candidate cutting lines. Keep one of the overlapping cut lines.
通过以上方式,则可以得到多条切割线,并且使用该多条切割线分割出的子区域中不会包括凹型子区域。In the above manner, multiple cutting lines can be obtained, and the sub-regions divided by the multiple cutting lines will not include concave sub-regions.
图6为本申请实施例提供的切割线的示意图。图7为本申请实施例提供的凸型子区域的示意图。FIG. 6 is a schematic diagram of a cutting line provided by an embodiment of the present application. FIG. 7 is a schematic diagram of a convex sub-region provided by an embodiment of the present application.
如图6所示,切割线过一个顶点(作业区域的边界或内部障碍物轮廓),且与无人机飞行方向平行。利用上述切割线将作业区域按照边界和轮廓切割为多个子区域,每个子区域都是凸多边形,如图7所示。As shown in Figure 6, the cutting line passes through a vertex (the boundary of the work area or the outline of an internal obstacle) and is parallel to the UAV flight direction. Using the above cutting lines, the operation area is cut into multiple sub-areas according to the boundary and contour, and each sub-area is a convex polygon, as shown in FIG. 7 .
在某些实施例中,当以特定角度的切割线(如非水平方向或竖直方向的切割线)分割凹型作业区域时,为了减少后续计算资源的消耗量,和提升处理速度,可以对凹型作业区域进行旋转,使得该特定角度的切割线变为水平向切割线或竖直向切割线。In some embodiments, when the concave working area is divided by a cutting line with a specific angle (such as a non-horizontal or vertical cutting line), in order to reduce the consumption of subsequent computing resources and improve the processing speed, the concave The working area is rotated so that the cutting line at the specific angle becomes a horizontal cutting line or a vertical cutting line.
例如,切割线的方向与指定方向之间存在夹角。For example, there is an angle between the direction of the cut line and the specified direction.
相应地,将可移动平台的凹型作业区域切割为多个凸型子区域可以包括如下操作。Accordingly, cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
首先,基于夹角旋转凹型作业区域外轮廓所在的坐标系,使得坐标系的坐标轴与指定方向相一致或相垂直。其中,该坐标系可以是转换后的平面坐标系。First, rotate the coordinate system where the outer contour of the concave working area is located based on the included angle, so that the coordinate axis of the coordinate system is consistent with or perpendicular to the specified direction. Wherein, the coordinate system may be a transformed plane coordinate system.
然后,基于与指定方向相一致的切割线将凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。这样就可以实现以水平或竖直方向的切割线来分割凹型作业区域,有效减少后续进行分割过程中消耗的计算资源,并且提升处理速度。Then, the concave working area is cut into a plurality of convex sub-areas each having an outer contour of a convex polygon based on a cutting line consistent with the designated direction. In this way, the concave operation area can be divided by horizontal or vertical cutting lines, which can effectively reduce the computational resources consumed in the subsequent dividing process, and improve the processing speed.
在某些实施例中,在连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径之后,上述方法还可以包括如下操作:基于夹角反向旋转凹型作业区域外轮廓所在的坐标系,得到可移动平台针对复原后的凹型作业区域的目标路径。In some embodiments, after connecting the reference paths corresponding to each convex sub-area to generate a target path for the movable platform when the movable platform operates in the work area, the above method may further include the following operation: reversely rotate the concave work based on the included angle The coordinate system where the outer contour of the area is located, and the target path of the movable platform for the restored concave working area is obtained.
图8为本申请另一实施例提供的切割线的示意图。FIG. 8 is a schematic diagram of a cutting line provided by another embodiment of the present application.
如图8所示,图8中切割线的方向与水平方向之间存在夹角,可以通过旋转坐标系使得切割线的方向是水平方向或竖直方向。As shown in FIG. 8 , there is an included angle between the direction of the cutting line and the horizontal direction in FIG. 8 , and the direction of the cutting line can be horizontal or vertical by rotating the coordinate system.
在一个具体实施例中,可以通过预先的坐标旋转来降低计算复杂度。例如,当切割线 的方向与竖直方向之间存在+30°夹角时,则可以先将整个作业区域的坐标旋转-30°;然后,在旋转后的坐标系里面按照竖直方向进行路径规划;接着,将上一操作中规划好的路径坐标旋转+30°,使得路径坐标系回到了+30°夹角的坐标系中。通过以上旋转坐标轴的操作可以有效减少后续确定目标路径消耗的资源,如分割凸型子区域、遍历每个凸型子区域之间的连接方式、确定每个凸型子区域各自的入口和出口所消耗的资源。In a specific embodiment, the computational complexity can be reduced by pre-rotating the coordinates. For example, when there is an angle of +30° between the direction of the cutting line and the vertical direction, you can first rotate the coordinates of the entire work area by -30°; then, in the rotated coordinate system, the path is carried out in the vertical direction Planning; then, rotate the path coordinates planned in the previous operation by +30°, so that the path coordinate system returns to the coordinate system with an included angle of +30°. The above operations of rotating the coordinate axis can effectively reduce the resources consumed by the subsequent determination of the target path, such as dividing convex sub-regions, traversing the connection mode between each convex sub-region, and determining the respective entrance and exit of each convex sub-region. resources consumed.
以下对参考路径的生成过程进行示例性说明。The following is an exemplary description of the generation process of the reference path.
在某些实施例中,确定每个凸型子区域对应的可移动平台的参考路径可以包括如下操作。In some embodiments, determining the reference path of the movable platform corresponding to each convex sub-region may include the following operations.
首先,基于切割线的方向生成多条相互平行的参考路径,相邻的两条参考路径之间的距离与可移动平台的作业半径相关。其中,参考路径的延伸方向与切割线的方向相平行,有助于实现可移动平台在各凸型子区域沿着参考路径进行作业时的作业一致性。First, multiple reference paths parallel to each other are generated based on the direction of the cutting line, and the distance between two adjacent reference paths is related to the working radius of the movable platform. Wherein, the extension direction of the reference path is parallel to the direction of the cutting line, which is helpful to realize the operation consistency of the movable platform in the operation along the reference path in each convex sub-region.
然后,利用各凸型子区域的外轮廓切割参考路径,以便生成针对各凸型子区域的参考路径,以便生成凸型子区域各自的子目标路径。Then, the reference path is cut using the outer contour of each convex sub-region, so as to generate a reference path for each convex sub-region, so as to generate respective sub-target paths of the convex sub-region.
在某些实施例中,生成凸型子区域各自的子目标路径可以包括如下操作。In some embodiments, generating the respective sub-target paths for the convex sub-regions may include the following operations.
首先,生成针对各凸型子区域各自的外轮廓的转向路径。First, a turning path for the outer contour of each convex sub-region is generated.
然后,针对凸型子区域中的每一个,连接凸型子区域的参考路径和针对凸型子区域的外轮廓的转向路径,得到凸型子区域的子目标路径。Then, for each of the convex sub-regions, the reference path of the convex sub-region and the turning path for the outer contour of the convex sub-region are connected to obtain a sub-target path of the convex sub-region.
需要说明的是,可以将凸型子区域的外轮廓作为设置转向路径的基准线。此外,为了提升作业精度,如减少可移动平台在作业过程中影响到凸型子区域的外轮廓之外的区域,可以对凸型子区域的外轮廓进行內缩,将內缩后得到的结果作为设置转向路径的基准线。It should be noted that the outer contour of the convex sub-region may be used as a reference line for setting the turning path. In addition, in order to improve the operation accuracy, such as reducing the movable platform affecting the area outside the outer contour of the convex sub-area during the operation, the outer contour of the convex sub-area can be indented, and the result obtained after indenting As a baseline for setting the turning path.
在某些实施例中,目标路径包括针对凸型子区域各自的切换路径,以使得可移动平台可基于切换路径移动至当前参考路径的相邻参考路径。In some embodiments, the target paths include respective switching paths for the convex sub-regions, such that the movable platform can move to an adjacent reference path of the current reference path based on the switching paths.
图9为本申请实施例提供的参考路径的示意图。FIG. 9 is a schematic diagram of a reference path provided by an embodiment of the present application.
如图9所示,凹型作业区域被分割为三个凸型子区域C1、C2、C3。参考路径的延伸方向与切割线的延伸方向保持一致。被凸型子区域C1、C2、C3各自与竖向参考路径的交点可以作为各自的参考路径的端点。As shown in FIG. 9 , the concave work area is divided into three convex sub-areas C1 , C2 , and C3 . The extension direction of the reference path is consistent with the extension direction of the cutting line. The intersections of the convex sub-regions C1 , C2 , and C3 with the vertical reference paths can be used as endpoints of the respective reference paths.
参考图9所示,为了降低作业时对非作业区域造成影响,可以将参考路径的端点內缩一定尺寸,如內缩与作业半径对应的尺寸l。Referring to FIG. 9 , in order to reduce the impact on the non-working area during operation, the end point of the reference path can be indented by a certain size, such as indented by a dimension l corresponding to the working radius.
通过以上方式便于基于生成的参考路径和转向路径确定凸型子区域各自的子目标路径。需要说明的是,在确定凸型子区域各自的子目标路径的过程中,除了需要用到参考路径和转向路径之外,还需要确定凸型子区域各自的入口和出口,这样将入口、参考路径、转向路径和出口相互连接,就可以得到凸型子区域各自的子目标路径。其中,凸型子区域各自的入口和出口可以是通过遍历等方式来确定,会在以下的实施例中对凸型子区域各自的入口和出口的确定方法进行说明。In the above manner, it is convenient to determine the respective sub-target paths of the convex sub-regions based on the generated reference path and the turning path. It should be noted that in the process of determining the respective sub-target paths of the convex sub-regions, in addition to the reference path and the steering path, it is also necessary to determine the respective entrances and exits of the convex sub-regions. The path, the turning path and the exit are connected to each other, and the respective sub-goal paths of the convex sub-regions can be obtained. The respective entrances and exits of the convex sub-regions may be determined by means of traversal or the like, and the methods for determining the respective entrances and exits of the convex sub-regions will be described in the following embodiments.
以下对各凸型子区域各自的连接方式、入口和出口等进行示例性说明。The respective connection modes, inlets and outlets, etc. of each convex sub-region will be exemplarily described below.
在某些实施例中,连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径可以包括如下操作。In some embodiments, connecting the reference paths corresponding to each convex sub-area to generate a target path for the movable platform to operate in the work area may include the following operations.
首先,确定每个凸型子区域之间的连接顺序。然后,基于连接顺序确定每个凸型子区域各自的入口和出口,并且基于每个凸型子区域各自的入口和出口分别生成针对每 个凸型子区域各自的子目标路径。接着,基于连接顺序和每个凸型子区域各自的入口和出口,连接每个凸型子区域各自的子目标路径以生成可移动平台在凹型作业区域的目标路径。例如,按照上述连接顺序连接各凸型子区域的出口和入口,得到可移动平台在凹型作业区域的目标路径。例如,将凸型子区域的位于最外侧的参考路径的两侧端点作为当前凸型子区域的端口。一个凸型子区域可以具有4个端口,将其中一个作为出口,一个作为入口,以便连接各凸型子区域的子目标路径。First, determine the order of connections between each convex subregion. Then, the respective entrances and exits of each convex sub-region are determined based on the connection order, and respective sub-target paths for each convex sub-region are respectively generated based on the respective entrances and exits of each convex sub-region. Next, based on the connection sequence and the respective entrances and exits of each convex sub-area, the respective sub-target paths of each convex sub-area are connected to generate a target path of the movable platform in the concave working area. For example, the outlet and inlet of each convex sub-area are connected according to the above connection sequence, so as to obtain the target path of the movable platform in the concave working area. For example, the endpoints on both sides of the outermost reference path of the convex subregion are taken as the ports of the current convex subregion. A convex sub-region can have 4 ports, one of which is used as an exit and the other is used as an entrance, so as to connect the sub-target paths of each convex sub-region.
图10为针对图9中凸型子区域的子目标路径的示意图。FIG. 10 is a schematic diagram of a sub-target path for the convex sub-region in FIG. 9 .
如图10所示,凸型子区域C1、C2、C3各自具有四个端口,如凸型子区域C1具有端口i11、i12、i13、i14,凸型子区域C2具有端口i21、i22、i23、i24,凸型子区域C3具有端口i31、i32、i33、i34。可以通过遍历的方法确定以哪个端口作为目标路径的起始点(入口),以哪个端口作为目标路径的终止点(出口),使得目标路径的路径长度最短。As shown in FIG. 10 , the convex sub-regions C1, C2, and C3 each have four ports. For example, the convex sub-region C1 has ports i11, i12, i13, and i14, and the convex sub-region C2 has ports i21, i22, i23, i24, the convex subregion C3 has ports i31, i32, i33, i34. The traversal method can be used to determine which port is used as the starting point (entrance) of the target path, and which port is used as the end point (exit) of the target path, so that the path length of the target path is the shortest.
其中,在进行搜索时需要考虑两方面:首先是各子区域的连接顺序,然后是各子区域的入口选择。Among them, two aspects need to be considered when searching: first, the connection sequence of each sub-region, and then the selection of the entrance of each sub-region.
参考图10所示,每个凸型子区域拥有4个入口,显然,由于弓字形移动路径,在作业半径已确定(如特定可移动平台的作业半径是固定的)的前提下,凸型子区域的入口一旦确定,出口就确定了。为了得到最优目标路径,可以采用递归的深度搜索方法。例如,第一层:构造不同的连接顺序;第二层:构造不同的入口顺序。以整体的路径最短为搜索目标,最后获得各个子区域的连接顺序,以及各个子区域路径的出口和入口位置。Referring to Figure 10, each convex sub-area has 4 entrances. Obviously, due to the arcuate movement path, on the premise that the working radius has been determined (for example, the working radius of a specific movable platform is fixed), the convex sub-area has 4 entrances. Once the entrance to the area is determined, the exit is determined. In order to obtain the optimal target path, a recursive depth search method can be used. For example, the first layer: construct a different connection order; the second layer: construct a different entry order. Taking the shortest overall path as the search goal, finally obtain the connection order of each sub-area, and the exit and entrance positions of each sub-area path.
在某些实施例中,在遍历所有凸型子区域之后,还可以将非作业消耗最小的路径作为目标路径。非作业消耗可以是指无人机飞行作业之外的消耗,至少包括不同凸型子区域之间的路程消耗。此外,还可以包括从起始点飞往作业区域的路程消耗以及从出口返航至起飞点的路程消耗。In some embodiments, after traversing all convex sub-regions, the path with the least non-job consumption may also be used as the target path. The non-operational consumption can refer to the consumption other than the flying operation of the UAV, at least including the distance consumption between different convex sub-regions. In addition, it can also include the distance consumption from the starting point to the operation area and the distance consumption from the exit to the take-off point.
例如,可以选择非作业消耗最小的一种路径作为无人机的目标路径。具体地,可以确定凸型子区域之间的连接方式。For example, a path with the least non-work consumption can be selected as the target path of the UAV. Specifically, the connection mode between the convex sub-regions can be determined.
可以通过排列组合方式来确定连接方式,对于n个凸型子区域,要遍历所有凸型子区域,有n!种连接方式,随着凸型子区域数量的增加,计算量急剧增大。为减少计算量,可以先不考虑各子区域的入口,仅考虑n个凸型子区域之间的连接路径的总长度。例如,可以画出不同凸型子区域之间的连通关系图,基于不同的连接方式,得到各连接方式各自的总路径长度。该方式相当于考虑了n个凸型子区域之间的临近关系,例如,如用线连接的两个凸型子区域表示这两个凸型子区域是邻接的,未用线连接的两个凸型子区域表示这两个凸型子区域是非邻接的。可将根据凸型子区域之间的邻接关系确定候选凸型子区域连接方式的问题转化为根据连通关系图求解汉密尔顿路径和/或欧拉路径的问题。通过以上算法得到了各子区域的连接顺序的最优解。其中,n是大于或等于2的正整数。The connection method can be determined by permutation and combination. For n convex sub-regions, to traverse all convex sub-regions, there are n! As the number of convex sub-regions increases, the amount of computation increases sharply. In order to reduce the amount of calculation, the entrance of each sub-region can be ignored first, and only the total length of the connection paths between n convex sub-regions can be considered. For example, a graph of the connectivity relationship between different convex sub-regions can be drawn, and based on different connection modes, the total path length of each connection mode can be obtained. This method is equivalent to considering the adjacent relationship between n convex sub-regions. For example, two convex sub-regions connected by a line indicate that the two convex sub-regions are adjacent, and two convex sub-regions not connected by a line are adjacent. A convex sub-region means that the two convex sub-regions are non-contiguous. The problem of determining the connection mode of candidate convex sub-regions according to the adjacency relationship between convex sub-regions can be transformed into the problem of solving Hamiltonian paths and/or Euler paths according to the connectivity graph. Through the above algorithm, the optimal solution of the connection sequence of each sub-region is obtained. where n is a positive integer greater than or equal to 2.
在某些实施例中,连接每个凸型子区域各自的子目标路径以生成可移动平台在凹型作业区域的目标路径可以包括如下操作。In some embodiments, connecting the respective sub-target paths of each convex sub-area to generate the target path of the movable platform in the concave work area may include the following operations.
首先,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口,凸型子区域各自的入口或者出口位于凸型子区域的参考路径与凸型子区域的外轮廓的一个交点处。First, search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region. The respective entrance or exit of each convex sub-region is located in one of the reference path of the convex sub-region and the outer contour of the convex sub-region. intersection.
然后,基于与凸型子区域的连接方式和各凸型子区域各自的入口或者出口生成可移动平台在凹型作业区域的目标路径,使得目标路径最短。Then, a target path of the movable platform in the concave working area is generated based on the connection with the convex sub-areas and the respective entrances or exits of each convex sub-area, so that the target path is the shortest.
例如,对于每一种连接方式,根据各凸型子区域的端口以及凸型子区域内包括的参考路径的数量确定凸型子区域的入口和出口,然后根据凸型子区域的入口和出口确定各凸型子区域之间的连接方式,如以凸型子区域C1作为起始的凸型子区域,则多个凸型子区域C1、C2、C3的连接顺序是区域C1至区域C3,以及区域C2至区域C3。For example, for each connection method, the inlet and outlet of the convex sub-region are determined according to the ports of each convex sub-region and the number of reference paths included in the convex sub-region, and then determined according to the inlet and outlet of the convex sub-region. The connection mode between the convex sub-regions, if the convex sub-region C1 is used as the starting convex sub-region, the connection order of the plurality of convex sub-regions C1, C2, C3 is the region C1 to the region C3, and Area C2 to Area C3.
对于每个凸型子区域而言,可以采用排列组合方式确定每个凸型子区域的入口和出口,即每个端口都可以作为入口或出口;也可以分别将每个端口作为入口,出口根据参考路径的数量和入口而决定,即将无人机从入口进入凸型子区域后按照参考路径往返飞行后离开凸型子区域的端口作为出口。For each convex sub-area, the inlet and outlet of each convex sub-area can be determined by permutation and combination, that is, each port can be used as an inlet or an outlet; The number of reference paths and the entrance are determined, that is, the UAV enters the convex sub-area from the entrance and then flies back and forth according to the reference path, and then leaves the convex sub-area as the exit port.
在某些实施例中,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口可以包括如下操作。In some embodiments, searching the connection manner of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations.
重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各凸型子区域各自的入口或者出口,使得在使用该连接方式下目标路径最短。首先,比对各连接方式下候选目标路径;然后,获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各凸型子区域各自的入口或者出口。The following operations are repeated until candidate target paths under each connection mode are determined: for a connection mode, the respective entrances or exits of each convex sub-region under the connection mode are determined, so that the target path is the shortest under the connection mode. First, compare the candidate target paths under each connection mode; then, obtain the connection mode of the convex sub-region corresponding to the candidate target path with the shortest path length and the respective entrance or exit of each convex sub-region.
具体地,对于每一种连接方式,可以只采用一种候选端口连接方式,即对于凸型子区域,选择离起始点最近的端口作为凸型子区域的入口,并按照前述方式,根据凸型子区域包括的参考路径的数量和凸型子区域的入口确定凸型子区域的出口;对于其余凸型子区域,选择当前凸型子区域距离上一个凸型子区域的出口最近的端口作为当前凸型子区域的入口,并按照前述方式,根据当前凸型子区域包括的参考路径的数量和当前凸型子区域的入口确定当前凸型子区域的出口。Specifically, for each connection mode, only one candidate port connection mode can be used, that is, for the convex sub-region, the port closest to the starting point is selected as the entrance of the convex sub-region, and according to the aforementioned method, according to the convex sub-region The number of reference paths included in the sub-region and the entrance of the convex sub-region determine the exit of the convex sub-region; for the remaining convex sub-regions, the port closest to the exit of the previous convex sub-region is selected as the current convex sub-region. The entrance of the convex sub-region, and in the aforementioned manner, the exit of the current convex sub-region is determined according to the number of reference paths included in the current convex sub-region and the entrance of the current convex sub-region.
例如,对于每种候选端口连接方式,即候选连接路径,计算其非作业消耗。非作业消耗可以包括飞行过程中任何非作业路径的消耗,例如,非作业消耗可以至少包括不同凸型子区域之间的路程消耗以及从起始点飞往凸型子区域的路程消耗。对于以上路程消耗,可以利用邻接矩阵来计算,邻接矩阵第i行第j列元素表示连接第i块凸型子区域和第j块凸型子区域的代价,即无人机在两块凸型子区域之间的路程消耗。每个凸型子区域均有四个端口,则两个凸型子区域之间的连接方法共有4*4=16种,邻接矩阵的元素为16维向量,分别表示两个凸型子区域的任意两个端口连接的消耗。计算路程消耗时,可以从邻接矩阵中找到对应不同凸型子区域的指定端口连接消耗,然后进行累加。起始点/终点可以作为一个特殊的凸型子区域计入邻接矩阵中,也可以单独计算起始点/终点和凸型子区域之间的路程消耗。For example, for each candidate port connection mode, that is, the candidate connection path, its non-job consumption is calculated. The non-operational consumption may include the consumption of any non-operational path during the flight, for example, the non-operational consumption may include at least the distance consumption between different convex sub-regions and the distance consumption from the origin to the convex sub-areas. For the above distance consumption, it can be calculated by using the adjacency matrix. The elements of the i-th row and the j-th column of the adjacency matrix represent the cost of connecting the i-th convex sub-region and the j-th convex sub-region, that is, the UAV is in the two convex sub-regions. Distance consumption between sub-regions. Each convex sub-region has four ports, so there are 4*4=16 connection methods between the two convex sub-regions. The elements of the adjacency matrix are 16-dimensional vectors, which respectively represent the two convex sub-regions. Consumption of any two port connections. When calculating the distance consumption, the specified port connection consumption corresponding to different convex sub-regions can be found from the adjacency matrix, and then accumulated. The start/end point can be counted in the adjacency matrix as a special convex subregion, or the distance cost between the start point/end point and the convex subregion can be calculated separately.
参考图10所示,在以凸型子区域C1作为起始的凸型子区域,确定了连接顺序是区域C1至区域C3,区域C2至区域C3。如果区域C1的入口是端口i11,则可以确定区域C1的出口是端口i13,区域C3的入口是端口i31,区域C3的出口是端口i34,区域C2的入口是端口i23,区域C2的出口是端口i21。通过以上方式可以有效降低搜索算法消耗的计算资源,提升搜索效率,并且能得到非作业消耗较少的目标路径。经过验证,上述算法在搜索效率上,搜索次数小于全局搜索的1/10。Referring to FIG. 10 , in the convex sub-region starting from the convex sub-region C1, the connection sequence is determined to be the region C1 to the region C3, and the region C2 to the region C3. If the entrance of area C1 is port i11, it can be determined that the exit of area C1 is port i13, the entrance of area C3 is port i31, the exit of area C3 is port i34, the entrance of area C2 is port i23, and the exit of area C2 is port i21. The above methods can effectively reduce the computing resources consumed by the search algorithm, improve the search efficiency, and obtain target paths with less non-job consumption. After verification, the search efficiency of the above algorithm is less than 1/10 of the global search.
通过上述实施例的实施,将凹型作业区域划分至多个凸型子区域,再根据多个凸型子区域确定无人机的飞行路径,可以处理复杂地形凹型作业区域的飞行路径规划,并减少飞行路径规划的计算量。Through the implementation of the above embodiment, the concave operation area is divided into a plurality of convex sub-areas, and then the flight path of the UAV is determined according to the plurality of convex sub-areas, the flight path planning of the concave operation area with complex terrain can be processed, and the flight path is reduced. Computational amount of path planning.
在某些实施例中,凹型作业区域还包括障碍物区域。在存在障碍物的场景中,在重复以上操作直至确定各连接方式下候选目标路径之后,上述方法还可以包括如下操作。首先,基于连接方式和各凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径。然后,如果凸型子区域连接路径与障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。在农业作业中涉及的作业区域的地理形状较复杂,如凹型作业区域中包括多个障碍物区域和多个凹型区域,在切换凸型子区域进行作业的过程中,存在一定的风险使得可移动平台按照目标路径进行移动时,移动至障碍物区域或凹型区域。因此,在生成目标路径之后,可以对目标路径进行检测,如果存在上述风险,则可以删除该连接方式,降低风险。In certain embodiments, the concave work area further includes an obstacle area. In a scenario where there is an obstacle, after repeating the above operations until the candidate target paths in each connection mode are determined, the above method may further include the following operations. First, based on the connection mode and the respective entrance or exit of each convex sub-region, the connection path of the convex sub-region under each connection mode is determined. Then, if the connecting path of the convex sub-region overlaps the obstacle region, it is determined that the connecting manner corresponding to the connecting path of the convex sub-region is unsafe, so as to remove the unsafe connecting manner. The geographic shape of the operation area involved in agricultural operations is complex. For example, the concave operation area includes multiple obstacle areas and multiple concave areas. In the process of switching the convex sub-areas for operation, there is a certain risk that the movable area can be moved. When the platform moves according to the target path, it moves to the obstacle area or the concave area. Therefore, after the target path is generated, the target path can be detected, and if the above risk exists, the connection mode can be deleted to reduce the risk.
图11为本申请实施例提供的目标路径的示意图。FIG. 11 is a schematic diagram of a target path provided by an embodiment of the present application.
如图11所示,图11中由于参考路径是相互平行的,生成的目标路径中大部分路径是相互平行,其余路径大多是基于凹型作业区域的外轮廓生成的。图11中各凸型子区域之间的目标路径的连接处比较平滑,很少出现大角度转弯等,更加符合无人机等可移动装置的高效平稳运动等需求。此外,各凸型子区域之间的作业一致性更高。As shown in Fig. 11, since the reference paths in Fig. 11 are parallel to each other, most of the generated target paths are parallel to each other, and most of the remaining paths are generated based on the outer contour of the concave working area. The connection of the target paths between the convex sub-regions in Figure 11 is relatively smooth, and there are few large-angle turns, etc., which is more in line with the needs of efficient and smooth movement of mobile devices such as drones. In addition, the job consistency between convex sub-regions is higher.
图12为本申请另一实施例提供的目标路径的示意图。图13为图12中转向路径的示意图。FIG. 12 is a schematic diagram of a target path provided by another embodiment of the present application. FIG. 13 is a schematic diagram of the steering path in FIG. 12 .
如图12所示,凹型作业区域ABCDEF中包括障碍物区域abcd,针对该场景规划的目标路径中参考路径之间相互平行,参考路径之间通过转向路径连接,不同凸型子区域中子目标路径通过特定的连接方式进行连接。例如,图12中与多条参考路径相交的线段。As shown in Figure 12, the concave working area ABCDEF includes the obstacle area abcd, the reference paths in the target path planned for this scene are parallel to each other, and the reference paths are connected by the steering path, and the sub-target paths in different convex sub-areas Connect through a specific connection method. For example, the line segments in Figure 12 that intersect multiple reference paths.
为了便于理解图12中目标路径的具体构成成分及形成原因,图13中以灰度图的形式展示了各线段的物理含义。其中,图13示出了凹型工作区域的外轮廓、障碍物区域的外轮廓、参考路径、转向路径、连接路径。其中,凹型工作区域的外轮廓、障碍物区域的外轮廓和参考路径以黑色实线示出。转向路径以灰色实线示出。连接路径以粗实线示出。此外,为了便于理解,图13中还示出了切割线,如细虚线所示,起自端点b的切割线被参考路径覆盖,未能示出。需要说明的是,切割线在生成的目标路径中并不显示。In order to facilitate the understanding of the specific components and formation reasons of the target path in FIG. 12 , the physical meaning of each line segment is shown in the form of a grayscale image in FIG. 13 . 13 shows the outer contour of the concave working area, the outer contour of the obstacle area, the reference path, the turning path, and the connecting path. Among them, the outer contour of the concave working area, the outer contour of the obstacle area and the reference path are shown with black solid lines. Steering paths are shown as solid grey lines. Connection paths are shown in bold solid lines. In addition, for ease of understanding, the cutting line is also shown in FIG. 13 , as shown by the thin dashed line, the cutting line from the end point b is covered by the reference path, which is not shown. It should be noted that the cutting lines are not displayed in the generated target path.
参考图13所示,本申请实施例生成的目标路径的显著特征包括但不限于以下至少一种。例如,目标路径采用一种不同于侧面绕行的方式避开了区域中的障碍物,即目标路径遇到障碍物时,目标路径是转到相邻的参考路径,而不是绕到该参考路径的障碍物的另一边。例如,对于凹型作业区域,目标路径不会从内凹部分飞出作业区域。例如,分割得到的凸型子区域之间存在连接路径。例如,可以应用于存在凹型边界的作业区域和内部较大型的障碍物的作业区域。例如,参考路径之间相互平行。例如,参考路径和切割线之间相互平行。Referring to FIG. 13 , the salient features of the target path generated in this embodiment of the present application include, but are not limited to, at least one of the following. For example, the target path avoids obstacles in the area in a different way than the side detour, that is, when the target path encounters an obstacle, the target path goes to the adjacent reference path instead of detouring to the reference path the other side of the obstacle. For example, with a concave work area, the target path will not fly out of the work area from the concave portion. For example, there are connection paths between the segmented convex sub-regions. For example, it can be applied to work areas with concave boundaries and work areas with large obstacles inside. For example, reference paths are parallel to each other. For example, the reference path and the cutting line are parallel to each other.
在某些实施例中,可移动平台在按照连接路径进行飞行时,参考图1中连接路径104,可移动平台在沿着该连接路径104移动的过程中,无需进行作业,否则会导致重复作业,影响作业的一致性。为了解决上述问题,可以形成多个任务点的坐标序列。在不同的目标路径区间中,基于用户设置的任务确定是否执行作业。In some embodiments, when the movable platform flies according to the connection path, referring to the connection path 104 in FIG. 1 , the movable platform does not need to perform operations during the movement along the connection path 104 , otherwise it will lead to repeated operations , which affects the consistency of the job. In order to solve the above problem, a coordinate sequence of multiple task points can be formed. In different target path intervals, it is determined whether to execute the job based on the task set by the user.
无人机将按照坐标序列在多个任务点之间进行作业。任务点中至少包括无人机需要改变作业状态的点。例如,任务点中至少包括坐标点和对应的作业状态。The drone will operate between multiple mission points in a sequence of coordinates. The mission points include at least the points where the drone needs to change the operating state. For example, the task points at least include coordinate points and corresponding job states.
计算得到的任务点的坐标可以是基于切平面的平面坐标,为了便于无人机的作业,可 以将平面坐标转换为经纬度坐标,此计算过程为上述将经纬度转换为平面坐标的逆运算,在此不再详述。The calculated coordinates of the task point can be the plane coordinates based on the tangent plane. In order to facilitate the operation of the UAV, the plane coordinates can be converted into longitude and latitude coordinates. This calculation process is the inverse operation of the above-mentioned conversion of longitude and latitude into plane coordinates. Here No further details.
参考图1所示,当可移动平台到达连接路径104的端点时,即触发了与连接路径104的端点对应的任务点,则可以将可移动平台的状态从作业状态调整至停止作业状态,但是沿着连接路径104继续移动。通过以上方式可以使得无人机从一个凸型子区域飞往另一个凸型子区域时应停止作业以免浪费。当然,当可移动平台离开连接路径104时,可以触发了与连接路径104的另一端点对应的任务点,则可以将可移动平台的状态从停止作业状态调整至作业状态。Referring to FIG. 1, when the movable platform reaches the end point of the connection path 104, that is, the task point corresponding to the end point of the connection path 104 is triggered, the state of the movable platform can be adjusted from the working state to the stop working state, but Continue to move along connection path 104 . Through the above methods, the drone should stop working when flying from one convex sub-region to another convex sub-region to avoid waste. Certainly, when the movable platform leaves the connection path 104, a task point corresponding to the other end point of the connection path 104 may be triggered, and the state of the movable platform may be adjusted from the stop operation state to the operation state.
在某些实施例中,凹型作业区域外轮廓和多边形外轮廓中至少一种是由用户输入的。其中,用户输入的操作对象可以是控制终端,该控制终端可以和可移动平台是一体式的,也可以是分体式的。In some embodiments, at least one of the concave work area outer contour and the polygonal outer contour is input by the user. The operation object input by the user may be a control terminal, and the control terminal may be integrated with the movable platform, or may be separated.
例如,确定凹型作业区域外轮廓和多边形外轮廓的执行主体可以为可移动平台的控制应用程序,例如,应用(app)等,或者运行控制应用程序的设备,例如,可移动平台的遥控器,手机,ipad,可移动平台的基站等等。For example, the execution body for determining the outer contour of the concave working area and the polygonal outer contour may be a control application program of a movable platform, such as an application (app), or a device running the control application program, such as a remote control of the movable platform, Mobile phones, ipads, base stations for mobile platforms, etc.
具体地,首先,可以显示凹型作业区域的地貌图像。其中,在显示屏上显示地貌图像,或者投影显示地貌图像,地貌图像可以是下载的地图,也可以是通过无人机航拍获取的。Specifically, first, a topographic image of the concave work area may be displayed. Among them, the landform image is displayed on the display screen, or the landform image is projected and displayed, and the landform image can be a downloaded map or obtained through aerial photography of a drone.
然后,获取用于表示凹型作业区域的地貌图像的边界的多个特征点的坐标。例如,可以通过输入装置,例如触摸屏、键盘、鼠标、麦克风、按键等,接收用户输入的特征点的坐标信息,也可以通过图像识别从地貌图像中提取特征点的坐标信息。特征点可以在边界上,也可以不在边界上。Then, the coordinates of a plurality of feature points representing the boundaries of the topographic image of the concave work area are acquired. For example, the coordinate information of the feature points input by the user can be received through an input device, such as a touch screen, a keyboard, a mouse, a microphone, a key, etc., or the coordinate information of the feature points can be extracted from a landform image through image recognition. Feature points may or may not be on the boundary.
其中,特征点至少包括用于表示凹型作业区域的外部轮廓的多个特征点。当凹型作业区域内存在障碍物时,特征点可进一步包括用于表示障碍物区域的外部轮廓的特征点。这里的障碍物区域是指无人机需要绕行的有障碍物的区域,例如禁飞区、存在房子、电线杆等不宜飞越的障碍物的区域。The feature points include at least a plurality of feature points for representing the outer contour of the concave working area. When there is an obstacle in the concave working area, the feature points may further include feature points for representing the outer contour of the obstacle area. The obstacle area here refers to an area with obstacles that the drone needs to bypass, such as a no-fly zone, an area with obstacles such as houses and utility poles that are not suitable for flying.
在确定特征点之后,就可以根据多个特征点的坐标,确定凹型作业区域的边缘线。例如,可以采用直线段或者曲线段连接在边界上的特征点并将形成的折线或曲线作为全部或部分边缘线。可以将边缘线与地貌图像叠加显示在显示屏上。After the feature points are determined, the edge line of the concave working area can be determined according to the coordinates of the multiple feature points. For example, a straight line or a curved line can be used to connect the feature points on the boundary and the formed polyline or curved line can be used as all or part of the edge line. The edge lines can be displayed on the display superimposed with the relief image.
此外,用户输入还可以进一步包括作业参数等,以下可移动平台是无人机为例进行说明。In addition, the user input may further include operation parameters, etc. The following description will be given as an example where the movable platform is an unmanned aerial vehicle.
上述方法还可以进一步包括如下操作:获取无人机的作业参数。其中,可以通过输入装置获取用户输入的作业参数,也可以通过其他方式,例如从互联网或者本地存储数据中获取无人机的作业参数。作业参数至少包括风向、无人机的作业宽度和起始点。此外,作业参数还可以进一步包括安全距离阈值、异常处理方式(如返航、降落等)、喷洒参数等参数。The above method may further include the following operation: acquiring the operation parameters of the UAV. Among them, the operation parameters input by the user can be obtained through the input device, and the operation parameters of the UAV can also be obtained through other methods, such as from the Internet or locally stored data. The operating parameters include at least the wind direction, the operating width of the drone and the starting point. In addition, the operation parameters may further include safety distance thresholds, abnormal handling methods (such as returning home, landing, etc.), spraying parameters and other parameters.
这样便于无人机根据目标路径和无人机的作业参数,确定无人机在凹型作业区域内的飞行路径。需要说明的是,实际飞行路径和目标路径之间可能存在差异,如有障碍物移动至目标路径,则需要无人机绕过该障碍物后继续沿着目标路径行驶。In this way, it is convenient for the UAV to determine the flight path of the UAV in the concave operation area according to the target path and the operation parameters of the UAV. It should be noted that there may be differences between the actual flight path and the target path. If an obstacle moves to the target path, the UAV needs to bypass the obstacle and continue to drive along the target path.
其中,参考无人机的作业特点,包括少转弯、就近飞行等,将这些参考路径与起始点(需要时加上终点)连接起来,选择非作业消耗最小的连接方式作为飞行路径。Among them, referring to the operational characteristics of the UAV, including less turns, flying nearby, etc., these reference paths are connected with the starting point (plus the end point if necessary), and the connection method with the least non-operational consumption is selected as the flight path.
在某些实施例中,为了便于用户及时了解作业进展和无人机运行状态,上述方法还可以包括:显示飞行路径。例如,可以在显示屏上显示飞行路径,可以将飞行路径与地貌图像叠加显示。In some embodiments, in order for the user to know the progress of the operation and the running state of the UAV in time, the above method may further include: displaying the flight path. For example, the flight path can be displayed on the display screen, and the flight path can be displayed overlaid with the landscape image.
需要说明的是,当规划的飞行路径中包括返航点时,无人机的作业参数应包括估算返航点所需要的参数,例如无人机的最大飞行时间、飞行距离等。显示飞行路径时,可以在显示屏上显示起始点和返航点。此外,还可以显示无人机检测到威胁,如障碍物信息等。当无人机上设置有图像传感器时,还可以进一步将拍摄的图像信息传输给遥控器,以便显示拍摄的图像信息。It should be noted that when the planned flight path includes the return point, the operational parameters of the UAV should include the parameters required to estimate the return point, such as the maximum flight time and flight distance of the UAV. When the flight path is shown, the start and return points can be shown on the display. In addition, it can also display threats detected by the drone, such as obstacle information, etc. When the drone is provided with an image sensor, the captured image information can be further transmitted to the remote controller, so as to display the captured image information.
图14为本申请另一实施例提供的路径规划方法的流程示意图。FIG. 14 is a schematic flowchart of a path planning method provided by another embodiment of the present application.
如图14所示,该路径规划方法,用于规划可移动平台的目标路径。具体地,该方法可以包括操作S1402~操作S1404。As shown in Figure 14, the path planning method is used to plan the target path of the movable platform. Specifically, the method may include operations S1402 to S1404.
在操作S1402,确定多个凸型子区域,以及多个凸型子区域各自的子目标路径。In operation S1402, a plurality of convex sub-regions and respective sub-target paths of the plurality of convex sub-regions are determined.
在本实施例中,多个凸型子区域可以是基于规则对作业区域进行分割来确定的,也可以是由用户自行划分得到的。凸型子区域的子目标路径可以是基于参考路径和凸型子区域的外轮廓来确定的。参考路径的延伸方向可以是由用户设定的,或者基于可移动平台的移动方向来确定的。In this embodiment, the plurality of convex sub-regions may be determined by dividing the work area based on a rule, or may be obtained by the user by himself/herself. The sub-target path of the convex sub-region may be determined based on the reference path and the outer contour of the convex sub-region. The extension direction of the reference path may be set by the user, or determined based on the moving direction of the movable platform.
在操作S1404,连接每个凸型子区域各自的子目标路径以生成目标路径,使得目标路径最短。In operation S1404, the respective sub-target paths of each convex sub-region are connected to generate a target path such that the target path is the shortest.
其中,可以通过遍历各凸型子区域的方式来确定每个凸型子区域之间的连接方式。目标路径最短可以是指消耗的非作业资源最少。The connection mode between each convex sub-region can be determined by traversing each convex sub-region. The shortest target path may refer to the least consumption of non-job resources.
在某些实施例中,连接每个凸型子区域各自的子目标路径以生成目标路径,使得目标路径最短可以包括如下操作。In some embodiments, connecting the respective sub-target paths of each convex sub-region to generate a target path such that the target path is the shortest may include the following operations.
首先,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口,凸型子区域各自的入口或者出口位于凸型子区域的参考路径与凸型子区域的外轮廓的一个交点处。例如,可以将凸型子区域中位于最外侧的参考路径与凸型子区域的外轮廓的交点作为端口。一个凸型子区域可以包括4个端口,其中两个端口可以作为该凸型子区域的入口或出口。First, search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region. The respective entrance or exit of each convex sub-region is located in one of the reference path of the convex sub-region and the outer contour of the convex sub-region. intersection. For example, the intersection of the outermost reference path in the convex sub-region and the outer contour of the convex sub-region can be used as a port. A convex sub-region may include 4 ports, two of which may serve as the inlet or outlet of the convex sub-region.
然后,基于与凸型子区域的连接方式和各凸型子区域各自的入口或者出口生成可移动平台在凹型作业区域的目标路径,使得目标路径最短,凹型作业区域包括各凸型子区域。Then, the target path of the movable platform in the concave work area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest, and the concave work area includes each convex sub-area.
图15为本申请实施例提供的图像子区域各自的端口的示意图。FIG. 15 is a schematic diagram of each port of an image sub-region provided by an embodiment of the present application.
图15中示出了两个凸型子区域的端口。例如,位于左上角的凸型子区域的端口共4个。其中,一个端口可以作为入口,一个端口可以作为出口。入口和出口可以是同一个端口,也可以是两个不同的端口。The ports of the two convex sub-regions are shown in FIG. 15 . For example, the convex sub-region in the upper left corner has a total of 4 ports. Among them, one port can be used as ingress, and one port can be used as egress. The inlet and outlet can be the same port or two different ports.
图15中左上方的凸型子区域包括端口a1、a2、a3和a4,与该左上方的凸型子区域相邻的凸型子区域包括端口b1、b2、b3和b4。以左上方的凸型子区域为例,端口a1、a3是左上方的凸型子区域中最左侧的参考路径与左上方的凸型子区域的外轮廓的交点;端口a2、a4是左上方的凸型子区域中最右侧的参考路径与左上方的凸型子区域的外轮廓的交点。端口a1、a2、a3和a4中的一个端口可以作为该左上方的凸型子区 域入口,端口a1、a2、a3和a4中的一个端口可以作为该左上方的凸型子区域出口。例如,端口a1作为左上方的凸型子区域的入口,端口a1作为左上方的凸型子区域的出口,为了减少可移动平台在切换凸型子区域时消耗的非工作资源,可以将端口b1作为凸型子区域的入口,端口b2、b3和b4中的一个作为凸型子区域的出口。The upper left convex subregion in FIG. 15 includes ports a1, a2, a3 and a4, and the convex subregion adjacent to the upper left convex subregion includes ports b1, b2, b3 and b4. Taking the upper left convex subregion as an example, ports a1 and a3 are the intersections of the leftmost reference path in the upper left convex subregion and the outer contour of the upper left convex subregion; ports a2 and a4 are the upper left The intersection of the rightmost reference path in the square convex subregion and the outer contour of the upper left convex subregion. One of the ports a1, a2, a3 and a4 can be used as the inlet of the upper left convex sub-region, and one of the ports a1, a2, a3 and a4 can be used as the outlet of the upper left convex sub-region. For example, port a1 is used as the entrance of the upper left convex sub-area, and port a1 is used as the exit of the upper left convex sub-area. In order to reduce the non-working resources consumed by the movable platform when switching convex sub-areas, port b1 As the inlet of the convex sub-region, one of the ports b2, b3 and b4 serves as the outlet of the convex sub-region.
在某些实施例中,凸型子区域各自的子目标路径可以通过如下方式来确定,首先,生成与指定方向或者可移动平台的当前移动方向相一致的多条参考路径,相邻的两条参考路径之间的距离与可移动平台的作业半径相关。然后,利用各凸型子区域的外轮廓切割参考路径,生成可移动平台在各凸型子区域的参考路径,以便生成可移动平台在各凸型子区域各自的子目标路径。具体地,参考路径可以参考针对图9的相关说明。例如,参考路径的延伸方向可以是基于可移动平台当前的移动方向、当前的风向等来确定的,相邻的参考路径之间的距离可以是基于可移动平台的作业半径来确定的。参考路径所在的坐标系可以经过旋转处理等。In some embodiments, the respective sub-target paths of the convex sub-regions may be determined in the following manner. First, multiple reference paths that are consistent with the specified direction or the current moving direction of the movable platform are generated, and two adjacent paths are generated. The distance between the reference paths is related to the working radius of the movable platform. Then, use the outer contour of each convex sub-region to cut the reference path to generate the reference path of the movable platform in each convex sub-region, so as to generate the respective sub-target path of the movable platform in each convex sub-region. Specifically, for the reference path, reference may be made to the related description for FIG. 9 . For example, the extension direction of the reference path may be determined based on the current moving direction of the movable platform, the current wind direction, etc., and the distance between adjacent reference paths may be determined based on the working radius of the movable platform. The coordinate system in which the reference path is located can be rotated, etc.
在某些实施例中,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口可以包括如下操作。In some embodiments, searching the connection manner of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations.
重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各凸型子区域各自的入口或者出口,使得在使用该连接方式下目标路径最短;首先,比对各连接方式下候选目标路径。然后,获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各凸型子区域各自的入口或者出口。Repeat the following operations until the candidate target paths under each connection mode are determined: for a connection mode, determine the respective entrance or exit of each convex sub-region under the connection mode, so that the target path is the shortest under the connection mode; first, compare the Candidate target paths for each connection mode. Then, the connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrance or exit of each convex sub-region are obtained.
其中,在遍历所有凸型子区域之后,还可以将非作业消耗最小的路径作为目标路径。非作业消耗可以是指无人机飞行作业之外的消耗,至少包括不同凸型子区域之间的路程消耗。此外,还可以包括从起始点飞往作业区域的路程消耗以及从出口返航至起飞点的路程消耗。Among them, after traversing all convex sub-regions, the path with the least non-job consumption can also be used as the target path. The non-operational consumption can refer to the consumption other than the flying operation of the UAV, at least including the distance consumption between different convex sub-regions. In addition, it can also include the distance consumption from the starting point to the operation area and the distance consumption from the exit to the take-off point.
例如,可以选择非作业消耗最小的一种路径作为无人机的目标路径。具体地,可以先确定凸型子区域之间的连接方式。然后基于该连接方式确定各凸型子区域的子目标路径。其中,可以通过排列组合方式来确定候选连接方式,然后通过遍历各候选连接方式的方法来确定各凸型子区域之间的连接方式,如路径最短的连接方式。然后,基于该连接方式、各凸型子区域的入口和端口、相邻参考路径之间的宽度等来确定目标路径。例如,在确定连接方式是凸型子区域1-凸型子区域2-凸型子区域3,入口是凸型子区域1的某端口,则可以以上述某端口作为起始点,沿参考路径和凸型子区域的外轮廓以及连接路径(基于不同凸型子区域之间的连接方式来确定的)生成目标路径。For example, a path with the least non-work consumption can be selected as the target path of the UAV. Specifically, the connection mode between the convex sub-regions may be determined first. Then, the sub-target path of each convex sub-region is determined based on the connection mode. Among them, the candidate connection modes can be determined by permutation and combination, and then the connection modes between the convex sub-regions can be determined by traversing the candidate connection modes, such as the connection mode with the shortest path. Then, the target path is determined based on the connection manner, the entrance and port of each convex sub-region, the width between adjacent reference paths, and the like. For example, if it is determined that the connection method is convex sub-area 1-convex sub-area 2-convex sub-area 3, and the entrance is a port of convex sub-area 1, the above-mentioned port can be used as the starting point, along the reference path and The outer contour of the convex sub-region and the connection path (determined based on the connection mode between different convex sub-regions) generate the target path.
在某些实施例中,上述方法还可以包括如下操作。首先,确定多个障碍物区域。然后,在上述确定各连接方式下候选目标路径之后,基于连接方式和各凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径。如果凸型子区域连接路径与障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。通过该方式来降低可移动平台转移凸型子区域进行作业时发生风险的概率。In some embodiments, the above method may further include the following operations. First, identify multiple obstacle areas. Then, after the above-mentioned determination of candidate target paths in each connection mode, based on the connection mode and the respective entrance or exit of each convex sub-region, the convex sub-region connection path in each connection mode is determined. If the connection path of the convex sub-region overlaps with the obstacle region, it is determined that the connection method corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection method. In this way, the probability of risk occurring when the movable platform transfers the convex sub-region for operation is reduced.
本申请的另一方面提供了一种路径规划系统,用于规划可移动平台的目标路径。其中,该路径规划系统可以包括可移动平台和控制终端,控制终端上可以安装有应用 (APP),用户可以通过应用与可移动平台之间进行信息传输,如发送或接收控制指令、工作参数等。Another aspect of the present application provides a path planning system for planning a target path of a movable platform. The path planning system may include a movable platform and a control terminal, an application (APP) may be installed on the control terminal, and the user may transmit information between the application and the movable platform, such as sending or receiving control instructions, working parameters, etc. .
图16为本申请实施例提供的路径规划系统进行路径规划的流程图。FIG. 16 is a flowchart of route planning performed by the route planning system provided in this embodiment of the present application.
如图16所示,在应用侧,用户可以通过APP设置作业区域、划定障碍物区域和设置相邻参考路径之间的宽度(如相邻的参考路径之间的间距)、可移动平台的移动方向等参数。控制终端通过APP将上述参数的取值等发送给可移动平台,可移动平台利用算法处理上述参数的取值中至少部分,来实现诸如切割凸型子区域、生成参考路径、确定各凸型子区域之间的连接顺序和连接凸型子区域等操作,以实现生成目标路径。如果可移动平台是无人机,则该路径为航线。具体地,利用切割线将作业区域分割为多个凸型子区域。然后生成参考航线,在凸型子区域中生成切割后的航线位置。接着,利用搜索方法确定各凸型子区域的连接顺序和入口。然后,按照连接顺序连接各凸型子区域的航线。此外,还可以检查凸型子区域间连接航线相对于障碍物区域的安全性,以降低风险。As shown in Figure 16, on the application side, the user can set the working area, demarcate the obstacle area and set the width between adjacent reference paths (such as the distance between adjacent reference paths) through the APP. parameters such as the direction of movement. The control terminal sends the values of the above-mentioned parameters to the movable platform through the APP, and the movable platform uses the algorithm to process at least part of the values of the above-mentioned parameters to realize such as cutting convex sub-regions, generating reference paths, and determining each convex sub-region. The sequence of connections between regions and operations such as connecting convex subregions to generate target paths. If the movable platform is a drone, the path is an air route. Specifically, the work area is divided into a plurality of convex sub-areas by using the cutting lines. Then a reference route is generated, and the cut route position is generated in the convex sub-region. Next, a search method is used to determine the connection sequence and entry of each convex sub-region. Then, the routes of the convex sub-regions are connected in the order of connection. In addition, the safety of connecting routes between convex sub-areas can be checked relative to the obstacle area to reduce the risk.
本申请的另一方面提供了一种路径规划装置,用于规划可移动平台的目标路径。Another aspect of the present application provides a path planning apparatus for planning a target path of a movable platform.
图17为本申请实施例提供的路径规划装置的结构示意图。FIG. 17 is a schematic structural diagram of a path planning apparatus provided by an embodiment of the present application.
如图17所示,该路径规划装置1700可以包括一个或多个处理器1710,该一个或多个处理器1710可以集成在一个处理单元中,也可以分别设置在多个处理单元中。计算机可读存储介质1720,用于存储一个或多个计算机程序1721,计算机程序在被处理器执行时,实现如上的路径规划方法,例如,将可移动平台的凹型作业区域切割为多个凸型子区域;确定每个凸型子区域对应的可移动平台的参考路径,参考路径的方向与切割作业区域的切割线的方向平行;连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径。As shown in FIG. 17 , the path planning apparatus 1700 may include one or more processors 1710, and the one or more processors 1710 may be integrated in one processing unit, or may be separately provided in multiple processing units. A computer-readable storage medium 1720 for storing one or more computer programs 1721, the computer programs, when executed by the processor, implement the above path planning method, for example, cutting the concave working area of the movable platform into a plurality of convex shapes Sub-areas; determine the reference path of the movable platform corresponding to each convex sub-area, the direction of the reference path is parallel to the direction of the cutting line of the cutting operation area; connect the reference paths corresponding to each convex sub-area to generate the movable platform The target path when working in the work area.
其中,该路径规划装置1700可以被设置在一个执行主体中或分别设置在多个执行主体中。例如,对于可以实现本地控制功能的陆地机器人等的场景中,该路径规划装置1700可以被设置在该陆地机器人中,如该陆地机器人上设置有云台,云台上可以设置作业设备(如喷洒装置、相机、雷达等),陆地机器人的机体上设置有显示屏以便于与用户进行交互。又例如,对于可以使用非本地控制终端对可移动平台进行控制的场景中,该路径规划装置1700的至少部分可以被设置在控制终端中,如接受用户操作的相关功能被设置在控制终端中。该路径规划装置1700的至少部分可以被设置在可移动平台中,如信息传输功能、环境信息感测功能和联动控制功能等中至少一种。此外,该路径规划装置1700的至少部分可以被设置在飞控中,以便执行凸型子区域划分、生成参考路径等。Wherein, the path planning apparatus 1700 may be set in one execution body or respectively set in multiple execution bodies. For example, in a scenario such as a land robot that can implement a local control function, the path planning device 1700 can be installed in the land robot. For example, the land robot is provided with a gimbal, and operation equipment (such as spraying equipment) can be installed on the gimbal. device, camera, radar, etc.), the body of the land robot is provided with a display screen to facilitate interaction with the user. For another example, in a scenario where a non-local control terminal can be used to control the movable platform, at least part of the path planning apparatus 1700 can be set in the control terminal, such as the relevant functions of accepting user operations are set in the control terminal. At least a part of the path planning apparatus 1700 may be set in a movable platform, such as at least one of an information transmission function, an environmental information sensing function, and a linkage control function. In addition, at least part of the path planning apparatus 1700 may be provided in the flight controller to perform convex sub-region division, generate reference paths, and the like.
例如,处理单元可以包括现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者一个或者多个ARM处理器。处理单元可以与非易失性计算机可读存储介质1720连接。与非易失性计算机可读存储介质1720可以存储由处理单元所执行的逻辑、代码及/或者计算机指令,用于执行一个或者多个步骤。非易失性计算机可读存储介质1720可以包括一个或者多个存储单元(可去除的介质或者外部存储器,如SD卡或者RAM)。在某些实施例中,传感器感测的数据可以直接传送并存储到非易失性计算机可读存储介质1720的存储单元中。非易失性计算机可读存储介质1720的存储单元可以存储由处理单元所执行的逻辑、代码及/或者计算机指令,以执行本案描述的各种方法的各个实施例。例如, 处理单元可以用于执行指令,以导致处理单元的一个或者多个处理器执行上述描述的追踪功能。存储单元可以存储感测模块感测数据,该数据感测由处理单元所处理。在某些实施例中,非易失性计算机可读存储介质1720的存储单元可以存储处理单元产生的处理结果。For example, the processing unit may comprise a Field-Programmable Gate Array (FPGA) or one or more ARM processors. The processing unit may be connected to non-volatile computer readable storage medium 1720 . The non-volatile computer-readable storage medium 1720 may store logic, code, and/or computer instructions executed by the processing unit for performing one or more steps. The non-volatile computer readable storage medium 1720 may include one or more storage units (removable media or external memory such as SD card or RAM). In some embodiments, the data sensed by the sensors may be transferred and stored directly into a storage unit of the non-volatile computer-readable storage medium 1720 . The storage units of the non-volatile computer-readable storage medium 1720 may store logic, code, and/or computer instructions executed by the processing unit to perform various embodiments of the various methods described herein. For example, a processing unit may be configured to execute instructions to cause one or more processors of the processing unit to perform the tracing functions described above. The storage unit may store sensing module sensing data, the data sensing being processed by the processing unit. In some embodiments, the storage unit of the non-volatile computer-readable storage medium 1720 may store processing results generated by the processing unit.
在某些实施例中,处理单元可以与控制模块连接,用以控制可移动平台的状态。例如,控制模块可以用于控制可移动平台的动力机构,以调整可移动平台相对于六个自由度的空间方位、速度及/或加速度。可选地或者相结合的,控制模块可以控制承载体,负载或者感测模块中的一个或者多个。In some embodiments, the processing unit may be connected to the control module for controlling the state of the movable platform. For example, the control module may be used to control the power mechanism of the movable platform to adjust the spatial orientation, velocity and/or acceleration of the movable platform relative to six degrees of freedom. Alternatively or in combination, the control module may control one or more of the carrier, load or sensing module.
处理单元还可以与通讯模块连接,用以与一个或者多个外围设备(如终端、显示设备、或者其它远程控制设备)传送及/或者接收数据。这里可以利用任何合适的通讯方法,如有线通讯或者无线通讯。例如,通讯模块可以利用到一个或者多个局域网、广域网、红外线、无线电、Wi-Fi、点对点(P2P)网络、电信网络、云网络等。可选地,可以用到中继站,如信号塔、卫星、或者移动基站等。The processing unit may also be connected to the communication module for transmitting and/or receiving data with one or more peripheral devices (eg, terminals, display devices, or other remote control devices). Any suitable communication method may be utilized here, such as wired communication or wireless communication. For example, the communication module may utilize one or more local area networks, wide area networks, infrared, radio, Wi-Fi, peer-to-peer (P2P) networks, telecommunication networks, cloud networks, and the like. Optionally, a relay station, such as a signal tower, a satellite, or a mobile base station, can be used.
上述各个部件之间可以是相互适配的。例如,一个或者多个部件位于可移动平台、承载体、负载、终端、感测系统、或者与前述各设备通讯的额外的外部设备上。在某些实施例中,处理单元及/或非易失性计算机可读介质中的一个或者多个可以位于不同的位置,如在可移动平台、承载体、负载、终端、感测系统、或者与前述各设备通讯的额外的外部设备以及前述的各种结合上。The above-mentioned various components may be compatible with each other. For example, one or more components are located on a movable platform, carrier, payload, terminal, sensing system, or additional external device in communication with each of the foregoing. In some embodiments, one or more of the processing unit and/or non-transitory computer-readable medium may be located in different locations, such as on a removable platform, carrier, payload, terminal, sensing system, or Additional external devices that communicate with the foregoing devices and various combinations of the foregoing.
此外,与可移动平台相适配的控制终端可以包括输入模块、处理单元、存储器、显示模块、以及通讯模块,所有这样的部件都是通过总线或者相似的网络相连接。Furthermore, the control terminal adapted to the movable platform may include an input module, a processing unit, a memory, a display module, and a communication module, all of which are connected by a bus or similar network.
输入模块包括一个或者多个输入机制,以获取用户通过操作该输入模块产生的输入。输入机制包括一个或者多个操纵杆、开关、旋钮、滑动开关、按钮、拨号盘、触摸屏、小键盘、键盘、鼠标、声音控制、手势控制、惯性模块等。输入模块可以用于获取用户的输入,该输入用于控制可移动平台、承载体、负载、或者其中部件的任何方面。任何方面包括姿态、位置、方向、飞行、追踪等。例如,输入机制可以是用户手动设置一个或者多个位置,每个位置对应一个预设输入,以控制可移动平台。The input module includes one or more input mechanisms to obtain input generated by the user by manipulating the input module. Input mechanisms include one or more joysticks, switches, knobs, slide switches, buttons, dials, touchscreens, keypads, keyboards, mice, voice controls, gesture controls, inertial modules, and the like. The input module may be used to obtain user input for controlling the movable platform, carrier, load, or any aspect of the components therein. Any aspect includes attitude, position, orientation, flight, tracking, etc. For example, the input mechanism may be that the user manually sets one or more positions, each position corresponding to a preset input, to control the movable platform.
在某些实施例中,输入机制可以由用户操作,以输入控制指令,控制可移动平台的运动。例如,用户可以利用旋钮、开关或者相似的输入机制,输入可移动平台的运动模式,如自动飞行、自动驾驶或者根据预设运动路径运动。又如,用户可以通过用某种方法倾斜控制终端,以控制可移动平台的位置、姿态、方向、或者其它方面。控制终端的倾斜可以由一个或者多个惯性传感器所侦测,并产生对应的运动指令。再如,用户可以利用上述输入机制调整负载的操作参数(如喷洒与否、流量调整、变焦)、负载的姿态(通过承载体),或者可移动平台上的任何物体的其它方面。In some embodiments, the input mechanism may be operated by a user to input control commands to control the movement of the movable platform. For example, a user can use a knob, switch, or similar input mechanism to input a motion mode of the movable platform, such as auto-flying, auto-pilot, or moving according to a preset motion path. For another example, the user can control the position, attitude, orientation, or other aspects of the movable platform by tilting the control terminal in a certain way. The tilt of the control terminal can be detected by one or more inertial sensors, and corresponding motion commands can be generated. As another example, the user can utilize the above input mechanism to adjust the operational parameters of the payload (eg spray or not, flow adjustment, zoom), the attitude of the payload (via the carrier), or other aspects of any object on the movable platform.
在某些实施例中,输入机制可以由用户操作,以输入前述描述目标物信息。例如,用户可以利用旋钮、开关或者相似的输入机制,选择合适的运动模式,如人工控制移动模式或者自动控制移动模式。用户也可以利用该输入机制选择所要采用的目标路径。在各种实施例中,输入模块可以由不止一个设备所执行。例如,输入模块可以由带有操纵杆的标准远程控制器所执行。带有操纵杆的标准远程控制器连接到运行适合应用程序(“app”)的移动设备(如智能手机)中,以产生可移动平台的控制指令。app可以用于获取用户的输入。In some embodiments, the input mechanism may be operated by the user to input the aforementioned descriptive object information. For example, a user may select an appropriate motion mode, such as a manually controlled movement mode or an automatically controlled movement mode, using a knob, switch, or similar input mechanism. The user can also use this input mechanism to select the target path to take. In various embodiments, the input module may be executed by more than one device. For example, the input module can be implemented by a standard remote controller with a joystick. A standard remote controller with a joystick connects to a mobile device (eg, a smartphone) running a suitable application ("app") to generate control commands for the movable platform. The app can be used to get input from the user.
处理单元可以与存储器连接。存储器包括易失性或者非易失性存储介质,用于存储数据,及/或处理单元可执行的逻辑、代码、及/或程序指令,用于执行一个或者多个规则或者功能。存储器可以包括一个或者多个存储单元(可去除的介质或者外部存储器,如SD卡或者RAM)。在某些实施例中,输入模块的数据可以直接传送并存储在存储器的存储单元中。存储器的存储单元可以存储由处理单元所执行的逻辑、代码及/或者计算机指令,以执行本案描述的各种方法的各个实施例。例如,处理单元可以用于执行指令,以导致处理单元的一个或者多个处理器处理及显示从可移动平台获取的感应数据(如影像),基于用户输入产生的控制指令,包括运动指令及目标物信息,并导致通讯模块传送及/或者接收数据等。存储单元可以存储感测数据或者从外部设备(如可移动平台)接收的其它数据。在某些实施例中,存储器的存储单元可以存储处理单元生成的处理结果。The processing unit may be connected to the memory. Memory includes volatile or non-volatile storage media for storing data, and/or logic, code, and/or program instructions executable by a processing unit for performing one or more rules or functions. The memory may include one or more storage units (removable media or external memory such as SD card or RAM). In some embodiments, the data input to the module may be directly transferred and stored in a storage unit of the memory. The storage units of the memory may store logic, code and/or computer instructions executed by the processing unit to perform various embodiments of the various methods described herein. For example, the processing unit may be configured to execute instructions to cause one or more processors of the processing unit to process and display sensory data (eg, images) obtained from the movable platform, control commands generated based on user input, including motion commands and objects information, and cause the communication module to transmit and/or receive data, etc. The storage unit may store sensed data or other data received from an external device such as a removable platform. In some embodiments, the storage unit of the memory may store the processing result generated by the processing unit.
在某些实施例中,显示模块可以用于显示如图3中可移动平台10、承载体13及/或作业装置14关于位置、平移速度、平移加速度、方向、角速度、角加速度、或者其结合等的信息。显示模块可以用于获取可移动平台及/或者负载发送的信息,如感测数据(相机或者其它影像捕获设备记录的影像)、控制反馈数据等。在某些实施例中,显示模块可以与输入模块由相同的设备所执行。在其它实施例中,显示模块与输入模块可以由不相同的设备所执行。In some embodiments, the display module may be used to display the position, translation velocity, translation acceleration, direction, angular velocity, angular acceleration, or a combination thereof of the movable platform 10, the carrier 13 and/or the working device 14 as shown in FIG. 3 . etc. information. The display module can be used to obtain information sent by the movable platform and/or the payload, such as sensing data (images recorded by cameras or other image capturing devices), control feedback data, and the like. In some embodiments, the display module may be executed by the same device as the input module. In other embodiments, the display module and the input module may be executed by different devices.
通讯模块可以用于从一个或者多个远程设备(如可移动平台、承载体、基站等)传送及/或者接收数据。例如,通讯模块可以传送控制信号(如运动信号、目标物信息、追踪控制指令)给外围系统或者设备,如图3中可移动平台10、承载体13及/或作业装置14。通讯模块可以包括传送器及接收器,分别用于从远程设备接收数据以及传送数据给远程设备。在某些实施例中,通讯模块可以包括收发器,其结合了传送器与接收器的功能。在某些实施例中,传送器与接收器之间以及与处理单元之间可以彼此通讯。通讯可以利用任何合适的通讯手段,如有线通讯或者无线通讯。The communication module may be used to transmit and/or receive data from one or more remote devices (eg, removable platforms, carriers, base stations, etc.). For example, the communication module can transmit control signals (such as motion signals, target information, and tracking control commands) to peripheral systems or devices, such as the movable platform 10 , the carrier 13 and/or the working device 14 in FIG. 3 . The communication module may include a transmitter and a receiver for receiving data from and transmitting data to the remote device, respectively. In some embodiments, the communication module may include a transceiver that combines the functions of a transmitter and a receiver. In some embodiments, the transmitter and receiver and the processing unit may communicate with each other. Communication may utilize any suitable means of communication, such as wired or wireless communication.
可移动平台在运动过程中捕获的影像可以从可移动平台或者影像设备传回给控制终端或者其它适合的设备,以显示、播放、存储、编辑或者其它目的。这样的传送可以是当影像设备捕获影像时,实时的或者将近实时的发生。可选地,影像的捕获及传送之间可以有延迟。在某些实施例中,影像可以存储在可移动平台的存储器中,而不用传送到任何其它地方。用户可以实时看到这些影像,如果需要,调整目标物信息或者调整可移动平台或者其部件的其它方面。调整的目标物信息可以提供给可移动平台,重复的过程可能继续直到获得可想要的影像。在某些实施例中,影像可以从可移动平台、影像设备及/或控制终端传送给远程服务器。例如,影像可以在一些社交网络平台,如微信朋友圈或者微博上以进行分享。Images captured by the movable platform during motion can be transmitted from the movable platform or imaging device back to a control terminal or other suitable device for display, playback, storage, editing, or other purposes. Such transmission may occur in real-time or near real-time as the imaging device captures the imagery. Optionally, there may be a delay between the capture and transmission of the imagery. In some embodiments, the imagery may be stored in the removable platform's memory without being transferred anywhere else. The user can view these images in real time and, if necessary, adjust target information or other aspects of the movable platform or its components. Adjusted object information may be provided to the movable platform, and the iterative process may continue until the desired image is obtained. In some embodiments, the imagery may be transmitted to a remote server from the removable platform, the imagery device, and/or the control terminal. For example, images can be shared on some social networking platforms, such as WeChat Moments or Weibo.
在某些实施例中,将可移动平台的凹型作业区域切割为多个凸型子区域包括如下操作。首先,生成经由凹型作业区域外轮廓的多个顶点各自的候选切割线,候选切割线的延伸方向是指定方向或者可移动平台的当前移动方向。然后,基于第一预设切割规则和至少一个切割线将凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个切割线是从候选切割线中确定的。In some embodiments, cutting the concave working area of the movable platform into a plurality of convex sub-areas includes the following operations. First, candidate cutting lines are generated that pass through each of a plurality of vertices of the outer contour of the concave work area, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform. Then, the concave working area is cut into a plurality of convex sub-areas each having a convex polygon outer contour based on the first preset cutting rule and at least one cutting line, the at least one cutting line being determined from the candidate cutting lines.
具体内容参考前面的实施例的相同部分,此处不再做赘述。For the specific content, refer to the same part of the previous embodiment, which will not be repeated here.
在某些实施例中,凸型子区域的个数,是凹型作业区域可分解成的凸型子区域的 个数的最小值。In some embodiments, the number of convex sub-regions is the minimum value of the number of convex sub-regions into which the concave working region can be decomposed.
在某些实施例中,第一预设切割规则用于基于经由凹型作业区域的凹顶点的切割线,将凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。In some embodiments, the first preset cutting rule is used to cut the concave working area into a plurality of convex sub-regions each having a convex polygonal outer contour based on cutting lines passing through concave vertices of the concave working area.
在某些实施例中,第一预设切割规则包括以下至少一种:在垂直于候选切割线并且从左至右的方向上,每个顶点激活1次与该顶点相连且位于该顶点右侧的顶点。In some embodiments, the first preset cutting rule includes at least one of the following: in the direction perpendicular to the candidate cutting line and from left to right, each vertex is activated once connected to the vertex and located on the right side of the vertex vertices.
相应地,如果当前顶点被激活零次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。Accordingly, if the current vertex is activated zero times and there is no intersection between the candidate cutting line via the current vertex and the outer contour of the concave working area other than the current vertex, the candidate cutting line via the current vertex is discarded.
如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点分别位于当前顶点在候选切割线方向上的两侧,则将经由当前顶点的候选切割线作为切割线。If the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line. On both sides, the candidate cutting line passing through the current vertex is used as the cutting line.
如果当前顶点被激活一次,在候选切割线的延伸方向上,当前顶点相对于与该当前顶点相连的两个顶点更接近凹型作业区域外轮廓在垂直候选切割线方向的中心线,则将经由当前顶点的候选切割线作为切割线。If the current vertex is activated once, in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line relative to the two vertices connected to the current vertex. The candidate cutting lines of the vertices are used as cutting lines.
如果当前顶点被激活两次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated twice and there is no intersection other than the current vertex between the candidate cutting line via the current vertex and the outer contour of the concave working area, the candidate cutting line via the current vertex is discarded.
如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。If the current vertex is activated twice, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at at least two intersection points other than the current vertex, and at least two intersection points are located at the same point of the current vertex in the direction of the candidate cutting line side, the candidate cutting line passing through the current vertex is discarded.
如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓至少相交于除当前顶点之外的至少两个交点,并且当前顶点在候选切割线方向上的位于两个交点之间,则将该候选切割线作为切割线。If the current vertex is activated twice, the candidate cutting line via the current vertex intersects with the outer contour of the concave working area at least two intersection points other than the current vertex, and the current vertex is located between the two intersection points in the direction of the candidate cutting line time, the candidate cutting line is used as the cutting line.
对于重叠的候选切割线,将其中一条候选切割线作为切割线。For overlapping candidate cutting lines, use one of the candidate cutting lines as the cutting line.
在某些实施例中,凹型作业区域还包括障碍物区域,障碍物区域的多边形外轮廓作为凹型作业区域的多边形内轮廓。In some embodiments, the concave working area further includes an obstacle area, and the polygonal outer contour of the obstacle area serves as the polygonal inner contour of the concave working area.
在某些实施例中,将可移动平台的凹型作业区域切割为多个凸型子区域可以包括如下操作。In some embodiments, cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations.
首先,确定经由凹型作业区域外轮廓和多边形外轮廓的多个顶点各自的候选切割线,候选切割线的延伸方向是指定方向或者可移动平台的当前移动方向。First, the candidate cutting lines passing through the outer contour of the concave working area and the multiple vertices of the polygon outer contour are determined, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform.
然后,基于第二预设切割规则和至少一个切割线将凹型作业区域外轮廓和多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个切割线是从候选切割线中确定的。Then, based on the second preset cutting rule and at least one cutting line, the area between the outer contour of the concave working area and the outer contour of the polygon is divided into a plurality of convex sub-regions each having the outer contour of the convex polygon, and the at least one cutting line is from Candidate cutting lines identified.
切割线等相关内容可以参考前面的实施例的相同部分,此处不再做赘述。For related content such as cutting lines, reference may be made to the same parts of the previous embodiments, which will not be repeated here.
在某些实施例中,凸型子区域的个数,是凹型作业区域外轮廓和多边形外轮廓之间的区域可分解成的凸多边形外轮廓的个数的最小值。In some embodiments, the number of convex sub-regions is the minimum value of the number of convex polygonal outer contours that can be decomposed into a region between the outer contour of the concave working region and the polygonal outer contour.
在某些实施例中,第二预设切割规则用于基于经由凹型作业区域的凹顶点的第一候选切割线以及经由多边形外轮廓的各顶点的第二候选切割线,对凹型作业区域外轮 廓和多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域。In some embodiments, the second preset cutting rule is used for cutting the outer contour of the concave working area based on the first candidate cutting lines passing through the concave vertices of the concave working area and the second candidate cutting lines passing through the vertices of the polygonal outer contour. The region between the polygonal outer contour and the polygonal outer contour is divided into a plurality of convex sub-regions each having a convex polygonal outer contour.
在某些实施例中,第二预设切割规则包括以下至少一种,对于凹型作业区域外轮廓,在垂直于候选切割线并且从左至右的方向上,每个顶点激活一次与该顶点相连且位于该顶点右侧的顶点。In some embodiments, the second preset cutting rule includes at least one of the following: for the outer contour of the concave working area, in the direction perpendicular to the candidate cutting line and from left to right, each vertex is activated once and connected to the vertex and the vertex to the right of that vertex.
例如,如果当前顶点被激活零次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。For example, if the current vertex is activated zero times and there is no intersection between the candidate cutting line via the current vertex and the outer contour of the concave work area other than the current vertex, then the candidate cutting line via the current vertex is discarded.
例如,如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。For example, if the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave work area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cutting line On the same side of the current vertex, the candidate cutting line passing through the current vertex is discarded.
例如,如果当前顶点被激活零次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点分别位于当前顶点在候选切割线方向上的两侧,则将经由当前顶点的候选切割线作为切割线。For example, if the current vertex is activated zero times, the candidate cutting line via the current vertex intersects the outer contour of the concave work area at at least two intersections other than the current vertex, and at least two intersections are located at the current vertex in the direction of the candidate cutting line on both sides, the candidate cutting line passing through the current vertex will be used as the cutting line.
例如,如果当前顶点被激活一次,在候选切割线的延伸方向上,当前顶点相对于与该当前顶点相连的两个顶点更接近凹型作业区域外轮廓在垂直候选切割线方向的中心线,则将经由当前顶点的候选切割线作为切割线。For example, if the current vertex is activated once, and in the extension direction of the candidate cutting line, the current vertex is closer to the centerline of the outer contour of the concave working area in the direction perpendicular to the candidate cutting line than the two vertices connected to the current vertex. The candidate cutting line via the current vertex is used as the cutting line.
例如,如果当前顶点被激活两次,并且经由当前顶点的候选切割线与凹型作业区域外轮廓之间没有除当前顶点之外的交点,则舍弃经由该当前顶点的候选切割线。For example, if the current vertex is activated twice and there is no intersection between the candidate cutting line via the current vertex and the outer contour of the concave work area other than the current vertex, the candidate cutting line via the current vertex is discarded.
例如,如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓相交于除当前顶点之外的至少两个交点,并且至少两个交点位于当前顶点在候选切割线方向上的同一侧,则舍弃经由该当前顶点的候选切割线。For example, if the current vertex is activated twice, the candidate cut line via the current vertex intersects the outer contour of the concave work area at at least two intersection points other than the current vertex, and at least two intersection points are located at the current vertex in the direction of the candidate cut line On the same side of the current vertex, the candidate cutting line passing through the current vertex is discarded.
例如,如果当前顶点被激活两次,经由当前顶点的候选切割线与凹型作业区域外轮廓至少相交于除当前顶点之外的至少两个交点,并且当前顶点在候选切割线方向上的位于两个交点之间,则将该候选切割线作为切割线。For example, if the current vertex is activated twice, the candidate cutting line via the current vertex intersects the outer contour of the concave working area at least two intersection points other than the current vertex, and the current vertex in the direction of the candidate cutting line is located at two Between the intersection points, the candidate cutting line is used as the cutting line.
例如,对于多边形外轮廓,将经由多边形外轮廓的顶点的候选切割线作为切割线。For example, for a polygonal outer contour, a candidate cutting line passing through a vertex of the polygonal outer contour is used as the cutting line.
例如,保留重叠的候选切割线中一条。For example, keep one of the overlapping candidate cutting lines.
例如,保留重叠的切割线中一条。For example, keep one of the overlapping cut lines.
在某些实施例中,目标路径包括针对凸型子区域各自的切换路径,以使得可移动平台可基于切换路径移动至当前参考路径的相邻参考路径。In some embodiments, the target paths include respective switching paths for the convex sub-regions, such that the movable platform can move to an adjacent reference path of the current reference path based on the switching paths.
在某些实施例中,连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径可以包括如下操作。首先,生成针对每个凸型子区域各自的子目标路径。然后,连接每个凸型子区域各自的子目标路径以生成可移动平台在凹型作业区域的目标路径。In some embodiments, connecting the reference paths corresponding to each convex sub-area to generate a target path for the movable platform to operate in the work area may include the following operations. First, a respective subgoal path for each convex subregion is generated. Then, the respective sub-target paths of each convex sub-area are connected to generate the target path of the movable platform in the concave work area.
在某些实施例中,确定每个凸型子区域对应的可移动平台的参考路径可以包括如下操作。In some embodiments, determining the reference path of the movable platform corresponding to each convex sub-region may include the following operations.
首先,基于切割线的方向生成多条相互平行的参考路径,相邻的两条参考路径之间的距离与可移动平台的作业半径相关。First, multiple reference paths parallel to each other are generated based on the direction of the cutting line, and the distance between two adjacent reference paths is related to the working radius of the movable platform.
然后,利用各凸型子区域的外轮廓切割参考路径,以便生成针对各凸型子区域的参考路径,以便生成凸型子区域各自的子目标路径。Then, the reference path is cut using the outer contour of each convex sub-region, so as to generate a reference path for each convex sub-region, so as to generate respective sub-target paths of the convex sub-region.
在某些实施例中,生成凸型子区域各自的子目标路径可以包括如下操作。首先, 生成针对各凸型子区域各自的外轮廓的转向路径。然后,针对凸型子区域中的每一个,连接凸型子区域的参考路径和针对凸型子区域的外轮廓的转向路径,得到凸型子区域的子目标路径。In some embodiments, generating the respective sub-target paths for the convex sub-regions may include the following operations. First, a turning path for the outer contour of each convex sub-region is generated. Then, for each of the convex sub-regions, the reference path of the convex sub-region and the turning path for the outer contour of the convex sub-region are connected to obtain a sub-target path of the convex sub-region.
在某些实施例中,连接每个凸型子区域各自的子目标路径以生成可移动平台在凹型作业区域的目标路径可以包括如下操作。In some embodiments, connecting the respective sub-target paths of each convex sub-area to generate the target path of the movable platform in the concave work area may include the following operations.
首先,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口,凸型子区域各自的入口或者出口位于凸型子区域的参考路径与凸型子区域的外轮廓的一个交点处。First, search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region. The respective entrance or exit of each convex sub-region is located in one of the reference path of the convex sub-region and the outer contour of the convex sub-region. intersection.
然后,基于与凸型子区域的连接方式和各凸型子区域各自的入口或者出口生成可移动平台在凹型作业区域的目标路径,使得目标路径最短。Then, a target path of the movable platform in the concave working area is generated based on the connection with the convex sub-areas and the respective entrances or exits of each convex sub-area, so that the target path is the shortest.
具体内容参考前面的实施例的相同部分,此处不再做赘述。For the specific content, refer to the same part of the previous embodiment, which will not be repeated here.
在某些实施例中,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口可以包括如下操作,重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各凸型子区域各自的入口或者出口,使得在使用该连接方式下目标路径最短。例如,比对各连接方式下候选目标路径。然后,获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各凸型子区域各自的入口或者出口。In some embodiments, searching the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations, repeating the following operations until the candidate target paths under each connection mode are determined: for one connection mode , determine the respective entrance or exit of each convex sub-region in this connection mode, so that the target path is the shortest in this connection mode. For example, compare candidate target paths under each connection mode. Then, the connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrance or exit of each convex sub-region are obtained.
在某些实施例中,凹型作业区域还包括障碍物区域。相应地,在重复以下操作直至确定各连接方式下候选目标路径之后,计算机程序在被处理器执行时,还实现:首先,基于连接方式和各凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径。然后,如果凸型子区域连接路径与障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。In certain embodiments, the concave work area further includes an obstacle area. Correspondingly, after repeating the following operations until the candidate target paths under each connection mode are determined, when the computer program is executed by the processor, the computer program also realizes: first, determine each connection based on the connection mode and the respective entrance or exit of each convex sub-region. Convex subregion connection path in mode. Then, if the connecting path of the convex sub-region overlaps the obstacle region, it is determined that the connecting manner corresponding to the connecting path of the convex sub-region is unsafe, so as to remove the unsafe connecting manner.
在某些实施例中,切割线的方向与指定方向之间存在夹角。相应地,将可移动平台的凹型作业区域切割为多个凸型子区域可以包括如下操作。首先,基于夹角旋转凹型作业区域外轮廓所在的坐标系,使得坐标系的坐标轴与指定方向相一致或相垂直。然后,基于与指定方向相一致的切割线将凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。In some embodiments, there is an angle between the direction of the cutting line and the specified direction. Accordingly, cutting the concave working area of the movable platform into a plurality of convex sub-areas may include the following operations. First, rotate the coordinate system where the outer contour of the concave working area is located based on the included angle, so that the coordinate axis of the coordinate system is consistent with or perpendicular to the specified direction. Then, the concave working area is cut into a plurality of convex sub-areas each having an outer contour of a convex polygon based on a cutting line consistent with the designated direction.
在某些实施例中,在连接每个凸型子区域对应的参考路径以生成可移动平台在作业区域作业时的目标路径之后,计算机程序在被处理器执行时,还可以实现如下操作。基于夹角反向旋转凹型作业区域外轮廓所在的坐标系,得到可移动平台针对复原后的凹型作业区域的目标路径。In some embodiments, after the reference paths corresponding to each convex sub-area are connected to generate a target path of the movable platform when the movable platform operates in the work area, the computer program may further implement the following operations when executed by the processor. Based on the coordinate system where the outer contour of the concave working area is reversely rotated based on the included angle, the target path of the movable platform for the restored concave working area is obtained.
在某些实施例中,凹型作业区域外轮廓和多边形外轮廓中至少一种是由用户输入的。In some embodiments, at least one of the concave work area outer contour and the polygonal outer contour is input by the user.
本申请的另一方面提供了一种路径规划装置,用于规划可移动平台的目标路径。Another aspect of the present application provides a path planning apparatus for planning a target path of a movable platform.
图18为本申请另一实施例提供的路径规划装置的结构示意图。FIG. 18 is a schematic structural diagram of a path planning apparatus provided by another embodiment of the present application.
如图18所示,上述装置1800可以包括一个或多个处理器1810以及计算机可读存储介质1820。As shown in FIG. 18 , the above-described apparatus 1800 may include one or more processors 1810 and a computer-readable storage medium 1820 .
其中,计算机可读存储介质1820用于存储一个或多个计算机程序1821,计算机程序1821在被处理器执行时,可以实现如下操作。The computer-readable storage medium 1820 is used for storing one or more computer programs 1821. When the computer programs 1821 are executed by the processor, the following operations can be implemented.
首先,确定多个凸型子区域,以及多个凸型子区域各自的子目标路径。First, a plurality of convex sub-regions and respective sub-target paths of the plurality of convex sub-regions are determined.
然后,连接每个凸型子区域各自的子目标路径以生成目标路径,使得目标路径最短。Then, the respective sub-goal paths of each convex sub-region are connected to generate a goal path such that the goal path is the shortest.
在某些实施例中,连接每个凸型子区域各自的子目标路径以生成目标路径,使得目标路径最短可以包括如下操作。In some embodiments, connecting the respective sub-target paths of each convex sub-region to generate a target path such that the target path is the shortest may include the following operations.
首先,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口,凸型子区域各自的入口或者出口位于凸型子区域的参考路径与凸型子区域的外轮廓的一个交点处。First, search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region. The respective entrance or exit of each convex sub-region is located in one of the reference path of the convex sub-region and the outer contour of the convex sub-region. intersection.
然后,基于与凸型子区域的连接方式和各凸型子区域各自的入口或者出口生成可移动平台在凹型作业区域的目标路径,使得目标路径最短,凹型作业区域包括各凸型子区域。Then, the target path of the movable platform in the concave work area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest, and the concave work area includes each convex sub-area.
具体内容参考前面的实施例的相同部分,此处不再做赘述。For the specific content, refer to the same part of the previous embodiment, which will not be repeated here.
在某些实施例中,搜索各凸型子区域的连接方式和各凸型子区域各自的入口或者出口可以包括如下操作:重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各凸型子区域各自的入口或者出口,使得在使用该连接方式下目标路径最短。例如,比对各连接方式下候选目标路径;获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各凸型子区域各自的入口或者出口。In some embodiments, searching for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region may include the following operations: repeating the following operations until candidate target paths under each connection mode are determined: for one connection mode , determine the respective entrance or exit of each convex sub-region in this connection mode, so that the target path is the shortest in this connection mode. For example, the candidate target paths under each connection mode are compared; the connection mode of the convex sub-region corresponding to the candidate target path with the shortest path length and the respective entrance or exit of each convex sub-region are obtained.
在某些实施例中,计算机程序在被处理器执行时,还实现:确定多个障碍物区域。在重复以下操作直至确定各连接方式下候选目标路径之后,基于连接方式和各凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径。如果凸型子区域连接路径与障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。In some embodiments, the computer program, when executed by the processor, further implements: determining a plurality of obstacle regions. After repeating the following operations until the candidate target paths in each connection mode are determined, the convex sub-region connection path in each connection mode is determined based on the connection mode and the respective entrance or exit of each convex sub-region. If the connection path of the convex sub-region overlaps with the obstacle region, it is determined that the connection method corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection method.
在某些实施例中,凸型子区域各自的子目标路径可以通过如下方式确定:生成与指定方向或者可移动平台的当前移动方向相一致的多条参考路径,相邻的两条参考路径之间的距离与可移动平台的作业半径相关。然后,利用各凸型子区域的外轮廓切割参考路径,生成可移动平台在各凸型子区域的参考路径,以便生成可移动平台在各凸型子区域各自的子目标路径。In some embodiments, the respective sub-target paths of the convex sub-regions may be determined by: generating multiple reference paths that are consistent with the specified direction or the current moving direction of the movable platform, and the two adjacent reference paths are The distance between them is related to the working radius of the movable platform. Then, use the outer contour of each convex sub-region to cut the reference path to generate the reference path of the movable platform in each convex sub-region, so as to generate the respective sub-target path of the movable platform in each convex sub-region.
在某些实施例中,控制终端设置在可移动平台上。如控制终端和可移动平移是一体的。具体内容参考前面的实施例的相同部分,此处不再做赘述。In some embodiments, the control terminal is provided on a movable platform. For example, the control terminal and movable pan are integrated. For the specific content, refer to the same part of the previous embodiment, which will not be repeated here.
本申请的实施例还提供了一种计算机程序产品,其包括计算机程序,该计算机程序包含用于执行本申请实施例所提供的方法的程序代码,当计算机程序产品在电子设备上运行时,该程序代码用于使电子设备实现本申请实施例所提供的图像模型训练方法或图像处理方法。The embodiments of the present application also provide a computer program product, which includes a computer program, the computer program includes program codes for executing the methods provided by the embodiments of the present application, when the computer program product runs on an electronic device, the The program code is used to enable the electronic device to implement the image model training method or the image processing method provided by the embodiments of the present application.
在该计算机程序被处理器执行时,执行本申请实施例的系统/装置中限定的上述功能。根据本申请的实施例,上文描述的系统、装置、模块、单元等可以通过计算机程序模块来实现。When the computer program is executed by the processor, the above-mentioned functions defined in the system/device of the embodiments of the present application are executed. According to the embodiments of the present application, the systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules.
在一种实施例中,该计算机程序可以依托于光存储器件、磁存储器件等有形存储介质。在另一种实施例中,该计算机程序也可以在网络介质上以信号的形式进行传输、分发,并通过通信部分被下载和安装,和/或从可拆卸介质被安装。该计算机程序包含的程序代码可以用任何适当的网络介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal over a network medium, and downloaded and installed through the communication portion, and/or installed from a removable medium. The program code embodied by the computer program may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
根据本申请的实施例,可以以一种或多种程序设计语言的任意组合来编写用于执行本申请实施例提供的计算机程序的程序代码,具体地,可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。程序设计语言包括但不限于诸如Java,C++,python,“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。According to the embodiments of the present application, the program code for executing the computer program provided by the embodiments of the present application may be written in any combination of one or more programming languages. programming language, and/or assembly/machine language to implement these computational programs. Programming languages include, but are not limited to, languages such as Java, C++, python, "C" or similar programming languages. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
以上为本申请的最优实施例,需要说明的,该最优的实施例仅用于理解本申请,并不用于限制本申请的保护范围。并且,最优实施例中的特征,在无特别注明的情况下,均同时适用于方法实施例和装置实施例,在相同或不同实施例中出现的技术特征在不相互冲突的情况下可以组合使用。The above are the best embodiments of the present application, and it should be noted that the best embodiments are only used for understanding the present application, and are not used to limit the protection scope of the present application. In addition, the features in the preferred embodiment, unless otherwise specified, are applicable to both the method embodiment and the device embodiment, and the technical features appearing in the same or different embodiments can be used without conflicting with each other. used in combination.
最后应说明的是:以上实施方式仅用以说明本申请的技术方案,而非对其进行限制;尽管参照前述实施方式对本申请已经进行了详细的说明,但本领域的普通技术人员应当理解:其依然可以对前述实施方式所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请实施方式技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the application, rather than limiting them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements to some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application. .
Claims (47)
- 一种路径规划方法,用于规划可移动平台的目标路径,其特征在于,所述方法包括:A path planning method for planning a target path of a movable platform, characterized in that the method comprises:将所述可移动平台的凹型作业区域切割为多个凸型子区域;cutting the concave working area of the movable platform into a plurality of convex sub-areas;确定每个凸型子区域对应的所述可移动平台的参考路径,所述参考路径的方向与切割所述作业区域的切割线的方向平行;determining a reference path of the movable platform corresponding to each convex sub-area, and the direction of the reference path is parallel to the direction of the cutting line cutting the working area;连接每个凸型子区域对应的参考路径以生成所述可移动平台在所述作业区域作业时的目标路径。The reference paths corresponding to each convex sub-area are connected to generate a target path of the movable platform when the movable platform operates in the work area.
- 根据权利要求1所述的方法,其特征在于,所述将所述可移动平台的凹型作业区域切割为多个凸型子区域包括:The method according to claim 1, wherein the cutting the concave working area of the movable platform into a plurality of convex sub-areas comprises:生成经由所述凹型作业区域外轮廓的多个顶点各自的候选切割线,所述候选切割线的延伸方向是指定方向或者所述可移动平台的当前移动方向;generating respective candidate cutting lines passing through a plurality of vertices of the outer contour of the concave working area, where the extending direction of the candidate cutting lines is a specified direction or the current moving direction of the movable platform;基于第一预设切割规则和至少一个切割线将所述凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个所述切割线是从所述候选切割线中确定的。The concave working area is cut into a plurality of convex sub-areas each having a convex polygonal outer contour based on a first preset cutting rule and at least one cutting line determined from the candidate cutting lines .
- 根据权利要求2所述的方法,其特征在于,所述凸型子区域的个数,是所述凹型作业区域可分解成的凸型子区域的个数的最小值。The method according to claim 2, wherein the number of the convex sub-regions is a minimum value of the number of convex sub-regions into which the concave working region can be decomposed.
- 根据权利要求2所述的方法,其特征在于,所述第一预设切割规则用于基于经由所述凹型作业区域的凹顶点的切割线,将所述凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。The method according to claim 2, wherein the first preset cutting rule is used to cut the concave working area into a plurality of pieces each having a convex shape based on a cutting line passing through a concave vertex of the concave working area The convex subregion of the polygon's outer contour.
- 根据权利要求2所述的方法,其特征在于,所述凹型作业区域还包括障碍物区域,所述障碍物区域的多边形外轮廓作为所述凹型作业区域的多边形内轮廓。The method according to claim 2, wherein the concave working area further includes an obstacle area, and the polygonal outer contour of the obstacle area serves as the polygonal inner contour of the concave working area.
- 根据权利要求5所述的方法,其特征在于,所述将所述可移动平台的凹型作业区域切割为多个凸型子区域包括:The method according to claim 5, wherein the cutting the concave working area of the movable platform into a plurality of convex sub-areas comprises:确定经由所述凹型作业区域外轮廓和所述多边形外轮廓的多个顶点各自的候选切割线,所述候选切割线的延伸方向是指定方向或者所述可移动平台的当前移动方向;determining the respective candidate cutting lines via the outer contour of the concave working area and a plurality of vertices of the polygon outer contour, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform;基于第二预设切割规则和至少一个切割线将所述凹型作业区域外轮廓和所述多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个所述切割线是从所述候选切割线中确定的。Based on the second preset cutting rule and at least one cutting line, the area between the outer contour of the concave working area and the outer contour of the polygon is divided into a plurality of convex sub-areas each having a convex polygon outer contour, at least one of the Cut lines are determined from the candidate cut lines.
- 根据权利要求6所述的方法,其特征在于,所述凸型子区域的个数,是所述凹型作业区域外轮廓和所述多边形外轮廓之间的区域可分解成的凸多边形外轮廓的个数的最小值。The method according to claim 6, wherein the number of the convex sub-regions is the number of the convex polygonal outer contour that can be decomposed into the outer contour of the concave working region and the region between the polygonal outer contour Minimum number of counts.
- 根据权利要求6所述的方法,其特征在于,所述第二预设切割规则用于基于经由所述凹型作业区域的凹顶点的第一候选切割线以及经由所述多边形外轮廓的各顶点的第二候选切割线,将所述凹型作业区域外轮廓和所述多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域。The method according to claim 6, wherein the second preset cutting rule is based on a first candidate cutting line passing through a concave vertex of the concave working area and a cutting line passing through each vertex of the polygon outer contour. The second candidate cutting line divides the area between the outer contour of the concave working area and the outer contour of the polygon into a plurality of convex sub-areas each having the outer contour of a convex polygon.
- 根据权利要求1所述的方法,其特征在于,所述目标路径包括针对所述凸型子区域各自的切换路径,以使得可移动平台可基于所述切换路径移动至当前参考路径的相邻参考路径。The method of claim 1, wherein the target paths include respective switching paths for the convex sub-regions, such that the movable platform can move to an adjacent reference of the current reference path based on the switching paths path.
- 根据权利要求1所述的方法,其特征在于,所述连接每个凸型子区域对应的参考路径以生成所述可移动平台在所述作业区域作业时的目标路径包括:The method according to claim 1, wherein the connecting the reference paths corresponding to each convex sub-area to generate the target path of the movable platform when working in the working area comprises:确定每个凸型子区域之间的连接顺序;Determine the connection order between each convex subregion;基于所述连接顺序确定每个凸型子区域各自的入口和出口,并且基于所述每个凸型子区域各自的入口和出口分别生成针对每个凸型子区域各自的子目标路径;Determine the respective entrance and exit of each convex sub-region based on the connection sequence, and generate a respective sub-target path for each convex sub-region based on the respective entrance and exit of each convex sub-region;基于所述连接顺序和每个凸型子区域各自的入口和出口,连接每个凸型子区域各自的子目标路径以生成所述可移动平台在所述凹型作业区域的目标路径。Based on the connection sequence and the respective entrances and exits of each convex sub-area, the respective sub-target paths of each convex sub-area are connected to generate a target path of the movable platform in the concave working area.
- 根据权利要求10所述的方法,其特征在于,所述确定每个凸型子区域对应的所述可移动平台的参考路径包括:The method according to claim 10, wherein the determining the reference path of the movable platform corresponding to each convex sub-region comprises:基于所述切割线的方向生成多条相互平行的参考路径,相邻的两条参考路径之间的距离与所述可移动平台的作业半径相关;Generate a plurality of reference paths parallel to each other based on the direction of the cutting line, and the distance between two adjacent reference paths is related to the working radius of the movable platform;利用各所述凸型子区域的外轮廓切割所述参考路径,以便生成针对各所述凸型子区域的参考路径,以便生成所述凸型子区域各自的子目标路径。The reference path is cut using the outer contour of each of the convex sub-regions, so as to generate a reference path for each of the convex sub-regions, so as to generate respective sub-target paths of the convex sub-regions.
- 根据权利要求11所述的方法,其特征在于,所述生成所述凸型子区域各自的子目标路径包括:The method according to claim 11, wherein the generating the respective sub-target paths of the convex sub-regions comprises:生成针对各所述凸型子区域各自的外轮廓的转向路径;generating a turning path for the respective outer contour of each of the convex sub-regions;针对所述凸型子区域中的每一个,连接所述凸型子区域的参考路径和针对所述凸型子区域的外轮廓的转向路径,得到所述凸型子区域的子目标路径。For each of the convex sub-regions, the reference path of the convex sub-region and the turning path for the outer contour of the convex sub-region are connected to obtain a sub-target path of the convex sub-region.
- 根据权利要求10所述的方法,其特征在于,所述连接每个凸型子区域各自的子目标路径以生成所述可移动平台在所述凹型作业区域的目标路径包括:The method according to claim 10, wherein the connecting the respective sub-target paths of each convex sub-region to generate the target path of the movable platform in the concave working region comprises:搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口,所述凸型子区域各自的入口或者出口位于所述凸型子区域的参考路径与所述凸型子区域的外轮廓的一个交点处;Search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region, where the respective entrance or exit of the convex sub-region is located between the reference path of the convex sub-region and the convex sub-region. An intersection of the outer contour of the sub-region;基于与所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口生成所述可移动平台在所述凹型作业区域的目标路径,使得所述目标路径最短。The target path of the movable platform in the concave working area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest.
- 根据权利要求13所述的方法,其特征在于,所述搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口包括:The method according to claim 13, wherein the searching for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region comprises:重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各所述凸型子区域各自的入口或者出口,使得在使用该连接方式下所述目标路径最短;Repeat the following operations until the candidate target paths under each connection mode are determined: for a connection mode, determine the respective entrance or exit of each of the convex sub-regions under the connection mode, so that the target path is the shortest under the connection mode ;比对各连接方式下候选目标路径;Compare the candidate target paths under each connection mode;获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口。The connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrances or exits of the convex sub-regions are obtained.
- 根据权利要求14所述的方法,其特征在于,所述凹型作业区域还包括障碍物区域;The method of claim 14, wherein the concave working area further comprises an obstacle area;在所述重复以下操作直至确定各连接方式下候选目标路径之后,所述方法还包括:After repeating the following operations until the candidate target paths in each connection mode are determined, the method further includes:基于所述连接方式和各所述凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径;Determine the connection path of the convex sub-region under each connection mode based on the connection mode and the respective inlet or outlet of each of the convex sub-regions;如果所述凸型子区域连接路径与所述障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。If the connection path of the convex sub-region overlaps the obstacle region, it is determined that the connection manner corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection manner.
- 根据权利要求1所述的方法,其特征在于,所述切割线的方向与指定方向之间存在夹角;The method according to claim 1, wherein there is an included angle between the direction of the cutting line and the specified direction;所述将所述可移动平台的凹型作业区域切割为多个凸型子区域包括:The cutting the concave working area of the movable platform into a plurality of convex sub-areas includes:基于所述夹角旋转所述凹型作业区域外轮廓所在的坐标系,使得所述坐标系的坐标轴与所述指定方向相一致或相垂直;Rotate the coordinate system where the outer contour of the concave working area is located based on the included angle, so that the coordinate axis of the coordinate system is consistent with or perpendicular to the specified direction;基于与所述指定方向相一致的切割线将所述凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。The concave working area is cut into a plurality of convex sub-areas each having an outer contour of a convex polygon based on a cutting line consistent with the designated direction.
- 根据权利要求16所述的方法,其特征在于,在所述连接每个凸型子区域对应的参考路径以生成所述可移动平台在所述作业区域作业时的目标路径之后,还包括:The method according to claim 16, wherein after the connecting the reference paths corresponding to each convex sub-area to generate the target path of the movable platform when working in the work area, the method further comprises:基于所述夹角反向旋转所述凹型作业区域外轮廓所在的坐标系,得到所述可移动平台针对复原后的凹型作业区域的目标路径。Reversely rotate the coordinate system where the outer contour of the concave working area is located based on the included angle, so as to obtain the target path of the movable platform for the restored concave working area.
- 根据权利要求2所述的方法,其特征在于,所述凹型作业区域外轮廓和多边形外轮廓中至少一种是由用户输入的。The method of claim 2, wherein at least one of the concave working area outer contour and the polygonal outer contour is input by a user.
- 一种路径规划方法,用于规划可移动平台的目标路径,其特征在于,所述方法包括:A path planning method for planning a target path of a movable platform, characterized in that the method comprises:确定多个凸型子区域,以及多个所述凸型子区域各自的子目标路径;determining a plurality of convex sub-regions and respective sub-target paths of the plurality of convex sub-regions;连接每个凸型子区域各自的子目标路径以生成所述目标路径,使得所述目标路径最短。The respective sub-target paths of each convex sub-region are connected to generate the target paths such that the target paths are the shortest.
- 根据权利要求19所述的方法,其特征在于,所述连接每个凸型子区域各自的子目标路径以生成所述目标路径,使得所述目标路径最短,包括:The method according to claim 19, wherein the connecting the respective sub-target paths of each convex sub-region to generate the target path, so that the target path is the shortest, comprises:搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口,所述凸型子区域各自的入口或者出口位于所述凸型子区域的参考路径与所述凸型子区域的外轮廓的一个交点处;Search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region, where the respective entrance or exit of the convex sub-region is located between the reference path of the convex sub-region and the convex sub-region. An intersection of the outer contour of the sub-region;基于与所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口生成所述可移动平台在凹型作业区域的目标路径,使得所述目标路径最短,所述凹型作业区域包括各所述凸型子区域。The target path of the movable platform in the concave work area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest, and the concave work area Each of the convex sub-regions is included.
- 根据权利要求20所述的方法,其特征在于,所述搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口包括:The method according to claim 20, wherein the searching for the connection mode of each of the convex sub-regions and the respective entrance or exit of each of the convex sub-regions comprises:重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各所述凸型子区域各自的入口或者出口,使得在使用该连接方式下所述目标路径最短;Repeat the following operations until the candidate target paths under each connection mode are determined: for a connection mode, determine the respective entrance or exit of each of the convex sub-regions under the connection mode, so that the target path is the shortest under the connection mode ;比对各连接方式下候选目标路径;Compare the candidate target paths under each connection mode;获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口。The connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrances or exits of the convex sub-regions are obtained.
- 根据权利要求21所述的方法,其特征在于,所述方法还包括:The method of claim 21, wherein the method further comprises:确定多个障碍物区域;Identify multiple obstacle areas;在所述重复以下操作直至确定各连接方式下候选目标路径之后,基于所述连接方式和各所述凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径;After the following operations are repeated until the candidate target paths in each connection mode are determined, based on the connection mode and the respective entrance or exit of each of the convex sub-regions, the connection paths of the convex sub-regions in each connection mode are determined;如果所述凸型子区域连接路径与所述障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。If the connection path of the convex sub-region overlaps the obstacle region, it is determined that the connection manner corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection manner.
- 根据权利要求19所述的方法,其特征在于,所述凸型子区域各自的子目标路径通过如下方式确定:The method according to claim 19, wherein the respective sub-target paths of the convex sub-regions are determined in the following manner:生成与指定方向或者所述可移动平台的当前移动方向相一致的多条参考路径,相邻的两条参考路径之间的距离与所述可移动平台的作业半径相关;generating a plurality of reference paths consistent with the specified direction or the current moving direction of the movable platform, and the distance between two adjacent reference paths is related to the working radius of the movable platform;利用各所述凸型子区域的外轮廓切割所述参考路径,生成所述可移动平台在各所述凸型子区域的参考路径,以便生成所述可移动平台在各所述凸型子区域各自的子目标路径。Cut the reference path by using the outer contour of each convex sub-region to generate a reference path of the movable platform in each convex sub-region, so as to generate the movable platform in each convex sub-region respective sub-target paths.
- 一种路径规划装置,用于规划可移动平台的目标路径,其特征在于,所述装置包括:A path planning device for planning a target path of a movable platform, characterized in that the device includes:一个或多个处理器;one or more processors;计算机可读存储介质,用于存储一个或多个计算机程序,所述计算机程序在被所述处理器执行时,实现:A computer-readable storage medium for storing one or more computer programs that, when executed by the processor, implement:将所述可移动平台的凹型作业区域切割为多个凸型子区域;cutting the concave working area of the movable platform into a plurality of convex sub-areas;确定每个凸型子区域对应的所述可移动平台的参考路径,所述参考路径的方向与切割所述作业区域的切割线的方向平行;determining a reference path of the movable platform corresponding to each convex sub-area, and the direction of the reference path is parallel to the direction of the cutting line cutting the working area;连接每个凸型子区域对应的参考路径以生成所述可移动平台在所述作业区域作业时的目标路径。The reference paths corresponding to each convex sub-area are connected to generate a target path of the movable platform when the movable platform operates in the work area.
- 根据权利要求24所述的装置,其特征在于,所述将所述可移动平台的凹型作业区域切割为多个凸型子区域包括:The device according to claim 24, wherein the cutting the concave working area of the movable platform into a plurality of convex sub-areas comprises:生成经由所述凹型作业区域外轮廓的多个顶点各自的候选切割线,所述候选切割线的延伸方向是指定方向或者所述可移动平台的当前移动方向;generating respective candidate cutting lines passing through a plurality of vertices of the outer contour of the concave working area, where the extending direction of the candidate cutting lines is a specified direction or the current moving direction of the movable platform;基于第一预设切割规则和至少一个切割线将所述凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个所述切割线是从所述候选切割线中确定的。The concave working area is cut into a plurality of convex sub-areas each having a convex polygonal outer contour based on a first preset cutting rule and at least one cutting line determined from the candidate cutting lines .
- 根据权利要求25所述的装置,其特征在于,所述凸型子区域的个数,是所述凹型作业区域可分解成的凸型子区域的个数的最小值。The device according to claim 25, wherein the number of the convex sub-regions is the minimum value of the number of convex sub-regions into which the concave working region can be decomposed.
- 根据权利要求25所述的装置,其特征在于,所述第一预设切割规则用于基于经由所述凹型作业区域的凹顶点的切割线,将所述凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。26. The apparatus of claim 25, wherein the first preset cutting rule is used to cut the concave working area into a plurality of pieces each having a convex shape based on a cutting line passing through a concave vertex of the concave working area The convex subregion of the polygon's outer contour.
- 根据权利要求25所述的装置,其特征在于,所述凹型作业区域还包括障碍物区域,所述障碍物区域的多边形外轮廓作为所述凹型作业区域的多边形内轮廓。The device according to claim 25, wherein the concave working area further comprises an obstacle area, and the polygonal outer contour of the obstacle area serves as the polygonal inner contour of the concave working area.
- 根据权利要求28所述的装置,其特征在于,所述将所述可移动平台的凹型作业区域切割为多个凸型子区域包括:The device according to claim 28, wherein the cutting the concave working area of the movable platform into a plurality of convex sub-areas comprises:确定经由所述凹型作业区域外轮廓和所述多边形外轮廓的多个顶点各自的候选切割线,所述候选切割线的延伸方向是指定方向或者所述可移动平台的当前移动方向;determining the respective candidate cutting lines via the outer contour of the concave working area and a plurality of vertices of the polygon outer contour, and the extending direction of the candidate cutting lines is the designated direction or the current moving direction of the movable platform;基于第二预设切割规则和至少一个切割线将所述凹型作业区域外轮廓和所述多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域,至少一个所述切割 线是从所述候选切割线中确定的。Based on the second preset cutting rule and at least one cutting line, the area between the outer contour of the concave working area and the outer contour of the polygon is divided into a plurality of convex sub-areas each having a convex polygon outer contour, at least one of the Cut lines are determined from the candidate cut lines.
- 根据权利要求29所述的装置,其特征在于,所述凸型子区域的个数,是所述凹型作业区域外轮廓和所述多边形外轮廓之间的区域可分解成的凸多边形外轮廓的个数的最小值。The device according to claim 29, wherein the number of the convex sub-regions is the number of convex polygonal outer contours that can be decomposed into the outer contour of the concave working region and the region between the polygonal outer contour Minimum number of counts.
- 根据权利要求29所述的装置,其特征在于,所述第二预设切割规则用于基于经由所述凹型作业区域的凹顶点的第一候选切割线以及经由所述多边形外轮廓的各顶点的第二候选切割线,对所述凹型作业区域外轮廓和所述多边形外轮廓之间的区域分割成多个分别具有凸多边形外轮廓的凸型子区域。29. The apparatus of claim 29, wherein the second preset cutting rule is based on a first candidate cutting line passing through a concave vertex of the concave working area and a cutting line passing through each vertex of the polygonal outer contour. The second candidate cutting line divides the area between the outer contour of the concave working area and the outer contour of the polygon into a plurality of convex sub-areas each having an outer contour of a convex polygon.
- 根据权利要求24所述的装置,其特征在于,所述目标路径包括针对所述凸型子区域各自的切换路径,以使得可移动平台可基于所述切换路径移动至当前参考路径的相邻参考路径。25. The apparatus of claim 24, wherein the target path includes a switching path for each of the convex sub-regions, such that the movable platform can move to an adjacent reference of the current reference path based on the switching path path.
- 根据权利要求24所述的装置,其特征在于,所述连接每个凸型子区域对应的参考路径以生成所述可移动平台在所述作业区域作业时的目标路径包括:The device according to claim 24, wherein the connecting the reference paths corresponding to each convex sub-area to generate the target path of the movable platform when working in the working area comprises:生成针对每个凸型子区域各自的子目标路径;Generate respective sub-goal paths for each convex sub-region;连接每个凸型子区域各自的子目标路径以生成所述可移动平台在所述凹型作业区域的目标路径。The respective sub-target paths of each convex sub-area are connected to generate a target path of the movable platform in the concave working area.
- 根据权利要求33所述的装置,其特征在于,所述确定每个凸型子区域对应的所述可移动平台的参考路径包括:The apparatus according to claim 33, wherein the determining the reference path of the movable platform corresponding to each convex sub-region comprises:基于所述切割线的方向生成多条相互平行的参考路径,相邻的两条参考路径之间的距离与所述可移动平台的作业半径相关;Generate a plurality of reference paths parallel to each other based on the direction of the cutting line, and the distance between two adjacent reference paths is related to the working radius of the movable platform;利用各所述凸型子区域的外轮廓切割所述参考路径,以便生成针对各所述凸型子区域的参考路径,以便生成所述凸型子区域各自的子目标路径。The reference path is cut using the outer contour of each of the convex sub-regions, so as to generate a reference path for each of the convex sub-regions, so as to generate respective sub-target paths of the convex sub-regions.
- 根据权利要求34所述的装置,其特征在于,所述生成所述凸型子区域各自的子目标路径包括:The apparatus according to claim 34, wherein the generating the respective sub-target paths of the convex sub-regions comprises:生成针对各所述凸型子区域各自的外轮廓的转向路径;generating a turning path for the respective outer contour of each of the convex sub-regions;针对所述凸型子区域中的每一个,连接所述凸型子区域的参考路径和针对所述凸型子区域的外轮廓的转向路径,得到所述凸型子区域的子目标路径。For each of the convex sub-regions, the reference path of the convex sub-region and the turning path for the outer contour of the convex sub-region are connected to obtain a sub-target path of the convex sub-region.
- 根据权利要求33所述的装置,其特征在于,所述连接每个凸型子区域各自的子目标路径以生成所述可移动平台在所述凹型作业区域的目标路径包括:The apparatus according to claim 33, wherein the connecting the respective sub-target paths of each convex sub-area to generate the target path of the movable platform in the concave working area comprises:搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口,所述凸型子区域各自的入口或者出口位于所述凸型子区域的参考路径与所述凸型子区域的外轮廓的一个交点处;Search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region, where the respective entrance or exit of the convex sub-region is located between the reference path of the convex sub-region and the convex sub-region. An intersection of the outer contour of the sub-region;基于与所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口生成所述可移动平台在所述凹型作业区域的目标路径,使得所述目标路径最短。The target path of the movable platform in the concave working area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest.
- 根据权利要求33所述的装置,其特征在于,所述搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口包括:The device according to claim 33, wherein the searching for the connection mode of each convex sub-region and the respective inlet or outlet of each convex sub-region comprises:重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各所述凸型子区域各自的入口或者出口,使得在使用该连接方式下所述目标路径最短:Repeat the following operations until the candidate target paths under each connection mode are determined: for a connection mode, determine the respective entrance or exit of each of the convex sub-regions under the connection mode, so that the target path is the shortest under the connection mode :比对各连接方式下候选目标路径;Compare the candidate target paths under each connection mode;获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口。The connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrances or exits of the convex sub-regions are obtained.
- 根据权利要求37所述的装置,其特征在于,所述凹型作业区域还包括障碍物区域;The apparatus of claim 37, wherein the concave working area further comprises an obstacle area;在所述重复以下操作直至确定各连接方式下候选目标路径之后,所述计算机程序在被所述处理器执行时,还实现:After the following operations are repeated until the candidate target paths in each connection mode are determined, the computer program, when executed by the processor, further implements:基于所述连接方式和各所述凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径;Determine the connection path of the convex sub-region under each connection mode based on the connection mode and the respective inlet or outlet of each of the convex sub-regions;如果所述凸型子区域连接路径与所述障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。If the connection path of the convex sub-region overlaps the obstacle region, it is determined that the connection manner corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection manner.
- 根据权利要求24所述的装置,其特征在于,所述切割线的方向与指定方向之间存在夹角;The device according to claim 24, wherein there is an included angle between the direction of the cutting line and the specified direction;所述将所述可移动平台的凹型作业区域切割为多个凸型子区域包括:The cutting the concave working area of the movable platform into a plurality of convex sub-areas includes:基于所述夹角旋转所述凹型作业区域外轮廓所在的坐标系,使得所述坐标系的坐标轴与所述指定方向相一致或相垂直;Rotate the coordinate system where the outer contour of the concave working area is located based on the included angle, so that the coordinate axis of the coordinate system is consistent with or perpendicular to the specified direction;基于与所述指定方向相一致的切割线将所述凹型作业区域切割成多个分别具有凸多边形外轮廓的凸型子区域。The concave working area is cut into a plurality of convex sub-areas each having an outer contour of a convex polygon based on a cutting line consistent with the designated direction.
- 根据权利要求39所述的装置,其特征在于,在所述连接每个凸型子区域对应的参考路径以生成所述可移动平台在所述作业区域作业时的目标路径之后,所述计算机程序在被所述处理器执行时,还实现:39. The apparatus according to claim 39, wherein, after the connecting the reference paths corresponding to each convex sub-area to generate the target path of the movable platform when working in the work area, the computer program When executed by the processor, it also implements:基于所述夹角反向旋转所述凹型作业区域外轮廓所在的坐标系,得到所述可移动平台针对复原后的凹型作业区域的目标路径。Reversely rotate the coordinate system where the outer contour of the concave working area is located based on the included angle, so as to obtain the target path of the movable platform for the restored concave working area.
- 根据权利要求24所述的装置,其特征在于,所述凹型作业区域外轮廓和多边形外轮廓中至少一种是由用户输入的。25. The apparatus of claim 24, wherein at least one of the concave working area outer contour and the polygonal outer contour is input by a user.
- 一种路径规划装置,用于规划可移动平台的目标路径,其特征在于,所述装置包括:A path planning device for planning a target path of a movable platform, characterized in that the device includes:一个或多个处理器;one or more processors;计算机可读存储介质,用于存储一个或多个计算机程序,所述计算机程序在被所述处理器执行时,实现:A computer-readable storage medium for storing one or more computer programs that, when executed by the processor, implement:确定多个凸型子区域,以及多个所述凸型子区域各自的子目标路径;determining a plurality of convex sub-regions and respective sub-target paths of the plurality of convex sub-regions;连接每个凸型子区域各自的子目标路径以生成所述目标路径,使得所述目标路径最短。The respective sub-target paths of each convex sub-region are connected to generate the target paths such that the target paths are the shortest.
- 根据权利要求42所述的装置,其特征在于,所述连接每个凸型子区域各自的子目标路径以生成所述目标路径,使得所述目标路径最短,包括:The apparatus according to claim 42, wherein the connecting the respective sub-target paths of each convex sub-region to generate the target path, so that the target path is the shortest, comprises:搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口,所述凸型子区域各自的入口或者出口位于所述凸型子区域的参考路径与所述凸型子区域的外轮廓的一个交点处;Search for the connection mode of each convex sub-region and the respective entrance or exit of each convex sub-region, where the respective entrance or exit of the convex sub-region is located between the reference path of the convex sub-region and the convex sub-region. An intersection of the outer contour of the sub-region;基于与所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口生成所述可移动平台在凹型作业区域的目标路径,使得所述目标路径最短,所述凹型作业区域包括各所述凸型子区域。The target path of the movable platform in the concave work area is generated based on the connection with the convex sub-areas and the respective entrances or exits of the convex sub-areas, so that the target path is the shortest, and the concave work area Each of the convex sub-regions is included.
- 根据权利要求43所述的装置,其特征在于,所述搜索各所述凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口包括:The device according to claim 43, wherein the searching for the connection mode of each of the convex sub-regions and the respective entrances or exits of each of the convex sub-regions comprises:重复以下操作直至确定各连接方式下候选目标路径:针对一种连接方式,确定该连接方式下的各所述凸型子区域各自的入口或者出口,使得在使用该连接方式下所述目标路径最短;Repeat the following operations until the candidate target paths under each connection mode are determined: for a connection mode, determine the respective entrance or exit of each of the convex sub-regions under the connection mode, so that the target path is the shortest under the connection mode ;比对各连接方式下候选目标路径;Compare the candidate target paths under each connection mode;获取与路径长度最短的候选目标路径对应的凸型子区域的连接方式和各所述凸型子区域各自的入口或者出口。The connection mode of the convex sub-regions corresponding to the candidate target path with the shortest path length and the respective entrances or exits of the convex sub-regions are obtained.
- 根据权利要求44所述的装置,其特征在于,所述计算机程序在被所述处理器执行时,还实现:The apparatus of claim 44, wherein the computer program, when executed by the processor, further implements:确定多个障碍物区域;Identify multiple obstacle areas;在所述重复以下操作直至确定各连接方式下候选目标路径之后,基于所述连接方式和各所述凸型子区域各自的入口或者出口,确定各连接方式下的凸型子区域连接路径;After the following operations are repeated until the candidate target paths in each connection mode are determined, based on the connection mode and the respective entrance or exit of each of the convex sub-regions, the connection paths of the convex sub-regions in each connection mode are determined;如果所述凸型子区域连接路径与所述障碍物区域交叠,则确定与该凸型子区域连接路径对应的连接方式不安全,以去除不安全的连接方式。If the connection path of the convex sub-region overlaps the obstacle region, it is determined that the connection manner corresponding to the connection path of the convex sub-region is unsafe, so as to remove the unsafe connection manner.
- 根据权利要求42所述的装置,其特征在于,所述凸型子区域各自的子目标路径通过如下方式确定:The device according to claim 42, wherein the respective sub-target paths of the convex sub-regions are determined in the following manner:生成与指定方向或者所述可移动平台的当前移动方向相一致的多条参考路径,相邻的两条参考路径之间的距离与所述可移动平台的作业半径相关;generating a plurality of reference paths consistent with the specified direction or the current moving direction of the movable platform, and the distance between two adjacent reference paths is related to the working radius of the movable platform;利用各所述凸型子区域的外轮廓切割所述参考路径,生成所述可移动平台在各所述凸型子区域的参考路径,以便生成所述可移动平台在各所述凸型子区域各自的子目标路径。Cut the reference path by using the outer contour of each convex sub-region to generate a reference path of the movable platform in each convex sub-region, so as to generate the movable platform in each convex sub-region respective sub-target paths.
- 一种计算机可读存储介质,其特征在于,其存储有可执行指令,所述可执行指令在由一个或多个处理器执行时,可以使所述一个或多个处理器执行如权利要求1至18中任一项权利要求所述的方法,或者执行如权利要求19至23中任一项权利要求所述的方法。A computer-readable storage medium, characterized in that it stores executable instructions, and when executed by one or more processors, the executable instructions can cause the one or more processors to execute as claimed in claim 1 A method as claimed in any one of claims 19 to 18, or performing a method as claimed in any one of claims 19 to 23.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/089876 WO2022226720A1 (en) | 2021-04-26 | 2021-04-26 | Path planning method, path planning device, and medium |
CN202180094390.1A CN116868142A (en) | 2021-04-26 | 2021-04-26 | Path planning method, path planning device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/089876 WO2022226720A1 (en) | 2021-04-26 | 2021-04-26 | Path planning method, path planning device, and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022226720A1 true WO2022226720A1 (en) | 2022-11-03 |
Family
ID=83847586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/089876 WO2022226720A1 (en) | 2021-04-26 | 2021-04-26 | Path planning method, path planning device, and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116868142A (en) |
WO (1) | WO2022226720A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116889470A (en) * | 2023-08-11 | 2023-10-17 | 骨圣元化机器人(深圳)有限公司 | Osteotomy control system, osteotomy control method and osteotomy device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117102724B (en) * | 2023-10-25 | 2024-02-23 | 宁波经纬数控股份有限公司 | Multi-cutting-head cutting path control method and cutting equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9508263B1 (en) * | 2015-10-20 | 2016-11-29 | Skycatch, Inc. | Generating a mission plan for capturing aerial images with an unmanned aerial vehicle |
CN108919832A (en) * | 2018-07-23 | 2018-11-30 | 京东方科技集团股份有限公司 | Unmanned machine operation flight course planning method, unmanned plane application method and device |
CN108955695A (en) * | 2018-08-22 | 2018-12-07 | 洛阳中科龙网创新科技有限公司 | A kind of global path planning method for farmland robot |
CN111811529A (en) * | 2020-06-15 | 2020-10-23 | 中国人民解放军国防科技大学 | Multi-region vehicle-machine cooperative reconnaissance path planning method and system |
CN112161622A (en) * | 2020-08-28 | 2021-01-01 | 深圳市优必选科技股份有限公司 | Robot footprint planning method and device, readable storage medium and robot |
CN112313476A (en) * | 2019-11-05 | 2021-02-02 | 深圳市大疆创新科技有限公司 | Air route planning method and device for unmanned aerial vehicle |
-
2021
- 2021-04-26 CN CN202180094390.1A patent/CN116868142A/en active Pending
- 2021-04-26 WO PCT/CN2021/089876 patent/WO2022226720A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9508263B1 (en) * | 2015-10-20 | 2016-11-29 | Skycatch, Inc. | Generating a mission plan for capturing aerial images with an unmanned aerial vehicle |
CN108919832A (en) * | 2018-07-23 | 2018-11-30 | 京东方科技集团股份有限公司 | Unmanned machine operation flight course planning method, unmanned plane application method and device |
CN108955695A (en) * | 2018-08-22 | 2018-12-07 | 洛阳中科龙网创新科技有限公司 | A kind of global path planning method for farmland robot |
CN112313476A (en) * | 2019-11-05 | 2021-02-02 | 深圳市大疆创新科技有限公司 | Air route planning method and device for unmanned aerial vehicle |
CN111811529A (en) * | 2020-06-15 | 2020-10-23 | 中国人民解放军国防科技大学 | Multi-region vehicle-machine cooperative reconnaissance path planning method and system |
CN112161622A (en) * | 2020-08-28 | 2021-01-01 | 深圳市优必选科技股份有限公司 | Robot footprint planning method and device, readable storage medium and robot |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116889470A (en) * | 2023-08-11 | 2023-10-17 | 骨圣元化机器人(深圳)有限公司 | Osteotomy control system, osteotomy control method and osteotomy device |
Also Published As
Publication number | Publication date |
---|---|
CN116868142A (en) | 2023-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11932392B2 (en) | Systems and methods for adjusting UAV trajectory | |
US11361665B2 (en) | Unmanned aerial vehicle privacy controls | |
US10824170B2 (en) | Autonomous cargo delivery system | |
US20210358315A1 (en) | Unmanned aerial vehicle visual point cloud navigation | |
EP3885871B1 (en) | Surveying and mapping system, surveying and mapping method and apparatus, device and medium | |
US20200019189A1 (en) | Systems and methods for operating unmanned aerial vehicle | |
CN104854428B (en) | sensor fusion | |
US11644839B2 (en) | Systems and methods for generating a real-time map using a movable object | |
WO2022095060A1 (en) | Path planning method, path planning apparatus, path planning system, and medium | |
Recchiuto et al. | Post‐disaster assessment with unmanned aerial vehicles: A survey on practical implementations and research approaches | |
CN109472526A (en) | Autonomous package delivery system | |
WO2016033797A1 (en) | Multi-sensor environmental mapping | |
WO2022095067A1 (en) | Path planning method, path planning device, path planning system, and medium thereof | |
WO2022226720A1 (en) | Path planning method, path planning device, and medium | |
WO2017139282A1 (en) | Unmanned aerial vehicle privacy controls | |
Saska et al. | Formation control of unmanned micro aerial vehicles for straitened environments | |
US20210018938A1 (en) | Computation load distribution | |
US20200221056A1 (en) | Systems and methods for processing and displaying image data based on attitude information | |
US20220392353A1 (en) | Unmanned aerial vehicle privacy controls | |
CN112748743A (en) | Air vehicle navigation system | |
KR20210106422A (en) | Job control system, job control method, device and instrument | |
WO2021217346A1 (en) | Information processing method, information processing apparatus, and moveable device | |
JP2021036452A (en) | System and method for adjusting uav locus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21938211 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180094390.1 Country of ref document: CN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21938211 Country of ref document: EP Kind code of ref document: A1 |