DJIIMUMultiOrientationCalibrationHint
@interface DJIIMUMultiOrientationCalibrationHint : NSObject
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
turns to DJIIMUMultiOrientationCalibrationStatusDone
.
3. Repeat until orientationsToCalibrate
is empty.
-
An array with the aircraft orientations that have not been calibrated yet. Each element is an
NSNumber
instance with aDJIIMUCalibrationOrientation
enum value.Declaration
Objective-C
@property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull orientationsToCalibrate;
-
An array with the aircraft orientations that have been calibrated. Each element is an
NSNumber
instance with aDJIIMUCalibrationOrientation
enum value.Declaration
Objective-C
@property (readonly, nonatomic) NSArray<NSNumber *> *_Nonnull orientationsCalibrated;
-
The calibration status for the current orientation.
Declaration
Objective-C
@property (readonly, nonatomic) DJIIMUMultiOrientationCalibrationStatus status;