云台相机旋转问题
CompletedRotation.Builder rotation = new Rotation.Builder();
rotation.mode(RotationMode.RELATIVE_ANGLE);
rotation.pitch(pitch);
rotation.roll(0);
rotation.yaw(0);
rotation.time(0);
gimbal.rotate(rotation.build(), new CommonCallbacks.CompletionCallback() {
@Override
public void onResult(DJIError error) {
Log.e("TAG", " gimbal.rotate: " + (error == null ? "Successfully" : error.getDescription()));
}
});
在御2中使用 没有问题 在精灵4中使用提示gimbal.rotate: Param Illegal 这个错误 请问是什么原因
Please sign in to leave a comment.
Comments
2 comments