Interface KnownFrameAccelerometerCalibrator<T extends FrameBodyKinematics,L extends KnownFrameAccelerometerCalibratorListener<?>>

Type Parameters:
T - a FrameBodyKinematics containing measures used by the calibrator.
L - a listener type.
All Superinterfaces:
AccelerometerCalibrator, UnknownBiasAccelerometerCalibrator
All Known Implementing Classes:
KnownFrameAccelerometerLinearLeastSquaresCalibrator, KnownFrameAccelerometerNonLinearLeastSquaresCalibrator

public interface KnownFrameAccelerometerCalibrator<T extends FrameBodyKinematics,L extends KnownFrameAccelerometerCalibratorListener<?>> extends UnknownBiasAccelerometerCalibrator, AccelerometerCalibrator
Interface defining accelerometer calibrators to estimate biases, cross coupling and scaling factors.
  • Method Details

    • getMeasurements

      Collection<T> getMeasurements()
      Gets a collection of body kinematics measurements taken at different frames (positions, orientations and velocities). If a single device IMU needs to be calibrated, typically all measurements are taken at the same position, with zero velocity and multiple orientations. However, if we just want to calibrate the a given IMU model (e.g. obtain an average and less precise calibration for the IMU of a given phone model), we could take measurements collected throughout the planet at multiple positions while the phone remains static (e.g. while charging), hence each measurement position will change, velocity will remain zero and orientation will be typically constant at horizontal orientation while the phone remains on a flat surface.
      Returns:
      a collection of body kinematics measurements taken at different frames (positions, orientations and velocities).
    • setMeasurements

      void setMeasurements(Collection<? extends T> measurements) throws com.irurueta.navigation.LockedException
      Sets a collection of body kinematics measurements taken at different frames (positions, orientations and velocities). If a single device IMU needs to be calibrated, typically all measurements are taken at the same position, with zero velocity and multiple orientations. However, if we just want to calibrate the a given IMU model (e.g. obtain an average and less precise calibration for the IMU of a given phone model), we could take measurements collected throughout the planet at multiple positions while the phone remains static (e.g. while charging), hence each measurement position will change, velocity will remain zero and orientation will be typically constant at horizontal orientation while the phone remains on a flat surface.
      Parameters:
      measurements - collection of body kinematics measurements taken at different frames (positions, orientations and velocities).
      Throws:
      com.irurueta.navigation.LockedException - if calibrator is currently running.
    • getListener

      L getListener()
      Gets listener to handle events raised by this calibrator.
      Returns:
      listener to handle events raised by this calibrator.
    • setListener

      void setListener(L listener) throws com.irurueta.navigation.LockedException
      Sets listener to handle events raised by this calibrator.
      Parameters:
      listener - listener to handle events raised by this calibrator.
      Throws:
      com.irurueta.navigation.LockedException - if estimator is currently running.