java.lang.Object | ||
↳ | dji.sdk.base.DJIError | |
↳ | dji.sdk.base.DJIFlightControllerError |
Defines all flight controller errors.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final DJIFlightControllerError | AIRCRAFT_FLYING_ERROR | Guard rails error, the aircraft is flying. | |||||||||
public static final DJIFlightControllerError | FAIL_TO_ENTER_TRANSPORT_MODE_WHEN_MOTORS_ON | When the motors are on, the aircraft could not get into transport mode. | |||||||||
public static final DJIFlightControllerError | FLIGHT_CONTROLLER_COULD_NOT_ENTER_TRANSPORT_MODE | Aircraft could not enter transport mode, since the gimbal is still connected. | |||||||||
public static final DJIFlightControllerError | FLIGHT_CONTROLLER_GPS_IS_NOT_HIGH_ENOUGH | GPS level is not high enough to allow flight controller to obtain accurate location. | |||||||||
public static final DJIFlightControllerError | FLIGHT_CONTROLLER_INTERNAL_ERROR_ABOUT_UNEXPECTED_NULL_OBJECT | SDK internal error. | |||||||||
public static final DJIFlightControllerError | FLIGHT_CONTROLLER_INVALID_PARAMETER | The parameter is not a valid value. | |||||||||
public static final DJIFlightControllerError | FLIGHT_CONTROLLER_OBJECT_EMPTY_OR_NOT_AVAILABLE | Value request is not ready for empty or null. | |||||||||
public static final DJIFlightControllerError | FLIGHT_CONTROLLER_UNSUPPORT | Product does not support this command. | |||||||||
public static final DJIFlightControllerError | GOHOME_ALTITUDE_TOO_HIGH | Guard rails error. | |||||||||
public static final DJIFlightControllerError | GOHOME_ALTITUDE_TOO_LOW | Guard rails error. | |||||||||
public static final DJIFlightControllerError | HOMEPOINT_TOO_FAR | Guard rails error. | |||||||||
public static final DJIFlightControllerError | IMU_CALIBRATION_ERROR_IN_THE_AIR_OR_MOTORS_ON | IMU calibration is not allowed if the aircraft's motors are on or the aircraft is in the air. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_AIRCRAFT_GOINGHOME | The aircraft is going home. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_AIRCRAFT_IN_NOFLYZONE | The aircraft is in a no fly zone. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_AIRCRAFT_LANDING | The aircraft is landing. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_AIRCRAFT_NOT_IN_THE_AIR | The aircraft is not in the air. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_AIRCRAFT_STARTING_MOTOR | The aircraft is starting the motor. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_AIRCRAFT_TAKINGOFF | The aircraft is taking off. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_ALTITUDE_TOO_HIGH | The altitude is too high. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_ALTITUDE_TOO_LOW | The altitude is too low. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_BEGAN | Mission began. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_CANCELED | Mission canceled. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_DISTANCE_FROM_MISSION_TARGET_TOO_LONG | The navigation in the product is unsupported. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_FAILED | Mission failed. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_FOLLOWME_DISCONNECT_TIME_TOO_LONG | The disconnect time of the follow me mission is too long. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_FOLLOWME_DISTANCE_TOO_LARGE | The distance between the aircraft and mobile phone is too large (must be lower than 20000m). | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_FOLLOWME_GIMBAL_PITCH_ERROR | The initial pitch angle of the gimbal is too large. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_GPS_NOT_READY | The aircraft GPS is not ready. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_GPS_SIGNAL_WEAK | The GPS signal of the aircraft is weak. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_HIGH_PRIORITY_MISSION_EXECUTING | The higher priority mission is executing. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_HOMEPOINT_DIRECTION_UNKNOWN | The direction of the home point is unknown. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_HOMEPOINT_LOCATION_INVALID | The latitude and longitude of the home point are invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_HOMEPOINT_NOT_PAUSED | The homepoint is not paused. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_HOMEPOINT_NOT_RECORDED | The home point of aircraft is not recorded. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_HOMEPOINT_PAUSED | The homepoint is paused. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_HOMEPOINT_VALUE_INVALID | The homepoint is not a valid float value. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_IN_NOVICE_MODE | The aircraft is in novice mode. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_IOC_TYPE_UNKNOWN | The type of IOC is unknown. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_IOC_WORKING | The IOC mode is working. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_IS_FLYING | The aircraft is flying. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_KEY_LEVEL_LOW | The key level is low. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_LOW_BATTERY | Low battery level warning. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MC_MODE_ERROR | The mode of the main controller is error. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_ACROSS_NOFLYZONE | The mission is across a no fly zone. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_CONDITION_NOT_SATISFIED | The condition of the mission is not satisfied. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_CONFLICT | There is a conflicting setting in the mission. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_ENTRYPOINT_INVALID | The entry point of mission is invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_ESTIMATE_TIME_TOO_LONG | The mission estimate time is too long. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_HEADING_MODE_INVALID | The heading mode of the mission is invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_INFO_INVALID | The information of the mission is invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_NOT_EXIST | The mission does not exist. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_NOT_INIT | The mission is not initialized. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_PARAM_INVALID | The parameters of the mission are invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_RADIUS_INVALID | The radius of the mission is invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_RADIUS_OVERLIMITED | The radius of the mission is over the acceptable limit. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_RESUME_FAILED | The mission resume failed. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MISSION_SPEED_TOO_LARGE | The speed of the mission is too large. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MODE_ERROR | Aircraft's control mode is in error. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_MOTOR_NOT_START | The aircraft motor is not started. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_NAVIGATION_IS_NOT_OPEN | Navigation is not open. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_NOT_AUTO_MODE | The aircraft is not in auto mode. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_RC_MODE_ERROR | Remote controller mode error. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_TAKEOFF | The aircraft is taking off. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_TIMEOUT | Mission timeout. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_TOO_CLOSE_TO_HOMEPOINT | Too close to the home point. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_UNKNOWN | Unknown result. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_UNSUPPORTED_NAVIGATION_FOR_THE_PRODUCT | The navigation in the product is unsupported. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_UPLOAD_WAYPOINT_NUM_MAX_LIMIT | The number of uploaded waypoints has reached the maximum limit. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINTS_UPLOADING | The waypoints is still uploading. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_ACTION_PARAM_INVALID | The parameter of the waypoint action is invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_DAMPING_CHECK_FAILED | The damping check failed. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_DISTANCE_TOO_CLOSE | The waypoint distance is too close. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_DISTANCE_TOO_LONG | The waypoint distance is too long. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_IDLE_VELOCITY_INVALID | The idle velocity is invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_INDEX_OVERRANGE | The index of the waypoint is over range. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_INFO_INVALID | The information of the waypoint is invalid. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_MISSION_INFO_NOT_UPLOADED | The information of the waypoint mission is not completely uploaded. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_NOT_RUNNING | The waypoint mission is not running. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_REQUEST_IS_RUNNING | The waypoint request is running. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_TOTAL_TRACE_TOO_LONG | The total trace of the waypoint is too long. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_TRACE_TOO_LONG | The trace of the waypoint is too long. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_UPLOADING | The waypoint is uploading. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WAYPOINT_UPLOAD_NOT_COMPLETE | The waypoint uploading is not complete. | |||||||||
public static final DJIFlightControllerError | MISSION_RESULT_WRONG_CMD | The command is wrong. | |||||||||
public static final DJIFlightControllerError | RTK_BS_ANTENNA_ERROR | ||||||||||
public static final DJIFlightControllerError | RTK_BS_COORDINATE_RESETED | ||||||||||
public static final DJIFlightControllerError | RTK_CONNECTION_BROKEN | ||||||||||
public static final DJIFlightControllerError | RTK_START_ERROR | ||||||||||
public static final DJIFlightControllerError | UNABLE_TO_TAKE_OFF | If the motors are already turned on or the aircraft is already flying, the takeoff did not execute. |
[Expand] Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class dji.sdk.base.DJIError |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static DJIError | getDJIError(Ccode ccode) Returns the specific error in DJIFlightControllerError according to the error code. | ||||||||||
String | getDescription() Returns the description of the error code. | ||||||||||
void | setDescription(String desc) Sets the description for the error code. |
[Expand] Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class dji.sdk.base.DJIError | |||||||||||
From class java.lang.Object |
Guard rails error, the aircraft is flying. For safety consideration, the motors could not be shut down.
When the motors are on, the aircraft could not get into transport mode.
Aircraft could not enter transport mode, since the gimbal is still connected.
GPS level is not high enough to allow flight controller to obtain accurate location.
SDK internal error.
The parameter is not a valid value.
Value request is not ready for empty or null.
Product does not support this command.
Guard rails error. The go home altitude is too high (higher than 500m).
Guard rails error. The go home altitude is too low (lower than 20m).
Guard rails error. A location is valid if it is within 30M of initial take-off location OR current RC location as shown by RC GPS or mobile device GPS.
IMU calibration is not allowed if the aircraft's motors are on or the aircraft is in the air.
The aircraft is going home.
The aircraft is in a no fly zone.
The aircraft is landing.
The aircraft is not in the air.
The aircraft is starting the motor.
The aircraft is taking off.
The altitude is too high.
The altitude is too low.
The navigation in the product is unsupported. For example, the distance from hotpoint target position is too long,
or the distance from the first waypoint target position is too long
The disconnect time of the follow me mission is too long.
The distance between the aircraft and mobile phone is too large (must be lower than 20000m). This error is returned when initializing the follow me task.
The initial pitch angle of the gimbal is too large.
The aircraft GPS is not ready.
It may be that the aircraft does not have the home point location.
The GPS signal of the aircraft is weak.
The higher priority mission is executing.
The direction of the home point is unknown.
The latitude and longitude of the home point are invalid.
The homepoint is not paused.
The home point of aircraft is not recorded.
The homepoint is paused.
The homepoint is not a valid float value.
The aircraft is in novice mode.
The type of IOC is unknown.
The key level is low.
Check that your key is a level 2 application key in your AndroidManifest.xml.
The mode of the main controller is error.
The mission is across a no fly zone.
The condition of the mission is not satisfied.
There is a conflicting setting in the mission.
The entry point of mission is invalid.
The mission estimate time is too long.
The heading mode of the mission is invalid.
The information of the mission is invalid.
The mission does not exist.
The mission is not initialized.
The parameters of the mission are invalid.
The radius of the mission is invalid.
The radius of the mission is over the acceptable limit.
The mission resume failed.
The speed of the mission is too large.
Aircraft's control mode is in error.
It may be that the control mode is set to manual or attitude (Manual or Atti).
The aircraft motor is not started.
Navigation is not open.
The aircraft is not in auto mode.
Remote controller mode error.
You should put the remote controller's mode selection bar to F position.
Too close to the home point.
The navigation in the product is unsupported.
The number of uploaded waypoints has reached the maximum limit.
For the Inspire 1 and Phantom 3 Series the maximum number is 99.
The waypoints is still uploading.
The parameter of the waypoint action is invalid.
The damping check failed.
The waypoint distance is too close.
The waypoint distance is too long.
The idle velocity is invalid.
The index of the waypoint is over range.
The information of the waypoint is invalid.
The information of the waypoint mission is not completely uploaded.
The waypoint mission is not running.
The waypoint request is running.
The total trace of the waypoint is too long.
The trace of the waypoint is too long.
The waypoint is uploading.
The waypoint uploading is not complete.
If the motors are already turned on or the aircraft is already flying, the takeoff did not execute.
Returns the specific error in DJIFlightControllerError according to the error code.
Returns the description of the error code.
Sets the description for the error code.