VitureSensorData.raw constructor

const VitureSensorData.raw({
  1. required double gyroX,
  2. required double gyroY,
  3. required double gyroZ,
  4. required double accelX,
  5. required double accelY,
  6. required double accelZ,
  7. required double magX,
  8. required double magY,
  9. required double magZ,
  10. required double temperature,
  11. required int timestamp,
  12. required int vsync,
})

Implementation

const VitureSensorData.raw({
  required this.gyroX,
  required this.gyroY,
  required this.gyroZ,
  required this.accelX,
  required this.accelY,
  required this.accelZ,
  required this.magX,
  required this.magY,
  required this.magZ,
  required this.temperature,
  required this.timestamp,
  required this.vsync,
}) : roll = 0.0,
     pitch = 0.0,
     yaw = 0.0,
     quatW = 0.0,
     quatX = 0.0,
     quatY = 0.0,
     quatZ = 0.0,
     isRaw = true;