Accurate Leveling Processor
class AccurateLevelingProcessor(var location: Location, var processorListener: BaseLevelingProcessor.OnProcessedListener? = null) : BaseLevelingProcessor
Estimates leveling of device (roll and pitch angle) by using estimated gravity vector. This processor does not estimate attitude yaw angle, as either a magnetometer or gyroscope would be needed. This estimator is more accurate than LevelingEstimator since it takes into account device location (which requires location permission), and at the expense of higher CPU load.
Constructors
Link copied to clipboard
constructor(location: Location, processorListener: BaseLevelingProcessor.OnProcessedListener? = null)