xieb
2024-04-01 b5f294729bca484a4ce726f4d2a1c096166bc9f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.dji.sample.patches.xml.mode;
 
/**
 * @PROJECT_NAME: drone
 * @DESCRIPTION:
 * @USER: aix
 * @DATE: 2024/3/27 15:18
 */
public enum CameraActionEnum {
 
    TAKE_PHOTO("takePhoto"),//单拍
    START_RECORD("startRecord"),//开始录像
    STOP_RECORD("stopRecord"),//结束录像
    FOCUS("focus"),//对焦
    ZOOM("zoom"),//变焦
    CUSTOM_DIR_NAME("customDirName"),//创建新文件夹
    GIMBAL_ROTATE("gimbalRotate"),//旋转云台
    ROTATE_YAW("rotateYaw"),//飞行器偏航
    HOVER("hover"),//悬停等待
    GIMBAL_EVENLY_ROTATE("gimbalEvenlyRotate"),//航段间均匀转动云台pitch角
    ACCURATE_SHOOT("accurateShoot"),//精准复拍动作(已暂停维护,建议使用ORIENTED_SHOOT)
    ORIENTED_SHOOT("orientedShoot"),//精准复拍动作
    PANO_SHOT("panoShot");//全景拍照动作(仅支持M30/M30T)
 
    private final String description;
 
    CameraActionEnum(String description) {
        this.description = description;
    }
 
    public String getDescription() {
        return description;
    }
 
    @Override
    public String toString() {
        return this.name();
    }
 
}