DJI Mobile SDK Documentation

      class MultipleOrientationCalibrationHint

      @EXClassNullAway
      class MultipleOrientationCalibrationHint
      Package:dji.common.flightcontroller.imu
      Description:

      This class is used to lead the user through an IMU calibration for products that require calibration at multiple orientations. An example workflow is:

      1. Direct the user to orient the aircraft in one of the uncalibrated orientations in getOrientationsToCalibrate.
      2. Monitor getState until CALIBRATING turns to COMPLETED.
      3. Repeat until getOrientationsToCalibrate is empty.

      Class Members:
      method
      method getState
      OrientationCalibrationState getState()
      Package:dji.common.flightcontroller.imu
      Description:

      Gets the calibration status of the current orientation.

      Return:
      OrientationCalibrationStateAn enum value of OrientationCalibrationState
      method getOrientationsToCalibrate
      HashSet<CalibrationOrientation> getOrientationsToCalibrate()
      Package:dji.common.flightcontroller.imu
      Description:

      Gets an array with the aircraft orientations that have not been calibrated yet. Each element is a CalibrationOrientation enum value.

      Return:
      HashSet<CalibrationOrientation>An instance of HashSet CalibrationOrientation.
      method getOrientationsCalibrated
      HashSet<CalibrationOrientation> getOrientationsCalibrated()
      Package:dji.common.flightcontroller.imu
      Description:

      Gets an array with the aircraft orientations that have been calibrated. Each element is a CalibrationOrientation enum value.

      Return:
      HashSet<CalibrationOrientation>An instance of HashSetCalibrationOrientation.