Relative Pose Estimator2
Estimates relative pose with 6DOF (Degrees of Freedom) containing relative attitude and position.
Parameters
initial velocity of device expressed in NED coordinates.
Constructors
Types
Interface to notify when sensor (either accelerometer, gravity or magnetometer) accuracy changes.
Interface to notify when a buffer gets completely filled. When buffers get filled, internal collectors will continue collection at the expense of loosing old data. Consumers of this listener should device what to do at this point (which might require stopping this estimator)..
Interface to notify when a new pose is available.
Properties
an averaging filter for accelerometer samples to obtain sensed gravity component of specific force. This is ignored if useAttitudeSensor is true.
One of the supported accelerometer sensor types. It is suggested to avoid using non-calibrated accelerometers.
listener to notify changes in accuracy.
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.
Factor to take into account when interpolation value is computed and useIndirectAttitudeInterpolation is enabled to determine actual interpolation value based on current relative attitude rotation velocity.
Interpolation value to be used to combine both leveling and relative attitudes. Must be between 0.0 and 1.0 (both included). The closer to 0.0 this value is, the more resemblance the result will have to a pure leveling (which feels more jerky). On the contrary, the closer to 1.0 this value is, the more resemblance the result will have to a pure non-leveled relative attitude (which feels softer but might have arbitrary roll and pitch Euler angles).
Threshold to determine that geomagnetic attitude has largely diverged and if situation is not reverted soon, attitude will be reset to geomagnetic one.
Threshold to determine that current geomagnetic attitude appears to be an outlier respect to estimated fused attitude. When geomagnetic attitude and fused attitudes diverge, fusion is not performed, and instead only gyroscope relative attitude is used for fusion estimation.
Threshold to determine when fused attitude has largely diverged for a given number of samples and must be reset.
listener to notify that some buffer has been filled. This usually happens when consumer of measurements cannot keep up with the rate at which measurements are generated.
One of the supported gyroscope sensor types. It is suggested to avoid using non-calibrated gyroscopes.
Gets initial device velocity.
notifies when a new estimated pose is available.
Delay of sensors between samples.
indicates whether start offsets will be computed when first measurement is received or not. True indicates that offset is computed, false assumes that offset is null.
Time interval expressed in seconds between consecutive measurements
true to use accelerometer sensor for attitude estimation, false to use system gravity sensor for leveling purposes. Regardless of this values, pose estimator always uses the accelerometer sensor, however, it can be used both for leveling and device motion, or only for device motion. This is ignored if useAttitudeSensor is true.
Indicates whether accurate non-leveled relative attitude processor must be used or not.
true to use Android system attitude sensor, false to fuse accelerometer/gravity + gyroscope + magnetometer sensors to estimate attitude.
Indicates whether fusion between leveling and relative attitudes occurs based on changing interpolation value that depends on actual relative attitude rotation velocity.