Static Interval With Measurement Generator Calibrator
Base class for static interval calibrators, which detects static period of accelerometer measurements along with other sensors (if needed) to solve calibration.
Parameters
an implementation of StaticIntervalWithMeasurementGeneratorCalibrator.
type of input data to be processed by internal generator.
Inheritors
Types
Interface to notify when calibration is solved and completed.
Interface to notify when calibration starts being solved.
Interface to notify that a new dynamic interval is detected.
Interface to notify when a dynamic interval is skipped. This happens when interval is too long.
Interface to notify when an error occurs.
Interface to notify when calibrator successfully completes initialization.
Interface to notify when calibrator starts initialization.
Interface to notify when enough measurements are obtained to start solving calibration.
Interface to notify that a new static interval is detected.
Interface to notify when a static interval is skipped. This happens when interval is too short.
Interface to notify when measurement collection stops. This happens automatically when enough measurements are found after periods when device stops being static, or if an error occurs.
Properties
Gets average time interval between accelerometer samples expressed in seconds (s). This is only available once the internal generator completes initialization.
Gets average time interval between accelerometer samples. This is only available once the internal generator completes initialization.
Gets accelerometer measurement base noise level that has been detected during initialization expressed in meters per squared second (m/s^2). This is only available once internal generator completes initialization.
Gets accelerometer measurement base noise level that has been detected during initialization. This is only available once internal generator completes initialization.
Gets measurement base noise level PSD (Power Spectral Density) expressed in (m^2 * s^-3). This is only available once internal generator completes initialization.
Gets measurement base noise level root PSD (Power Spectral Density) expressed in (m * s^-1.5). This is only available once internal generator completes initialization.
Gets accelerometer sensor being used for interval detection. This can be used to obtain additional information about the sensor.
Delay of sensor between samples.
One of the supported accelerometer sensor types.
Gets estimated standard deviation of time interval between accelerometer measurements expressed in seconds (s). This is only available once internal generator completes initialization.
Gets estimated standard deviation of time interval between accelerometer measurements. This is only available once internal generator completes initialization.
Gets estimated variance of time interval between accelerometer measurements expressed in squared seconds (s^2). This is only available once internal generator completes initialization.
Listener to notify when sensor accuracy changes.
Gets or sets overall absolute threshold to determine whether there has been excessive motion during the whole initialization phase. Failure will be detected if estimated base noise level exceeds this threshold when initialization completes. This threshold is expressed in meters per squared second (m/s^2).
Gets or sets overall absolute threshold to determine whether there has been excessive motion during the whole initialization phase. Failure will be detected if estimated base noise level exceeds this threshold when initialization completes.
Listener to notify when calibration solving completes.
Listener to notify when calibration solving starts.
Listener to notify when a dynamic interval is detected.
Listener to notify when a dynamic interval is skipped if its duration is too long.
Listener to notify errors.
Listener to notify when initialization completes.
Listener to notify when initialization starts.
Gets or sets number of samples to be processed initially by the internal measurement generator, while keeping the sensor static in order to find the base noise level when device is static.
Gets or sets factor to determine that a sudden movement has occurred during initialization if instantaneous noise level exceeds accumulated noise level by this factor amount. This factor is unit-less.
Indicates whether last dynamic interval must be skipped.
Indicates whether enough measurements have been picked at static intervals so that the calibration process can be solved.
Indicates whether last static interval must be skipped.
Gets minimum number of required measurements to start calibration. Each time that the device is kept static, a new measurement is collected. When the required number of measurements is collected, calibration can start.
Number of accelerometer measurements that have been processed.
Gets number of samples that have been processed in a dynamic period so far.
Gets number of samples that have been processed in a static period so far.
Listener to notify when enough measurements have been collected and calibrator is ready to solve calibration.
Required number of measurements to be collected before calibration can start. The number of required measurements must be greater than minimumRequiredMeasurements, otherwise at least minimumRequiredMeasurements will be collected before calibration can start.
Indicates whether calibration is automatically solved when enough measurements are available.
Listener to notify when a static interval is detected.
Listener to notify when a static interval is skipped if its duration is too short.
Listener to notify when calibrator is stopped.
Gets estimated threshold to determine static/dynamic period changes. This is only available once internal generator completes initialization.
Gets or sets factor to be applied to detected base noise level in order to determine a threshold for static/dynamic period changes. This factor is unit-less.
Gets or sets length of number of samples to keep within the window being processed to determine instantaneous sensor noise level during initialization of the internal calibrator measurement generator. Window size must always be larger than allowed minimum value, which is 2 and must have an odd value.
Functions
Solves calibration using collected measurements. This must be explicitly called after enough measurements are collected if solveCalibrationWhenEnoughMeasurements is false.
Gets average time interval between accelerometer measurements. This is only available once the internal generator completes initialization.
Gets sensor measurement base noise level that has been detected during initialization. This is only available once detector completes initialization.
Gets estimated standard deviation of time interval between accelerometer measurements. This is only available once internal generator completes initialization.
Gets overall absolute threshold to determine whether there has been excessive motion during the whole initialization phase. Failure will be detected if estimated base noise level exceeds this threshold when initialization completes.
Gets estimated threshold to determine static/dynamic period changes. This is only available once internal generator completes initialization.
Starts calibrator. This method starts collecting sensor measurements. When calibrator is started, it begins with an initialization stage where sensor noise is estimated while device remains static. Once initialization is completed, calibrator determines intervals where device remains static when device has different poses, so that measurements are collected to solve calibration. If solveCalibrationWhenEnoughMeasurements is true, calibration is automatically solved once enough measurements are collected, otherwise a call to calibrate must be done to solve calibration.