DJI Mobile SDK Documentation

      class MovementSettings

      @EXClassNullAway
      class MovementSettings
      Package:dji.common.gimbal
      Description:

      The current movement settings of the gimbal. These include settings for SmoothTrack and the Controller.

      Class Members:

      General

      Profile
      method
      method getProfile
      MovementSettingsProfile getProfile()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.MOVEMENT_SETTINGS_PROFILE
      Description:

      Advanced settings profile.

      Return:
      MovementSettingsProfileA MovementSettingsProfile enum value.


      SmoothTrack

      method isYawSmoothTrackEnabled
      boolean isYawSmoothTrackEnabled()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.YAW_SMOOTH_TRACK_ENABLED
      Description:

      true if gimbal SmoothTrack is enabled for the yaw axis.

      Return:
      booleanA boolean value.
      method isPitchSmoothTrackEnabled
      boolean isPitchSmoothTrackEnabled()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.PITCH_SMOOTH_TRACK_ENABLED
      Description:

      true if gimbal SmoothTrack is enabled for the pitch axis.

      Return:
      booleanA boolean value.
      method getYawSmoothTrackSpeed
      int getYawSmoothTrackSpeed()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.YAW_SMOOTH_TRACK_SPEED
      Description:

      SmoothTrack yaw axis speed determines how fast the gimbal will catch up with the translated yaw handle movement. Range is [0,100].

      Return:
      intAn int value.
      method getPitchSmoothTrackSpeed
      int getPitchSmoothTrackSpeed()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.PITCH_SMOOTH_TRACK_SPEED
      Description:

      SmoothTrack pitch axis speed determines how fast the gimbal will catch up with the translated pitch handle movement. Range is [0,100].

      Return:
      intAn int value.
      method getYawSmoothTrackDeadband
      int getYawSmoothTrackDeadband()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.YAW_SMOOTH_TRACK_DEADBAND
      Description:

      A larger SmoothTrack yaw axis deadband requires more yaw handle movement to translate into gimbal motion. Range is [0,90] degrees.

      Return:
      intAn int value.
      method getPitchSmoothTrackDeadband
      int getPitchSmoothTrackDeadband()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.PITCH_SMOOTH_TRACK_DEADBAND
      Description:

      A larger SmoothTrack pitch axis deadband requires more pitch handle movement to translate into gimbal motion. Range is [0,90] degrees.

      Return:
      intAn int value.
      method getYawSmoothTrackAcceleration
      int getYawSmoothTrackAcceleration()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.YAW_SMOOTH_TRACK_ACCELERATION
      Description:

      SmoothTrack yaw axis acceleration determines how closely the gimbal's yaw axis will follow the translated controller movement. Range is [0,30].

      Return:
      intAn int value.
      method getPitchSmoothTrackAcceleration
      int getPitchSmoothTrackAcceleration()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.PITCH_SMOOTH_TRACK_ACCELERATION
      Description:

      SmoothTrack pitch axis acceleration determines how closely the camera will follow the translated pitch handle movement. Range is [0,30].

      Return:
      intAn int value.


      Controller

      method getYawControllerSmoothingFactor
      int getYawControllerSmoothingFactor()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.YAW_CONTROLLER_SMOOTHING_FACTOR
      Description:

      Controller yaw axis smoothing controls the deceleration of the gimbal. A small value will cause the gimbal to stop abruptly. Range is [0,30].

      Return:
      intAn int value.
      method getPitchControllerSmoothingFactor
      int getPitchControllerSmoothingFactor()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.PITCH_CONTROLLER_SMOOTHING_FACTOR
      Description:

      Controller pitch axis smoothing controls the deceleration of the gimbal. A small value will cause the gimbal to stop abruptly. Range is [0,30].

      Return:
      intAn int value.
      method getYawControllerSpeedCoefficient
      int getYawControllerSpeedCoefficient()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.YAW_CONTROLLER_SPEED_COEFFICIENT
      Description:

      Controller yaw axis speed determines how sensitively the gimbal's yaw axis will follow the controller movement. Range is [0,100].

      Return:
      intAn int value.
      method getPitchControllerSpeedCoefficient
      int getPitchControllerSpeedCoefficient()
      Package:dji.common.gimbal
      SDK Key:GimbalKey.PITCH_CONTROLLER_SPEED_COEFFICIENT
      Description:

      Controller pitch axis speed determines how sensitively the gimbal's pitch axis will follow the controller movement. Range is [0,100].

      Return:
      intAn int value.