void OnDecoded(object sender, byte[] data, int len) { if (hasStarted) { imuData = IMUData.Decode(data, len); CSV_PutLine(imuData); } }
private void OnKbootDecoderDataReceived(object sender, byte[] buf, int len) { device_data = IMUData.Decode(buf, len); fmTermial.Input(device_data.ToString()); }
private void KootPacketReceived(object sender, byte[] buf, int len) { SampleCounter.Increment(1); imuData = IMUData.Decode(buf, len); DoOnDataReceived(imuData); }