WO2021088681A1 - Long-distance flight-tracking method and device for unmanned aerial vehicle, apparatus, and storage medium - Google Patents
Long-distance flight-tracking method and device for unmanned aerial vehicle, apparatus, and storage medium Download PDFInfo
- Publication number
- WO2021088681A1 WO2021088681A1 PCT/CN2020/124052 CN2020124052W WO2021088681A1 WO 2021088681 A1 WO2021088681 A1 WO 2021088681A1 CN 2020124052 W CN2020124052 W CN 2020124052W WO 2021088681 A1 WO2021088681 A1 WO 2021088681A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- current
- path
- waypoint
- uav
- flight
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 42
- 238000005070 sampling Methods 0.000 claims description 42
- 238000004590 computer program Methods 0.000 claims description 4
- 230000015654 memory Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
- 238000005507 spraying Methods 0.000 description 1
- 238000006467 substitution reaction 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
- G05D1/10—Simultaneous control of position or course in three dimensions
- G05D1/101—Simultaneous control of position or course in three dimensions specially adapted for aircraft
Definitions
- the embodiments of the present invention relate to the technical field of unmanned aerial vehicles, and in particular to an unmanned aerial vehicle long-distance tracking flight method, device, equipment and storage medium.
- a practical application of drones is to fly along a fixed trajectory.
- agricultural plant protection drones fly along a fixed trajectory to perform spraying tasks
- environmental detection drones fly along a fixed trajectory to inspect urban rivers.
- the executed trajectory is usually given by the user, or generated by other trajectory generation methods, such as identifying the river in the city through satellite images.
- the UAV flight planning system For the UAV flight planning system, a target location needs to be given. Due to the constraints of onboard computing performance, the planning system is all local planning, and long-distance global flight planning cannot be carried out. How to combine the ultra-long-distance preset trajectory and local flight motion planning so that the aircraft can fly according to the preset trajectory as a whole is a problem that needs to be solved.
- the embodiments of the present invention provide a long-distance tracking flight method, device, equipment, and storage medium of an unmanned aerial vehicle to combine the ultra-long-distance preset trajectory and local planning algorithm, so that the aircraft can fly according to the preset trajectory as a whole. Realize long-distance global flight planning.
- an embodiment of the present invention provides a long-distance tracking flight method for an unmanned aerial vehicle, the method including:
- the drone Based on the flight position information set of the drone in the historical time and the current flight position, combined with a preset local planning algorithm, the drone is generated to fly from the current flight position to the current target path point Local path;
- the local path is added to the last global path corresponding to the last moment, and the current global path corresponding to the current moment is obtained, so that the UAV can fly along the current global path.
- an embodiment of the present invention also provides a long-distance tracking flying device for a UAV, which includes:
- the information acquisition module is used to acquire the last target waypoint and the waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment;
- a target determination module configured to determine the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position
- the path generation module is used to generate the UAV to fly from the current flight position based on the flight position information set of the UAV in the historical time and the current flight position in combination with a preset local planning algorithm The local path of the current target path point;
- the path adding module is used to add the local path to the previous global path corresponding to the last moment to obtain the current global path corresponding to the current moment, so that the UAV can fly along the current global path .
- an embodiment of the present invention also provides an unmanned aerial vehicle, which includes:
- One or more processors are One or more processors;
- Storage device for storing one or more programs
- the one or more programs are executed by the one or more processors, so that the one or more processors implement the long-distance tracking flight method of an unmanned aerial vehicle as described in the first aspect of the embodiment of the present invention.
- an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the drone according to the first aspect of the embodiment of the present invention is implemented. Long-distance tracking flight method.
- the embodiment of the present invention determines the current target path point corresponding to the current time based on the current flight position corresponding to the current time of the drone, and combines the preset local planning algorithm to generate the drone to fly from the current flight position to the
- the local path of the current target path point finally makes the UAV fly to the end along the preset trajectory as a whole, effectively solving the problem of combining the local planning algorithm with the global path, and allowing the UAV to pass through the preset necessary points .
- FIG. 1 is a schematic flowchart of a long-distance tracking flying method for a UAV according to Embodiment 1 of the present invention
- FIG. 2 is a schematic flowchart of a long-distance tracking flight method for a UAV according to the second embodiment of the present invention
- Fig. 3 is an example flow chart of a method for long-distance tracking flight of a UAV according to the second embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a long-distance tracking flying device for a UAV according to the third embodiment of the present invention.
- Fig. 5 is a schematic structural diagram of an unmanned aerial vehicle according to the fourth embodiment of the present invention.
- Fig. 1 is a schematic flow chart of a long-distance tracking flight method for a UAV according to the first embodiment of the present invention.
- This embodiment may be suitable for combining a local planning algorithm with a global path to make the UAV follow a preset overall path.
- the method can be executed by the UAV long-distance tracking flying device, which can be implemented by software and/or hardware, and can be integrated in the UAV.
- the local planning algorithm can plan the flight trajectory or flight path of the UAV from the current flight position to the target position according to the set target position, and the flight trajectory or flight path can be composed of multiple continuous partial trajectories or partial paths. That is, it is achieved through multiple consecutive local motion planning or local path planning.
- the purpose of the embodiments of the present invention is to determine the unmanned person from the global path points corresponding to the previous time based on the current flight position of the UAV.
- the current target path point corresponding to the current time of the aircraft is selected, and the corresponding local planning algorithm is selected to generate a local path for the UAV to fly from the current flight position to the current target path point, thereby combining the local planning algorithm with the global path, and Continuously iterating the above process, so that the UAV can fly to the destination along the preset flight trajectory.
- the long-distance tracking flight method for drones provided in this embodiment specifically includes the following steps:
- the last target path point refers to the flight destination corresponding to the last time determined for the drone.
- the path point queue refers to a queue formed by the coordinates of each known path point in the global path from the global start point to the global end point corresponding to the UAV at the previous moment.
- the current flying position is the coordinates of the space position the drone is currently flying to.
- the current target path point refers to the flight destination corresponding to the current moment determined for the drone.
- the current target waypoint corresponding to the current moment is selected from the waypoint queue corresponding to the previous moment, and the last target waypoint corresponding to the previous moment is selected from the waypoint queue corresponding to the previous moment ,
- the path point queue corresponds to the path point coordinates in the global path, so the target path point corresponding to each moment is determined by continuous iteration until the determined target path point is the global path as the end point.
- the target waypoint corresponding to each moment is used as the flight destination of the drone at that moment. It must be the waypoint that the drone has not yet arrived at that moment and is expected to arrive.
- the drone is based on The pre-determined target waypoint corresponding to this moment performs local path planning, and flies to the target waypoint corresponding to this moment; because the method described in the embodiment of the present invention is from the current flight position of the drone to the current target waypoint Perform local path planning, which means that the UAV only planned the path before the last target waypoint at the last moment, so that the UAV can seamlessly connect the subsequent flight when it reaches the last target waypoint.
- the new target waypoint can be determined before the UAV flies to the last target waypoint.
- the new target waypoint is determined when the drone flies to the last target waypoint at a preset distance, that is, when the drone does not reach the preset distance, there is no need to determine The new target waypoint.
- the UAV's target waypoint is still the last target waypoint.
- the distance between the current flying position of the drone and the last target waypoint can be used, and a distance threshold can be set, when the distance is less than the distance threshold , That is, the new target waypoint located after the last target waypoint is determined from the waypoint queue corresponding to the last moment; otherwise, the last target waypoint is also used as the current target waypoint corresponding to the current moment.
- the flight position information set within the historical time can be understood as an information set composed of a continuous preset number of historical flight positions corresponding to the UAV before the current flight position.
- the local planning algorithm can be understood as a path planning algorithm for generating a flight path between two determined points.
- the local planning algorithm determines the flight path between two determined points by generating multiple continuous local paths.
- a preset local planning algorithm can be combined to perform at least one local path planning between the current flight position and the current target waypoint to generate the current The flight path from the flight position to the current target path point.
- the drone's local motion planning program will generate a new obstacle avoidance trajectory, but some scenes are very complicated, and the generated obstacle avoidance trajectory cannot guide the drone Surrounded by obstacles, it is necessary to start an additional global planner, and generate a temporary local path based on global information (that is, a map of obstacles in a certain area around the drone), so as to guide the aircraft out of obstacles .
- the state when the drone is trapped in an obstacle is determined to be the stagnant state, but it should be noted that the stagnant state of the drone does not mean that the speed of the drone is 0, because the aircraft can be in a certain state at this time.
- the first local planning algorithm corresponding to the non-stagnation state is selected to generate the drone to fly from the current flight position to the current
- the first local planning algorithm is a local motion planning algorithm
- the second local planning algorithm corresponding to the stagnant state is selected to generate all
- the UAV flies from the current flight position to the local flight path of the current target path point
- the second local planning algorithm is a local path planning algorithm, such as a graph search algorithm.
- the trajectory is the space position where the drone can actually fly out.
- the information of each point in the trajectory contains not only the spatial position information, but also the speed, acceleration and other information of the aircraft at that point.
- the path is the space position that the UAV ideally flies to, and each point in the path only contains the space position information.
- the local path generated by the local path planning this time may be only a part of the corresponding flight path from the current flight position to the current target path point. Subsequent need to repeat at least one step of determining the current target path point and local path planning to complete the remaining part of the path planning.
- the process of the method can make the UAV fly along the corresponding trajectory of the initial global path as a whole, thereby realizing the long-distance tracking flight of the UAV.
- the embodiment of the present invention determines the current target path point corresponding to the current time based on the current flight position corresponding to the current time of the drone, and combines the preset local planning algorithm to generate the drone to fly from the current flight position to the
- the local path of the current target path point finally makes the UAV fly to the end along the preset trajectory as a whole, effectively solving the problem of combining the local planning algorithm with the global path, and allowing the UAV to pass through the preset necessary points .
- the optimization of the first embodiment further includes:
- the initial path point queue is determined based on the initial global path.
- the initial global path may be understood as a preset flight trajectory that the drone is expected to complete.
- the initial global path includes the necessary points through which the drone is expected to fly.
- the determining the initial path point queue based on the initial global path includes:
- Point coordinates are stored in the first queue; based on a preset sampling step, equidistant sampling between adjacent sparse global path points corresponding to each of the key point coordinates in the first queue, to obtain the initial global path Sampling path points; acquiring the sampling point coordinates corresponding to each of the sampling path points, and together with each of the key point coordinates, according to the order in which each of the sparse global path points and the sampling path points are arranged in the initial global path Stored in the second queue; determining the second queue as the initial waypoint queue.
- the sparse global path points can be understood as critical path points sparsely distributed on the initial global path.
- the preset sampling step length is used to perform equidistant sampling between adjacent sparse global path points to obtain the dense path points of the initial global path; optionally, the preset sampling step length may be based on the distribution of the initial global path.
- the scene is determined. For scenes with dense obstacles, drones generally fly at low speeds, and the preset sampling step can be between 3 and 5 meters; for open scenes, such as farmland or grassland, the preset sampling step can be set to 10. Meter, the judgment of the scene can be set by the user before the drone starts flying.
- the method further includes:
- the partial path is sampled based on the preset sampling step length, and the corresponding sampling result is obtained; if the sampling result includes a new sampling path point other than the current target path point, each of the A new sampled waypoint is added to the waypoint queue to obtain a new waypoint queue.
- the partial path is generated, if the partial path is longer than the preset sampling step, then the partial path is sampled based on the preset sampling step to obtain a new sample A waypoint, the new sampling waypoint can be added to the waypoint queue to update the waypoint queue.
- the foregoing optional embodiment completes the initial determination process of the waypoint queue and the update process of the waypoint queue on the basis of the first embodiment.
- FIG. 2 is a schematic flowchart of a long-distance tracking flight method for an unmanned aerial vehicle according to the second embodiment of the present invention.
- This embodiment is further optimized on the basis of the first embodiment.
- the determination of the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position is embodied as: determining the distance between the current flight position and the previous target waypoint Corresponding first distance; when the first distance is less than a preset distance threshold, determine the next waypoint of the previous target waypoint in the waypoint queue as a candidate target waypoint, and determine the current The second distance corresponding to the flight position and the candidate target waypoint; acquiring the current local map corresponding to the UAV at the current moment, and determining that the candidate target waypoint is located in the obstacle of the current local map When the second distance is less than the radius of the current local map, the next waypoint of the candidate target waypoint is taken as the new candidate target waypoint, and the determination of the second distance is returned. Operation; otherwise, determine the candidate
- the local path to the current target waypoint is embodied as: obtaining a set of historical time corresponding to the continuous preset number of history of the drone before the current flight position from the flight position information of the drone in the historical time Flight position, and determine the centroid position corresponding to each of the historical flight positions; determine the theoretical flight distance corresponding to the drone in the historical time based on the preset cruise speed of the drone; determine the current flight The third distance corresponding to the position to the center of mass position, and the ratio of the third distance to the theoretical flight distance; if the ratio is less than the preset ratio threshold, it is determined that the current flight state of the drone is stagnant State; otherwise, it is determined that the current flight state of the UAV is a non-stagnation state; if the current flight state of the UAV is a non-stagnation state
- the long-distance tracking flight method for drones specifically includes the following steps:
- the first distance is the distance between the current flight position and the last target waypoint.
- the preset distance threshold may be 3m.
- S204 Determine a next waypoint of the previous target waypoint in the waypoint queue as a candidate target waypoint, and determine a second distance corresponding to the current flight position and the candidate target waypoint.
- the second distance is the distance between the current flight position and the candidate target waypoint.
- the current local map may be understood as a local map constructed by the UAV at the current moment with the current flight position of the UAV (that is, the UAV itself) as the center.
- the current local map includes coordinate information of the corresponding area, including coordinate information of obstacles.
- the waypoints after the last target waypoint can be selected in sequence from the waypoint queue as candidate target waypoints, and it is determined whether the determined candidate target waypoint can be used as the current target waypoint.
- the candidate target waypoint when determining whether the determined candidate target waypoint can be used as the current target waypoint, it can be first determined whether the candidate target waypoint is located within the obstacle range of the current local map. If it is, it cannot be The candidate target waypoint is determined as the current target waypoint, because the determined current target waypoint must avoid obstacles; in addition, it is necessary to determine the distance from the current flight position to the candidate target waypoint ( That is, whether the second distance) exceeds the radius of the current local map, if so, the candidate target waypoint cannot be determined as the current target waypoint. This is because once the second distance exceeds the radius , It means that the candidate target waypoint is outside the current local map range. At this time, the candidate target waypoint is uncontrollable. Therefore, whether the candidate target waypoint is located within the obstacle range of the current local map and the second distance is less than the radius of the current local map is used as whether the candidate target waypoint can be determined as the current target Judgement conditions for waypoints.
- the radius value may take a fixed empirical value, such as 10 m.
- S207 Use the next waypoint of the candidate target waypoint as a new candidate target waypoint, and return to S204 to perform an operation of determining the second distance.
- the mean coordinate point corresponding to each historical flight position is determined as the centroid position corresponding to each historical flight position.
- S211 Determine a theoretical flight distance corresponding to the UAV in the historical time based on the preset cruise speed of the UAV.
- the preset cruise speed may be understood as the desired cruise speed of the drone set by the user before the drone starts to fly.
- the theoretical flight distance may be determined by the product of the preset cruise speed and the historical time.
- the third distance is the distance from the current flying position to the center of mass position.
- the preset ratio threshold is set to 0.1.
- the ratio is less than the preset ratio threshold, it can be determined that the drone is in a stagnant state due to obstacles, otherwise, it can be determined that the drone is in a non-stagnant state.
- the flight position of the drone is recorded with the time interval T as the step length.
- the second local path is a local flight path corresponding to the UAV flying from the current flight position to the current target path point.
- the first local path is a local flight trajectory corresponding to the UAV flying from the current flight position to the current target path point.
- FIG. 3 shows an example flow chart of a method for long-distance tracking flight of an unmanned aerial vehicle according to the second embodiment of the present invention.
- the embodiment of the present invention determines the current target path point corresponding to the current time based on the current flight position corresponding to the current time of the drone, and combines the preset local planning algorithm to generate the drone to fly from the current flight position to the
- the local path of the current target path point finally makes the UAV fly to the end along the preset trajectory as a whole, effectively solving the problem of combining the local planning algorithm with the global path, and allowing the UAV to pass through the preset necessary points .
- Fig. 4 is a schematic flowchart of a long-distance tracking flying device for a UAV according to the third embodiment of the present invention.
- This embodiment can be adapted to combine a local planning algorithm with a global path to make the UAV follow a preset
- the device can be implemented by software and/or hardware.
- the device specifically includes: an information acquisition module 401, a target determination module 402, a path generation module 403, and a path addition module 404.
- the information acquisition module 401 is used to acquire the last target waypoint and the waypoint queue corresponding to the last time of the drone, and the current flight position corresponding to the current time;
- the target determination module 402 is configured to determine the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position;
- the path generation module 403 is configured to generate the UAV to fly from the current flight position based on the UAV’s flight position information set in the historical time and the current flight position in combination with a preset local planning algorithm. A local path to the current target path point;
- the path adding module 404 is configured to add the local path to the previous global path corresponding to the last moment to obtain the current global path corresponding to the current moment, so that the drone follows the current global path flight.
- the device further includes:
- the initial determination module is used to determine the initial path point queue based on the initial global path when the UAV starts to fly.
- the initial determination module includes:
- the first sorting unit is configured to obtain the coordinates of all sparse global path points in the initial global path, determine each of the coordinates as key point coordinates, and arrange the sparse global path points in the global path according to Sequentially store the coordinates of each of the key points in the first queue;
- the global sampling unit is configured to sample equidistantly between adjacent sparse global path points corresponding to each of the key point coordinates in the first queue based on a preset sampling step to obtain the sampling path of the initial global path point;
- the second sorting unit is used to obtain the sampling point coordinates corresponding to each of the sampling path points, and together with each of the key point coordinates, according to the sparse global path points and the sampling path points in the initial global path
- the arrangement sequence is sequentially stored in the second queue
- the queue determining unit is configured to determine the second queue as the initial waypoint queue.
- the target determination module 402 includes:
- a first distance determining unit configured to determine a first distance corresponding to the current flight position and the last target waypoint
- the first distance determining unit is configured to determine the next waypoint of the previous target waypoint in the waypoint queue as a candidate target waypoint when the first distance is less than a preset distance threshold, and determine all the waypoints The second distance corresponding to the current flight position and the candidate target waypoint;
- the first target determination unit is configured to obtain the current local map corresponding to the UAV at the current moment, and determine that the candidate target path point is located within the obstacle range of the current local map and the second When the distance is less than the radius of the current local map, the next waypoint of the candidate target waypoint is taken as the new candidate target waypoint, and the operation of determining the second distance is returned; otherwise, the candidate target The waypoint is determined as the current target waypoint corresponding to the current moment.
- the target determination module 402 further includes:
- the second target determination unit is configured to determine the last target waypoint as the current target waypoint corresponding to the current moment when the first distance is greater than or equal to the preset distance threshold.
- the path generation module 403 includes:
- the centroid determining unit is configured to obtain a set of historical flight positions corresponding to a continuous preset number of historical flight positions of the UAV before the current flight position from the flight position information of the UAV in the historical time, and determine each of the historical flight positions The position of the center of mass corresponding to the flight position;
- the theoretical distance determining unit is configured to determine the theoretical flight distance corresponding to the UAV in the historical time based on the preset cruising speed of the UAV;
- a ratio determining unit configured to determine a third distance corresponding to the current flying position to the center of mass position, and the ratio of the third distance to the theoretical flying distance
- the state determining unit is configured to determine that the current flight state of the drone is a stagnant state if the ratio is less than a preset proportion threshold; otherwise, determine that the current flight state of the drone is a non-stagnant state;
- the first path generation unit is configured to select the first local planning algorithm corresponding to the non-stagnation state if the current flight state of the UAV is in the non-stagnation state, and generate the UAV from the current flight position Fly to the first local path of the current target path point;
- the second path generating unit is configured to select the second local planning algorithm corresponding to the stagnant state if the current flight state of the drone is in the stagnant state, and generate the drone to fly from the current flight position The second local path of the current target path point.
- the device further includes:
- the local sampling unit is configured to sample the local path based on the preset sampling step after generating the local path of the UAV from the current flight position to the current target path point, and obtain Corresponding sampling results;
- the queue update unit is configured to, if the sampling result contains new sampling path points other than the current target path point, add each of the new sampling path points to the path point queue to obtain a new path Click the queue.
- the long-distance tracking flight device for drones provided by the embodiments of the present invention can execute the long-distance tracking flight method for drones provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
- FIG. 5 is a schematic structural diagram of an unmanned aerial vehicle provided by Embodiment 4 of the present invention.
- the unmanned aerial vehicle includes a processor 50, a memory 51, an input device 52, and an output device 53;
- the number of processors 50 can be one or more.
- one processor 50 is taken as an example; the processor 50, memory 51, input device 52 and output device 53 in the drone can be connected by a bus or other means ,
- Figure 5 takes the bus connection as an example.
- the memory 51 can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules (for example, no The information acquisition module 401, the target determination module 402, the path generation module 403, and the path addition module 404 in the human-machine long-distance tracking flight device).
- the processor 50 executes various functional applications and data processing of the UAV by running the software programs, instructions, and modules stored in the memory 51, that is, realizes the aforementioned UAV long-distance tracking flight method.
- the memory 51 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like.
- the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
- the memory 51 may further include memories remotely provided with respect to the processor 50, and these remote memories may be connected to the drone through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
- the input device 52 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the drone.
- the output device 53 may include a display device such as a display screen.
- the fifth embodiment of the present invention also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, are used to execute a long-distance tracking flight method of a UAV, the method including:
- the drone Based on the flight position information set of the drone in the historical time and the current flight position, combined with a preset local planning algorithm, the drone is generated to fly from the current flight position to the current target path point Local path;
- the local path is added to the last global path corresponding to the last moment, and the current global path corresponding to the current moment is obtained, so that the UAV can fly along the current global path.
- a storage medium containing computer-executable instructions provided by an embodiment of the present invention is not limited to the method operations described above, and can also execute the drone pilot provided by any embodiment of the present invention. Related operations in the distance tracking flight method.
- the present invention can be implemented by software and necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. .
- the technical solution of the present invention essentially or the part that contributes to the prior art can be embodied in the form of a software product.
- the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk.
- ROM Read-Only Memory
- RAM Random Access Memory
- FLASH Flash memory
- hard disk or optical disk etc., including several instructions to make a computer device (which can be a personal computer) , A server, or a network device, etc.) execute the method described in each embodiment of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Traffic Control Systems (AREA)
Abstract
A long-distance flight-tracking method and device for an unmanned aerial vehicle, an apparatus, and a storage medium. The method comprises: acquiring, with respect to an unmanned aerial vehicle, a previous target waypoint corresponding to a previous time point, a queue of waypoints, and a current flight position corresponding to a current time point (S101); determining, from the queue of waypoints, and on the basis of the current flight position, a current target waypoint corresponding to the current time point (S102); generating, on the basis of a flight position information set associated with the unmanned aerial vehicle within a historical period and the current flight position in combination with a preset local planning algorithm, a local path from the current flight position to the current target waypoint, along which the unmanned aerial vehicle will fly (S103); and adding the local path to a previous global path corresponding to the previous time point, and obtaining a current global path corresponding to the current time point, such that the unmanned aerial vehicle flies along the current global path (S104). The invention combines a local planning algorithm and a global path, such that an unmanned aerial vehicle substantially flies along a preset path.
Description
本申请要求于2019年11月08日提交中国专利局、申请号为201911087651.8、申请名称为“无人机长距离循迹飞行方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201911087651.8, and the application name is "UAV long-distance tracking flight method, device, equipment and storage medium" on November 8, 2019. The entire content is incorporated into this application by reference.
本发明实施例涉及无人机技术领域,尤其涉及一种无人机长距离循迹飞行方法、装置、设备及存储介质。The embodiments of the present invention relate to the technical field of unmanned aerial vehicles, and in particular to an unmanned aerial vehicle long-distance tracking flight method, device, equipment and storage medium.
无人机的一种实际应用是沿着一条固定的轨迹飞行,例如,农业植保无人机沿固定轨迹飞行执行喷药任务,以及环境检测无人机沿固定轨迹飞行巡检城市河道。执行的轨迹通常是由用户自己给出,或者通过其他轨迹生成方法生成,例如通过卫星图像识别出城市的河道。A practical application of drones is to fly along a fixed trajectory. For example, agricultural plant protection drones fly along a fixed trajectory to perform spraying tasks, and environmental detection drones fly along a fixed trajectory to inspect urban rivers. The executed trajectory is usually given by the user, or generated by other trajectory generation methods, such as identifying the river in the city through satellite images.
对于无人机飞行规划系统来说,需要给定一个目标位置,由于机载计算性能的约束,规划系统都是局部的规划,无法进行长距离的全局飞行规划。如何结合超长距离的预设轨迹,以及局部飞行运动规划,使得飞机整体上能够按照预设轨迹飞行,是一个需要解决的问题。For the UAV flight planning system, a target location needs to be given. Due to the constraints of onboard computing performance, the planning system is all local planning, and long-distance global flight planning cannot be carried out. How to combine the ultra-long-distance preset trajectory and local flight motion planning so that the aircraft can fly according to the preset trajectory as a whole is a problem that needs to be solved.
发明内容Summary of the invention
本发明实施例提供一种无人机长距离循迹飞行方法、装置、设备及存储介质,以结合超长距离的预设轨迹,以及局部规划算法,使得飞机整体上能够按 照预设轨迹飞行,实现长距离的全局飞行规划。The embodiments of the present invention provide a long-distance tracking flight method, device, equipment, and storage medium of an unmanned aerial vehicle to combine the ultra-long-distance preset trajectory and local planning algorithm, so that the aircraft can fly according to the preset trajectory as a whole. Realize long-distance global flight planning.
第一方面,本发明实施例提供了一种无人机长距离循迹飞行方法,该方法包括:In the first aspect, an embodiment of the present invention provides a long-distance tracking flight method for an unmanned aerial vehicle, the method including:
获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置;Get the last target waypoint and waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment;
基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点;Determining the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position;
基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径;Based on the flight position information set of the drone in the historical time and the current flight position, combined with a preset local planning algorithm, the drone is generated to fly from the current flight position to the current target path point Local path;
将所述局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。The local path is added to the last global path corresponding to the last moment, and the current global path corresponding to the current moment is obtained, so that the UAV can fly along the current global path.
第二方面,本发明实施例还提供了一种无人机长距离循迹飞行装置,该装置包括:In the second aspect, an embodiment of the present invention also provides a long-distance tracking flying device for a UAV, which includes:
信息获取模块,用于获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置;The information acquisition module is used to acquire the last target waypoint and the waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment;
目标确定模块,用于基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点;A target determination module, configured to determine the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position;
路径生成模块,用于基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径;The path generation module is used to generate the UAV to fly from the current flight position based on the flight position information set of the UAV in the historical time and the current flight position in combination with a preset local planning algorithm The local path of the current target path point;
路径添加模块,用于将所述局部路径添加至所述上一时刻对应的上一全局 路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。The path adding module is used to add the local path to the previous global path corresponding to the last moment to obtain the current global path corresponding to the current moment, so that the UAV can fly along the current global path .
第三方面,本发明实施例还提供了一种无人机,该无人机包括:In a third aspect, an embodiment of the present invention also provides an unmanned aerial vehicle, which includes:
一个或多个处理器;One or more processors;
存储装置,用于存储一个或多个程序;Storage device for storing one or more programs;
所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明实施例第一方面所述的无人机长距离循迹飞行方法。The one or more programs are executed by the one or more processors, so that the one or more processors implement the long-distance tracking flight method of an unmanned aerial vehicle as described in the first aspect of the embodiment of the present invention.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如本发明实施例第一方面所述的无人机长距离循迹飞行方法。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the drone according to the first aspect of the embodiment of the present invention is implemented. Long-distance tracking flight method.
本发明实施例基于无人机当前时刻对应的当前飞行位置确定当前时刻对应的当前目标路径点,并结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径,最终使无人机整体上沿着预设轨迹飞行至终点,有效解决了局部规划算法与全局路径结合的问题,并可使无人机经过预设的必经点。The embodiment of the present invention determines the current target path point corresponding to the current time based on the current flight position corresponding to the current time of the drone, and combines the preset local planning algorithm to generate the drone to fly from the current flight position to the The local path of the current target path point finally makes the UAV fly to the end along the preset trajectory as a whole, effectively solving the problem of combining the local planning algorithm with the global path, and allowing the UAV to pass through the preset necessary points .
图1是本发明实施例一提供的一种无人机长距离循迹飞行方法的流程示意图;FIG. 1 is a schematic flowchart of a long-distance tracking flying method for a UAV according to Embodiment 1 of the present invention;
图2是本发明实施例二提供的一种无人机长距离循迹飞行方法的流程示意图;2 is a schematic flowchart of a long-distance tracking flight method for a UAV according to the second embodiment of the present invention;
图3是本发明实施例二提供的一种无人机长距离循迹飞行方法的流程示例 图;Fig. 3 is an example flow chart of a method for long-distance tracking flight of a UAV according to the second embodiment of the present invention;
图4是本发明实施例三提供的一种无人机长距离循迹飞行装置的结构示意图;4 is a schematic structural diagram of a long-distance tracking flying device for a UAV according to the third embodiment of the present invention;
图5是本发明实施例四提供的一种无人机的结构示意图。Fig. 5 is a schematic structural diagram of an unmanned aerial vehicle according to the fourth embodiment of the present invention.
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。此外,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present invention instead of all of the structure.
实施例一Example one
图1为本发明实施例一提供的一种无人机长距离循迹飞行方法的流程示意图,本实施例可适用于将局部规划算法与全局路径结合,使无人机整体上沿着预设轨迹飞行至终点的情况,该方法可以由无人机长距离循迹飞行装置来执行,该装置可以通过软件和/或硬件的方式实现,并可集成在无人机中。Fig. 1 is a schematic flow chart of a long-distance tracking flight method for a UAV according to the first embodiment of the present invention. This embodiment may be suitable for combining a local planning algorithm with a global path to make the UAV follow a preset overall path. In the case of the trajectory flying to the end point, the method can be executed by the UAV long-distance tracking flying device, which can be implemented by software and/or hardware, and can be integrated in the UAV.
可以理解的是,对于长距离的飞行轨迹规划,当预设路径点达到一定规模时,现有的飞行规划算法将无法通过将所有预设路径点作为约束条件,以生成一条完整飞行轨迹的方式,来实现无人机的长距离循迹飞行。局部规划算法可以根据设定的目标位置,规划出无人机由当前飞行位置到目标位置的飞行轨迹或飞行路径,并且所述飞行轨迹或飞行路径可以由连续的多条局部轨迹或局部路径组合而成,也即通过连续多次局部运动规划或局部路径规划来实现,本发 明实施例的目的即在于,基于无人机的当前飞行位置,从上一时刻对应的全局路径点中确定无人机当前时刻对应的当前目标路径点,并选择相应的局部规划算法,生成无人机由当前飞行位置飞向当前目标路径点的局部路径,由此将局部规划算法与全局路径相结合,并可不断迭代上述过程,使无人机整体上能够沿着预设的飞行轨迹飞抵终点。It is understandable that for long-distance flight trajectory planning, when the preset waypoints reach a certain scale, the existing flight planning algorithm will not be able to generate a complete flight trajectory by taking all preset waypoints as constraints. , To realize the long-distance tracking flight of the UAV. The local planning algorithm can plan the flight trajectory or flight path of the UAV from the current flight position to the target position according to the set target position, and the flight trajectory or flight path can be composed of multiple continuous partial trajectories or partial paths. That is, it is achieved through multiple consecutive local motion planning or local path planning. The purpose of the embodiments of the present invention is to determine the unmanned person from the global path points corresponding to the previous time based on the current flight position of the UAV. The current target path point corresponding to the current time of the aircraft is selected, and the corresponding local planning algorithm is selected to generate a local path for the UAV to fly from the current flight position to the current target path point, thereby combining the local planning algorithm with the global path, and Continuously iterating the above process, so that the UAV can fly to the destination along the preset flight trajectory.
如图1所示,本实施例提供的无人机长距离循迹飞行方法,具体包括如下步骤:As shown in Fig. 1, the long-distance tracking flight method for drones provided in this embodiment specifically includes the following steps:
S101、获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置。S101. Obtain the last target waypoint and the waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment.
其中,所述上一目标路径点是指为无人机确定的对应上一时刻的飞行目的地。所述路径点队列是指由无人机在上一时刻对应的从全局起点到全局终点的全局路径中各已知路径点的坐标形成的队列。所述当前飞行位置即无人机当前所飞抵空间位置的坐标。Wherein, the last target path point refers to the flight destination corresponding to the last time determined for the drone. The path point queue refers to a queue formed by the coordinates of each known path point in the global path from the global start point to the global end point corresponding to the UAV at the previous moment. The current flying position is the coordinates of the space position the drone is currently flying to.
S102、基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点。S102. Determine a current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position.
其中,所述当前目标路径点是指为无人机确定的对应当前时刻的飞行目的地。Wherein, the current target path point refers to the flight destination corresponding to the current moment determined for the drone.
可以理解的是,当前时刻对应的当前目标路径点是从上一时刻对应的路径点队列中选出来的,上一时刻对应的上一目标路径点是从上上一时刻对应的路径点队列中选出来的,而所述路径点队列对应的是全局路径中的路径点坐标,由此通过不断迭代确定每个时刻对应的目标路径点,直至所确定的目标路径点为全局路径为终点。每个时刻对应的目标路径点作为该时刻无人机的飞行目的 地,一定是无人机在该时刻还未飞抵且是期望飞抵的路径点,即每个时刻无人机都是根据预先确定好的该时刻对应的目标路径点进行局部路径规划,并飞向该时刻对应的目标路径点;由于本发明实施例所述的方法是从无人机的当前飞行位置到当前目标路径点进行局部路径规划,也就是说无人机在上一时刻只对上一目标路径点之前的路径进行了规划,为了使无人机在飞抵上一目标路径点时可以无缝衔接后续的飞行任务,可以在无人机飞抵上一目标路径点之前就确定好新的目标路径点。可选地,在无人机飞抵上一目标路径点之前预设距离处时,对新的目标路径点进行确定,也就是说在无人机未到达所述预设距离处时,无需确定新的目标路径点,此时,无人机的目标路径点还是上一目标路径点。可选地,对当前时刻对应的当前目标路径点的确定,可以无人机的当前飞行位置与上一目标路径点之间的距离,并设置距离阈值,当所述距离小于所述距离阈值时,即从上一时刻对应的路径点队列中确定位于上一目标路径点之后的新的目标路径点;否则,还将上一目标路径点作为当前时刻对应的当前目标路径点。It is understandable that the current target waypoint corresponding to the current moment is selected from the waypoint queue corresponding to the previous moment, and the last target waypoint corresponding to the previous moment is selected from the waypoint queue corresponding to the previous moment , And the path point queue corresponds to the path point coordinates in the global path, so the target path point corresponding to each moment is determined by continuous iteration until the determined target path point is the global path as the end point. The target waypoint corresponding to each moment is used as the flight destination of the drone at that moment. It must be the waypoint that the drone has not yet arrived at that moment and is expected to arrive. That is, the drone is based on The pre-determined target waypoint corresponding to this moment performs local path planning, and flies to the target waypoint corresponding to this moment; because the method described in the embodiment of the present invention is from the current flight position of the drone to the current target waypoint Perform local path planning, which means that the UAV only planned the path before the last target waypoint at the last moment, so that the UAV can seamlessly connect the subsequent flight when it reaches the last target waypoint. For missions, the new target waypoint can be determined before the UAV flies to the last target waypoint. Optionally, the new target waypoint is determined when the drone flies to the last target waypoint at a preset distance, that is, when the drone does not reach the preset distance, there is no need to determine The new target waypoint. At this time, the UAV's target waypoint is still the last target waypoint. Optionally, to determine the current target waypoint corresponding to the current moment, the distance between the current flying position of the drone and the last target waypoint can be used, and a distance threshold can be set, when the distance is less than the distance threshold , That is, the new target waypoint located after the last target waypoint is determined from the waypoint queue corresponding to the last moment; otherwise, the last target waypoint is also used as the current target waypoint corresponding to the current moment.
S103、基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径。S103. Based on the flight position information set of the drone in the historical time and the current flight position, combined with a preset local planning algorithm, generate the drone to fly from the current flight position to the current target The local path of the waypoint.
其中,所述历史时间内的飞行位置信息集可以理解为由所述无人机在所述当前飞行位置之前对应连续预设数量的历史飞行位置组成的信息集。所述局部规划算法可以理解为用于生成两确定点间的飞行路径的路径规划算法,可选地,所述局部规划算法通过生成多条连续局部路径确定两确定点间的飞行路径。Wherein, the flight position information set within the historical time can be understood as an information set composed of a continuous preset number of historical flight positions corresponding to the UAV before the current flight position. The local planning algorithm can be understood as a path planning algorithm for generating a flight path between two determined points. Optionally, the local planning algorithm determines the flight path between two determined points by generating multiple continuous local paths.
可以理解的是,在确定当前时刻对应的当前目标路径点之后,可以结合预 设的局部规划算法在所述当前飞行位置与当前目标路径点之间进行至少一次局部路径规划,以生成所述当前飞行位置到所述当前按目标路径点间的飞行路径。It is understandable that after the current target waypoint corresponding to the current moment is determined, a preset local planning algorithm can be combined to perform at least one local path planning between the current flight position and the current target waypoint to generate the current The flight path from the flight position to the current target path point.
在无人机循迹飞行的过程中,如果遇到障碍物,无人机的局部运动规划程序会生成新的避障轨迹,但有些场景十分复杂,生成的避障轨迹无法将无人机引导出障碍物的包围,此时就需要判断启动额外的全局规划器,基于全局信息(即无人机感知到的周围一定区域内障碍物地图)生成一个临时的局部路径,从而引导飞机出障碍物。将无人机被困于障碍物时的状态确定为停滞状态,但需要说明的是,无人机的停滞状态并不意味着无人机的速度为0,因为此时飞机可以是在某个空间范围内进行不规则运动,也就是在各个方向上进行尝试,但却一直无法继续向下一个路径点行进。因此,在进行局部路径规划时,需要对无人机的当前飞行状态进行判定,以确定无人机的当前飞行状态为停滞状态还是非停滞状态。During the drone's tracking flight, if an obstacle is encountered, the drone's local motion planning program will generate a new obstacle avoidance trajectory, but some scenes are very complicated, and the generated obstacle avoidance trajectory cannot guide the drone Surrounded by obstacles, it is necessary to start an additional global planner, and generate a temporary local path based on global information (that is, a map of obstacles in a certain area around the drone), so as to guide the aircraft out of obstacles . The state when the drone is trapped in an obstacle is determined to be the stagnant state, but it should be noted that the stagnant state of the drone does not mean that the speed of the drone is 0, because the aircraft can be in a certain state at this time. Irregular movement within the space, that is, trying in all directions, but it has been unable to continue to the next waypoint. Therefore, when performing local path planning, it is necessary to determine the current flight state of the UAV to determine whether the current flight state of the UAV is a stagnant state or a non-stagnation state.
可选地,在无人机的当前飞行状态为非停滞状态时,选择与所述非停滞状态对应的第一局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部飞行轨迹,所述第一局部规划算法为局部运动规划算法;在无人机的当前飞行状态为停滞状态时,选择与所述停滞状态对应的第二局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部飞行路径,所述第二局部规划算法为局部路径规划算法,如图搜索(graph search)算法。Optionally, when the current flight state of the drone is a non-stagnation state, the first local planning algorithm corresponding to the non-stagnation state is selected to generate the drone to fly from the current flight position to the current For the local flight trajectory of the target path point, the first local planning algorithm is a local motion planning algorithm; when the current flight state of the UAV is the stagnant state, the second local planning algorithm corresponding to the stagnant state is selected to generate all The UAV flies from the current flight position to the local flight path of the current target path point, and the second local planning algorithm is a local path planning algorithm, such as a graph search algorithm.
可以理解的是,轨迹和路径的区别在于,轨迹是无人机可以真实飞出来的空间位置,轨迹中每个点的信息除了包含空间位置信息,还包含飞机在该点的速度、加速度等信息;而路径是无人机理想飞行到的空间位置,路径中的每个 点只包含空间位置信息。It is understandable that the difference between the trajectory and the path is that the trajectory is the space position where the drone can actually fly out. The information of each point in the trajectory contains not only the spatial position information, but also the speed, acceleration and other information of the aircraft at that point. ; And the path is the space position that the UAV ideally flies to, and each point in the path only contains the space position information.
需要说明的是,对当前时刻来说,本步骤只进行一次局部路径规划,这一次局部路径规划生成的局部路径可能只是所述当前飞行位置到所述当前目标路径点间对应飞行路径的一部分,后续需要重复至少一次上述当前目标路径点的确定及局部路径规划步骤以完成剩余部分路径规划。It should be noted that for the current moment, only one local path planning is performed in this step. The local path generated by the local path planning this time may be only a part of the corresponding flight path from the current flight position to the current target path point. Subsequent need to repeat at least one step of determining the current target path point and local path planning to complete the remaining part of the path planning.
S104、将所述局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。S104. Add the local path to the last global path corresponding to the last moment, and obtain the current global path corresponding to the current moment, so that the UAV can fly along the current global path.
可以理解的是,通过将生成的局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,实现了全局路径的更新,而通过迭代本发明实施例的方法流程,可以使无人机整体上沿着初始的全局路径对应轨迹进行飞行,从而实现了无人机的长距离循迹飞行。It can be understood that by adding the generated local path to the previous global path corresponding to the last moment, the current global path corresponding to the current moment is obtained, thereby realizing the update of the global path, and by iterating the embodiments of the present invention The process of the method can make the UAV fly along the corresponding trajectory of the initial global path as a whole, thereby realizing the long-distance tracking flight of the UAV.
本发明实施例基于无人机当前时刻对应的当前飞行位置确定当前时刻对应的当前目标路径点,并结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径,最终使无人机整体上沿着预设轨迹飞行至终点,有效解决了局部规划算法与全局路径结合的问题,并可使无人机经过预设的必经点。The embodiment of the present invention determines the current target path point corresponding to the current time based on the current flight position corresponding to the current time of the drone, and combines the preset local planning algorithm to generate the drone to fly from the current flight position to the The local path of the current target path point finally makes the UAV fly to the end along the preset trajectory as a whole, effectively solving the problem of combining the local planning algorithm with the global path, and allowing the UAV to pass through the preset necessary points .
进一步地,作为本实施例一的一个可选实施例,本实施例一还优化包括了:Further, as an optional embodiment of the first embodiment, the optimization of the first embodiment further includes:
在所述无人机启动飞行时,基于初始全局路径确定初始的路径点队列。When the UAV starts to fly, the initial path point queue is determined based on the initial global path.
其中,所述初始全局路径可以理解为期望无人机完成的预设飞行轨迹,可选地,所述初始全局路径中包含了期望无人机飞抵的必经点。Wherein, the initial global path may be understood as a preset flight trajectory that the drone is expected to complete. Optionally, the initial global path includes the necessary points through which the drone is expected to fly.
可选地,所述基于初始全局路径确定初始的路径点队列,包括:Optionally, the determining the initial path point queue based on the initial global path includes:
获取所述初始全局路径中所有稀疏全局路径点的坐标,将各所述坐标确定 为关键点坐标,并按照各所述稀疏全局路径点在所述全局路径中的排列顺序依次将各所述关键点坐标存入第一队列;基于预设采样步长,在与所述第一队列中各所述关键点坐标对应的各相邻稀疏全局路径点间等距采样,得到所述初始全局路径的采样路径点;获取各所述采样路径点对应的采样点坐标,并与各所述关键点坐标一起,按各所述稀疏全局路径点及采样路径点在所述初始全局路径中的排列顺序依次存入第二队列;将所述第二队列确定为初始的路径点队列。Obtain the coordinates of all the sparse global path points in the initial global path, determine each of the coordinates as key point coordinates, and sequentially arrange the key points according to the order of the sparse global path points in the global path. Point coordinates are stored in the first queue; based on a preset sampling step, equidistant sampling between adjacent sparse global path points corresponding to each of the key point coordinates in the first queue, to obtain the initial global path Sampling path points; acquiring the sampling point coordinates corresponding to each of the sampling path points, and together with each of the key point coordinates, according to the order in which each of the sparse global path points and the sampling path points are arranged in the initial global path Stored in the second queue; determining the second queue as the initial waypoint queue.
其中,所述稀疏全局路径点可以理解为所述初始全局路径上稀疏分布的关键路径点。所述预设采样步长用于在相邻稀疏全局路径点间进行等距采样,以得到初始全局路径的密集路径点;可选地,所述预设采样步长可依据初始全局路径的分布场景确定,对于障碍物密集场景,无人机一般以低速飞行,预设采样步长可以在3到5米间取值;对于空旷场景,例如农田或者草原,预设采样步长可以取为10米,对于场景的判定可由用户在无人机启动飞行前设定。Wherein, the sparse global path points can be understood as critical path points sparsely distributed on the initial global path. The preset sampling step length is used to perform equidistant sampling between adjacent sparse global path points to obtain the dense path points of the initial global path; optionally, the preset sampling step length may be based on the distribution of the initial global path The scene is determined. For scenes with dense obstacles, drones generally fly at low speeds, and the preset sampling step can be between 3 and 5 meters; for open scenes, such as farmland or grassland, the preset sampling step can be set to 10. Meter, the judgment of the scene can be set by the user before the drone starts flying.
相应地,在生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径之后,还包括:Correspondingly, after generating the local path of the UAV from the current flight position to the current target path point, the method further includes:
基于所述预设采样步长对所述局部路径进行采样,并获取对应的采样结果;若所述采样结果中包含除所述当前目标路径点外的新的采样路径点,则将各所述新的采样路径点添加至所述路径点队列,得到新的路径点队列。The partial path is sampled based on the preset sampling step length, and the corresponding sampling result is obtained; if the sampling result includes a new sampling path point other than the current target path point, each of the A new sampled waypoint is added to the waypoint queue to obtain a new waypoint queue.
可以理解的是,在生成局部路径之后,若所述局部路径相对于所述预设采样步长较长,则基于所述预设采样步长对所述局部路径进行采样,可以得到新的采样路径点,可将所述新的采样路径点添加至所述路径点队列,以更新所述路径点队列。It is understandable that after the partial path is generated, if the partial path is longer than the preset sampling step, then the partial path is sampled based on the preset sampling step to obtain a new sample A waypoint, the new sampling waypoint can be added to the waypoint queue to update the waypoint queue.
上述可选实施例在实施例一的基础上完善了初始的路径点队列的确定过程, 以及对路径点队列的更新过程。The foregoing optional embodiment completes the initial determination process of the waypoint queue and the update process of the waypoint queue on the basis of the first embodiment.
实施例二Example two
图2是本发明实施例二提供的一种无人机长距离循迹飞行方法的流程示意图,本实施例在实施例一的基础上进一步优化。本实施例将所述基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点,具体化为:确定所述当前飞行位置与所述上一目标路径点间对应的第一距离;当所述第一距离小于预设距离阈值时,将所述路径点队列中所述上一目标路径点的下一个路径点确定为候选目标路径点,并确定所述当前飞行位置与所述候选目标路径点间对应的第二距离;获取所述无人机在所述当前时刻对应的当前局部地图,并在确定所述候选目标路径点位于所述当前局部地图的障碍物范围内且所述第二距离小于所述当前局部地图的半径时,将所述候选目标路径点的下一个路径点作为新的候选目标路径点,并返回执行对所述第二距离的确定操作;否则,将所述候选目标路径点确定为所述当前时刻对应的当前目标路径点。当所述第一距离大于或等于所述预设距离阈值时,将所述上一目标路径点确定为所述当前时刻对应的当前目标路径点。FIG. 2 is a schematic flowchart of a long-distance tracking flight method for an unmanned aerial vehicle according to the second embodiment of the present invention. This embodiment is further optimized on the basis of the first embodiment. In this embodiment, the determination of the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position is embodied as: determining the distance between the current flight position and the previous target waypoint Corresponding first distance; when the first distance is less than a preset distance threshold, determine the next waypoint of the previous target waypoint in the waypoint queue as a candidate target waypoint, and determine the current The second distance corresponding to the flight position and the candidate target waypoint; acquiring the current local map corresponding to the UAV at the current moment, and determining that the candidate target waypoint is located in the obstacle of the current local map When the second distance is less than the radius of the current local map, the next waypoint of the candidate target waypoint is taken as the new candidate target waypoint, and the determination of the second distance is returned. Operation; otherwise, determine the candidate target waypoint as the current target waypoint corresponding to the current moment. When the first distance is greater than or equal to the preset distance threshold, the last target waypoint is determined as the current target waypoint corresponding to the current moment.
本实施例还将所述基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径,具体化为:从所述无人机在历史时间内的飞行位置信息集中获取所述无人机在所述当前飞行位置之前对应连续预设数量的历史飞行位置,并确定各所述历史飞行位置对应的质心位置;基于所述无人机的预设巡航速度确定所述无人机在所述历史时间内对应的理论飞行距离; 确定所述当前飞行位置到所述质心位置对应的第三距离,以及所述第三距离与所述理论飞行距离的比值;若所述比值小于预设比例阈值,则确定所述无人机的当前飞行状态为停滞状态;否则,确定所述无人机的当前飞行状态为非停滞状态;若所述无人机的当前飞行状态为非停滞状态,则选择所述非停滞状态对应的第一局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的第一局部路径;若所述无人机的当前飞行状态为停滞状态,则选择所述停滞状态对应的第二局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的第二局部路径。In this embodiment, based on the flight position information set of the UAV in the historical time and the current flight position, combined with a preset local planning algorithm, it is also generated to fly the UAV from the current flight position. The local path to the current target waypoint is embodied as: obtaining a set of historical time corresponding to the continuous preset number of history of the drone before the current flight position from the flight position information of the drone in the historical time Flight position, and determine the centroid position corresponding to each of the historical flight positions; determine the theoretical flight distance corresponding to the drone in the historical time based on the preset cruise speed of the drone; determine the current flight The third distance corresponding to the position to the center of mass position, and the ratio of the third distance to the theoretical flight distance; if the ratio is less than the preset ratio threshold, it is determined that the current flight state of the drone is stagnant State; otherwise, it is determined that the current flight state of the UAV is a non-stagnation state; if the current flight state of the UAV is a non-stagnation state, select the first local planning algorithm corresponding to the non-stagnation state to generate The drone flies from the current flight position to the first partial path of the current target path point; if the current flight state of the drone is the stagnant state, the second partial path corresponding to the stagnant state is selected A planning algorithm generates a second local path for the UAV to fly from the current flight position to the current target path point.
如图2所示,本实施例提供的无人机长距离循迹飞行方法,具体包括如下步骤:As shown in FIG. 2, the long-distance tracking flight method for drones provided in this embodiment specifically includes the following steps:
S201、获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置。S201. Obtain the last target waypoint and the waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment.
S202、确定所述当前飞行位置与所述上一目标路径点间对应的第一距离。S202. Determine a first distance corresponding to the current flight position and the last target waypoint.
其中,所述第一距离即所述当前飞行位置与所述上一目标路径点间的距离。Wherein, the first distance is the distance between the current flight position and the last target waypoint.
S203、判断所述第一距离是否小于预设距离阈值;若是,则执行S204;否则,执行S209。S203. Determine whether the first distance is less than a preset distance threshold; if so, perform S204; otherwise, perform S209.
可选地,所述预设距离阈值可以取为3m。Optionally, the preset distance threshold may be 3m.
S204、将所述路径点队列中所述上一目标路径点的下一个路径点确定为候选目标路径点,并确定所述当前飞行位置与所述候选目标路径点间对应的第二距离。S204: Determine a next waypoint of the previous target waypoint in the waypoint queue as a candidate target waypoint, and determine a second distance corresponding to the current flight position and the candidate target waypoint.
其中,所述第二距离即所述当前飞行位置与所述候选目标路径点间的距离。Wherein, the second distance is the distance between the current flight position and the candidate target waypoint.
S205、获取所述无人机在所述当前时刻对应的当前局部地图。S205. Obtain a current local map corresponding to the UAV at the current moment.
其中,所述当前局部地图可以理解为所述无人机在当前时刻以所述无人机的当前飞行位置(即所述无人机本身)为中心而构建的局部地图。可选地,所述当前局部地图包含对应区域的坐标信息,包括障碍物的坐标信息。Wherein, the current local map may be understood as a local map constructed by the UAV at the current moment with the current flight position of the UAV (that is, the UAV itself) as the center. Optionally, the current local map includes coordinate information of the corresponding area, including coordinate information of obstacles.
可以理解的是,当所述第一距离小于所述预设距离阈值时,需要确定新的目标路径点作为当前目标路径点。此时,可从所述路径点队列中依次选择所述上一目标路径点之后的路径点作为候选目标路径点,并判定所确定的候选目标路径点是否可以作为当前目标路径点。It can be understood that when the first distance is less than the preset distance threshold, a new target waypoint needs to be determined as the current target waypoint. At this time, the waypoints after the last target waypoint can be selected in sequence from the waypoint queue as candidate target waypoints, and it is determined whether the determined candidate target waypoint can be used as the current target waypoint.
S206、确定是否所述候选目标路径点位于所述当前局部地图的障碍物范围内且所述第二距离小于所述当前局部地图的半径;若是,则执行S207;否则,执行S208。S206. Determine whether the candidate target waypoint is located within the obstacle range of the current local map and the second distance is less than the radius of the current local map; if yes, execute S207; otherwise, execute S208.
可以理解的是,在判定所确定的候选目标路径点是否可以作为当前目标路径点时,可以先确定所述候选目标路径点是否位于所述当前局部地图的障碍物范围内,如果是,则不能将所述候选目标路径点确定为当前目标路径点,因为所确定的当前目标路径点是一定要避开障碍物的;此外还需要判断所述当前飞行位置到所述候选目标路径点的距离(即第二距离)是否超出了所述当前局部地图的半径,如果是,则同样不能将所述候选目标路径点确定为当前目标路径点,这是因为,一旦所述第二距离超出所述半径,则意味着所述候选目标路径点在所述当前局部地图范围之外,此时,所述候选目标路径点是不可控的。因此,将是否所述候选目标路径点位于所述当前局部地图的障碍物范围内且所述第二距离小于所述当前局部地图的半径,作为是否可以将所述候选目标路径点确定为当前目标路径点的判定条件。It is understandable that when determining whether the determined candidate target waypoint can be used as the current target waypoint, it can be first determined whether the candidate target waypoint is located within the obstacle range of the current local map. If it is, it cannot be The candidate target waypoint is determined as the current target waypoint, because the determined current target waypoint must avoid obstacles; in addition, it is necessary to determine the distance from the current flight position to the candidate target waypoint ( That is, whether the second distance) exceeds the radius of the current local map, if so, the candidate target waypoint cannot be determined as the current target waypoint. This is because once the second distance exceeds the radius , It means that the candidate target waypoint is outside the current local map range. At this time, the candidate target waypoint is uncontrollable. Therefore, whether the candidate target waypoint is located within the obstacle range of the current local map and the second distance is less than the radius of the current local map is used as whether the candidate target waypoint can be determined as the current target Judgement conditions for waypoints.
可选地,所述半径值可以取一个固定的经验值,例如10m。Optionally, the radius value may take a fixed empirical value, such as 10 m.
S207、将所述候选目标路径点的下一个路径点作为新的候选目标路径点,并返回S204,执行对所述第二距离的确定操作。S207: Use the next waypoint of the candidate target waypoint as a new candidate target waypoint, and return to S204 to perform an operation of determining the second distance.
S208、将所述候选目标路径点确定为所述当前时刻对应的当前目标路径点。S208. Determine the candidate target waypoint as the current target waypoint corresponding to the current moment.
S209、将所述上一目标路径点确定为所述当前时刻对应的当前目标路径点。S209. Determine the last target waypoint as the current target waypoint corresponding to the current moment.
S210、从所述无人机在历史时间内的飞行位置信息集中获取所述无人机在所述当前飞行位置之前对应连续预设数量的历史飞行位置,并确定各所述历史飞行位置对应的质心位置。S210. Obtain a continuous preset number of historical flight positions corresponding to the current flight position of the UAV from the flight position information of the UAV in the historical time, and determine the corresponding historical flight position of each of the historical flight positions. The position of the center of mass.
可选地,将各所述历史飞行位置对应的均值坐标点确定为各所述历史飞行位置对应的质心位置。Optionally, the mean coordinate point corresponding to each historical flight position is determined as the centroid position corresponding to each historical flight position.
S211、基于所述无人机的预设巡航速度确定所述无人机在所述历史时间内对应的理论飞行距离。S211: Determine a theoretical flight distance corresponding to the UAV in the historical time based on the preset cruise speed of the UAV.
其中,所述预设巡航速度可以理解为在无人机启动飞行之前,由用户设定的期望的无人机的巡航速度。所述理论飞行距离,可以由所述预设巡航速度与所述历史时间的乘积确定。Wherein, the preset cruise speed may be understood as the desired cruise speed of the drone set by the user before the drone starts to fly. The theoretical flight distance may be determined by the product of the preset cruise speed and the historical time.
S212、确定所述当前飞行位置到所述质心位置对应的第三距离,以及所述第三距离与所述理论飞行距离的比值。S212. Determine a third distance corresponding to the current flying position to the center of mass position, and a ratio of the third distance to the theoretical flying distance.
其中,所述第三距离即所述当前飞行位置到所述质心位置的距离。Wherein, the third distance is the distance from the current flying position to the center of mass position.
S213、判断所述比值是否小于预设比例阈值,若是,则执行S214;否则,执行S216。S213. Determine whether the ratio is less than a preset ratio threshold, and if so, execute S214; otherwise, execute S216.
可选地,所述预设比例阈值设为0.1。Optionally, the preset ratio threshold is set to 0.1.
可以理解的是,当所述比值小于所述预设比例阈值时,可以认定所述无人机因遇障碍物受阻而处于停滞状态,否则,可以认定所述无人机处于非停滞状 态。It is understandable that when the ratio is less than the preset ratio threshold, it can be determined that the drone is in a stagnant state due to obstacles, otherwise, it can be determined that the drone is in a non-stagnant state.
示例性的,以时间间隔T为步长,对无人机的飞行位置进行记录。例如,T取1时,即每隔1s记录一次无人机的飞行位置;将最后N个步长得到的飞行位置(即所述预设数量的历史飞行位置)存储在一个缓冲区内,对于缓冲区中所有飞行位置点,计算均值点
作为质心C;计算当前飞行位置P与质心C的距离d;计算在时间N*T内无人机飞过理论飞行距离D=V*N*T,其中速度V是无人机的期望巡航速度,一般也由用户预先给出;计算比例p=d/D,如果p<0.1则认为无人机处于停滞状态;否则为非停滞状态。
Exemplarily, the flight position of the drone is recorded with the time interval T as the step length. For example, when T is 1, the flight position of the drone is recorded every 1s; the flight position obtained by the last N steps (that is, the preset number of historical flight positions) is stored in a buffer, for Calculate the mean point for all flight position points in the buffer As the center of mass C; calculate the distance d between the current flight position P and the center of mass C; calculate the theoretical flight distance D=V*N*T the UAV flies in the time N*T, where the speed V is the expected cruise speed of the UAV , Generally also given by the user in advance; the calculation ratio p=d/D, if p<0.1, the UAV is considered to be in a stagnant state; otherwise, it is in a non-stable state.
S214、确定所述无人机的当前飞行状态为停滞状态,并执行S215。S214: Determine that the current flight state of the drone is a stagnant state, and execute S215.
S215、选择所述停滞状态对应的第二局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的第二局部路径,并执行S218。S215. Select a second local planning algorithm corresponding to the stagnant state, generate a second local path for the drone to fly from the current flight position to the current target path point, and execute S218.
其中,所述第二局部路径为对应所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部飞行路径。Wherein, the second local path is a local flight path corresponding to the UAV flying from the current flight position to the current target path point.
S216、确定所述无人机的当前飞行状态为非停滞状态。S216. Determine that the current flight state of the drone is a non-stalled state.
S217、选择所述非停滞状态对应的第一局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的第一局部路径,并执行S218。S217. Select the first local planning algorithm corresponding to the non-stagnation state, generate a first local path for the UAV to fly from the current flight position to the current target path point, and execute S218.
其中,所述第一局部路径为对应所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部飞行轨迹。Wherein, the first local path is a local flight trajectory corresponding to the UAV flying from the current flight position to the current target path point.
S218、将所述局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。S218. Add the local path to the last global path corresponding to the last moment, and obtain the current global path corresponding to the current moment, so that the UAV can fly along the current global path.
示例性的,图3给出了本发明实施例二提供的一种无人机长距离循迹飞行方法的流程示例图。Exemplarily, FIG. 3 shows an example flow chart of a method for long-distance tracking flight of an unmanned aerial vehicle according to the second embodiment of the present invention.
本发明实施例基于无人机当前时刻对应的当前飞行位置确定当前时刻对应的当前目标路径点,并结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径,最终使无人机整体上沿着预设轨迹飞行至终点,有效解决了局部规划算法与全局路径结合的问题,并可使无人机经过预设的必经点。The embodiment of the present invention determines the current target path point corresponding to the current time based on the current flight position corresponding to the current time of the drone, and combines the preset local planning algorithm to generate the drone to fly from the current flight position to the The local path of the current target path point finally makes the UAV fly to the end along the preset trajectory as a whole, effectively solving the problem of combining the local planning algorithm with the global path, and allowing the UAV to pass through the preset necessary points .
实施例三Example three
图4是本发明实施例三提供的一种无人机长距离循迹飞行装置的流程示意图,本实施例可适用于将局部规划算法与全局路径结合,使无人机整体上沿着预设轨迹飞行至终点的情况,该装置可以通过软件和/或硬件的方式实现,该装置具体包括:信息获取模块401、目标确定模块402、路径生成模块403以及路径添加模块404。Fig. 4 is a schematic flowchart of a long-distance tracking flying device for a UAV according to the third embodiment of the present invention. This embodiment can be adapted to combine a local planning algorithm with a global path to make the UAV follow a preset In the case of the trajectory flying to the end point, the device can be implemented by software and/or hardware. The device specifically includes: an information acquisition module 401, a target determination module 402, a path generation module 403, and a path addition module 404.
信息获取模块401,用于获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置;The information acquisition module 401 is used to acquire the last target waypoint and the waypoint queue corresponding to the last time of the drone, and the current flight position corresponding to the current time;
目标确定模块402,用于基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点;The target determination module 402 is configured to determine the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position;
路径生成模块403,用于基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径;The path generation module 403 is configured to generate the UAV to fly from the current flight position based on the UAV’s flight position information set in the historical time and the current flight position in combination with a preset local planning algorithm. A local path to the current target path point;
路径添加模块404,用于将所述局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。The path adding module 404 is configured to add the local path to the previous global path corresponding to the last moment to obtain the current global path corresponding to the current moment, so that the drone follows the current global path flight.
在上述实施例的基础上,所述装置,还包括:On the basis of the foregoing embodiment, the device further includes:
初始确定模块,用于在所述无人机启动飞行时,基于初始全局路径确定初始的路径点队列。The initial determination module is used to determine the initial path point queue based on the initial global path when the UAV starts to fly.
在上述实施例的基础上,所述初始确定模块,包括:On the basis of the foregoing embodiment, the initial determination module includes:
第一排序单元,用于获取所述初始全局路径中所有稀疏全局路径点的坐标,将各所述坐标确定为关键点坐标,并按照各所述稀疏全局路径点在所述全局路径中的排列顺序依次将各所述关键点坐标存入第一队列;The first sorting unit is configured to obtain the coordinates of all sparse global path points in the initial global path, determine each of the coordinates as key point coordinates, and arrange the sparse global path points in the global path according to Sequentially store the coordinates of each of the key points in the first queue;
全局采样单元,用于基于预设采样步长,在与所述第一队列中各所述关键点坐标对应的各相邻稀疏全局路径点间等距采样,得到所述初始全局路径的采样路径点;The global sampling unit is configured to sample equidistantly between adjacent sparse global path points corresponding to each of the key point coordinates in the first queue based on a preset sampling step to obtain the sampling path of the initial global path point;
第二排序单元,用于获取各所述采样路径点对应的采样点坐标,并与各所述关键点坐标一起,按各所述稀疏全局路径点及采样路径点在所述初始全局路径中的排列顺序依次存入第二队列;The second sorting unit is used to obtain the sampling point coordinates corresponding to each of the sampling path points, and together with each of the key point coordinates, according to the sparse global path points and the sampling path points in the initial global path The arrangement sequence is sequentially stored in the second queue;
队列确定单元,用于将所述第二队列确定为初始的路径点队列。The queue determining unit is configured to determine the second queue as the initial waypoint queue.
在上述实施例的基础上,目标确定模块402,包括:On the basis of the foregoing embodiment, the target determination module 402 includes:
第一距离确定单元,用于确定所述当前飞行位置与所述上一目标路径点间对应的第一距离;A first distance determining unit, configured to determine a first distance corresponding to the current flight position and the last target waypoint;
第一距离确定单元,用于当所述第一距离小于预设距离阈值时,将所述路径点队列中所述上一目标路径点的下一个路径点确定为候选目标路径点,并确定所述当前飞行位置与所述候选目标路径点间对应的第二距离;The first distance determining unit is configured to determine the next waypoint of the previous target waypoint in the waypoint queue as a candidate target waypoint when the first distance is less than a preset distance threshold, and determine all the waypoints The second distance corresponding to the current flight position and the candidate target waypoint;
第一目标确定单元,用于获取所述无人机在所述当前时刻对应的当前局部地图,并在确定所述候选目标路径点位于所述当前局部地图的障碍物范围内且 所述第二距离小于所述当前局部地图的半径时,将所述候选目标路径点的下一个路径点作为新的候选目标路径点,并返回执行对所述第二距离的确定操作;否则将所述候选目标路径点确定为所述当前时刻对应的当前目标路径点。The first target determination unit is configured to obtain the current local map corresponding to the UAV at the current moment, and determine that the candidate target path point is located within the obstacle range of the current local map and the second When the distance is less than the radius of the current local map, the next waypoint of the candidate target waypoint is taken as the new candidate target waypoint, and the operation of determining the second distance is returned; otherwise, the candidate target The waypoint is determined as the current target waypoint corresponding to the current moment.
在上述实施例的基础上,目标确定模块402,还包括:On the basis of the foregoing embodiment, the target determination module 402 further includes:
第二目标确定单元,用于当所述第一距离大于或等于所述预设距离阈值时,将所述上一目标路径点确定为所述当前时刻对应的当前目标路径点。The second target determination unit is configured to determine the last target waypoint as the current target waypoint corresponding to the current moment when the first distance is greater than or equal to the preset distance threshold.
在上述实施例的基础上,路径生成模块403,包括:On the basis of the foregoing embodiment, the path generation module 403 includes:
质心确定单元,用于从所述无人机在历史时间内的飞行位置信息集中获取所述无人机在所述当前飞行位置之前对应连续预设数量的历史飞行位置,并确定各所述历史飞行位置对应的质心位置;The centroid determining unit is configured to obtain a set of historical flight positions corresponding to a continuous preset number of historical flight positions of the UAV before the current flight position from the flight position information of the UAV in the historical time, and determine each of the historical flight positions The position of the center of mass corresponding to the flight position;
理论距离确定单元,用于基于所述无人机的预设巡航速度确定所述无人机在所述历史时间内对应的理论飞行距离;The theoretical distance determining unit is configured to determine the theoretical flight distance corresponding to the UAV in the historical time based on the preset cruising speed of the UAV;
比值确定单元,用于确定所述当前飞行位置到所述质心位置对应的第三距离,以及所述第三距离与所述理论飞行距离的比值;A ratio determining unit, configured to determine a third distance corresponding to the current flying position to the center of mass position, and the ratio of the third distance to the theoretical flying distance;
状态确定单元,用于若所述比值小于预设比例阈值,则确定所述无人机的当前飞行状态为停滞状态;否则,确定所述无人机的当前飞行状态为非停滞状态;The state determining unit is configured to determine that the current flight state of the drone is a stagnant state if the ratio is less than a preset proportion threshold; otherwise, determine that the current flight state of the drone is a non-stagnant state;
第一路径生成单元,用于若所述无人机的当前飞行状态为非停滞状态,则选择所述非停滞状态对应的第一局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的第一局部路径;The first path generation unit is configured to select the first local planning algorithm corresponding to the non-stagnation state if the current flight state of the UAV is in the non-stagnation state, and generate the UAV from the current flight position Fly to the first local path of the current target path point;
第二路径生成单元,用于若所述无人机的当前飞行状态为停滞状态,则选择所述停滞状态对应的第二局部规划算法,生成所述无人机由所述当前飞行位 置飞向所述当前目标路径点的第二局部路径。The second path generating unit is configured to select the second local planning algorithm corresponding to the stagnant state if the current flight state of the drone is in the stagnant state, and generate the drone to fly from the current flight position The second local path of the current target path point.
在上述实施例的基础上,所述装置,还包括:On the basis of the foregoing embodiment, the device further includes:
局部采样单元,用于在生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径之后,基于所述预设采样步长对所述局部路径进行采样,并获取对应的采样结果;The local sampling unit is configured to sample the local path based on the preset sampling step after generating the local path of the UAV from the current flight position to the current target path point, and obtain Corresponding sampling results;
队列更新单元,用于若所述采样结果中包含除所述当前目标路径点外的新的采样路径点,则将各所述新的采样路径点添加至所述路径点队列,得到新的路径点队列。The queue update unit is configured to, if the sampling result contains new sampling path points other than the current target path point, add each of the new sampling path points to the path point queue to obtain a new path Click the queue.
本发明实施例所提供的无人机长距离循迹飞行装置可执行本发明任一实施例所提供的无人机长距离循迹飞行方法,具备执行方法相应的功能模块和有益效果。The long-distance tracking flight device for drones provided by the embodiments of the present invention can execute the long-distance tracking flight method for drones provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
实施例四Example four
图5为本发明实施例四提供的一种无人机的结构示意图,如图5所示,该无人机包括处理器50、存储器51、输入装置52和输出装置53;该无人机中处理器50的数量可以是一个或多个,图5中以一个处理器50为例;该无人机中的处理器50、存储器51、输入装置52和输出装置53可以通过总线或其他方式连接,图5中以通过总线连接为例。FIG. 5 is a schematic structural diagram of an unmanned aerial vehicle provided by Embodiment 4 of the present invention. As shown in FIG. 5, the unmanned aerial vehicle includes a processor 50, a memory 51, an input device 52, and an output device 53; The number of processors 50 can be one or more. In Figure 5, one processor 50 is taken as an example; the processor 50, memory 51, input device 52 and output device 53 in the drone can be connected by a bus or other means , Figure 5 takes the bus connection as an example.
存储器51作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的无人机长距离循迹飞行方法对应的程序指令/模块(例如,无人机长距离循迹飞行装置中的信息获取模块401、目标确定模块402、路径生成模块403以及路径添加模块404)。处理器50通过运行 存储在存储器51中的软件程序、指令以及模块,从而执行该无人机的各种功能应用以及数据处理,即实现上述的无人机长距离循迹飞行方法。As a computer-readable storage medium, the memory 51 can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules (for example, no The information acquisition module 401, the target determination module 402, the path generation module 403, and the path addition module 404 in the human-machine long-distance tracking flight device). The processor 50 executes various functional applications and data processing of the UAV by running the software programs, instructions, and modules stored in the memory 51, that is, realizes the aforementioned UAV long-distance tracking flight method.
存储器51可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器51可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器51可进一步包括相对于处理器50远程设置的存储器,这些远程存储器可以通过网络连接至该无人机。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 51 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like. In addition, the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 51 may further include memories remotely provided with respect to the processor 50, and these remote memories may be connected to the drone through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置52可用于接收输入的数字或字符信息,以及产生与该无人机的用户设置以及功能控制有关的键信号输入。输出装置53可包括显示屏等显示设备。The input device 52 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the drone. The output device 53 may include a display device such as a display screen.
实施例五Example five
本发明实施例五还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种无人机长距离循迹飞行方法,该方法包括:The fifth embodiment of the present invention also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, are used to execute a long-distance tracking flight method of a UAV, the method including:
获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置;Get the last target waypoint and waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment;
基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点;Determining the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position;
基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目 标路径点的局部路径;Based on the flight position information set of the drone in the historical time and the current flight position, combined with a preset local planning algorithm, the drone is generated to fly from the current flight position to the current target path point Local path;
将所述局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。The local path is added to the last global path corresponding to the last moment, and the current global path corresponding to the current moment is obtained, so that the UAV can fly along the current global path.
当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本发明任一实施例所提供的无人机长距离循迹飞行方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by an embodiment of the present invention is not limited to the method operations described above, and can also execute the drone pilot provided by any embodiment of the present invention. Related operations in the distance tracking flight method.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by software and necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. . Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk. , Read-Only Memory (ROM), Random Access Memory (RAM), Flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer) , A server, or a network device, etc.) execute the method described in each embodiment of the present invention.
值得注意的是,上述无人机长距离循迹飞行装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above embodiments of the UAV long-distance tracking flight device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized That is, in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present invention.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽 然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of the present invention and the applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made to those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope of is determined by the scope of the appended claims.
Claims (10)
- 一种无人机长距离循迹飞行方法,其特征在于,包括:A long-distance tracking flight method of an unmanned aerial vehicle, which is characterized in that it includes:获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置;Get the last target waypoint and waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment;基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点;Determining the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position;基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径;Based on the flight position information set of the drone in the historical time and the current flight position, combined with a preset local planning algorithm, the drone is generated to fly from the current flight position to the current target path point Local path;将所述局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。The local path is added to the last global path corresponding to the last moment, and the current global path corresponding to the current moment is obtained, so that the UAV can fly along the current global path.
- 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:在所述无人机启动飞行时,基于初始全局路径确定初始的路径点队列。When the UAV starts to fly, the initial path point queue is determined based on the initial global path.
- 根据权利要求2所述的方法,其特征在于,所述基于初始全局路径确定初始的路径点队列,包括:The method according to claim 2, wherein the determining the initial path point queue based on the initial global path comprises:获取所述初始全局路径中所有稀疏全局路径点的坐标,将各所述坐标确定为关键点坐标,并按照各所述稀疏全局路径点在所述全局路径中的排列顺序依次将各所述关键点坐标存入第一队列;Obtain the coordinates of all the sparse global path points in the initial global path, determine each of the coordinates as key point coordinates, and sequentially arrange the key points according to the order of the sparse global path points in the global path. The point coordinates are stored in the first queue;基于预设采样步长,在与所述第一队列中各所述关键点坐标对应的各相邻稀疏全局路径点间等距采样,得到所述初始全局路径的采样路径点;Based on a preset sampling step size, equidistant sampling between adjacent sparse global path points corresponding to each of the key point coordinates in the first queue to obtain the sampling path points of the initial global path;获取各所述采样路径点对应的采样点坐标,并与各所述关键点坐标一起,按各所述稀疏全局路径点及采样路径点在所述初始全局路径中的排列顺序依次存入第二队列;Obtain the sampling point coordinates corresponding to each of the sampling path points, and together with the key point coordinates, store them in the second order in the order of the sparse global path points and the sampling path points in the initial global path. queue;将所述第二队列确定为初始的路径点队列。The second queue is determined as the initial waypoint queue.
- 根据权利要求1所述的方法,其特征在于,所述基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点,包括:The method according to claim 1, wherein the determining the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position comprises:确定所述当前飞行位置与所述上一目标路径点间对应的第一距离;Determine the first distance corresponding to the current flight position and the last target waypoint;当所述第一距离小于预设距离阈值时,将所述路径点队列中所述上一目标路径点的下一个路径点确定为候选目标路径点,并确定所述当前飞行位置与所述候选目标路径点间对应的第二距离;When the first distance is less than a preset distance threshold, determine the next waypoint of the previous target waypoint in the waypoint queue as a candidate target waypoint, and determine the current flight position and the candidate The corresponding second distance between the target path points;获取所述无人机在所述当前时刻对应的当前局部地图,并在确定所述候选目标路径点位于所述当前局部地图的障碍物范围内且所述第二距离小于所述当前局部地图的半径时,将所述候选目标路径点的下一个路径点作为新的候选目标路径点,并返回执行对所述第二距离的确定操作;否则,Acquire the current local map corresponding to the UAV at the current moment, and determine that the candidate target path point is located within the obstacle range of the current local map and the second distance is less than the current local map When the radius is larger, take the next waypoint of the candidate target waypoint as the new candidate target waypoint, and return to perform the operation of determining the second distance; otherwise,将所述候选目标路径点确定为所述当前时刻对应的当前目标路径点。The candidate target waypoint is determined as the current target waypoint corresponding to the current moment.
- 根据权利要求4所述的方法,其特征在于,当所述第一距离大于或等于所述预设距离阈值时,还包括:The method according to claim 4, wherein when the first distance is greater than or equal to the preset distance threshold, the method further comprises:将所述上一目标路径点确定为所述当前时刻对应的当前目标路径点。The last target waypoint is determined as the current target waypoint corresponding to the current moment.
- 根据权利要求1所述的方法,其特征在于,所述基于所述无人机在历史时间内的飞行位置信息集及所述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径,包括:The method according to claim 1, wherein the unmanned aircraft is generated based on the flight position information set of the UAV in the historical time and the current flight position in combination with a preset local planning algorithm. The local path of the aircraft from the current flight position to the current target waypoint includes:从所述无人机在历史时间内的飞行位置信息集中获取所述无人机在所述当前飞行位置之前对应连续预设数量的历史飞行位置,并确定各所述历史飞行位置对应的质心位置;From the flight position information of the UAV in the historical time, the historical flight positions corresponding to the continuous preset number of the UAV before the current flight position are collectively acquired, and the centroid position corresponding to each historical flight position is determined ;基于所述无人机的预设巡航速度确定所述无人机在所述历史时间内对应的 理论飞行距离;Determining the corresponding theoretical flight distance of the drone within the historical time based on the preset cruising speed of the drone;确定所述当前飞行位置到所述质心位置对应的第三距离,以及所述第三距离与所述理论飞行距离的比值;Determining a third distance corresponding to the current flying position to the center of mass position, and the ratio of the third distance to the theoretical flying distance;若所述比值小于预设比例阈值,则确定所述无人机的当前飞行状态为停滞状态;否则,确定所述无人机的当前飞行状态为非停滞状态;If the ratio is less than the preset ratio threshold, it is determined that the current flight state of the UAV is a stagnant state; otherwise, it is determined that the current flight state of the UAV is a non-stalled state;若所述无人机的当前飞行状态为非停滞状态,则选择所述非停滞状态对应的第一局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的第一局部路径;If the current flight state of the drone is a non-stagnation state, select the first local planning algorithm corresponding to the non-stagnation state, and generate the drone to fly from the current flight position to the current target path point The first partial path;若所述无人机的当前飞行状态为停滞状态,则选择所述停滞状态对应的第二局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的第二局部路径。If the current flight state of the drone is the stagnant state, the second local planning algorithm corresponding to the stagnant state is selected to generate the first flight of the drone from the current flight position to the current target path point Two local paths.
- 根据权利要求3所述的方法,其特征在于,在生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径之后,还包括:The method according to claim 3, characterized in that, after generating the local path of the UAV from the current flight position to the current target path point, the method further comprises:基于所述预设采样步长对所述局部路径进行采样,并获取对应的采样结果;Sampling the local path based on the preset sampling step, and obtaining a corresponding sampling result;若所述采样结果中包含除所述当前目标路径点外的新的采样路径点,则将各所述新的采样路径点添加至所述路径点队列,得到新的路径点队列。If the sampling result includes new sampling path points other than the current target path point, each of the new sampling path points is added to the path point queue to obtain a new path point queue.
- 一种无人机长距离循迹飞行装置,其特征在于,包括:A long-distance tracking flight device for UAV, which is characterized in that it comprises:信息获取模块,用于获取无人机在上一时刻对应的上一目标路径点和路径点队列,以及在当前时刻对应的当前飞行位置;The information acquisition module is used to acquire the last target waypoint and the waypoint queue corresponding to the UAV at the last moment, and the current flight position corresponding to the current moment;目标确定模块,用于基于所述当前飞行位置从所述路径点队列中确定所述当前时刻对应的当前目标路径点;A target determination module, configured to determine the current target waypoint corresponding to the current moment from the waypoint queue based on the current flight position;路径生成模块,用于基于所述无人机在历史时间内的飞行位置信息集及所 述当前飞行位置,结合预设的局部规划算法,生成所述无人机由所述当前飞行位置飞向所述当前目标路径点的局部路径;The path generation module is used to generate the UAV to fly from the current flight position based on the flight position information set of the UAV in the historical time and the current flight position in combination with a preset local planning algorithm The local path of the current target path point;路径添加模块,用于将所述局部路径添加至所述上一时刻对应的上一全局路径,得到所述当前时刻对应的当前全局路径,以使所述无人机沿所述当前全局路径飞行。The path adding module is used to add the local path to the previous global path corresponding to the last moment to obtain the current global path corresponding to the current moment, so that the UAV can fly along the current global path .
- 一种无人机,其特征在于,包括:An unmanned aerial vehicle, characterized in that it includes:一个或多个处理器;One or more processors;存储装置,用于存储一个或多个程序;Storage device for storing one or more programs;所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7任一项所述的无人机长距离循迹飞行方法。The one or more programs are executed by the one or more processors, so that the one or more processors implement the long-distance tracking flight method of an unmanned aerial vehicle according to any one of claims 1-7.
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-7任一项所述的无人机长距离循迹飞行方法。A computer-readable storage medium with a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for long-distance tracking flight of a drone according to any one of claims 1-7 .
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911087651.8 | 2019-11-08 | ||
CN201911087651.8A CN110687923B (en) | 2019-11-08 | 2019-11-08 | Unmanned aerial vehicle long-distance tracking flight method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021088681A1 true WO2021088681A1 (en) | 2021-05-14 |
Family
ID=69115959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/124052 WO2021088681A1 (en) | 2019-11-08 | 2020-10-27 | Long-distance flight-tracking method and device for unmanned aerial vehicle, apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110687923B (en) |
WO (1) | WO2021088681A1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113670273A (en) * | 2021-08-06 | 2021-11-19 | 诚邦测绘信息科技(浙江)有限公司 | Beach soil environment detection method and system for surveying and mapping, storage medium and intelligent terminal |
CN113721608A (en) * | 2021-08-16 | 2021-11-30 | 河南牧原智能科技有限公司 | Robot local path planning method and system and readable storage medium |
CN114281085A (en) * | 2021-12-29 | 2022-04-05 | 福建汉特云智能科技有限公司 | Robot tracking method and storage medium |
CN114527783A (en) * | 2021-12-17 | 2022-05-24 | 浙江华飞智能科技有限公司 | Control method, device and equipment of unmanned aerial vehicle and computer storage medium |
CN114565282A (en) * | 2022-03-01 | 2022-05-31 | 济南浪潮智投智能科技有限公司 | Intelligent city management system based on unmanned patrol and implementation method |
CN114721438A (en) * | 2022-05-13 | 2022-07-08 | 北京航空航天大学 | Searching method and device for unmanned aerial vehicle formation collaborative obstacle avoidance and electronic equipment |
CN114861554A (en) * | 2022-06-02 | 2022-08-05 | 广东工业大学 | A method for predicting target trajectory of unmanned boat based on set membership filter |
CN114967757A (en) * | 2022-07-12 | 2022-08-30 | 中南大学 | Vehicle and multi-unmanned aerial vehicle collaborative path planning method, device, terminal and medium |
CN115225944A (en) * | 2022-09-20 | 2022-10-21 | 深圳比特微电子科技有限公司 | Video processing method, video processing device, electronic equipment and computer-readable storage medium |
CN115857545A (en) * | 2022-11-24 | 2023-03-28 | 中国兵器工业计算机应用技术研究所 | Unmanned aerial vehicle trajectory planning method and device combined with traversal search |
CN116540709A (en) * | 2023-05-11 | 2023-08-04 | 江苏博发机器人智能装备有限公司 | Obstacle avoidance path planning method based on robot formation |
CN118192664A (en) * | 2024-03-12 | 2024-06-14 | 中国人民解放军军事科学院系统工程研究院 | Method and device for controlling formation flight of fixed-wing unmanned aerial vehicle |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110687923B (en) * | 2019-11-08 | 2022-06-17 | 深圳市道通智能航空技术股份有限公司 | Unmanned aerial vehicle long-distance tracking flight method, device, equipment and storage medium |
CN111665868B (en) * | 2020-07-21 | 2023-06-13 | 陕西欧卡电子智能科技有限公司 | Unmanned ship return method, device, equipment and storage medium based on virtual channel |
CN112015179A (en) * | 2020-08-21 | 2020-12-01 | 苏州三六零机器人科技有限公司 | Method, device and system for planning running track of cleaning equipment and storage medium |
CN112015203B (en) * | 2020-09-07 | 2024-04-02 | 深圳大漠大智控技术有限公司 | Unmanned aerial vehicle cluster track tracking method and system |
CN112461239B (en) * | 2020-11-10 | 2024-05-17 | 北京京东乾石科技有限公司 | Method, device, equipment and storage medium for planning mobile body path |
CN112379697B (en) * | 2020-12-15 | 2024-04-12 | 广州极飞科技股份有限公司 | Track planning method, device, track planner, unmanned aerial vehicle and storage medium |
CN112859842B (en) * | 2020-12-31 | 2022-06-14 | 中山大学 | A path following navigation method and system thereof |
CN112731972B (en) * | 2021-04-06 | 2021-06-29 | 北京三快在线科技有限公司 | Track management method, device, equipment and computer readable storage medium |
CN113612920A (en) * | 2021-06-23 | 2021-11-05 | 广西电网有限责任公司电力科学研究院 | Method and device for shooting power equipment image by unmanned aerial vehicle |
CN114967681A (en) * | 2022-05-11 | 2022-08-30 | 杭州萤石软件有限公司 | Path planning method, robot system and robot |
CN117055601B (en) * | 2023-09-05 | 2024-05-31 | 广东工业大学 | A method, device, equipment and storage medium for planning a meal delivery route by drone |
CN117773370B (en) * | 2024-02-27 | 2024-05-31 | 吉林大学 | Method and device for planning circuit board punching path, computer equipment, and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140316616A1 (en) * | 2013-03-11 | 2014-10-23 | Airphrame, Inc. | Unmanned aerial vehicle and methods for controlling same |
CN108444482A (en) * | 2018-06-15 | 2018-08-24 | 东北大学 | A kind of autonomous pathfinding barrier-avoiding method of unmanned plane and system |
CN108594843A (en) * | 2018-02-09 | 2018-09-28 | 深圳臻迪信息技术有限公司 | Unmanned plane autonomous flight method, apparatus and unmanned plane |
CN109101017A (en) * | 2018-07-27 | 2018-12-28 | 江苏盛海智能科技有限公司 | A kind of unmanned vehicle tracks route planning method and terminal |
CN109947100A (en) * | 2019-03-12 | 2019-06-28 | 深圳优地科技有限公司 | Paths planning method, system and terminal device |
CN110687923A (en) * | 2019-11-08 | 2020-01-14 | 深圳市道通智能航空技术有限公司 | Unmanned aerial vehicle long-distance tracking flight method, device, equipment and storage medium |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053620B (en) * | 2009-11-06 | 2012-05-09 | 北京理工大学 | Method for getting rid of polygonal obstacles by ground mobile robot group |
CN105717929B (en) * | 2016-04-29 | 2018-06-15 | 中国人民解放军国防科学技术大学 | Mobile robot mixed path planing method under a kind of multiresolution obstacle environment |
CN106919181A (en) * | 2016-10-20 | 2017-07-04 | 湖南大学 | A kind of unmanned plane barrier-avoiding method |
CN106647790A (en) * | 2016-12-27 | 2017-05-10 | 重庆大学 | Four-rotor unmanned aerial vehicle aircraft system oriented to complex environment and flying method |
CN108268031A (en) * | 2016-12-30 | 2018-07-10 | 深圳光启合众科技有限公司 | Paths planning method, device and robot |
CN106647769B (en) * | 2017-01-19 | 2019-05-24 | 厦门大学 | Based on A*Extract AGV path trace and the avoidance coordination approach of pilot point |
CN107272680B (en) * | 2017-06-16 | 2019-10-18 | 华南理工大学 | A robot automatic follow method based on ROS robot operating system |
JP2021071734A (en) * | 2018-02-28 | 2021-05-06 | ソニー株式会社 | Control device for moving body and control method for moving body |
CN108981739B (en) * | 2018-06-08 | 2022-02-22 | 南方科技大学 | A path planning method, device, server and storage medium |
CN108829105A (en) * | 2018-06-21 | 2018-11-16 | 浙江工业大学 | It is a kind of to dispatch avoidance optimization method based on the warehouse logistics of KM algorithm and Artificial Potential Field Method |
CN108827278B (en) * | 2018-10-09 | 2019-01-29 | 上海岚豹智能科技有限公司 | Navigation method and device |
CN109634304B (en) * | 2018-12-13 | 2022-07-15 | 中国科学院自动化研究所南京人工智能芯片创新研究院 | Unmanned aerial vehicle flight path planning method and device and storage medium |
CN109782806B (en) * | 2019-02-19 | 2020-10-23 | 北京邮电大学 | Method and device for indoor path tracking of unmanned aerial vehicle |
CN109945867B (en) * | 2019-03-04 | 2021-02-19 | 中国科学院深圳先进技术研究院 | Unmanned aerial vehicle path planning method and device and computer equipment |
CN109782807B (en) * | 2019-03-08 | 2021-10-01 | 哈尔滨工程大学 | An AUV Obstacle Avoidance Method in the Environment of Revolving Obstacles |
-
2019
- 2019-11-08 CN CN201911087651.8A patent/CN110687923B/en active Active
-
2020
- 2020-10-27 WO PCT/CN2020/124052 patent/WO2021088681A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140316616A1 (en) * | 2013-03-11 | 2014-10-23 | Airphrame, Inc. | Unmanned aerial vehicle and methods for controlling same |
CN108594843A (en) * | 2018-02-09 | 2018-09-28 | 深圳臻迪信息技术有限公司 | Unmanned plane autonomous flight method, apparatus and unmanned plane |
CN108444482A (en) * | 2018-06-15 | 2018-08-24 | 东北大学 | A kind of autonomous pathfinding barrier-avoiding method of unmanned plane and system |
CN109101017A (en) * | 2018-07-27 | 2018-12-28 | 江苏盛海智能科技有限公司 | A kind of unmanned vehicle tracks route planning method and terminal |
CN109947100A (en) * | 2019-03-12 | 2019-06-28 | 深圳优地科技有限公司 | Paths planning method, system and terminal device |
CN110687923A (en) * | 2019-11-08 | 2020-01-14 | 深圳市道通智能航空技术有限公司 | Unmanned aerial vehicle long-distance tracking flight method, device, equipment and storage medium |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113670273A (en) * | 2021-08-06 | 2021-11-19 | 诚邦测绘信息科技(浙江)有限公司 | Beach soil environment detection method and system for surveying and mapping, storage medium and intelligent terminal |
CN113670273B (en) * | 2021-08-06 | 2024-03-12 | 诚邦测绘信息科技(浙江)有限公司 | Beach soil environment detection method and system for mapping, storage medium and intelligent terminal |
CN113721608A (en) * | 2021-08-16 | 2021-11-30 | 河南牧原智能科技有限公司 | Robot local path planning method and system and readable storage medium |
CN114527783A (en) * | 2021-12-17 | 2022-05-24 | 浙江华飞智能科技有限公司 | Control method, device and equipment of unmanned aerial vehicle and computer storage medium |
CN114281085B (en) * | 2021-12-29 | 2023-06-06 | 福建汉特云智能科技有限公司 | Robot tracking method and storage medium |
CN114281085A (en) * | 2021-12-29 | 2022-04-05 | 福建汉特云智能科技有限公司 | Robot tracking method and storage medium |
CN114565282A (en) * | 2022-03-01 | 2022-05-31 | 济南浪潮智投智能科技有限公司 | Intelligent city management system based on unmanned patrol and implementation method |
CN114721438A (en) * | 2022-05-13 | 2022-07-08 | 北京航空航天大学 | Searching method and device for unmanned aerial vehicle formation collaborative obstacle avoidance and electronic equipment |
CN114861554A (en) * | 2022-06-02 | 2022-08-05 | 广东工业大学 | A method for predicting target trajectory of unmanned boat based on set membership filter |
CN114967757A (en) * | 2022-07-12 | 2022-08-30 | 中南大学 | Vehicle and multi-unmanned aerial vehicle collaborative path planning method, device, terminal and medium |
CN115225944A (en) * | 2022-09-20 | 2022-10-21 | 深圳比特微电子科技有限公司 | Video processing method, video processing device, electronic equipment and computer-readable storage medium |
CN115225944B (en) * | 2022-09-20 | 2022-12-09 | 深圳比特微电子科技有限公司 | Video processing method, video processing device, electronic equipment and computer-readable storage medium |
CN115857545A (en) * | 2022-11-24 | 2023-03-28 | 中国兵器工业计算机应用技术研究所 | Unmanned aerial vehicle trajectory planning method and device combined with traversal search |
CN116540709A (en) * | 2023-05-11 | 2023-08-04 | 江苏博发机器人智能装备有限公司 | Obstacle avoidance path planning method based on robot formation |
CN116540709B (en) * | 2023-05-11 | 2023-11-14 | 江苏博发机器人智能装备有限公司 | Obstacle avoidance path planning method based on robot formation |
CN118192664A (en) * | 2024-03-12 | 2024-06-14 | 中国人民解放军军事科学院系统工程研究院 | Method and device for controlling formation flight of fixed-wing unmanned aerial vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN110687923B (en) | 2022-06-17 |
CN110687923A (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021088681A1 (en) | Long-distance flight-tracking method and device for unmanned aerial vehicle, apparatus, and storage medium | |
CN106970648B (en) | Unmanned plane multi-goal path plans combined method for searching under the environment of city low latitude | |
Brown et al. | Trajectory optimization for high-altitude long-endurance UAV maritime radar surveillance | |
US10768623B2 (en) | Drone path planning | |
WO2022127737A1 (en) | Trajectory planning method and apparatus, trajectory planner, unmanned aerial vehicle, and storage medium | |
Liu et al. | Potential odor intensity grid based UAV path planning algorithm with particle swarm optimization approach | |
CN105893659A (en) | Quick calculation method of satellite access forecast | |
US11100667B2 (en) | Systems and methods for generating annotations of structured, static objects in aerial imagery using geometric transfer learning and probabilistic localization | |
CN108225333B (en) | Optimal path generation method for air route planning | |
CN112947594A (en) | Unmanned aerial vehicle-oriented flight path planning method | |
US11275939B2 (en) | Movement intelligence using satellite imagery | |
US20100211312A1 (en) | Routing Optimization System and Method | |
Ajith et al. | Hybrid optimization based multi-objective path planning framework for unmanned aerial vehicles | |
Jensen et al. | Flight planning in free route airspaces | |
CN114047760B (en) | Path planning method and device, electronic equipment and automatic driving vehicle | |
CN118584993B (en) | Method and system for re-planning preset route of autonomous obstacle avoidance of aircraft | |
CN114460961A (en) | Unmanned equipment operation route determining method, device, equipment and storage medium | |
Zhang et al. | An improved heuristic algorithm for UCAV path planning | |
CN115167526B (en) | A method, device and storage medium for aircraft attack route planning | |
Chow et al. | RADR: routing for autonomous drones | |
CN116400384A (en) | Visible window determination and satellite point R-Tree establishment method and device | |
Xiong et al. | A time domain-based iterative method for helicopter maritime search area planning and construction of the simulation environment | |
CN113776530A (en) | Point cloud map construction method and device, electronic equipment and storage medium | |
Zhang et al. | An Improved Trajectory Planning Method for Unmanned Aerial Vehicles in Complex Environments | |
Kim et al. | Drone searches for objects on the ground: an entropy-based approach |
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: 20886153 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20886153 Country of ref document: EP Kind code of ref document: A1 |