OnAttitudeAvailableListener

Interface to notify when a new attitude measurement is available.

Functions

Link copied to clipboard
abstract fun onAttitudeAvailable(estimator: GeomagneticAttitudeEstimator2, attitude: Quaternion, timestamp: Long, roll: Double?, pitch: Double?, yaw: Double?, coordinateTransformation: CoordinateTransformation?)

Called when a new attitude measurement is available.