This application claims all benefits accruing under 35 U.S.C. § 119 from Taiwan Patent Application No. 105136517, filed on Nov. 9, 2016, in the Taiwan Intellectual Property Office, the contents of which are hereby incorporated by reference.
The present disclosure relates to flying devices, especially, a method for realizing or improving obstacle avoidance of a flying device.
Remote control flying device are popular among youngsters. As science and technology continues to develop, the flying device becomes smaller in size and easier to operate. Some flying device can be operated even by children and could fly indoors. Collision with obstacle are bound to occur when the flying attitude is remotely controlled by users of different skills and experience, especially by children. Thus, safety of the flying device needs to be improved.
Currently, more and more flying devices include automatic obstacle avoidance functionality. Usually, the obstacle avoidance functionality is performed by a sensor and an obstacle avoidance module that is integrated with the flying controlling module. Since the program source code of the flying controlling module is not open by the coder, it is hard for users to realize or improve obstacle avoidance functionality of a flying device.
What is needed, therefore, is to provide a method for realizing or improving obstacle avoidance functionality of a flying device that can overcome the problems as discussed above.
Many aspects of the exemplary embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the exemplary embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the exemplary embodiments described herein. However, it will be understood by those of ordinary skill in the art that the exemplary embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale, and the proportions of certain parts may be exaggerated better illustrate details and features. The description is not to considered as limiting the scope of the exemplary embodiments described herein.
Several definitions that apply throughout this disclosure will now be presented. The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections.
The connection can be such that the objects are permanently connected or releasably connected. The term “outside” refers to a region that is beyond the outermost confines of a physical object. The term “inside” indicates that at least a portion of a region is partially contained within a boundary formed by the object. The term “substantially” is defined to essentially conforming to the particular dimension, shape or other word that substantially modifies, such that the component need not be exact. For example, substantially cylindrical means that the object resembles a cylinder, but can have one or more deviations from a true cylinder. The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like. It should be noted that references to “an” or “one” exemplary embodiment in this disclosure are not necessarily to the same exemplary embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
References will now be made to the drawings to describe, in detail, various exemplary embodiments of the present method for realizing or improving obstacle avoidance functionality of a flying device.
Referring to
In
In
As shown in
Referring to
step (S11), determining whether the micro controlling module 121 receives a first flying order from the wireless receiving module 120 if yes, go to step (S12), if no, repeat step (S11);
step (S12), determining whether the micro controlling module 121 receives an obstacle information from the first sensor 124, if yes, go to step (S13), if no, go to step (S15);
step (S13), calculating the first flying order and the obstacle information to obtain a second flying order, go to step (S14);
step (S14), sending the second flying order to the flying controlling module 122; and
step (S15), sending the first flying order to the flying controlling module 122.
Step (S12), determining whether the micro controlling module 121 receives an obstacle information from the first sensor 124, includes only determining whether the micro controlling module 121 receives an obstacle information from the first sensor 124 after the micro controlling module 121 receives the last first flying order. The last first flying order is the first flying order received the last time by the micro controlling module 121.
Step (S13), calculating the first flying order and the obstacle information, includes only calculating the last first flying order and the obstacle information received after the last first flying order. Thus, the micro controlling module 121 requires less calculation time and has higher responsive speed.
Referring to
In
In
As shown in
Referring to
step (S21), determining whether the micro controlling module 121 receives a first flying order from the wireless receiving module 120, if yes, go to step (S22), if no, repeat step (S21);
step (S22), determining whether the micro controlling module 121 receives a first obstacle information from the first sensor 124, if yes, go to step (S23), if no, go to step (S26);
step (S23), calculating the first flying order and the first obstacle information to obtain a second flying order, go to step (S24);
step (S24), determining whether the flying controlling module 122 receives a second obstacle information from the second sensor 125, if yes, go to step (S26), if no, go to step (S25);
step (S25), sending the second flying order to the flying controlling module 122; and step (S26), sending the first flying order to the flying controlling module 122.
Step (S22), determining whether the micro controlling module 121 receives a first obstacle information from the first sensor 124, includes only determining whether the micro controlling module 121 receives a first obstacle information from the first sensor 124 after the micro controlling module 121 receives the last first flying order. The last first flying order is the first flying order received the last time by the micro controlling module 121.
Step (S23), calculating the first flying order and the first obstacle information, includes only calculating the last first flying order and the first obstacle information received after the last first flying order. Thus, the micro controlling module 121 takes less calculating time and have higher responsive speed.
Step (S24), determining whether the flying controlling module 122 receives a second obstacle information from the second sensor 125, includes only determining whether the flying controlling module 122 receives a second obstacle information from the second sensor 125 after the micro controlling module 121 sends one of a first flying order and a second flying order to the flying controlling module 122 last time.
The method for realizing or improving obstacle avoidance functionality of a flying device is simple and easy to achieve.
It is to be understood that the above-described exemplary embodiments are intended to illustrate rather than limit the disclosure. Any elements described in accordance with any exemplary embodiments is understood that they can be used in addition or substituted in other exemplary embodiments. Exemplary embodiments can also be used together. Variations may be made to the exemplary embodiments without departing from the spirit of the disclosure. The above-described exemplary embodiments illustrate the scope of the disclosure but do not restrict the scope of the disclosure.
Depending on the exemplary embodiment, certain of the steps of methods described may be removed, others may be added, and the sequence of steps may be altered. It is also to be understood that the description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
105136517 | Nov 2016 | TW | national |