Magnetometer3StepCalibrationProcessState
@objcMembers
@objc(GSMagnetometer3StepCalibrationProcessState)
public class Magnetometer3StepCalibrationProcessState : NSObject
State of the calibration process for a 3-steps calibration.
-
Drone axis used during the magnetometer calibration process.
See moreDeclaration
Swift
@objc(GSMagnetometerAxis) public enum Axis : Int, CustomStringConvertible
-
true
if the calibration process failed.Note
This flag may be set at the end of the calibration process, then the process will be ended.Declaration
Swift
public internal(set) var failed: Bool { get }
-
The current axis to calibrate.
Declaration
Swift
public internal(set) var currentAxis: Axis { get }
-
The set of the calibrated axes. Empty if no axis is calibrated.
Declaration
Swift
public internal(set) var calibratedAxes: Set<Axis> { get }
-
Tells if an axis is calibrated
Note
This method is present because propertycalibratedAxes
is not available in Objective-C.Declaration
Swift
public func isCalibrated(axis: Axis) -> Bool