GimbalOffsetsCorrectionProcess
@objcMembers
@objc(GSGimbalOffsetsCorrectionProcess)
public class GimbalOffsetsCorrectionProcess : NSObject
Gimbal offsets manual correction process.
-
Set of axes that can be manually corrected.
If a given axis can be corrected, calibrationOffsets of this axis will return a non-nil object when correction is started.
Declaration
Swift
internal(set) public var correctableAxes: Set<GimbalAxis> { get }
-
Offsets correction applied to the gimbal.
Only contains correctable axes.
Declaration
Swift
public var offsetsCorrection: [GimbalAxis : DoubleSetting] { get }
-
Tells whether a given axis can be manually corrected.
Note
This method is for Objective-C only. Swift must usecorrectableAxes
Declaration
Swift
public func isAxisCorrectable(_ axis: GimbalAxis) -> Bool
Parameters
axis
the axis to query
Return Value
true
if the axis can be corrected -
Gets the manual offset correction on a given axis.
Note
This method is for Objective-C only. Swift must useoffsetsCorrection
Declaration
Swift
public func offsetCorrection(onAxis axis: GimbalAxis) -> DoubleSetting?
Parameters
axis
the axis
Return Value
the manual offset correction setting if the axis is correctable.