RelativeGyroscopeAttitudeProcessor

Estimates relative attitude of device respect to an arbitrary initial attitude using gyroscope measurements only.

Constructors

Link copied to clipboard
constructor(processorListener: BaseRelativeGyroscopeAttitudeProcessor.OnProcessedListener? = null)

Properties

Link copied to clipboard
val attitude: Quaternion

Instance to be reused which contains integrated attitude of all gyroscope samples using NED coordinates system.

Link copied to clipboard
Link copied to clipboard

Time interval expressed in seconds between consecutive gyroscope measurements

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun reset()

Resets this processor to its initial state.