Magnetometer1StepCalibrationProcessState

@objcMembers
@objc(GSMagnetometer1StepCalibrationProcessState)
public class Magnetometer1StepCalibrationProcessState : NSObject

State of the calibration process for a 1-step calibration. The calibration is done on the 3 axes simultaneously: roll, pitch and yaw. The calibration progress is provided for each axis as a percentage, in range [0, 100]. The magnetometer is calibrated when the calibration progress of the 3 axes has reached 100%.

  • Progress of calibration on roll axis, from 0 to 100.

    For a drone, roll axis is the longitudinal axis (axis traversing the drone from tail to head).

    Declaration

    Swift

    public internal(set) var rollProgress: Int
  • Progress of calibration on pitch axis, from 0 to 100.

    For a drone, pitch axis is the lateral axis (axis traversing the drone from right to left).

    Declaration

    Swift

    public internal(set) var pitchProgress: Int
  • Progress of calibration on roll axis, from 0 to 100.

    For a drone, yaw axis is the vertical axis going through the center of the drone.

    Declaration

    Swift

    public internal(set) var yawProgress: Int