process

open override fun process(measurement: GyroscopeSensorMeasurement, timestamp: Long): Boolean

Processes a gyroscope sensor measurement to integrate angular speed values to obtain an accumulated attitude from an arbitrary attitude of origin.

Return

true if a new relative attitude is estimated, false otherwise.

Parameters

measurement

gyroscope measurement expressed in ENU android coordinates system to be processed

timestamp

optional timestamp that can be provided to override timestamp associated to gyroscope measurement. If null, the timestamp from gyroscope measurement is used.