Compare commits
No commits in common. "81c3ff6bb239e95cac5c5600762138a5143f3000" and "efe420b5a903462839f4c07d5863d521e05237d2" have entirely different histories.
81c3ff6bb2
...
efe420b5a9
|
|
@ -46,17 +46,4 @@ public class DroneFlightControlRequest implements Serializable {
|
||||||
/** 消息ID */
|
/** 消息ID */
|
||||||
@Schema(description = "消息ID", example = "9056")
|
@Schema(description = "消息ID", example = "9056")
|
||||||
private Long messageID;
|
private Long messageID;
|
||||||
|
|
||||||
/** 扩展值(用于云台控制等) */
|
|
||||||
@Schema(description = "扩展值(用于云台控制等)", example = "90")
|
|
||||||
private String evalue;
|
|
||||||
|
|
||||||
/** 值(用于云台控制等) */
|
|
||||||
@Schema(description = "值(用于云台控制等)", example = "04")
|
|
||||||
private String value;
|
|
||||||
|
|
||||||
//专门用于云台变焦命令的,用于指定相机的灯光模式。
|
|
||||||
/** 灯光模式(用于相机控制) */
|
|
||||||
@Schema(description = "灯光模式(用于相机控制)", example = "visibleLight")
|
|
||||||
private String lightMode;
|
|
||||||
}
|
}
|
||||||
|
|
@ -56,52 +56,7 @@ public enum DroneCommandEnum {
|
||||||
/**
|
/**
|
||||||
* 急停
|
* 急停
|
||||||
*/
|
*/
|
||||||
EMERGENCY_STOP("EMERGENCY_STOP", "急停"),
|
EMERGENCY_STOP("EMERGENCY_STOP", "急停");
|
||||||
|
|
||||||
/**
|
|
||||||
* 切换可见光
|
|
||||||
*/
|
|
||||||
SWITCH_VISIBLE_LIGHT("SWITCH_VISIBLE_LIGHT", "切换可见光"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 云台变焦
|
|
||||||
*/
|
|
||||||
GIMBAL_ZOOM("GIMBAL_ZOOM", "云台变焦"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 切换红外
|
|
||||||
*/
|
|
||||||
SWITCH_IR("SWITCH_IR", "切换红外"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 切换广角
|
|
||||||
*/
|
|
||||||
SWITCH_WIDE_ANGLE("SWITCH_WIDE_ANGLE", "切换广角"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 云台右移
|
|
||||||
*/
|
|
||||||
GIMBAL_MOVE_RIGHT("GIMBAL_MOVE_RIGHT", "云台右移"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 云台左移
|
|
||||||
*/
|
|
||||||
GIMBAL_MOVE_LEFT("GIMBAL_MOVE_LEFT", "云台左移"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 云台俯仰(上)
|
|
||||||
*/
|
|
||||||
GIMBAL_PITCH_UP("GIMBAL_PITCH_UP", "云台俯仰(上)"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 云台俯仰(下)
|
|
||||||
*/
|
|
||||||
GIMBAL_PITCH_DOWN("GIMBAL_PITCH_DOWN", "云台俯仰(下)"),
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 云台复位
|
|
||||||
*/
|
|
||||||
GIMBAL_RESET("GIMBAL_RESET", "云台复位");
|
|
||||||
|
|
||||||
private final String code;
|
private final String code;
|
||||||
private final String description;
|
private final String description;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue