Electronic device and method for controlling unmanned aerial vehicle using the same
First Claim
Patent Images
1. A method for controlling an unmanned aerial vehicle (UAV) using an electronic device, comprising:
- obtaining movement data of the electronic device detected by an accelerometer of the electronic device, the movement data of the electronic device comprising movement distances of the electronic device based on a three dimension coordinate system;
converting the movement data of the electronic device to control signals of the UAV by comparing the movement distance in an X-axis of the electronic device with a first preset value, comparing the movement distance in a Y-axis of the electronic device with a second preset value, and comparing the movement distance in an Z-axis of the electronic device with a third preset value, and sending the control signals to the UAV, where a first control signal of the UAV is determined when the electronic device is rotated along the Z-axis of the electronic device, a second control signal of the UAV is determined when the electronic device is rotated along the X-axis of the electronic device, a third control signal of the UAV is determined when the electronic device is moved vertically along the Z-axis of the electronic device, and a fourth control signal of the UAV is determined when the electronic device is rotated along the Y-axis of the electronic device, and the electronic device being determined as not moving along the X-axis when the movement distance in the X-axis of the electronic device is less than the first preset value; and
changing a flight status of the UAV according to the control signals.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for controlling an unmanned aerial vehicle (UAV) using an electronic device obtains movement data of the electronic device detected by an accelerometer of the electronic device, and converts the movement data of the electronic device to control signals. The method further sends the control signals to the UAV, and changes a flight status of the UAV according to the control signals.
-
Citations
19 Claims
-
1. A method for controlling an unmanned aerial vehicle (UAV) using an electronic device, comprising:
-
obtaining movement data of the electronic device detected by an accelerometer of the electronic device, the movement data of the electronic device comprising movement distances of the electronic device based on a three dimension coordinate system; converting the movement data of the electronic device to control signals of the UAV by comparing the movement distance in an X-axis of the electronic device with a first preset value, comparing the movement distance in a Y-axis of the electronic device with a second preset value, and comparing the movement distance in an Z-axis of the electronic device with a third preset value, and sending the control signals to the UAV, where a first control signal of the UAV is determined when the electronic device is rotated along the Z-axis of the electronic device, a second control signal of the UAV is determined when the electronic device is rotated along the X-axis of the electronic device, a third control signal of the UAV is determined when the electronic device is moved vertically along the Z-axis of the electronic device, and a fourth control signal of the UAV is determined when the electronic device is rotated along the Y-axis of the electronic device, and the electronic device being determined as not moving along the X-axis when the movement distance in the X-axis of the electronic device is less than the first preset value; and changing a flight status of the UAV according to the control signals. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An electronic device, comprising:
-
a display screen; a storage device; at least one processor; and one or more modules that are stored in the storage device and are executed by the at least one processor, the one or more modules comprising instructions; to obtain movement data of the electronic device detected by an accelerometer of the electronic device, the movement data of the electronic device comprising movement distances of the electronic device based on a three dimension coordinate system; to convert the movement data of the electronic device to control signals of an unmanned aerial vehicle (UAV) by comparing the movement distance in an X-axis of the electronic device with a first preset value, comparing the movement distance in a Y-axis of the electronic device with a second preset value, and comparing the movement distance in an Z-axis of the electronic device with a third preset value, and send the control signals to the UAV, where a first control signal of the UAV is determined when the electronic device is rotated along the Z-axis of the electronic device, a second control signal of the UAV is determined when the electronic device is rotated along the X-axis of the electronic device, a third control signal of the UAV is determined when the electronic device is moved vertically along the Z-axis of the electronic device, and a fourth control signal of the UAV is determined when the electronic device is rotated along the Y-axis of the electronic device, and the electronic device being determined as not moving along the X-axis when the movement distance in the X-axis of the electronic device is less than the first preset value; and to change a flight status of the UAV according to the control signals. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A non-transitory storage medium having stored thereon instructions that, when executed by a processor of an electronic device, causes the processor to perform a method for controlling an unmanned aerial vehicle (UAV) using the electronic device, the method comprising:
-
obtaining movement data of the electronic device detected by an accelerometer of the electronic device, the movement data of the electronic device comprising movement distances of the electronic device based on a three dimension coordinate system; converting the movement data of the electronic device to control signals of the UAV by comparing the movement distance in an X-axis of the electronic device with a first preset value, comparing the movement distance in a Y-axis of the electronic device with a second preset value, and comparing the movement distance in an Z-axis of the electronic device with a third preset value, and sending the control signals to the UAV, where a first control signal of the UAV is determined when the electronic device is rotated along the Z-axis of the electronic device, a second control signal of the UAV is determined when the electronic device is rotated along the X-axis of the electronic device, a third control signal of the UAV is determined when the electronic device is moved vertically along the Z-axis of the electronic device, and a fourth control signal of the UAV is determined when the electronic device is rotated along the Y-axis of the electronic device, and the electronic device being determined as not moving along the X-axis when the movement distance in the X-axis of the electronic device is less than the first preset value; and changing a flight status of the UAV according to the control signals. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification