DJILandingGear

@interface DJILandingGear : NSObject

This class contains the state of the landing gear. It also provides methods to control the landing gear.

  • The current state/position of the landing gear. It is only supported by Inspire 1 and Inspire 2.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJILandingGearStatus status;
  • The current landing gear mode.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJILandingGearMode mode;
  • Turns on the self-adaptive landing gear. If self-adaptive landing gear is turned on, the landing gear automatically transitions between deployed and retracted depending on altitude. During take-off, the transition point is 1.2m above ground. After take-off (during flight or when landing), the transition point is 0.5m above ground.

    Declaration

    Objective-C

    - (void)turnOnAutoLandingGearWithCompletion:(DJICompletionBlock)completion;

    Parameters

    completion

    Completion block that receives the execution result.

  • Turns off the self-adaptive landing gear. If self-adaptive landing gear is turned off, the aircraft will not automatically lower and raise the landing gear when the aircraft is 0.5m above the ground.

    Declaration

    Objective-C

    - (void)turnOffAutoLandingGearWithCompletion:(DJICompletionBlock)completion;

    Parameters

    completion

    Completion block that receives the execution result.

  • Enters the transport mode. In transport mode, the landing gear will be in the same geometric plane as the aircraft body so it can be easily transported. It is only supported by Inspire 1 and Inspire 2.

    Declaration

    Objective-C

    - (void)enterTransportModeWithCompletion:(DJICompletionBlock)completion;

    Parameters

    completion

    Completion block that receives the execution result.

  • Exit transport mode. It is only supported by Inspire 1 and Inspire 2.

    Declaration

    Objective-C

    - (void)exitTransportModeWithCompletion:(DJICompletionBlock)completion;

    Parameters

    completion

    Completion block that receives the execution result.

  • Retracts the landing gear. Should only be used when setLandingGearMode is DJILandingGearModeNormal. Only supported by Inspire 1 and Inspire 2. For Matrice 600 and Matrice 600 Pro, the landing gear cannot be controlled through the SDK, only automatically by the aircraft or manually by the remote controller.

    Declaration

    Objective-C

    - (void)retractLandingGearWithCompletion:(DJICompletionBlock)completion;

    Parameters

    completion

    Completion block that receives the execution result.

  • Deploys the landing gear. Should only be used when setLandingGearMode is DJILandingGearModeNormal. Only supported by Inspire 1 and Inspire 2. For Matrice 600 and Matrice 600 Pro, the landing gear cannot be controlled through the SDK, only automatically by the aircraft or manually by the remote controller.

    Declaration

    Objective-C

    - (void)deployLandingGearWithCompletion:(DJICompletionBlock)completion;

    Parameters

    completion

    Completion block that receives the execution result.