NSError
class NSError
@interface NSError(AUTELSDK)
describe:This class is the SDK general error class
enum AUTELSDKFlightControllerError
describe:Define flight control error.
typedef NS_ENUM (NSInteger, AUTELSDKFlightControllerError) {
/**
* @brief Flight mode or flight status error.
*
*/
AUTELSDKFlightControllerErrorModeError = -4000L,
/**
* @brief Aircraft GPS weak.
*
*/
AUTELSDKFlightControllerErrorBadGPS = -4001L,
/**
* @brief Aircraft low battery.
*
*/
AUTELSDKFlightControllerErrorLowBattery = -4002L,
/**
* @brief Aircraft not record home point.
*
*/
AUTELSDKFlightControllerErrorHomePointNotRecord = -4003L,
/**
* @brief Aircraft in a no fly zone.
*
*/
AUTELSDKFlightControllerErrorInNoFlyZone = -4004L,
/**
* @brief Aircraft is flying.
*
*/
AUTELSDKFlightControllerErrorAircraftFlying = -4005L,
/**
* @brief Aircraft is not fly.
*
*/
AUTELSDKFlightControllerErrorAircraftNotFly = -4006L,
/**
* @brief The new home point is too far.
*
*/
AUTELSDKFlightControllerErrorHomePointTooFar = -4007L,
/**
* @brief The motors are rotating.
*
*/
AUTELSDKFlightControllerErrorMotorWorking = -4008L,
/**
* @brief The motors are not rotating.
*
*/
AUTELSDKFlightControllerErrorMotorNotWork = -4009L,
/**
* @brief Compass abnormal.
*
*/
AUTELSDKFlightControllerErrorCompassError = -4010L,
/**
* @brief Compass is Calibrating
*
*/
AUTELSDKFlightControllerErrorCompassIsCalibrationg = -4011L,
/**
* @brief The aircraft is going home.
*
*/
AUTELSDKFlightControllerErrorIsGoingHome = -4012L,
/**
* @brief command Invalid.
*
*/
AUTELSDKFlightControllerErrorCommandInvalid = -4013L,
/**
* @brief not supported.
*
*/
AUTELSDKFlightControllerErrorNotSupport = -4014L,
/**
* @brief Aircraft low battery.
*
*/
AUTELSDKFlightControllerErrorCriticalLowBattery = -4015L,
/**
* @brief Battery overheated
*
*/
AUTELSDKFlightControllerErrorBatteryOverheated = -4016L,
/**
* @brief Battery overheated
*
*/
AUTELSDKFlightControllerErrorBatteryTemperatureLow = -4017L,
/**
* @brief Remote controller signal lost
*
*/
AUTELSDKFlightControllerErrorRCSignalLoss = -4018L,
/**
* @brief Aircrafl is landing
*
*/
AUTELSDKFlightControllerErrorIsLanding = -4019L,
/**
* @brief Unknow Error
*
*/
AUTELSDKFlightControllerErrorUnknowError = -4020L,
/**
* @brief No no fly zone files
*
*/
AUTELSDKFlightControllerErrorNOCountryNFZFile = -4021L,
};