AccelerometerAndGyroscopeSyncedSensorMeasurement

class AccelerometerAndGyroscopeSyncedSensorMeasurement(var accelerometerMeasurement: AccelerometerSensorMeasurement? = null, var gyroscopeMeasurement: GyroscopeSensorMeasurement? = null, var timestamp: Long = 0) : SyncedSensorMeasurement

Contains synced accelerometer and gyroscope measurements, which are assumed to belong to the same timestamp.

Constructors

constructor(accelerometerMeasurement: AccelerometerSensorMeasurement? = null, gyroscopeMeasurement: GyroscopeSensorMeasurement? = null, timestamp: Long = 0)

Properties

Link copied to clipboard

an accelerometer measurement. Notice that this instance might be reused between consecutive AccelerometerAndGyroscopeSyncedSensorMeasurement measurements, and that its timestamp might differ from the global timestamp property of this SyncedSensorMeasurement.

Link copied to clipboard

a gyroscope measurement. Notice that this instance might be reused between consecutive AccelerometerAndGyroscopeSyncedSensorMeasurement measurements, and that its timestamp might differ from the global timestamp property of this SyncedSensorMeasurement.

Link copied to clipboard

timestamp expressed in nanoseconds following android.os.SystemClock.elapsedRealtimeNanos monotonic clock when SensorMeasurement are assumed to occur.