stepcount icon indicating copy to clipboard operation
stepcount copied to clipboard

gravityNew = (float) Math.sqrt(oriValues[0] * oriValues[0] + oriValues[1] * oriValues[1] + oriValues[2] * oriValues[2]);

Open ghost opened this issue 8 years ago • 1 comments

gravityNew = (float) Math.sqrt(oriValues[0] * oriValues[0] + oriValues[1] * oriValues[1] + oriValues[2] * oriValues[2]); 这个代表传感器的值啊

ghost avatar May 24 '17 09:05 ghost

oriValue这个数组里面是三轴的原始数据

finnfu avatar May 25 '17 07:05 finnfu