CPC G05D 1/085 (2013.01) [B64C 39/024 (2013.01); G05D 1/0016 (2013.01); G06F 3/0488 (2013.01); B64D 47/08 (2013.01); B64U 2101/30 (2023.01); B64U 2201/20 (2023.01); G05D 1/0808 (2013.01); G05D 1/101 (2013.01); H04N 7/18 (2013.01)] | 16 Claims |
1. A gimbal control method, comprising:
receiving a first position and a second position wherein the first position and the second position are touched positions of an operation interface of a terminal;
determining a rotation angle of a gimbal based on the first position, the second position, and an attitude of the gimbal at the first position, including:
determining an incremental angle of the gimbal at the second position based on an amount of pixel change between the first position and the second position, including:
determining a yaw-axis incremental angle of the gimbal at the second position based on the amount of pixel change of the first position and the second position in a horizontal direction of the operation interface; or
determining a pitch-axis incremental angle of the gimbal at the second position based on the amount of pixel change of the first position and the second position in a vertical direction of the operation interface; and
determining the rotation angle of the gimbal based on the incremental angle of the gimbal at the second position and the attitude of the gimbal at the first position; and
controlling rotation of the gimbal based on the rotation angle.
|