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)
|
|
START_TIME_LAPSE("startTimeLapse");//面状航线需要使用的默认事件
|
|
private final String description;
|
|
CameraActionEnum(String description) {
|
this.description = description;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
@Override
|
public String toString() {
|
return this.name();
|
}
|
|
}
|