onPoseAvailable

abstract fun onPoseAvailable(estimator: EcefAbsolutePoseEstimator2, currentFrame: ECEFFrame, previousFrame: ECEFFrame, initialFrame: ECEFFrame, timestamp: Long, poseTransformation: EuclideanTransformation3D?)

Called when a new pose is available.

Parameters

estimator

pose estimator that raised this event.

currentFrame

current ECEF frame containing device position, velocity and attitude.

previousFrame

ECEF frame of previous measurement.

initialFrame

initial ECEF frame when estimator was started.

timestamp

time in nanoseconds at which the measurement was made. Each measurement wil be monotonically increasing using the same time base as android.os.SystemClock.elapsedRealtimeNanos.

poseTransformation

3D metric transformation containing leveled attitude and translation variation since this estimator started expressed in ENU system of coordinates.