CN110687921B - Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium - Google Patents
Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110687921B CN110687921B CN201911045303.4A CN201911045303A CN110687921B CN 110687921 B CN110687921 B CN 110687921B CN 201911045303 A CN201911045303 A CN 201911045303A CN 110687921 B CN110687921 B CN 110687921B
- Authority
- CN
- China
- Prior art keywords
- control
- unmanned aerial
- flight
- timestamp
- instruction
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 99
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 title claims description 42
- 238000003860 storage Methods 0.000 title claims description 12
- 238000003780 insertion Methods 0.000 claims abstract description 36
- 230000037431 insertion Effects 0.000 claims abstract description 36
- 230000000875 corresponding effect Effects 0.000 claims abstract description 19
- 230000001276 controlling effect Effects 0.000 claims abstract description 15
- 230000000007 visual effect Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 14
- 230000000694 effects Effects 0.000 claims description 14
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 238000011217 control strategy Methods 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000001795 light effect Effects 0.000 abstract description 8
- 230000033764 rhythmic process Effects 0.000 abstract description 8
- 238000005516 engineering process Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 238000011065 in-situ storage Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 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
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)
- Traffic Control Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a method, a device, equipment and a medium for controlling the flight of an unmanned aerial vehicle, wherein the method comprises the following steps: after the unmanned aerial vehicle action group is newly built, adding a timestamp control for the current action group according to a timestamp adding instruction; acquiring start-stop time set for each timestamp control based on a preset time line, and splicing all the set timestamp controls; inserting the flight action state control and the flight light display control into the appointed timestamp control according to the control insertion instruction; and generating a target action group after the insertion is successful, and adding one or more unmanned aerial vehicles to the target action group so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group. This application timestamp controlling part start-stop time's setting and concatenation process all realize based on predetermineeing the timeline, can satisfy the demand that unmanned aerial vehicle motion state and light effect and music rhythm combined, have realized can programming many unmanned aerial vehicles simultaneously to the unit, have effectively improved work efficiency, have improved user experience.
Description
Technical Field
The present application relates to the field of unmanned aerial vehicle technologies, and more particularly, to an unmanned aerial vehicle flight control method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
Graphical programming is a mode for programming the unmanned aerial vehicle by the visual and jigsaw splicing concepts, and has the characteristics of intuition, convenience in operation and strong interestingness. However, the existing graphical programming method based on the unmanned aerial vehicle usually performs splicing of functional modules based on logic, and in some specific scenes, if the unmanned aerial vehicle is combined with music, so that the unmanned aerial vehicle can realize different motion effects based on music rhythm, the demand can not be met based on the logic programming method, and a plurality of unmanned aerial vehicles can not be programmed simultaneously.
Therefore, how to solve the above problems is a great concern for those skilled in the art.
Disclosure of Invention
The application aims to provide an unmanned aerial vehicle flight control method, an unmanned aerial vehicle flight control device, an electronic device and a computer readable storage medium, the requirement that the motion state and the light effect of an unmanned aerial vehicle are combined with music rhythm is met, the single machine can be programmed and multiple unmanned aerial vehicles can be programmed simultaneously, the motion state and the light effect of the unmanned aerial vehicles are combined with timestamps, the unmanned aerial vehicles can be controlled better, the working efficiency is effectively improved, and the user experience is improved.
In order to achieve the above object, the present application provides a flight control method for an unmanned aerial vehicle, including:
after the new unmanned aerial vehicle action group is built, receiving a timestamp adding instruction, and adding a timestamp control for the current action group according to the timestamp adding instruction;
acquiring start-stop time set for each timestamp control based on a preset time line, and splicing all the set timestamp controls based on a visual interface;
receiving a control selection instruction and a control insertion instruction, and inserting a flight action state control and a flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction;
and after the insertion is finished, generating a target action group, and adding one or more unmanned aerial vehicles to the target action group so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group in the flight process.
Optionally, after receiving the control selection instruction and the control insertion instruction, the method further includes:
receiving an updating instruction, and modifying the attributes of the flight action state control and the flight light display control based on the updating instruction;
correspondingly, the inserting the flight action state control and the flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction comprises:
and inserting the updated flying action state control and the updated flying light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction.
Optionally, adding one or more drones to the target action group includes:
acquiring connection parameters of each unmanned aerial vehicle, and adding all the unmanned aerial vehicles to the target action group based on the connection parameters; the connection parameters comprise an unmanned aerial vehicle initial coordinate position, an unmanned aerial vehicle IP address and an account password of the router needing to be connected.
Optionally, after adding all the drones to the target action group based on the connection parameter, the method further includes:
generating a script file based on the target action group, and sending the script file to the unmanned aerial vehicle;
controlling the unmanned aerial vehicle to execute corresponding action states and light display based on the script file, and monitoring the flight process of the unmanned aerial vehicle;
and if the situation that the flight process is abnormal is monitored, carrying out emergency control on the unmanned aerial vehicle by using a preset control strategy.
Optionally, the method further includes:
recording a first process of acquiring the start-stop time of each timestamp control set based on a preset time line and splicing all the set timestamp controls based on a visual interface and a second process of inserting the flight action state control and the flight light display control into the appointed timestamp control according to the control selection instruction;
and generating source codes of the programming process based on the first process and the second process, and displaying the source codes in a preset coding area.
Optionally, after generating the target action group, the method further includes:
and generating a 3D preview effect of the target action group, and displaying the 3D preview effect through a preset preview interface.
To achieve the above object, the present application provides an unmanned aerial vehicle flight control device, including:
the control adding module is used for receiving a timestamp adding instruction after the new unmanned aerial vehicle action group is built, and adding a timestamp control for the current action group according to the timestamp adding instruction;
the control splicing module is used for acquiring the starting and stopping time set for each timestamp control based on a preset time line and splicing all the set timestamp controls based on a visual interface;
the control inserting module is used for receiving a control selecting instruction and a control inserting instruction, and inserting a flight action state control and a flight light display control into the timestamp control specified by the control selecting instruction according to the control inserting instruction;
and the flight control module is used for generating a target action group after the control is inserted, and adding one or more unmanned aerial vehicles for the target action group so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group in the flight process.
Optionally, the method further includes:
the attribute modification module is used for receiving an updating instruction and modifying the attributes of the flight action state control and the flight light display control based on the updating instruction after receiving a control selection instruction and a control insertion instruction;
correspondingly, the control insertion module is used for inserting the updated flight action state control and the updated flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction.
To achieve the above object, the present application provides an electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the aforementioned disclosed drone flight control methods when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of any one of the flight control methods of the unmanned aerial vehicle disclosed in the foregoing disclosure.
According to the scheme, the unmanned aerial vehicle flight control method comprises the following steps: after the new unmanned aerial vehicle action group is built, receiving a timestamp adding instruction, and adding a timestamp control for the current action group according to the timestamp adding instruction; acquiring start-stop time set for each timestamp control based on a preset time line, and splicing all the set timestamp controls based on a visual interface; receiving a control selection instruction and a control insertion instruction, and inserting a flight action state control and a flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction; and after the insertion is finished, generating a target action group, and adding one or more unmanned aerial vehicles to the target action group so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group in the flight process. By last can know, this application is at first newly-built unmanned aerial vehicle action group to add the timestamp controlling part at this action group, wherein, the setting of timestamp controlling part start-stop time and concatenation process all realize based on predetermineeing the timeline, thereby can satisfy the demand that unmanned aerial vehicle motion state and light effect and music rhythm combined. In addition, after the target action group is generated, one or more unmanned aerial vehicles can be added to the target action group, so that a single machine and multiple unmanned aerial vehicles can be programmed simultaneously, the working efficiency is effectively improved, and the user experience is improved.
The application also discloses an unmanned aerial vehicle flight control device, an electronic device and a computer readable storage medium, and the technical effect can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a flight control method for an unmanned aerial vehicle disclosed in an embodiment of the present application;
fig. 2 is a flowchart of another flight control method for an unmanned aerial vehicle according to an embodiment of the present disclosure;
fig. 3 is a structural diagram of a flight control device of an unmanned aerial vehicle disclosed in the embodiment of the present application;
FIG. 4 is a block diagram of an electronic device according to an embodiment of the disclosure;
fig. 5 is a block diagram of another electronic device disclosed in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the conventional technology, the graphical programming method based on the unmanned aerial vehicle generally performs splicing of functional modules based on logic, and cannot perform time editing, and under some specific scenes, if the unmanned aerial vehicle is combined with music, the unmanned aerial vehicle can not meet the requirements based on the logic programming method when realizing different motion effects based on music rhythm, and a plurality of unmanned aerial vehicles cannot be programmed simultaneously.
Therefore, the embodiment of the application discloses an unmanned aerial vehicle flight control method, the requirements of combination of the motion state of the unmanned aerial vehicle, the light effect and the music rhythm are met, programming of a single unmanned aerial vehicle and programming of multiple unmanned aerial vehicles can be realized, the working efficiency is effectively improved, and the user experience is improved.
Referring to fig. 1, a method for controlling flight of an unmanned aerial vehicle disclosed in the embodiment of the present application includes:
s101: after the new unmanned aerial vehicle action group is built, receiving a timestamp adding instruction, and adding a timestamp control for the current action group according to the timestamp adding instruction;
in the embodiment of the application, a user can firstly create an unmanned aerial vehicle action group, and the unmanned aerial vehicle action group comprises a series of action state changes and light effect changes of an unmanned aerial vehicle. After the action group creation is complete, a timestamp control may be added to the current action group. Specifically, a visual interface can be provided for a user through a terminal device, and the user can add a timestamp control to a current unmanned aerial vehicle action group in a clicking, touching and dragging mode.
S102: acquiring start-stop time set for each timestamp control based on a preset time line, and splicing all the set timestamp controls based on a visual interface;
in this step, the start-stop time set by the user for each timestamp control based on the preset timeline is obtained. The first timestamp control needs to be spliced with the starting control, and each subsequent timestamp control needs to be spliced with the previous timestamp control. And during splicing, control splicing can be realized through a dragging mode based on a visual interface. And through the setting and splicing of the start and stop time of the timestamp control, time points can be created on the corresponding music time axis at the same time.
S103: receiving a control selection instruction and a control insertion instruction, and inserting the flight action state control and the flight light display control into a timestamp control specified by the control selection instruction according to the control insertion instruction;
it should be noted that the user may issue the control selection instruction and the control insertion instruction in a dragging, clicking selection or touch selection manner, so as to determine the timestamp control to be inserted according to the control selection instruction, and insert the flight action state control and the flight lighting display control into the timestamp control specified by the control selection instruction according to the control insertion instruction, so as to implement the corresponding flight action state and lighting effect within the time period of the timestamp control.
Specifically, the flight action state controls may include basic action controls, such as unlock, takeoff, landing, forward, backward, left, right, left turn, right turn, up, down, and the like; further, advanced motion controls may be included, such as simple harmonic motion, spiral flight, airborne in-situ roll, rapid translation, steering translation, and the like. The flying light display control can comprise a single LED control lighting, a single LED control closing, a single LED flashing control closing, all LED slow flashing controls controlling, all LED flash controls controlling, all LEDs lighting the same color control, all LEDs lighting different color controls and the like.
S104: after the insertion is completed, a target action group is generated, and one or more unmanned aerial vehicles are added to the target action group, so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group in the flight process.
It can be understood that after the timestamp control is added and set, and the flight action state control and the flight light display control are inserted into the timestamp control according to requirements, the programming of the action group is completed, and the target action group is generated after the programming is confirmed to be correct. And one or more unmanned aerial vehicles are added to the target action group, so that the corresponding unmanned aerial vehicle can execute action state and light display based on the programming of the target action group in the flight process.
In a feasible implementation manner, when one or more drones are added to the target action group, the connection parameters of each drone may be first obtained, and all drones are added to the target action group based on the connection parameters. The connection parameters may include, but are not limited to, an initial coordinate position of the drone, an IP address of the drone, and an account password of the router to be connected.
In concrete implementation, after all unmanned aerial vehicles are added to the target action group based on the connection parameters, the present embodiment may generate a script file based on the target action group, and send the script file to all unmanned aerial vehicles added to the target action group, so that the controllable unmanned aerial vehicle flies based on the script file to execute corresponding action state and light display. Furthermore, the flight process of the unmanned aerial vehicle and the operation process of the script file can be monitored, and the operation process of the script file is displayed in real time on a visual interface, so that a user can know the operation state of the script in time. In addition, this application embodiment has still compiled in advance and has carried out the control strategy of predetermineeing that controls under the emergent condition of unmanned aerial vehicle to after monitoring that the flight process is unusual, usable control strategy of predetermineeing carries out emergency control to unmanned aerial vehicle.
As a preferred embodiment, after the target action group is generated, the 3D preview effect of the target action group may be generated first. Specifically, a preview button can be displayed on an interface after the action group is generated, and a user can issue an instruction by clicking the preview button, so that the flight action state and the lighting effect corresponding to the generated target action group are previewed and displayed through presetting each angle of a three-dimensional space in the preview interface. Of course, the user can also simulate the flight action state and the lighting effect at the selected time point by dragging the progress bar of the preview interface time axis.
It should be pointed out that, in the specific implementation process, after newly-built unmanned aerial vehicle action group is accomplished, can directly receive the timestamp instruction of adding, add the timestamp control for current action group, of course, still can be after newly-built unmanned aerial vehicle action group is accomplished for adding one or more unmanned aerial vehicle for current action group, and the configuration of action group begins again after unmanned aerial vehicle configuration is accomplished, that is, this application embodiment does not restrict the execution precedence of action group configuration process and for action group addition unmanned aerial vehicle process, can dispose action group earlier and add unmanned aerial vehicle again, also can add unmanned aerial vehicle earlier and dispose action group, this all does not influence the realization of this application.
According to the scheme, the unmanned aerial vehicle flight control method comprises the following steps: after the action group of the unmanned aerial vehicle is newly built, receiving a timestamp adding instruction, and adding a timestamp control for the current action group according to the timestamp adding instruction; acquiring start-stop time set for each timestamp control based on a preset time line, and splicing all the set timestamp controls based on a visual interface; receiving a control selection instruction and a control insertion instruction, and inserting a flight action state control and a flight light display control into a timestamp control specified by the control selection instruction according to the control insertion instruction; and after the insertion is finished, generating a target action group, and adding one or more unmanned aerial vehicles to the target action group so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group in the flight process. By last can know, this application is at first newly-built unmanned aerial vehicle action group to add the timestamp controlling part at this action group, wherein, the setting of timestamp controlling part start-stop time and concatenation process all realize based on predetermineeing the timeline, thereby can satisfy the demand that unmanned aerial vehicle motion state and light effect and music rhythm combined. In addition, after the target action group is generated, one or more unmanned aerial vehicles can be added to the target action group, so that the single machine and multiple unmanned aerial vehicles can be programmed simultaneously, the working efficiency is effectively improved, and the user experience is improved.
The embodiment of the application discloses another unmanned aerial vehicle flight control method, and compared with the previous embodiment, the embodiment further describes and optimizes the technical scheme. Referring to fig. 2, specifically:
s201: after the action group of the unmanned aerial vehicle is newly built, receiving a timestamp adding instruction, and adding a timestamp control for the current action group according to the timestamp adding instruction;
s202: acquiring start-stop time set for each timestamp control based on a preset time line, and splicing all the set timestamp controls based on a visual interface;
s203: receiving a control selection instruction and a control insertion instruction, and determining a flight action state control and a flight light display control according to the control insertion instruction;
s204: receiving an updating instruction, and modifying the attributes of the flight action state control and the flight light display control based on the updating instruction;
s205: inserting the updated flying action state control and the updated flying light display control into a timestamp control specified by the control selection instruction according to the control insertion instruction;
s206: after the insertion is completed, a target action group is generated, and one or more unmanned aerial vehicles are added to the target action group, so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group in the flight process.
In the embodiment of the application, after the user selects to insert the flight action state control and the flight light display control into the timestamp control, the preset interface can be provided to receive the updating instruction of the user for the two controls, so that the attributes of the flight action state control and the flight light display control can be modified based on the updating instruction, for example, the flight speed, the light display color and the like can be modified.
On the basis of any one of the above embodiments, as a preferred implementation manner, the method can further record a first process of acquiring the start and stop time of each timestamp control set based on a preset timeline, splicing all the set timestamp controls based on a visual interface, and a second process of inserting the flight action state control and the flight light display control into the specified timestamp control according to a control selection instruction, so that the tracing of the programming setting process is realized based on the recorded process, and if an error occurs in any one of the above processes, a user can accurately and quickly determine the step of rollback according to the record. In addition, the source code of the programming process can be generated based on the first process and the second process, the source code is displayed in the preset coding area, a user can select to directly edit and modify the source code according to the self ability, the programming flexibility is improved, in addition, the modification is carried out based on the existing source code, the coding efficiency can be improved, and the time is saved.
The unmanned aerial vehicle flight control device provided by the embodiment of the application is introduced below, and the unmanned aerial vehicle flight control device described below and the unmanned aerial vehicle flight control method described above can refer to each other.
Referring to fig. 3, an unmanned aerial vehicle flight control device provided in an embodiment of the present application includes:
the control adding module 301 is configured to receive a timestamp adding instruction after the new unmanned aerial vehicle action group is created, and add a timestamp control to the current action group according to the timestamp adding instruction;
the control splicing module 302 is configured to obtain start-stop time set for each timestamp control based on a preset timeline, and splice all the set timestamp controls based on a visual interface;
the control inserting module 303 is configured to receive a control selecting instruction and a control inserting instruction, and insert the flight action state control and the flight light display control into the timestamp control specified by the control selecting instruction according to the control inserting instruction;
and the flight control module 304 is configured to generate a target action group after the control is inserted, and add one or more unmanned aerial vehicles to the target action group, so that the unmanned aerial vehicle executes corresponding action state and light display based on the target action group in a flight process.
For the specific implementation processes of the modules 301 to 304, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated herein.
On the basis of the above-mentioned embodiment, as an optimal implementation, the unmanned aerial vehicle flight control device that this application embodiment provided can also further include:
the attribute modification module is used for receiving the updating instruction and modifying the attributes of the flight action state control and the flight light display control based on the updating instruction after receiving the control selection instruction and the control insertion instruction;
correspondingly, the control insertion module is used for inserting the updated flight action state control and the updated flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction.
On the basis of the above embodiment, as a preferred implementation, the flight control module in the flight control device of the unmanned aerial vehicle is specifically configured to: taking the connection parameters of each unmanned aerial vehicle, and adding all the unmanned aerial vehicles to the target action group based on the connection parameters; the connection parameters comprise the initial coordinate position of the unmanned aerial vehicle, the IP address of the unmanned aerial vehicle and the account password of the router needing to be connected.
On the basis of the above-mentioned embodiment, as an optimal implementation, the unmanned aerial vehicle flight control device that this application embodiment provided can also further include:
the script generation module is used for generating a script file based on the target action group after all the unmanned aerial vehicles are added into the target action group based on the connection parameters, and sending the script file to the unmanned aerial vehicles;
the operation monitoring module is used for controlling the unmanned aerial vehicle to execute corresponding action state and light display based on the script file and monitoring the flight process of the unmanned aerial vehicle;
if the situation that the flight process is abnormal is monitored, the unmanned aerial vehicle is subjected to emergency control through a preset control strategy.
On the basis of the above-mentioned embodiment, as an optimal implementation, the unmanned aerial vehicle flight control device that this application embodiment provided can also further include:
the process recording module is used for recording a first process of acquiring the start-stop time of each timestamp control set based on a preset timeline, splicing all the set timestamp controls based on a visual interface, and a second process of inserting the flight action state control and the flight light display control into the designated timestamp control according to a control selection instruction;
and the code display module is used for generating a source code of the programming process based on the first process and the second process and displaying the source code in a preset coding area.
On the basis of the above-mentioned embodiment, as an optimal implementation, the unmanned aerial vehicle flight control device that this application embodiment provided can also further include:
and the effect preview module is used for generating a 3D preview effect of the target action group after the target action group is generated, and displaying the 3D preview effect through a preset preview interface.
The present application further provides an electronic device, and referring to fig. 4, an electronic device provided in an embodiment of the present application includes:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps of the flight control method for an unmanned aerial vehicle provided in the foregoing embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions, and the internal memory provides an environment for the operating system and the computer readable instructions in the non-volatile storage medium to run. The processor 200 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and provides computing and control capabilities for electronic devices, and when executing a computer program stored in the memory 100, the steps of the method for controlling flight of an unmanned aerial vehicle disclosed in any of the foregoing embodiments may be implemented.
On the basis of the above embodiment, as a preferred embodiment, referring to fig. 5, the electronic device further includes:
and an input interface 300 connected to the processor 200, for obtaining computer programs, parameters and instructions imported from outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or may be a key, a track ball or a touch pad arranged on a terminal housing, or may be a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data processed by the processor 200 and for displaying a visualized user interface. The display unit 400 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like.
The network port 500 is connected to the processor 200, and is configured to perform communication connection with external terminal devices. The communication technology adopted by the communication connection may be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
Fig. 5 shows only an electronic device having components 100-500, and those skilled in the art will appreciate that the structure shown in fig. 5 does not constitute a limitation of the electronic device, and may include fewer or more components than shown, or some components in combination, or a different arrangement of components.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the flight control method of the unmanned aerial vehicle disclosed in any one of the foregoing embodiments.
This application is at first newly-built unmanned aerial vehicle action group to add the timestamp controlling part at this action group, wherein, the setting of timestamp controlling part start-stop time and concatenation process all realize based on predetermineeing the timeline, thereby can satisfy the demand that unmanned aerial vehicle motion state and light effect and music rhythm combined. In addition, after the target action group is generated, one or more unmanned aerial vehicles can be added to the target action group, so that the single machine and multiple unmanned aerial vehicles can be programmed simultaneously, the working efficiency is effectively improved, and the user experience is improved.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. An unmanned aerial vehicle flight control method is characterized by comprising the following steps:
after the action group of the unmanned aerial vehicle is newly built, receiving a timestamp adding instruction, and adding a timestamp control for the current action group according to the timestamp adding instruction;
acquiring start-stop time set for each timestamp control based on a preset time line, and splicing all the set timestamp controls based on a visual interface;
receiving a control selection instruction and a control insertion instruction, and inserting a flight action state control and a flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction;
and after the insertion is finished, generating a target action group, and adding one or more unmanned aerial vehicles to the target action group so that the unmanned aerial vehicles execute corresponding action states and light display based on the target action group in the flight process.
2. The unmanned aerial vehicle flight control method of claim 1, wherein after receiving the control selection instruction and the control insertion instruction, the method further comprises:
receiving an updating instruction, and modifying the attributes of the flight action state control and the flight light display control based on the updating instruction;
correspondingly, the inserting the flight action state control and the flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction comprises:
and inserting the updated flight action state control and the updated flight light display control into the timestamp control specified by the control selection instruction according to the control insertion instruction.
3. The drone flight control method of claim 1, wherein the adding one or more drones to the target action group includes:
acquiring connection parameters of each unmanned aerial vehicle, and adding all the unmanned aerial vehicles to the target action group based on the connection parameters; the connection parameters comprise an unmanned aerial vehicle initial coordinate position, an unmanned aerial vehicle IP address and an account password of the router needing to be connected.
4. The drone flight control method of claim 3, further comprising, after adding all of the drones to the target action group based on the connection parameters:
generating a script file based on the target action group, and sending the script file to the unmanned aerial vehicle;
controlling the unmanned aerial vehicle to execute corresponding action state and light display based on the script file, and monitoring the flight process of the unmanned aerial vehicle;
and if the situation that the flight process is abnormal is monitored, carrying out emergency control on the unmanned aerial vehicle by using a preset control strategy.
5. The unmanned aerial vehicle flight control method of claim 1, further comprising:
recording a first process of acquiring the start-stop time of each timestamp control set based on a preset time line and splicing all the set timestamp controls based on a visual interface, and a second process of inserting a flight action state control and a flight light display control into the appointed timestamp control according to the control selection instruction;
and generating source codes of the programming process based on the first process and the second process, and displaying the source codes in a preset coding area.
6. The drone flight control method according to any one of claims 1 to 5, further comprising, after generating the target action group:
and generating a 3D preview effect of the target action group, and displaying the 3D preview effect through a preset preview interface.
7. An unmanned aerial vehicle flight control device, its characterized in that includes:
the control adding module is used for receiving a timestamp adding instruction after the new unmanned aerial vehicle action group is built, and adding a timestamp control for the current action group according to the timestamp adding instruction;
the control splicing module is used for acquiring the starting and stopping time set for each timestamp control based on a preset time line and splicing all the set timestamp controls based on a visual interface;
the control inserting module is used for receiving a control selecting instruction and a control inserting instruction, and inserting a flight action state control and a flight light display control into the timestamp control specified by the control selecting instruction according to the control inserting instruction;
and the flight control module is used for generating a target action group after the control is inserted, and adding one or more unmanned aerial vehicles to the target action group so that the unmanned aerial vehicles execute corresponding action states and lamplight display based on the target action group in the flight process.
8. The unmanned aerial vehicle flight control device of claim 7, further comprising:
the attribute modification module is used for receiving an updating instruction and modifying the attributes of the flight action state control and the flight light display control based on the updating instruction after receiving a control selection instruction and a control insertion instruction;
correspondingly, the control inserting module is used for inserting the updated flying action state control and the updated flying light display control into the timestamp control specified by the control selecting instruction according to the control inserting instruction.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the drone flight control method according to any one of claims 1 to 6 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, carries out the steps of the drone flight control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911045303.4A CN110687921B (en) | 2019-10-30 | 2019-10-30 | Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911045303.4A CN110687921B (en) | 2019-10-30 | 2019-10-30 | Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110687921A CN110687921A (en) | 2020-01-14 |
CN110687921B true CN110687921B (en) | 2023-01-20 |
Family
ID=69114913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911045303.4A Active CN110687921B (en) | 2019-10-30 | 2019-10-30 | Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110687921B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113467517A (en) * | 2021-07-30 | 2021-10-01 | 河北科技大学 | Flight control method and system of unmanned aerial vehicle cluster under fault condition |
CN113626334B (en) * | 2021-08-23 | 2024-11-08 | 一飞(海南)科技有限公司 | Method, system, medium, terminal and unmanned aerial vehicle for testing airplane functions |
CN115426545A (en) * | 2022-08-25 | 2022-12-02 | 亿航智能设备(广州)有限公司 | Aircraft formation light performance control method, electronic device and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015199535A1 (en) * | 2014-06-23 | 2015-12-30 | Kales Jolanda Jacoba Maria | Drone, method and systems for airborne visualization |
CN106406345A (en) * | 2016-10-20 | 2017-02-15 | 天津大学 | Indoor multi-unmanned aerial vehicle formation control system based on Qt |
CN108181927A (en) * | 2018-03-14 | 2018-06-19 | 广州亿航智能技术有限公司 | Unmanned plane, which is formed into columns, performs the method, apparatus and storage medium of control |
CN108398958A (en) * | 2018-03-14 | 2018-08-14 | 广州亿航智能技术有限公司 | Unmanned plane formation route matching method, apparatus and storage medium |
CN108508911A (en) * | 2018-03-14 | 2018-09-07 | 广州亿航智能技术有限公司 | UAV Formation Flight control method and unmanned plane |
CN108764652A (en) * | 2018-04-28 | 2018-11-06 | 广州亿航智能技术有限公司 | Adapt to the unmanned plane cluster organization method and system of cluster destination task |
CN108803663A (en) * | 2018-07-18 | 2018-11-13 | 上海峥航智能科技发展有限公司 | A kind of graphic programming method of unmanned aerial vehicle (UAV) control |
CN108931984A (en) * | 2017-05-25 | 2018-12-04 | 深圳市天荧智能科技有限公司 | Path planning method, control method, system, medium, control station and unmanned aerial vehicle |
CN110134600A (en) * | 2019-05-09 | 2019-08-16 | 北京小米移动软件有限公司 | Test script method for recording, device and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070098362A (en) * | 2006-03-31 | 2007-10-05 | (주)엔브이엘소프트 | Apparatus and method for synthesizing a background music to a moving image |
US8836706B2 (en) * | 2008-12-18 | 2014-09-16 | Microsoft Corporation | Triggering animation actions and media object actions |
WO2015191910A1 (en) * | 2014-06-12 | 2015-12-17 | Play-i, Inc. | System and method for reinforcing programming education through robotic feedback |
US9785150B2 (en) * | 2015-12-11 | 2017-10-10 | Uber Technologies, Inc. | Formatting sensor data for use in autonomous vehicle communications platform |
CN107831783B (en) * | 2017-11-10 | 2019-10-08 | 南昌航空大学 | A kind of ground station control system for supporting multiple no-manned plane autonomous flight |
US10386842B2 (en) * | 2017-11-13 | 2019-08-20 | Intel IP Corporation | Unmanned aerial vehicle light show |
CN109189099B (en) * | 2018-11-09 | 2021-07-13 | 福州大学 | Graphical control configuration method of quad-rotor unmanned aerial vehicle |
CN110109472A (en) * | 2019-04-25 | 2019-08-09 | 广州笨笨网络科技有限公司 | A kind of unmanned aerial vehicle (UAV) control method, system, terminal and unmanned plane |
-
2019
- 2019-10-30 CN CN201911045303.4A patent/CN110687921B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015199535A1 (en) * | 2014-06-23 | 2015-12-30 | Kales Jolanda Jacoba Maria | Drone, method and systems for airborne visualization |
CN106406345A (en) * | 2016-10-20 | 2017-02-15 | 天津大学 | Indoor multi-unmanned aerial vehicle formation control system based on Qt |
CN108931984A (en) * | 2017-05-25 | 2018-12-04 | 深圳市天荧智能科技有限公司 | Path planning method, control method, system, medium, control station and unmanned aerial vehicle |
CN108181927A (en) * | 2018-03-14 | 2018-06-19 | 广州亿航智能技术有限公司 | Unmanned plane, which is formed into columns, performs the method, apparatus and storage medium of control |
CN108398958A (en) * | 2018-03-14 | 2018-08-14 | 广州亿航智能技术有限公司 | Unmanned plane formation route matching method, apparatus and storage medium |
CN108508911A (en) * | 2018-03-14 | 2018-09-07 | 广州亿航智能技术有限公司 | UAV Formation Flight control method and unmanned plane |
CN108764652A (en) * | 2018-04-28 | 2018-11-06 | 广州亿航智能技术有限公司 | Adapt to the unmanned plane cluster organization method and system of cluster destination task |
CN108803663A (en) * | 2018-07-18 | 2018-11-13 | 上海峥航智能科技发展有限公司 | A kind of graphic programming method of unmanned aerial vehicle (UAV) control |
CN110134600A (en) * | 2019-05-09 | 2019-08-16 | 北京小米移动软件有限公司 | Test script method for recording, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110687921A (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110687921B (en) | Unmanned aerial vehicle flight control method and device, electronic equipment and storage medium | |
US9971330B2 (en) | Safety relay configuration editor | |
KR101906823B1 (en) | Multi-module compilation system, multi-module compilation method, and non-transitory computer-readable storage medium | |
CN104750063B (en) | For configuring the system and industrial safety system collocation method of industry security relay | |
US20150106153A1 (en) | Workflow compilation | |
CN104749993A (en) | Systme And Method For Configuring Industrial Safety Relay | |
CN108897575A (en) | The configuration method and configuration system of electronic equipment | |
CN111722842A (en) | Pipeline arranging method and device, electronic equipment and storage medium | |
KR20170104306A (en) | Module system, module based robot system, and update method for module system | |
JP6375666B2 (en) | Programming tools for PLC and PLC | |
CN110018866B (en) | User interface theme updating method, device and system, vehicle machine and vehicle | |
CN111569427B (en) | Resource processing method and device, storage medium and electronic device | |
CN112464497B (en) | Fault drilling method, device, equipment and medium based on distributed system | |
EP3979148B1 (en) | Presenting method and system of machine learning automatic modeling process | |
KR101447846B1 (en) | Motion sfc program component creation device | |
CN102681861A (en) | Method and device for installing software | |
CN113377346B (en) | Integrated environment building method and device, electronic equipment and storage medium | |
CN117193291A (en) | AGV scheduling method, device, equipment and storage medium | |
US20140088732A1 (en) | Methods and systems for configuration and management of electronic control unit | |
US12026483B2 (en) | Programming marking method, processor, terminal, and computer program product | |
CN104570903A (en) | PLD editor and method for editing PLD code | |
CN110497406B (en) | Equipment grouping method, device, equipment and medium | |
CN114579011A (en) | Modeling tool configuration method and electronic equipment | |
JP6045986B2 (en) | Software development support apparatus, software development support method, and software development support program | |
CN112181586A (en) | Workflow processing method and device based on Kubernetes architecture |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |