Base Gravity Processor
Base class for a gravity processor. Collects accelerometer or gravity sensor measurements and processed them and converts them to NED coordinates.
Inheritors
Constructors
Types
Properties
Accuracy of last sensed gravity measurement.
indicates whether gravity norm must be adjusted to either Earth standard norm, or norm at provided location. If no location is provided, this should only be enabled when device is close to sea level.
Gets expected gravity norm at provided location. If No location is provided, average gravity at sea level is returned instead. This value will be used to adjust to adjust gravity norm if adjustGravityNorm is true.
Gets norm of current gravity.
listener to notify new gravity measurements.
Time in nanoseconds at which the measurement was made. Each measurement will be monotonically increasing using the same time base as android.os.SystemClock.elapsedRealtimeNanos.