public class

DJIIMUMultiOrientationCalibrationHint

extends Object
java.lang.Object
   ↳ dji.common.flightcontroller.DJIIMUMultiOrientationCalibrationHint

Class Overview

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 `orientationsToCalibrate`. 2. Monitor `status` until `DJIIMUMultiOrientationCalibrationStatusCalibrating` in DJIIMUMultiOrientationCalibrationStatus turns to `DJIIMUMultiOrientationCalibrationStatusDone`. 3. Repeat until `orientationsToCalibrate` is empty.

Summary

Public Constructors
DJIIMUMultiOrientationCalibrationHint()
Public Methods
HashSet<DJIIMUCalibrationOrientation> getOrientationsCalibrated()
get an array with the aircraft orientations that have been calibrated.
HashSet<DJIIMUCalibrationOrientation> getOrientationsToCalibrate()
get an array with the aircraft orientations that have not been calibrated yet.
DJIIMUMultiOrientationCalibrationStatus getStatus()
get the calibration status for the current orientation.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJIIMUMultiOrientationCalibrationHint ()

Public Methods

public HashSet<DJIIMUCalibrationOrientation> getOrientationsCalibrated ()

get an array with the aircraft orientations that have been calibrated.

public HashSet<DJIIMUCalibrationOrientation> getOrientationsToCalibrate ()

get an array with the aircraft orientations that have not been calibrated yet.

public DJIIMUMultiOrientationCalibrationStatus getStatus ()

get the calibration status for the current orientation.