CN108490970A - Predict unmanned plane during flying track approach, device and storage medium - Google Patents
Predict unmanned plane during flying track approach, device and storage medium Download PDFInfo
- Publication number
- CN108490970A CN108490970A CN201810224200.3A CN201810224200A CN108490970A CN 108490970 A CN108490970 A CN 108490970A CN 201810224200 A CN201810224200 A CN 201810224200A CN 108490970 A CN108490970 A CN 108490970A
- Authority
- CN
- China
- Prior art keywords
- waypoint
- flight
- waypoints
- adjacent
- dimensional map
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013459 approach Methods 0.000 title abstract description 6
- 238000000034 method Methods 0.000 claims description 41
- 230000033001 locomotion Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 6
- 238000013439 planning Methods 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000010006 flight Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
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
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)
Abstract
Description
技术领域technical field
本发明涉及无人机管理领域,特别涉及预测无人机飞行轨迹方法、装置和储存介质。The invention relates to the field of drone management, in particular to a method, device and storage medium for predicting the flight trajectory of the drone.
背景技术Background technique
随着无人机的应用越来越多,越来越融入社会,因此,无人机的功能也在拓展。无人机的应用方式通常包括送货,搭载拍照设备进行高空拍摄。现有的无人机通常会预先规划航线进行飞行。在地图上,通常需要预估显示规划航线的预测飞行路径。With more and more applications of drones and more and more integration into society, the functions of drones are also expanding. The application methods of drones usually include delivery, carrying camera equipment for high-altitude shooting. Existing drones typically fly on pre-planned routes. On a map, it is often necessary to estimate the predicted flight path showing the planned route.
但是,在现有显示的预测飞行路径中,通常是将每个飞行节点进行直线连接而获得。因此,现有的预测飞行路径与真实的飞行路径具有很大的偏差,无法较为准确的展现真实的飞行路径,从而使得用户无法获得准确的飞行路径参照。However, in the predicted flight path shown in the prior art, it is usually obtained by connecting each flight node with a straight line. Therefore, there is a large deviation between the existing predicted flight path and the real flight path, and the real flight path cannot be displayed more accurately, so that the user cannot obtain an accurate flight path reference.
发明内容Contents of the invention
本发明的主要目的是提供预测无人机飞行轨迹方法、装置和储存介质,旨在提高预测飞行路径的准确性。The main purpose of the present invention is to provide a method, device and storage medium for predicting the flight path of an unmanned aerial vehicle, aiming at improving the accuracy of the predicted flight path.
为实现上述目的,本发明提出的一种预测无人机飞行轨迹方法,所述预测无人机飞行轨迹方法包括:In order to achieve the above object, the present invention proposes a method for predicting the flight trajectory of a UAV, the method for predicting the flight trajectory of a UAV includes:
获得无人机的规划航线;Obtain the planned route of the drone;
获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;Obtain the position information of each waypoint in the planned route, as well as the flight action between two adjacent waypoints;
根据位置信息的经纬度信息在二维地图上标注每一航点;Mark each waypoint on the two-dimensional map according to the latitude and longitude information of the location information;
根据飞行动作在二维地图上的相邻航点之间绘制相应连线。Draw corresponding connecting lines between adjacent waypoints on the two-dimensional map according to flight movements.
可选的,所述根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:Optionally, said drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
在相邻航点之间的飞行动作为点到点直线飞行时;When the flight action between adjacent waypoints is point-to-point straight flight;
在二维地图上的相邻航点之间绘制直线线段。Draws straight line segments between adjacent waypoints on a 2D map.
可选的,所述根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:Optionally, said drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
在相邻航点之间的飞行动作为正圆弧线飞行时;When the flight action between adjacent waypoints is a positive arc flight;
获得飞行动作中设定的环绕设定方向和环绕设定角度;Obtain the circling setting direction and circling setting angle set in the flight action;
在二维地图上绘制正圆弧线,所述正圆弧线的弧线起点为相邻两航点中的前一航点,弧线圆心为后一航点,弧线终点为沿着所述环绕设定方向转过环绕设定角度时的位置。Draw a positive circular arc on the two-dimensional map, the starting point of the positive circular arc is the previous waypoint in the two adjacent waypoints, the center of the arc is the next waypoint, and the end point of the arc is along the two adjacent waypoints. The position when the circle setting direction is rotated through the circle setting angle.
可选的,所述根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:Optionally, said drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
在相邻航点之间的飞行动作为快速航点飞行时;When the flight action between adjacent waypoints is fast waypoint flight;
获得快速航点飞行所经过的相邻连续多个航点;Obtain multiple adjacent and continuous waypoints passed by the fast waypoint flight;
在二维地图上绘制三次贝塞尔曲线,所述三次贝塞尔曲线的要经过的点集合为所述相邻连续多个航点的集合,每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定。Draw a cubic Bezier curve on a two-dimensional map, the set of points to be passed by the cubic Bezier curve is a set of adjacent continuous waypoints, and the corresponding control curvature of each waypoint to be passed through A set of two control points in , determined according to the two waypoints before and after the waypoint.
可选的,所述每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定包括:Optionally, the set of two control points corresponding to each of the waypoints to pass through to control the curvature, determined according to the two waypoints before and after the waypoint includes:
连接要经过的航点与前一航点,以获得前连线;Connect the waypoint to be passed with the previous waypoint to obtain the forward connection;
连接要经过的航点与后一航点,以获得后连线;Connect the waypoint to be passed with the next waypoint to obtain the next connection line;
将前连线的中间点与后连线的中间点连接,以获得中间连线;Connect the middle point of the front line with the middle point of the back line to obtain the middle line;
将中间连线沿着其垂直方向偏移至经过要经过的航点,将中间连线的两端点分别作为两个控制点;Offset the middle line along its vertical direction to pass the waypoint to be passed, and use the two ends of the middle line as two control points;
所述三次贝塞尔曲线的两个控制点的集合为所有所述中间连线的两端点的集合。The set of two control points of the cubic Bezier curve is the set of both ends of all the intermediate lines.
本发明还提供了一种预测无人机飞行轨迹装置,所述预测无人机飞行轨迹装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的预测无人机飞行轨迹程序,所述预测无人机飞行轨迹程序被所述处理器执行时实现如下步骤:The present invention also provides a device for predicting the flight trajectory of a UAV. The device for predicting the flight trajectory of a UAV includes: a memory, a processor, and a predicted UAV that is stored on the memory and can run on the processor. Aircraft flight path program, when the described prediction UAV flight path program is executed by the processor, the following steps are realized:
获得无人机的规划航线;Obtain the planned route of the drone;
获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;Obtain the position information of each waypoint in the planned route, as well as the flight action between two adjacent waypoints;
根据位置信息的经纬度信息在二维地图上标注每一航点;Mark each waypoint on the two-dimensional map according to the latitude and longitude information of the location information;
根据飞行动作在二维地图上的相邻航点之间绘制相应连线。Draw corresponding connecting lines between adjacent waypoints on the two-dimensional map according to flight movements.
可选的,所述根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:Optionally, said drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
在相邻航点之间的飞行动作为点到点直线飞行时;When the flight action between adjacent waypoints is point-to-point straight flight;
在二维地图上的相邻航点之间绘制直线线段;Draw straight line segments between adjacent waypoints on a 2D map;
在相邻航点之间的飞行动作为正圆弧线飞行时;When the flight action between adjacent waypoints is a positive arc flight;
获得飞行动作中设定的环绕设定方向和环绕设定角度;Obtain the circling setting direction and circling setting angle set in the flight action;
在二维地图上绘制正圆弧线,所述正圆弧线的弧线起点为相邻两航点中的前一航点,弧线圆心为后一航点,弧线终点为沿着所述环绕设定方向转过环绕设定角度时的位置。Draw a positive circular arc on the two-dimensional map, the starting point of the positive circular arc is the previous waypoint in the two adjacent waypoints, the center of the arc is the next waypoint, and the end point of the arc is along the two adjacent waypoints. The position when the circle setting direction is rotated through the circle setting angle.
可选的,所述根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:Optionally, said drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
在相邻航点之间的飞行动作为快速航点飞行时;When the flight action between adjacent waypoints is fast waypoint flight;
获得快速航点飞行所经过的相邻连续多个航点;Obtain multiple adjacent and continuous waypoints passed by the fast waypoint flight;
在二维地图上绘制三次贝塞尔曲线,所述三次贝塞尔曲线的要经过的点集合为所述相邻连续多个航点的集合,每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定。Draw a cubic Bezier curve on a two-dimensional map, the set of points to be passed by the cubic Bezier curve is a set of adjacent continuous waypoints, and the corresponding control curvature of each waypoint to be passed through A set of two control points in , determined according to the two waypoints before and after this waypoint.
可选的,所述每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定包括:Optionally, the set of two control points corresponding to each of the waypoints to pass through to control the curvature, determined according to the two waypoints before and after the waypoint includes:
连接要经过的航点与前一航点,以获得前连线;Connect the waypoint to be passed with the previous waypoint to obtain the forward connection;
连接要经过的航点与后一航点,以获得后连线;Connect the waypoint to be passed with the next waypoint to obtain the next connection line;
将前连线的中间点与后连线的中间点连接,以获得中间连线;Connect the middle point of the front line with the middle point of the back line to obtain the middle line;
将中间连线沿着其垂直方向偏移至经过要经过的航点,将中间连线的两端点分别作为两个控制点;Offset the middle line along its vertical direction to pass the waypoint to be passed, and use the two ends of the middle line as two control points;
所述三次贝塞尔曲线的两个控制点的集合为所有所述中间连线的两端点的集合。The set of two control points of the cubic Bezier curve is the set of both ends of all the intermediate lines.
本发明还提供了一种储存介质,用于计算机,所述储存介质上存储有预测无人机飞行轨迹程序,所述预测无人机飞行轨迹程序被处理器执行时实现如上述的方法的步骤。The present invention also provides a storage medium for a computer, the storage medium stores a program for predicting the flight trajectory of the UAV, and when the program for predicting the flight trajectory of the UAV is executed by a processor, the steps of the above-mentioned method are realized .
本发明所提供的预测无人机飞行轨迹方法,通过获得无人机的规划航线;然后,获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;然后根据位置信息的经纬度信息在二维地图上标注每一航点;最后,根据飞行动作在二维地图上的相邻航点之间绘制相应连线。从而能够在二维地图上准确描述无人机将要经过的航点,以及准确描述如何从一个航点飞行至下一航点的飞行路径,进而达到预测的整体飞行路径与实际飞行路径更相似,而达到能够使得用户获得较为准确的预测路径的效果。The method for predicting the flight trajectory of the UAV provided by the present invention obtains the planned route of the UAV; then, obtains the position information of each waypoint in the planned route, and the flight action between two adjacent waypoints; Then mark each waypoint on the two-dimensional map according to the latitude and longitude information of the position information; finally, draw corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action. In this way, it is possible to accurately describe the waypoints that the drone will pass through on the two-dimensional map, and accurately describe the flight path of how to fly from one waypoint to the next waypoint, so that the predicted overall flight path is more similar to the actual flight path. In order to achieve the effect of enabling the user to obtain a more accurate predicted path.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to the structures shown in these drawings without creative effort.
图1为本发明预测无人机飞行轨迹方法第一实施例的流程图;Fig. 1 is the flow chart of the first embodiment of the method for predicting the flight trajectory of the unmanned aerial vehicle of the present invention;
图2为本发明预测无人机飞行轨迹方法第二实施例的流程图;Fig. 2 is the flow chart of the second embodiment of the method for predicting the flight path of the unmanned aerial vehicle of the present invention;
图3为应用图2所示预测无人机飞行轨迹方法的示例图;Fig. 3 is an example diagram of the method for predicting the flight path of the unmanned aerial vehicle shown in Fig. 2;
图4为本发明预测无人机飞行轨迹方法第三实施例的流程图;Fig. 4 is the flowchart of the third embodiment of the method for predicting the flight path of the UAV in the present invention;
图5为应用图4所示预测无人机飞行轨迹方法的示例图;Fig. 5 is an example diagram of the method for predicting the flight path of the unmanned aerial vehicle shown in Fig. 4;
图6为本发明预测无人机飞行轨迹方法第四实施例的流程图;Fig. 6 is the flowchart of the fourth embodiment of the method for predicting the flight path of the UAV in the present invention;
图7为应用图6所示预测无人机飞行轨迹方法的第一示例图;Fig. 7 is the first example diagram of the method for predicting the flight path of the unmanned aerial vehicle shown in Fig. 6;
图8为应用图6所示预测无人机飞行轨迹方法的第二示例图Fig. 8 is the second example diagram of the method for predicting the flight trajectory of the unmanned aerial vehicle shown in Fig. 6
图9为本发明预测无人机飞行轨迹方法第五实施例的流程图Fig. 9 is a flow chart of the fifth embodiment of the method for predicting the flight trajectory of the UAV according to the present invention
图10为应用图9所示预测无人机飞行轨迹方法的第一示例图。Fig. 10 is a diagram of a first example of applying the method for predicting the flight trajectory of a UAV shown in Fig. 9 .
图11为应用图9所示预测无人机飞行轨迹方法的第二示例图Fig. 11 is the second example diagram of the method for predicting the flight trajectory of the unmanned aerial vehicle shown in Fig. 9
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
实施例一Embodiment one
图1为本发明一种预测无人机飞行轨迹方法第一实施例的流程示意图。所述预测无人机飞行轨迹方法包括:FIG. 1 is a schematic flowchart of a first embodiment of a method for predicting a flight trajectory of a UAV according to the present invention. The method for predicting the flight trajectory of the unmanned aerial vehicle includes:
步骤S101,获得无人机的规划航线;Step S101, obtaining the planned route of the drone;
步骤S102,获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;Step S102, obtaining the position information of each waypoint in the planned route, and the flight action between two adjacent waypoints;
步骤S103,根据位置信息的经纬度信息在二维地图上标注每一航点;Step S103, marking each waypoint on the two-dimensional map according to the latitude and longitude information of the location information;
步骤S104,根据飞行动作在二维地图上的相邻航点之间绘制相应连线。Step S104, drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action.
本实施例中,首先获得无人机的规划航线;然后,获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;然后根据位置信息的经纬度信息在二维地图上标注每一航点;最后,根据飞行动作在二维地图上的相邻航点之间绘制相应连线。In this embodiment, first obtain the planned route of the UAV; then, obtain the position information of each waypoint in the planned route, and the flight action between two adjacent waypoints; then according to the latitude and longitude information of the position information in Each waypoint is marked on the two-dimensional map; finally, corresponding connection lines are drawn between adjacent waypoints on the two-dimensional map according to the flight action.
本实施例中,首先获得无人机的规划航线。具体的,无人机的种类包括多种,例如固定翼无人机,折叠翼无人机或者多旋翼无人机。这些无人机,都可以预先规划航线,使得无人机能够沿着规划航线进行飞行。为了能够使得规划航线能够避开一些障碍物,以及到达中途补给点等因素,通常规划的航线不会是一条直线,而是呈现为具有多个顺序排列的多个航点状。即无人机通常需要沿着呈折线状或者曲线状的飞行路径进行飞行。In this embodiment, firstly, the planned route of the drone is obtained. Specifically, there are various types of UAVs, such as fixed-wing UAVs, folding-wing UAVs or multi-rotor UAVs. These UAVs can pre-plan the route, so that the UAV can fly along the planned route. In order to enable the planned route to avoid some obstacles and reach midway supply points and other factors, usually the planned route will not be a straight line, but will appear as a plurality of waypoints arranged in sequence. That is, the UAV usually needs to fly along a zigzag or curved flight path.
本实施例中,在获得无人机的规划航线之后,获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作。具体的,规划航线中包括多个航点,每一航点都具有位置信息。其中,位置信息中,包括经纬度和高度。这些经纬度和高度为卫星定位的数据,用于指导无人机进行飞行。当无人机进行飞行时,将会实时接收卫星定位信号,用于自身定位。In this embodiment, after the planned route of the drone is obtained, the position information of each waypoint in the planned route and the flight action between two adjacent waypoints are obtained. Specifically, the planned route includes multiple waypoints, and each waypoint has location information. Wherein, the location information includes latitude, longitude and altitude. These latitude, longitude and altitude are satellite positioning data, which are used to guide the drone to fly. When the drone is flying, it will receive satellite positioning signals in real time for its own positioning.
在规划航线中,由于对可能会存在中途休息或者定位补给等情况。因此,需要对相邻的两个航点之间的飞行动作进行定义。例如,飞行动作可以是直线飞行,盘旋飞行,快速通过式的快速航点飞行等。因此,需要获取到相邻的两个航点之间的飞行动作,用以根据该飞行动作来绘制预测飞行路径。During the route planning, there may be situations such as midway rest or positioning and replenishment due to the pairing. Therefore, it is necessary to define the flight action between two adjacent waypoints. For example, the flight action may be a straight line flight, a circle flight, a fast waypoint flight of a fast-passing style, and the like. Therefore, it is necessary to obtain the flight action between two adjacent waypoints, so as to draw the predicted flight path according to the flight action.
本实施例中,在获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作之后,根据位置信息的经纬度信息在二维地图上标注每一航点。具体的,由于大部分用户,能够更快速的在二维地图上识别出飞行路径。因此,本实施例采用在二维地图上进行路径标注,从而能够使得用户能够更直观地了解无人机所经过的区域。首先,在二维地图上根据每一航点的经纬度信息来标注出每一个航点;然后再在相邻的航点之间绘制连接线。In this embodiment, after obtaining the location information of each waypoint in the planned route and the flight action between two adjacent waypoints, each waypoint is marked on the two-dimensional map according to the latitude and longitude information of the location information. Specifically, due to most users, the flight path can be identified more quickly on the two-dimensional map. Therefore, in this embodiment, the route is marked on the two-dimensional map, so that the user can more intuitively understand the area passed by the drone. First, mark each waypoint on the two-dimensional map according to the latitude and longitude information of each waypoint; then draw connecting lines between adjacent waypoints.
本实施例中,在根据位置信息的经纬度信息在二维地图上标注每一航点之后,根据飞行动作在二维地图上的相邻航点之间绘制相应连线。具体的,飞行动作的不同,将导致无人机在实际飞行中产生不同的飞行轨迹,因此,通过获得相邻航点之间的飞行动作,然后读取相应的线段样式,最后采用对应的线段样式将相邻航点进行连接,从而绘制出相邻线段之间的连线。In this embodiment, after each waypoint is marked on the two-dimensional map according to the latitude and longitude information of the location information, corresponding connecting lines are drawn between adjacent waypoints on the two-dimensional map according to the flight action. Specifically, different flight actions will lead to different flight trajectories in the actual flight of the UAV. Therefore, by obtaining the flight actions between adjacent waypoints, and then reading the corresponding line segment style, and finally adopting the corresponding line segment The style connects adjacent waypoints, thus drawing the connecting line between adjacent line segments.
本实施例的有益效果在于,通过获得无人机的规划航线;然后,获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;然后根据位置信息的经纬度信息在二维地图上标注每一航点;最后,根据飞行动作在二维地图上的相邻航点之间绘制相应连线。从而能够在二维地图上准确描述无人机将要经过的航点,以及准确描述如何从一个航点飞行至下一航点的飞行路径,进而达到预测的整体飞行路径与实际飞行路径更相似,而达到能够使得用户获得较为准确的预测路径的效果。The beneficial effect of this embodiment is that by obtaining the planned route of the drone; then, obtaining the position information of each waypoint in the planned route, and the flight action between two adjacent waypoints; and then according to the position information The latitude and longitude information marks each waypoint on the two-dimensional map; finally, draws corresponding connection lines between adjacent waypoints on the two-dimensional map according to the flight action. In this way, it is possible to accurately describe the waypoints that the drone will pass through on the two-dimensional map, and accurately describe the flight path of how to fly from one waypoint to the next waypoint, so that the predicted overall flight path is more similar to the actual flight path. In order to achieve the effect of enabling the user to obtain a more accurate predicted path.
实施例二Embodiment two
图2为本法为本发明一种预测无人机飞行轨迹方法第二实施例的流程示意图。本实施例基于第一实施例。FIG. 2 is a schematic flowchart of a second embodiment of a method for predicting the flight trajectory of a UAV according to the present invention. This embodiment is based on the first embodiment.
所述步骤S104,根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:The step S104, drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
步骤S1041,在相邻航点之间的飞行动作为点到点直线飞行时;Step S1041, when the flight action between adjacent waypoints is point-to-point straight-line flight;
步骤S1042,在二维地图上的相邻航点之间绘制直线线段。Step S1042, drawing straight line segments between adjacent waypoints on the two-dimensional map.
本实施例中,首先在判定相邻航点之间的飞行动作为点到点直线飞行时,在二维地图上的相邻航点之间绘制直线线段。In this embodiment, firstly, when it is determined that the flight action between adjacent waypoints is point-to-point straight-line flight, straight line segments are drawn between adjacent waypoints on the two-dimensional map.
具体的,无人机在点到点直线飞行时,无人机在每飞向一个航点时都会尽所能及地朝目标靠近且在接近目标时采取减速直到停止的措施,到达航点后重新加速飞往下一航点,因此飞行轨迹就是首尾相连的直线线段。例如,请结合参看图3,无人机F1将会经过航点P11,航点P12和航点P13,并且航点P11到航点P12,以及航点P12到航点P13之间的飞行动作为点到点直线飞行。则此时,预测的航点P11到航点P12,以及航点P12到航点P13之间的飞行路径为直线段SL。Specifically, when the UAV is flying straight from point to point, the UAV will approach the target as much as possible every time it flies to a waypoint and take measures to slow down until it approaches the target. After reaching the waypoint Re-accelerate and fly to the next waypoint, so the flight path is a straight line segment connected end to end. For example, please refer to Figure 3, UAV F1 will pass waypoint P11, waypoint P12 and waypoint P13, and the flight action between waypoint P11 to waypoint P12, and waypoint P12 to waypoint P13 is Fly in a straight line from point to point. Then, at this time, the predicted flight path between the waypoint P11 and the waypoint P12, and between the waypoint P12 and the waypoint P13 is a straight line segment SL.
本实施例的有益效果在于,通过在相邻航点之间的飞行动作为点到点直线飞行时;在二维地图上的相邻航点之间绘制直线线段。从而能够使得预测直线飞行的飞行路径更准确。The beneficial effect of this embodiment is that, when flying a point-to-point straight line through the flight action between adjacent waypoints; a straight line segment is drawn between adjacent waypoints on the two-dimensional map. Thereby, the flight path of straight-line flight can be predicted more accurately.
实施例三Embodiment three
图4为本法为本发明一种预测无人机飞行轨迹方法第三实施例的流程示意图。本实施例基于第二实施例。FIG. 4 is a schematic flowchart of a third embodiment of a method for predicting the flight trajectory of a drone according to the present invention. This embodiment is based on the second embodiment.
所述步骤S104,根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:The step S104, drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
步骤S1043,在相邻航点之间的飞行动作为正圆弧线飞行时;Step S1043, when the flight action between adjacent waypoints is a positive arc flight;
步骤S1044,获得飞行动作中设定的环绕设定方向和环绕设定角度;Step S1044, obtaining the circling setting direction and circling setting angle set in the flight action;
步骤S1045,在二维地图上绘制正圆弧线,所述正圆弧线的弧线起点为相邻两航点中的前一航点,弧线圆心为后一航点,弧线终点为沿着所述环绕设定方向转过环绕设定角度时的位置。Step S1045, draw a positive circular arc on the two-dimensional map, the starting point of the positive circular arc is the previous waypoint of the two adjacent waypoints, the center of the arc is the next waypoint, and the end point of the arc is The position when turning through the set angle in the set direction of the set.
本实施例中,首先,在相邻航点之间的飞行动作为正圆弧线飞行时;获得飞行动作中设定的环绕设定方向和环绕设定角度;然后,在二维地图上绘制正圆弧线,所述正圆弧线的弧线起点为相邻两航点中的前一航点,弧线圆心为后一航点,弧线终点为沿着所述环绕设定方向转过环绕设定角度时的位置。In this embodiment, firstly, when the flight action between adjacent waypoints is a positive circular arc flight; obtain the circling setting direction and the circling setting angle set in the flight action; then, draw on the two-dimensional map A positive circular arc, the starting point of the arc of the positive circular arc is the previous waypoint of the two adjacent waypoints, the center of the arc is the next waypoint, and the end point of the arc is the turning point along the set direction around the circle. The position when setting the angle by wrapping.
具体的,无人机进行正圆弧线飞行时,根据进入航点、圆心航点、环绕半径、环绕方向和环绕角度,利用几何图形学可确定一个圆弧,环绕方向确定弧度是顺时针还是逆时针,从而确定预测的飞离点。例如,请结合参看图5,无人机F2将会经过航点P21,航点P22和预测飞离点P23。其中,航点P22并没有经过,而是围绕航点P22旋转,离开飞行点P23并非预设的航点。其中,航点P21到航点P22之间的飞行动作为正圆弧线飞行。此时,以航点P22为弧线圆心,航点P21为弧线起点,然后再根据获得的环绕角度和方向,计算获得预测飞离点P23。而绘制获得的正圆弧线AL即为预测飞行路径。Specifically, when the UAV is flying in a positive circular arc, according to the entry waypoint, the center waypoint, the circle radius, the circle direction and the circle angle, a circle can be determined by using geometric graphics, and the circle direction can determine whether the arc is clockwise or counterclockwise to determine the predicted fly-off point. For example, please refer to FIG. 5 , the UAV F2 will pass the waypoint P21, the waypoint P22 and the predicted departure point P23. Wherein, the waypoint P22 does not pass, but rotates around the waypoint P22, leaving the flight point P23 is not a preset waypoint. Wherein, the flight action between waypoint P21 and waypoint P22 is positive arc flight. At this time, take the waypoint P22 as the center of the arc, and the waypoint P21 as the starting point of the arc, and then calculate and obtain the predicted departure point P23 according to the obtained circling angle and direction. The drawn positive circular arc AL is the predicted flight path.
本实施例的有益效果在于,通过在相邻航点之间的飞行动作为正圆弧线飞行时;获得飞行动作中设定的环绕设定方向和环绕设定角度;然后,在二维地图上绘制正圆弧线,所述正圆弧线的弧线起点为相邻两航点中的前一航点,弧线圆心为后一航点,弧线终点为沿着所述环绕设定方向转过环绕设定角度时的位置。从而能够使得预测正圆弧线飞行的飞行路径更准确。The beneficial effect of this embodiment is that when the flight action between adjacent waypoints is a positive circular arc flight; the circle setting direction and the circle setting angle set in the flight action are obtained; then, on the two-dimensional map Draw a positive circular arc on the top, the starting point of the positive circular arc is the previous waypoint of the two adjacent waypoints, the center of the arc is the next waypoint, and the end point of the arc is along the circle set The position when the direction turns around the set angle. Therefore, it is possible to predict the flight path of the perfect circular arc flight more accurately.
实施例四Embodiment four
图6为本法为本发明一种预测无人机飞行轨迹方法第四实施例的流程示意图。本实施例基于第三实施例。FIG. 6 is a schematic flowchart of a fourth embodiment of a method for predicting a UAV flight trajectory according to the present invention. This embodiment is based on the third embodiment.
所述步骤S104,根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:The step S104, drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
步骤S1046,在相邻航点之间的飞行动作为快速航点飞行时;Step S1046, when the flight action between adjacent waypoints is fast waypoint flight;
步骤S1047,获得快速航点飞行所经过的相邻连续多个航点;Step S1047, obtaining multiple adjacent and continuous waypoints passed by the fast waypoint flight;
步骤S1048,在二维地图上绘制三次贝塞尔曲线,所述三次贝塞尔曲线的要经过的点集合为所述相邻连续多个航点的集合,每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定。Step S1048, drawing a cubic Bezier curve on the two-dimensional map, the set of points to be passed by the cubic Bezier curve is a set of adjacent consecutive waypoints, and each waypoint to be passed corresponds to The set of two control points that control the curvature of , is determined according to the two waypoints before and after this waypoint.
本实施例中,首先在相邻航点之间的飞行动作为快速航点飞行时;获得快速航点飞行所经过的相邻连续多个航点;然后在二维地图上绘制三次贝塞尔曲线,所述三次贝塞尔曲线的要经过的点集合为所述相邻连续多个航点的集合,每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定。In this embodiment, first, when the flight action between adjacent waypoints is fast waypoint flight; obtain a plurality of adjacent and continuous waypoints passed by the fast waypoint flight; then draw three times of Bezier on the two-dimensional map Curve, the set of points to be passed by the cubic Bezier curve is a set of adjacent consecutive multiple waypoints, and the set of two control points corresponding to the control curvature of each waypoint to be passed through, according to the Two waypoints before and after the waypoint are determined.
具体的,无人机执行快速航点飞行时一般不会采取减速措施,而是在每个航点之间调整偏航角和横滚角来靠近航点,这样就形成一条不规则又平滑的曲线,有点类似快艇高速过S弯时不减速的方式快速通过。要实现此轨迹效果,采用三次贝塞尔曲线比较合适。例如,请结合参看图7和图8,无人机F3将会经过航点P31,航点P32、航点P33和航点P34。其中,航点P31,航点P32、航点P33和航点P34之间的飞行动作都是快速航点飞行。因此,将采用进入每一航点然后离开该航点的弧线段,并且该弧线段平滑化进入和离开该航点并且平滑的进入下一航点和离开下一航点。此时,以三次贝塞尔曲线比较合适。Specifically, UAVs generally do not take deceleration measures when performing fast waypoint flight, but adjust the yaw angle and roll angle between each waypoint to approach the waypoint, thus forming an irregular and smooth The curve is somewhat similar to the way a speedboat passes through an S-turn at high speed without slowing down. To achieve this trajectory effect, it is more appropriate to use a cubic Bezier curve. For example, please refer to FIG. 7 and FIG. 8 in combination, the UAV F3 will pass waypoint P31, waypoint P32, waypoint P33 and waypoint P34. Among them, the flight actions between waypoint P31, waypoint P32, waypoint P33 and waypoint P34 are fast waypoint flying. Thus, an arc segment entering each waypoint and then leaving that waypoint will be taken, and the arc segment smoothes entering and leaving that waypoint and smoothing entering and leaving the next waypoint. At this time, it is more appropriate to use a cubic Bezier curve.
其中,三次贝塞尔曲线中的经过点集合包括:航点P31,航点P32、航点P33和航点P34;三次贝塞尔曲线中的每一经过点包括两个控制点,则两个控制点的集合包括航点P32两侧的两控制点C321和C322,以及航点P33两侧的两控制点C331和C332。其中,两控制点C321和C322根据航点P32到达航点P31,以及航点P32到达航点P33的角度和距离来确定。同理,两控制点C331和C332根据航点P33到达航点P32,以及航点P33到达航点P34的角度和距离来确定。Wherein, the set of passing points in the cubic Bezier curve includes: waypoint P31, waypoint P32, waypoint P33 and waypoint P34; each passing point in the cubic Bezier curve includes two control points, and then two The set of control points includes two control points C321 and C322 on both sides of the waypoint P32, and two control points C331 and C332 on both sides of the waypoint P33. Wherein, the two control points C321 and C322 are determined according to the waypoint P32 to the waypoint P31, and the angle and distance from the waypoint P32 to the waypoint P33. Similarly, the two control points C331 and C332 are determined according to the waypoint P33 to the waypoint P32, and the angle and distance from the waypoint P33 to the waypoint P34.
在获得三次贝塞尔曲线中的每一经过点的集合,以及每个控制点的集合,则可以在二维地图上绘制出相应的三次贝塞尔曲线。After obtaining the set of each passing point in the cubic Bezier curve and the set of each control point, the corresponding cubic Bezier curve can be drawn on the two-dimensional map.
本实施例的有益效果在于,通过在相邻航点之间的飞行动作为快速航点飞行时;获得快速航点飞行所经过的相邻连续多个航点;在二维地图上绘制三次贝塞尔曲线,所述三次贝塞尔曲线的要经过的点集合为所述相邻连续多个航点的集合,每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定。从而能够使得预测快速航点飞行的飞行路径更准确。The beneficial effect of this embodiment is that when the flight action between adjacent waypoints is a fast waypoint flight; obtain a plurality of adjacent and continuous waypoints passed by the fast waypoint flight; draw three times on the two-dimensional map A Serre curve, the set of points to be passed by the cubic Bezier curve is a set of multiple adjacent continuous waypoints, a set of two control points corresponding to the control curvature of each waypoint to be passed through, It is determined according to the two waypoints before and after the waypoint. This enables more accurate prediction of the flight path of the fast waypoint flight.
实施例五Embodiment five
图9为本发明预测无人机飞行轨迹方法的第五实施例。本实施例基于第四实施例。Fig. 9 is a fifth embodiment of the method for predicting the flight trajectory of a UAV according to the present invention. This embodiment is based on the fourth embodiment.
所述步骤S1048,每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定包括:The step S1048, the set of two control points corresponding to the control curvature of each waypoint to be passed, is determined according to the two waypoints before and after the waypoint, including:
步骤S10481,连接要经过的航点与前一航点,以获得前连线;Step S10481, connect the waypoint to be passed with the previous waypoint to obtain the previous connection line;
步骤S10482,连接要经过的航点与后一航点,以获得后连线;Step S10482, connect the waypoint to be passed with the next waypoint to obtain the next connection line;
步骤S10483,将前连线的中间点与后连线的中间点连接,以获得中间连线;Step S10483, connecting the middle point of the front connection line with the middle point of the back connection line to obtain the middle connection line;
步骤S10484,将中间连线沿着其垂直方向偏移至经过要经过的航点,将中间连线的两端点分别作为两个控制点;Step S10484, shifting the middle line along its vertical direction to pass through the waypoint, and using the two ends of the middle line as two control points;
步骤S10485,所述三次贝塞尔曲线的两个控制点的集合为所有所述中间连线的两端点的集合。Step S10485, the set of two control points of the cubic Bezier curve is the set of both end points of all the intermediate lines.
在本实施例中,首先,连接要经过的航点与前一航点,以获得前连线;然后,连接要经过的航点与后一航点,以获得后连线;然后,将前连线的中间点与后连线的中间点连接,以获得中间连线;然后,将中间连线沿着其垂直方向偏移至经过要经过的航点,将中间连线的两端点分别作为两个控制点;最后,所述三次贝塞尔曲线的两个控制点的集合为所有所述中间连线的两端点的集合。In this embodiment, firstly, connect the waypoint to be passed with the previous waypoint to obtain the front connection; then, connect the waypoint to be passed with the next waypoint to obtain the rear connection; then, connect the previous waypoint The middle point of the connecting line is connected with the middle point of the following connecting line to obtain the middle connecting line; then, the middle connecting line is offset along its vertical direction to pass the waypoint to be passed, and the two ends of the middle connecting line are respectively used as Two control points; finally, the set of the two control points of the cubic Bezier curve is the set of the two end points of all the intermediate lines.
具体的,请结合参看图10和图11,三次贝塞尔曲线中的经过点集合包括:航点P31,航点P32、航点P33和航点P34;三次贝塞尔曲线中的每一经过点包括两个控制点,则两个控制点的集合包括航点P32两侧的两控制点C321和C322,以及航点P33两侧的两控制点C331和C332。Specifically, please refer to Fig. 10 and Fig. 11 in combination, the set of passing points in the cubic Bezier curve includes: waypoint P31, waypoint P32, waypoint P33 and waypoint P34; each passing point in the cubic Bezier curve The point includes two control points, and the set of two control points includes two control points C321 and C322 on both sides of the waypoint P32, and two control points C331 and C332 on both sides of the waypoint P33.
两控制点C321和C322以及两控制点C331和C332的获得方式,如下:连接要经过的航点P32与前一航点P31,以获得前连线(未标注);然后,连接要经过的航点P32与后一航点P33,以获得后连线(未标注)。然后,将前连线的中间点(未标注)与后连线的中间点(未标注)连接,以获得中间连线ML1;然后,将中间连线ML1沿着其垂直方向偏移至经过要经过的航点P32,获得偏移后的中间连线ML1`,将中间连线ML1`的两端点C321和C322分别作为航点P32的两个控制点C321和C322。同理可以获得P33的两控制点C331和C332,在此不再赘述。The way to obtain the two control points C321 and C322 and the two control points C331 and C332 is as follows: connect the waypoint P32 to be passed with the previous waypoint P31 to obtain the previous connection line (not marked); then, connect the waypoint to be passed through Point P32 and the next waypoint P33 to obtain a subsequent connecting line (not marked). Then, connect the middle point (not marked) of the front line with the middle point (not marked) of the back line to obtain the middle line ML1; then, offset the middle line ML1 along its vertical direction to pass through the desired After the waypoint P32 is passed, the offset middle line ML1 ′ is obtained, and the two ends C321 and C322 of the middle line ML1 ′ are respectively used as two control points C321 and C322 of the waypoint P32. In the same way, two control points C331 and C332 of P33 can be obtained, which will not be repeated here.
本实施例的有益效果在于,通过连接要经过的航点与前一航点,以获得前连线;然后,连接要经过的航点与后一航点,以获得后连线;然后,将前连线的中间点与后连线的中间点连接,以获得中间连线;然后,将中间连线沿着其垂直方向偏移至经过要经过的航点,将中间连线的两端点分别作为两个控制点;最后,所述三次贝塞尔曲线的两个控制点的集合为所有所述中间连线的两端点的集合。从而能够使得预测快速航点飞行的飞行路径更平滑和准确。The beneficial effect of this embodiment is that the forward connection is obtained by connecting the waypoint to be passed with the previous waypoint; then, the backward connection is obtained by connecting the waypoint to be passed with the next waypoint; then, the The middle point of the front line is connected with the middle point of the back line to obtain the middle line; then, the middle line is offset along its vertical direction to pass the waypoint to be passed, and the two ends of the middle line are respectively as two control points; finally, the set of the two control points of the cubic Bezier curve is the set of the two end points of all the intermediate lines. This enables smoother and more accurate flight paths for predictive fast waypoint flights.
实施例六Embodiment six
本发明还提供了一种预测无人机飞行轨迹装置,基于上述实施例。The present invention also provides a device for predicting the flight trajectory of an unmanned aerial vehicle, based on the above-mentioned embodiments.
所述预测无人机飞行轨迹装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的预测无人机飞行轨迹程序,所述预测无人机飞行轨迹程序被所述处理器执行时实现如下步骤:The device for predicting the flight path of the UAV includes: a memory, a processor, and a program for predicting the flight path of the UAV that is stored on the memory and can run on the processor, and the program for predicting the flight path of the UAV is controlled by When the processor is executed, the following steps are implemented:
获得无人机的规划航线;Obtain the planned route of the drone;
获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;Obtain the position information of each waypoint in the planned route, as well as the flight action between two adjacent waypoints;
根据位置信息的经纬度信息在二维地图上标注每一航点;Mark each waypoint on the two-dimensional map according to the latitude and longitude information of the location information;
根据飞行动作在二维地图上的相邻航点之间绘制相应连线。Draw corresponding connecting lines between adjacent waypoints on the two-dimensional map according to flight movements.
在本实施例中,所提供的预测无人机飞行轨迹装置所实现的步骤,与上述实施例中的步骤相同,具体可以参看上述实施例,在此不再赘述。In this embodiment, the steps implemented by the provided device for predicting the flight trajectory of the UAV are the same as the steps in the above-mentioned embodiment, and details can be referred to the above-mentioned embodiment, and will not be repeated here.
本实施例的有益效果在于,通过获得无人机的规划航线;然后,获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;然后根据位置信息的经纬度信息在二维地图上标注每一航点;最后,根据飞行动作在二维地图上的相邻航点之间绘制相应连线。从而能够在二维地图上准确描述无人机将要经过的航点,以及准确描述如何从一个航点飞行至下一航点的飞行路径,进而达到预测的整体飞行路径与实际飞行路径更相似,而达到能够使得用户获得较为准确的预测路径的效果。The beneficial effect of this embodiment is that by obtaining the planned route of the drone; then, obtaining the position information of each waypoint in the planned route, and the flight action between two adjacent waypoints; and then according to the position information The latitude and longitude information marks each waypoint on the two-dimensional map; finally, draws corresponding connection lines between adjacent waypoints on the two-dimensional map according to the flight action. In this way, it is possible to accurately describe the waypoints that the drone will pass through on the two-dimensional map, and accurately describe the flight path of how to fly from one waypoint to the next waypoint, so that the predicted overall flight path is more similar to the actual flight path. In order to achieve the effect of enabling the user to obtain a more accurate predicted path.
进一步的,所述根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:Further, said drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
在相邻航点之间的飞行动作为点到点直线飞行时;When the flight action between adjacent waypoints is point-to-point straight flight;
在二维地图上的相邻航点之间绘制直线线段;Draw straight line segments between adjacent waypoints on a 2D map;
在相邻航点之间的飞行动作为正圆弧线飞行时;When the flight action between adjacent waypoints is a positive arc flight;
获得飞行动作中设定的环绕设定方向和环绕设定角度;Obtain the circling setting direction and circling setting angle set in the flight action;
在二维地图上绘制正圆弧线,所述正圆弧线的弧线起点为相邻两航点中的前一航点,弧线圆心为后一航点,弧线终点为沿着所述环绕设定方向转过环绕设定角度时的位置。Draw a positive circular arc on the two-dimensional map, the starting point of the positive circular arc is the previous waypoint in the two adjacent waypoints, the center of the arc is the next waypoint, and the end point of the arc is along the two adjacent waypoints. The position when the circle setting direction is rotated through the circle setting angle.
进一步的,所述根据飞行动作在二维地图上的相邻航点之间绘制相应连线包括:Further, said drawing corresponding connecting lines between adjacent waypoints on the two-dimensional map according to the flight action includes:
在相邻航点之间的飞行动作为快速航点飞行时;When the flight action between adjacent waypoints is fast waypoint flight;
获得快速航点飞行所经过的相邻连续多个航点;Obtain multiple adjacent and continuous waypoints passed by the fast waypoint flight;
在二维地图上绘制三次贝塞尔曲线,所述三次贝塞尔曲线的要经过的点集合为所述相邻连续多个航点的集合,每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定。Draw a cubic Bezier curve on a two-dimensional map, the set of points to be passed by the cubic Bezier curve is a set of adjacent continuous waypoints, and the corresponding control curvature of each waypoint to be passed through A set of two control points in , determined according to the two waypoints before and after the waypoint.
进一步的,所述每个要经过的航点所对应的控制曲率的两个控制点的集合,根据该航点前后两航点确定包括:Further, the set of two control points corresponding to the control curvature of each waypoint to be passed, determined according to the two waypoints before and after the waypoint includes:
连接要经过的航点与前一航点,以获得前连线;Connect the waypoint to be passed with the previous waypoint to obtain the forward connection;
连接要经过的航点与后一航点,以获得后连线;Connect the waypoint to be passed with the next waypoint to obtain the next connection line;
将前连线的中间点与后连线的中间点连接,以获得中间连线;Connect the middle point of the front line with the middle point of the back line to obtain the middle line;
将中间连线沿着其垂直方向偏移至经过要经过的航点,将中间连线的两端点分别作为两个控制点;Offset the middle line along its vertical direction to pass the waypoint to be passed, and use the two ends of the middle line as two control points;
所述三次贝塞尔曲线的两个控制点的集合为所有所述中间连线的两端点的集合。The set of two control points of the cubic Bezier curve is the set of both ends of all the intermediate lines.
实施例七Embodiment seven
本发明还提供了一种储存介质,用于计算机,基于上述实施例。所述储存介质上存储有预测无人机飞行轨迹程序,所述预测无人机飞行轨迹程序被处理器执行时实现如上述实施例的预测无人机飞行轨迹方法的步骤。The present invention also provides a storage medium used in a computer, based on the above embodiments. The storage medium stores a program for predicting the flight trajectory of the UAV, and when the program for predicting the flight trajectory of the UAV is executed by the processor, the steps of the method for predicting the flight trajectory of the UAV as in the above-mentioned embodiments are implemented.
在本实施例中,所提供的储存介质所实现的步骤,与上述实施例中的步骤相同,具体可以参看上述实施例,在此不再赘述。In this embodiment, the steps implemented by the provided storage medium are the same as the steps in the foregoing embodiments, and reference may be made to the foregoing embodiments for details, and details are not repeated here.
本实施例的有益效果在于,通过获得无人机的规划航线;然后,获得规划航线中的每一航点的位置信息,以及相邻两个航点之间的飞行动作;然后根据位置信息的经纬度信息在二维地图上标注每一航点;最后,根据飞行动作在二维地图上的相邻航点之间绘制相应连线。从而能够在二维地图上准确描述无人机将要经过的航点,以及准确描述如何从一个航点飞行至下一航点的飞行路径,进而达到预测的整体飞行路径与实际飞行路径更相似,而达到能够使得用户获得较为准确的预测路径的效果。The beneficial effect of this embodiment is that by obtaining the planned route of the drone; then, obtaining the position information of each waypoint in the planned route, and the flight action between two adjacent waypoints; and then according to the position information The latitude and longitude information marks each waypoint on the two-dimensional map; finally, draws corresponding connection lines between adjacent waypoints on the two-dimensional map according to the flight action. In this way, it is possible to accurately describe the waypoints that the drone will pass through on the two-dimensional map, and accurately describe the flight path of how to fly from one waypoint to the next waypoint, so that the predicted overall flight path is more similar to the actual flight path. In order to achieve the effect of enabling the user to obtain a more accurate predicted path.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, and these all belong to the protection of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810224200.3A CN108490970A (en) | 2018-03-19 | 2018-03-19 | Predict unmanned plane during flying track approach, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810224200.3A CN108490970A (en) | 2018-03-19 | 2018-03-19 | Predict unmanned plane during flying track approach, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108490970A true CN108490970A (en) | 2018-09-04 |
Family
ID=63339826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810224200.3A Pending CN108490970A (en) | 2018-03-19 | 2018-03-19 | Predict unmanned plane during flying track approach, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108490970A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109839953A (en) * | 2019-02-19 | 2019-06-04 | 上海交通大学 | The trajectory planning and speed planning method for transferring smooth based on Bezier |
CN109874772A (en) * | 2019-01-29 | 2019-06-14 | 山东昆丰农林科技股份有限公司 | A kind of aviation agrisilviculture monitoring method and system |
CN110262549A (en) * | 2019-06-24 | 2019-09-20 | 亿航智能设备(广州)有限公司 | A kind of fixed-wing unmanned plane and its ground taxi control method, storage medium |
CN112445237A (en) * | 2020-11-16 | 2021-03-05 | 广东电网有限责任公司肇庆供电局 | Unmanned aerial vehicle patrols and examines ground station system |
CN112444248A (en) * | 2019-08-27 | 2021-03-05 | 广州极飞科技有限公司 | Route generation method, device, equipment and storage medium |
CN113448348A (en) * | 2021-06-07 | 2021-09-28 | 北方天途航空技术发展(北京)有限公司 | Unmanned aerial vehicle steering flight path planning method based on Bezier curve |
CN113485430A (en) * | 2021-07-23 | 2021-10-08 | 中国科学院地理科学与资源研究所 | Unmanned aerial vehicle path planning method and system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1995561A1 (en) * | 2007-05-22 | 2008-11-26 | Thales | Method for estimating position and velocity errors in an inertial unit with the help of a radar with SAR imaging |
CN102998684A (en) * | 2012-11-21 | 2013-03-27 | 厦门雅迅网络股份有限公司 | Terminal positioning track fitting method based on Bezier curve |
CN204390044U (en) * | 2015-01-29 | 2015-06-10 | 北京中科遥数信息技术有限公司 | A kind of device optimizing unmanned plane during flying record |
CN105589471A (en) * | 2016-01-22 | 2016-05-18 | 深圳市为有视讯有限公司 | Unmanned plane flight path drawing method, device and system |
CN106054920A (en) * | 2016-06-07 | 2016-10-26 | 南方科技大学 | Unmanned aerial vehicle flight path planning method and device |
CN106529705A (en) * | 2016-10-25 | 2017-03-22 | 合肥飞友网络科技有限公司 | Low-frequency latitude and longitude data supplement optimization flight locus method |
CN106575125A (en) * | 2014-04-03 | 2017-04-19 | 杜傅聪国际 | Flying drone trajectory synchronization |
CN106886038A (en) * | 2015-12-15 | 2017-06-23 | 骑记(厦门)科技有限公司 | The processing method and processing device of movement locus |
CN106950924A (en) * | 2017-04-19 | 2017-07-14 | 广州视源电子科技股份有限公司 | Robot arc motion control method and system |
-
2018
- 2018-03-19 CN CN201810224200.3A patent/CN108490970A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1995561A1 (en) * | 2007-05-22 | 2008-11-26 | Thales | Method for estimating position and velocity errors in an inertial unit with the help of a radar with SAR imaging |
CN102998684A (en) * | 2012-11-21 | 2013-03-27 | 厦门雅迅网络股份有限公司 | Terminal positioning track fitting method based on Bezier curve |
CN106575125A (en) * | 2014-04-03 | 2017-04-19 | 杜傅聪国际 | Flying drone trajectory synchronization |
CN204390044U (en) * | 2015-01-29 | 2015-06-10 | 北京中科遥数信息技术有限公司 | A kind of device optimizing unmanned plane during flying record |
CN106886038A (en) * | 2015-12-15 | 2017-06-23 | 骑记(厦门)科技有限公司 | The processing method and processing device of movement locus |
CN105589471A (en) * | 2016-01-22 | 2016-05-18 | 深圳市为有视讯有限公司 | Unmanned plane flight path drawing method, device and system |
CN106054920A (en) * | 2016-06-07 | 2016-10-26 | 南方科技大学 | Unmanned aerial vehicle flight path planning method and device |
CN106529705A (en) * | 2016-10-25 | 2017-03-22 | 合肥飞友网络科技有限公司 | Low-frequency latitude and longitude data supplement optimization flight locus method |
CN106950924A (en) * | 2017-04-19 | 2017-07-14 | 广州视源电子科技股份有限公司 | Robot arc motion control method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109874772A (en) * | 2019-01-29 | 2019-06-14 | 山东昆丰农林科技股份有限公司 | A kind of aviation agrisilviculture monitoring method and system |
CN109874772B (en) * | 2019-01-29 | 2022-08-23 | 山东昆丰农林科技股份有限公司 | Aviation agriculture and forestry operation monitoring method and system |
CN109839953A (en) * | 2019-02-19 | 2019-06-04 | 上海交通大学 | The trajectory planning and speed planning method for transferring smooth based on Bezier |
CN110262549A (en) * | 2019-06-24 | 2019-09-20 | 亿航智能设备(广州)有限公司 | A kind of fixed-wing unmanned plane and its ground taxi control method, storage medium |
CN112444248A (en) * | 2019-08-27 | 2021-03-05 | 广州极飞科技有限公司 | Route generation method, device, equipment and storage medium |
CN112445237A (en) * | 2020-11-16 | 2021-03-05 | 广东电网有限责任公司肇庆供电局 | Unmanned aerial vehicle patrols and examines ground station system |
CN113448348A (en) * | 2021-06-07 | 2021-09-28 | 北方天途航空技术发展(北京)有限公司 | Unmanned aerial vehicle steering flight path planning method based on Bezier curve |
CN113448348B (en) * | 2021-06-07 | 2023-02-17 | 北方天途航空技术发展(北京)有限公司 | UAV steering flight path planning method based on Bezier curve |
CN113485430A (en) * | 2021-07-23 | 2021-10-08 | 中国科学院地理科学与资源研究所 | Unmanned aerial vehicle path planning method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108490970A (en) | Predict unmanned plane during flying track approach, device and storage medium | |
CN106873630B (en) | Flight control method and device and execution equipment | |
CN110687923B (en) | Unmanned aerial vehicle long-distance tracking flight method, device, equipment and storage medium | |
JP6124384B2 (en) | Method, system, and program for creating direction of travel of drone | |
US8082102B2 (en) | Computing flight plans for UAVs while routing around obstacles having spatial and temporal dimensions | |
US9513125B2 (en) | Computing route plans for routing around obstacles having spatial and temporal dimensions | |
CN108803656B (en) | A flight control method and system based on complex low altitude | |
WO2017211029A1 (en) | Method and device for planning flight path for unmanned aerial vehicle | |
US11222546B2 (en) | Pairing aircraft during flight | |
US20150283706A1 (en) | Enhanced system and method for planning and controlling for robotic devices | |
US9536434B2 (en) | Aircraft turns for interval management | |
CN104807457A (en) | Generation method and device of flight line of aircraft and terminal equipment | |
WO2019119187A1 (en) | Route planning method for unmanned aerial vehicle, control device, and storage medium | |
CN113485434B (en) | Unmanned aerial vehicle formation aggregation control method | |
WO2018076372A1 (en) | Waypoint editing method, apparatus, device and aircraft | |
CN107741226A (en) | UAV positioning method, device and system | |
JP2019038479A (en) | Unmanned aircraft management apparatus, unmanned aircraft management method, and program | |
CN107289945A (en) | A kind of Navigation of Pilotless Aircraft method | |
CN112204636A (en) | Route adjustment method, ground terminal equipment, unmanned aerial vehicle, system and storage medium | |
WO2020238347A1 (en) | Unmanned aerial vehicle riding route processing method, apparatus and device and readable storage medium | |
CN110413007A (en) | Control method, system, electronic device and medium for unmanned aerial vehicle flight path | |
CN109960273B (en) | Flight control method and device of unmanned aerial vehicle and storage medium | |
CN114690801A (en) | UAV route planning method, device, electronic device and storage medium | |
WO2021168793A1 (en) | Operation planning method and apparatus, and storage medium | |
WO2021168810A1 (en) | Unmanned aerial vehicle control method and apparatus, and unmanned aerial vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180904 |
|
RJ01 | Rejection of invention patent application after publication |