FlightPlanUnavailabilityReason

@objc(GSFlightPlanUnavailabilityReason)
public enum FlightPlanUnavailabilityReason : Int, CustomStringConvertible

Reason why this piloting interface is currently unavailable.

  • Not enough battery.

    Declaration

    Swift

    case insufficientBattery
  • Drone GPS accuracy is too weak.

    Declaration

    Swift

    case droneGpsInfoInaccurate
  • Drone needs to be calibrated.

    Declaration

    Swift

    case droneNotCalibrated
  • No flight plan file uploaded.

    Declaration

    Swift

    case missingFlightPlanFile
  • Drone cannot take-off. This error can happen if the flight plan piloting interface is activated while the drone cannot take off. It can be for example if the drone is in emergency or has not enough battery to take off.

    Declaration

    Swift

    case cannotTakeOff
  • Drone camera is not available.

    Declaration

    Swift

    case cameraUnavailable
  • First waypoint is too far to be reached.

    Declaration

    Swift

    case firstWaypointTooFar
  • Drone is in an invalid state

    Declaration

    Swift

    case droneInvalidState
  • Debug description.

    Declaration

    Swift

    public var description: String { get }