/// <summary> /// Initializes a new instance of the <see cref="Shimmer.WimuRecord" from a SensorData object/> class. /// </summary> /// <param name="data">Data.</param> public WimuRecord(SensorData data) { this.Timestamp = data.GetTimeStamp(); this.Accelerometer = data.GetAccel(); this.Gyroscope = data.GetGyro(); this.Magnetometer = data.GetMag(); this.Orientation = data.GetQuaternion(); }