Commit 65892bc1 by gdj

fix:camera_screen_drag画面拖动控制

parent 794beeda
...@@ -25,16 +25,16 @@ public class CameraScreenDragRequest extends BaseModel { ...@@ -25,16 +25,16 @@ public class CameraScreenDragRequest extends BaseModel {
/** /**
*{ "unit_name":"度每秒 / degree/s"} 云台 pitch 速度 *{ "unit_name":"度每秒 / degree/s"} 云台 pitch 速度
*/ */
@Min(0) // @Min(0)
//@Max(1) //@Max(1)
private Float pitchSpeed; private Double pitchSpeed;
/** /**
* {"unit_name":"度每秒 / degree/s"} 云台 yaw 速度,仅不锁机头时才生效 * {"unit_name":"度每秒 / degree/s"} 云台 yaw 速度,仅不锁机头时才生效
*/ */
@Min(0) // @Min(0)
//@Max(1) //@Max(1)
private Float yawSpeed; private Double yawSpeed;
public CameraScreenDragRequest() { public CameraScreenDragRequest() {
} }
...@@ -67,20 +67,20 @@ public class CameraScreenDragRequest extends BaseModel { ...@@ -67,20 +67,20 @@ public class CameraScreenDragRequest extends BaseModel {
return this; return this;
} }
public Float getPitchSpeed() { public Double getPitchSpeed() {
return pitchSpeed; return pitchSpeed;
} }
public CameraScreenDragRequest setPitchspeed(Float pitchSpeed) { public CameraScreenDragRequest setPitchspeed(Double pitchSpeed) {
this.pitchSpeed = pitchSpeed; this.pitchSpeed = pitchSpeed;
return this; return this;
} }
public Float getYawSpeed() { public Double getYawSpeed() {
return yawSpeed; return yawSpeed;
} }
public CameraScreenDragRequest setYawSpeed(Float yawSpeed) { public CameraScreenDragRequest setYawSpeed(Double yawSpeed) {
this.yawSpeed = yawSpeed; this.yawSpeed = yawSpeed;
return this; 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