Commit 13782c63 by gdj

fix:camera_screen_drag画面拖动控制

parent 6829051b
......@@ -25,16 +25,16 @@ public class CameraScreenDragRequest extends BaseModel {
/**
*{ "unit_name":"度每秒 / degree/s"} 云台 pitch 速度
*/
@Min(0)
// @Min(0)
//@Max(1)
private Float pitchSpeed;
private Double pitchSpeed;
/**
* {"unit_name":"度每秒 / degree/s"} 云台 yaw 速度,仅不锁机头时才生效
*/
@Min(0)
// @Min(0)
//@Max(1)
private Float yawSpeed;
private Double yawSpeed;
public CameraScreenDragRequest() {
}
......@@ -67,20 +67,20 @@ public class CameraScreenDragRequest extends BaseModel {
return this;
}
public Float getPitchSpeed() {
public Double getPitchSpeed() {
return pitchSpeed;
}
public CameraScreenDragRequest setPitchspeed(Float pitchSpeed) {
public CameraScreenDragRequest setPitchspeed(Double pitchSpeed) {
this.pitchSpeed = pitchSpeed;
return this;
}
public Float getYawSpeed() {
public Double getYawSpeed() {
return yawSpeed;
}
public CameraScreenDragRequest setYawSpeed(Float yawSpeed) {
public CameraScreenDragRequest setYawSpeed(Double yawSpeed) {
this.yawSpeed = yawSpeed;
return this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment