Method and a device for controlling a moving object, and a mobile apparatus
Abstract
A method for controlling an unmanned aerial vehicle includes displaying, in response to a preset trigger event being detected, a preset image region on a control interactive interface provided on a touch display of a mobile apparatus; detecting a contact operation on the touch display in a real-time manner; in response to determining that the contact operation is a sliding contact operation in the preset image region, determining whether the sliding contact operation is a control trigger operation for controlling the UAV; and generating, in response to determining that the sliding contact operation is the control trigger operation, a control instruction for controlling the UAV. The preset image region is configured to prompt a user to perform a sliding, and the control interactive interface is included in a control application that is installed in the mobile apparatus.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for controlling an unmanned aerial vehicle (UAV), comprising:
displaying, in response to a preset trigger event being detected, a preset image region on a control interactive interface provided on a touch display of a mobile apparatus, the preset image region being configured to prompt a user to perform a sliding, and the control interactive interface being included in a control application that is installed in the mobile apparatus; detecting a contact operation on the touch display in a real-time manner; in response to determining that the contact operation is a sliding contact operation in the preset image region, determining whether the sliding contact operation is a control trigger operation for controlling the UAV; and generating, in response to determining that the sliding contact operation is the control trigger operation, a control instruction for controlling the UAV.
2 . The method according to claim 1 , wherein the preset trigger event includes receiving at least one of an instruction for requesting the UAV to take off, an instruction for requesting UAV to land, or an instruction for requesting the UAV to return.
3 . The method according to claim 1 , wherein the preset image region includes a sliding indication region configured to indicate a path for sliding and an interactive sliding icon configured to move dynamically in the sliding indication region.
4 . The method according to claim 3 , wherein determining whether the sliding contact operation is the control trigger operation for the UAV includes:
judging whether the sliding contact operation meets a preset control trigger condition; and determining that the sliding contact operation is the control trigger operation for the UAV in response to the sliding contact operation meeting the preset control trigger condition.
5 . The method according to claim 4 , wherein the preset control trigger condition includes:
the sliding contact operation being a continuous sliding operation in the preset image region.
6 . The method according to claim 4 , wherein the preset control trigger condition includes:
the sliding contact operation being an operation of sliding the interactive sliding icon in a sliding path region included in the preset image region.
7 . The method according to claim 4 , wherein the preset control trigger condition includes:
the sliding contact operation being an operation of moving the interactive sliding icon in a sliding path region included in the preset image region along a predefined direction.
8 . The method according to claim 3 , wherein the preset control trigger condition includes:
the sliding contact operation being an operation of moving the interactive sliding icon in a sliding path region included in the preset image region by a moving distance, with a ratio of the moving distance to a length of the sliding path region reaching a preset ratio threshold.
9 . The method according to claim 1 , wherein displaying the preset image region includes:
bringing, in response to the preset trigger event being detected, the preset image region from a hidden state to a display state.
10 . The method according to claim 1 , further comprising:
controlling to start a self-checking process for the UAV in response to determining that the contact operation is the sliding contact operation in the preset image region; and stopping determining whether the sliding contact operation is the control trigger operation in response to error information being detected by the self-checking process.
11 . The method according to claim 10 , further comprising:
controlling to stop the self-checking process from being completed in response to determining that the sliding contact operation is not the control trigger operation.
12 . The method according to claim 10 , further comprising:
displaying information on progress of the self-checking process according to information associated with the sliding contact operation; wherein the information associated with the sliding contact operation includes at least one of information indicating a duration of a sliding in the preset image region or information indicating a moving distance of the sliding in the preset image region.
13 . A mobile apparatus for controlling an unmanned aerial vehicle (UAV), comprising:
a touch display; and a processor configured to:
display, in response to a preset trigger event being detected, a preset image region on a control interactive interface provided on the touch display, the preset image region being configured to prompt a user to perform a sliding, and the control interactive interface being included in a control application that is installed in the mobile terminal;
detect a contact operation on the touch display in a real-time manner;
in response to determining that the contact operation is a sliding contact operation in the preset image region, determine whether the sliding contact operation is a control trigger operation for controlling the UAV; and
generate, in response to determining that the sliding contact operation is the control trigger operation, a control instruction for controlling the UAV.
14 . The mobile apparatus according to claim 13 , wherein the preset trigger event includes receiving at least one of an instruction for requesting the UAV to take off, an instruction for requesting UAV to land, or an instruction for requesting the UAV to return.
15 . The mobile apparatus according to claim 13 , wherein the preset image region includes a sliding indication region configured to indicate a path for sliding and an interactive sliding icon configured to move dynamically in the sliding indication region.
16 . The mobile apparatus according to claim 15 , wherein the processor is further configured to:
judge whether the sliding contact operation meets a preset control trigger condition; and determine that the sliding contact operation is the control trigger operation for the UAV in response to the sliding contact operation meeting the preset control trigger condition.
17 . The mobile apparatus according to claim 16 , wherein the preset control trigger condition includes:
the sliding contact operation being a continuous sliding operation in the preset image region.
18 . The mobile apparatus according to claim 16 , wherein the preset control trigger condition includes:
the sliding contact operation being an operation of sliding the interactive sliding icon in a sliding path region included in the preset image region.
19 . The mobile apparatus according to claim 16 , wherein the preset control trigger condition includes:
the sliding contact operation being an operation of moving the interactive sliding icon in a sliding path region included in the preset image region along a predefined direction.
20 . The mobile apparatus according to claim 16 , wherein the preset control trigger condition includes:
the sliding contact operation being an operation of moving the interactive sliding icon in a sliding path region included in the preset image region by a moving distance, with a ratio of the moving distance to a length of the sliding path region reaching a preset ratio threshold.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.