AttitudeLocalPoseProcessor

class AttitudeLocalPoseProcessor(val initialLocation: Location, val initialVelocity: NEDVelocity = NEDVelocity(), val estimatePoseTransformation: Boolean = false, var processorListener: BaseLocalPoseProcessor.OnProcessedListener? = null) : BaseLocalPoseProcessor

Estimates absolute pose using local plane navigation. This class estimates attitude by using Android's absolute attitude sensor. Accelerometer and gyroscope are then taken into account to update device position.

Constructors

Link copied to clipboard
constructor(initialLocation: Location, initialVelocity: NEDVelocity = NEDVelocity(), estimatePoseTransformation: Boolean = false, processorListener: BaseLocalPoseProcessor.OnProcessedListener? = null)

Properties

Link copied to clipboard
val currentEcefFrame: ECEFFrame

Current device frame expressed in ECEF coordinates. This is reused for performance reasons.

Link copied to clipboard
val currentNedFrame: NEDFrame

Current device frame expressed in NED coordinates. This is reused for performance reasons.

Link copied to clipboard

true to estimate 3D metric pose transformation.

Link copied to clipboard
val initialEcefFrame: ECEFFrame

Device frame expressed in ECEF coordinates when estimator starts. This is reused for performance reasons.

Link copied to clipboard

initial device location.

Link copied to clipboard
val initialNedFrame: NEDFrame

Device frame expressed in NED coordinates when estimator starts. This is reused for performance reasons.

Link copied to clipboard
val initialVelocity: NEDVelocity

initial velocity of device expressed in NED coordinates.

Link copied to clipboard
val poseTransformation: EuclideanTransformation3D

3D metric pose transformation. This is reused for performance reasons.

Link copied to clipboard
val previousEcefFrame: ECEFFrame

Device frame expressed in ECEF coordinates for previous set of measurements. This is reused for performance reasons.

Link copied to clipboard
val previousNedFrame: NEDFrame

Device frame expressed in NED coordinates for previous set of measurements. This is reused for performance reasons.

Link copied to clipboard
Link copied to clipboard

Time interval expressed in seconds between consecutive gyroscope measurements

Link copied to clipboard

True indicates that attitude is leveled and expressed respect to estimator start. False indicates that attitude is absolute.

Functions

Link copied to clipboard

Processes provided synced measurement to estimate current attitude and position.

Link copied to clipboard
open fun reset()

Resets internal parameters.