Use motion sensors in smartphones and tablets to sense motion events (tilt and shake) to pilot a drone.
Understand the programming concept of "event-driven programming".
Event-driven programming is a computer science concept in which the flow of a program is determined by events such as sensor input, user actions (like touching the screen or tilting the device), and messages from other programs.
It is the dominant paradigm generally used in modern application like graphical user interfaces (GUI) and web-pages that performing certain actions in response to user input.
A simple way to think of it is "When something happens, do something". For example, "When it rains, open your umbrella."
+ New Project
When iPad is tilted forward
When … tilted …
When … Shaked …