filter

fun filter(yaw: Float, pitch: Float, roll: Float, timestampMillis: Long): Triple<Float, Float, Float>

Filters the raw yaw, pitch, and roll angles measured at timestampMillis.

Return

Triple of smoothed (yaw, pitch, roll) in degrees.

Parameters

yaw

Raw yaw angle in degrees.

pitch

Raw pitch angle in degrees.

roll

Raw roll angle in degrees.

timestampMillis

Timestamp of the measurement in epoch milliseconds.