DJI Mobile SDK Documentation

      class Limits

      @EXClassNullAway
      class Limits
      Package:dji.common.flightcontroller.virtualstick
      Description:

      This class provides max and min values for flight controller virtual stick.

      Class Members:
      final VERTICAL_CONTROL_MIN_VELOCITY
      static final float VERTICAL_CONTROL_MIN_VELOCITY = -4
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Vertical control velocity MIN value -4 m/s in VirtualStickControlMode. Negative velocity is down.

      final VERTICAL_CONTROL_MAX_VELOCITY
      static final float VERTICAL_CONTROL_MAX_VELOCITY = 4
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Vertical control velocity MAX value 4 m/s in VirtualStickControlMode. Positive velocity is up.

      final VERTICAL_CONTROL_MIN_HEIGHT
      static final float VERTICAL_CONTROL_MIN_HEIGHT = 0
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Vertical control position MIN for VirtualStickVerticalControlModePosition. The default value is 0m.

      final VERTICAL_CONTROL_MAX_HEIGHT
      static final float VERTICAL_CONTROL_MAX_HEIGHT = 500
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Vertical control position MAX for VirtualStickVerticalControlModePosition. The default value is 500m.

      final ROLL_PITCH_CONTROL_MAX_VELOCITY
      static final float ROLL_PITCH_CONTROL_MAX_VELOCITY = 15
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Roll/Pitch control velocity MAX value 15m/s.

      final ROLL_PITCH_CONTROL_MIN_VELOCITY
      static final float ROLL_PITCH_CONTROL_MIN_VELOCITY = -15
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Roll/Pitch control velocity MIN value -15m/s.

      final ROLL_PITCH_CONTROL_MAX_ANGLE
      static final float ROLL_PITCH_CONTROL_MAX_ANGLE = 30
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Roll/Pitch control angle MAX value 30 degrees.

      final ROLL_PITCH_CONTROL_MIN_ANGLE
      static final float ROLL_PITCH_CONTROL_MIN_ANGLE = -30
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Roll/Pitch control angle MIN value -30 degrees.

      final YAW_CONTROL_MAX_ANGLE
      static final float YAW_CONTROL_MAX_ANGLE = 180
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Yaw control angle MAX value 180 degrees.

      final YAW_CONTROL_MIN_ANGLE
      static final float YAW_CONTROL_MIN_ANGLE = -180
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Yaw control angle MIN value -180 degrees.

      final YAW_CONTROL_MAX_ANGULAR_VELOCITY
      static final float YAW_CONTROL_MAX_ANGULAR_VELOCITY = 100
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Yaw control angular velocity MAX value 100 degree/s.

      final YAW_CONTROL_MIN_ANGULAR_VELOCITY
      static final float YAW_CONTROL_MIN_ANGULAR_VELOCITY = -100
      Package:dji.common.flightcontroller.virtualstick
      Description:

      Yaw control angular velocity MIN value -100 degree/s.