|
@@ -193,7 +193,7 @@ public class ShootCheck : MonoBehaviour
|
|
|
float az = ToAcceleratedSpeed(bytes[i * 11 + 9], bytes[i * 11 + 10]);
|
|
float az = ToAcceleratedSpeed(bytes[i * 11 + 9], bytes[i * 11 + 10]);
|
|
|
|
|
|
|
|
string t = "(采样时间:"+(int)bytes[i * 11 + 3] + "分"+ (int)bytes[i * 11 + 4]+"秒"+ TwoByteToInt(bytes[i * 11 + 1], bytes[i * 11 + 2])+"毫秒)" ;
|
|
string t = "(采样时间:"+(int)bytes[i * 11 + 3] + "分"+ (int)bytes[i * 11 + 4]+"秒"+ TwoByteToInt(bytes[i * 11 + 1], bytes[i * 11 + 2])+"毫秒)" ;
|
|
|
- str2 += "加速度:"+ax+t+"\n";
|
|
|
|
|
|
|
+ str2 += "加速度:"+ay+t+"\n";
|
|
|
|
|
|
|
|
if (ins.check(ax, ay, az, t) && ArmBow.ins)
|
|
if (ins.check(ax, ay, az, t) && ArmBow.ins)
|
|
|
{
|
|
{
|