Flight vision class
class AutelVisual
method setVisualWarnListener
void setVisualWarnListener
(CallbackWithOneParam<VisualWarningInfo>
listener);
Description: Adds the aircraft warning status information.
Input parameter: None
Output parameter: Callback of the warning information
Related parameter: VisualWarningInfo
method setAvoidanceRadarInfoListener
void setAvoidanceRadarInfoListener
(CallbackWithOneParam<AvoidanceRadarInfo> listener);
Description: Sets aircraft radar information listening.
Input parameter: None
Output parameter: Callback of real-time listening data from the radar
Related parameter: AvoidanceRadarInfo
method setVisualSettingInfoListener
void setVisualSettingInfoListener
(CallbackWithOneParam<VisualSettingInfo> listener);
Description: Obtains the integer value that indicates the enumeration of RemoteControllerParameterUnit.
Input parameter: None
Output parameter: Integer value of RemoteControllerParameterUnit
Related parameter: RemoteControllerParameterUnit
method setViewpointInfoListener
void setViewpointInfoListener
(CallbackWithOneParam<ViewPointTargetArea> listener);
Description: Adds a listener for viewpoint coordinates.
Input parameter: None
Output parameter: Callback of the listening result
Related parameter: ViewPointTargetArea
method ViewPointTargetArea
void setVisualSettingEnable
(VisualSettingSwitchblade switchblade, boolean enable, CallbackWithNoParam callback);
Description: Sets the visual switch state.
Input parameter switchablade: whether to enable the visual function
Output parameter: Callback of the setting result
Related parameter: VisualSettingSwitchblade
method setVisualSettingParams
void setVisualSettingParams
(VisualSettingSwitchblade switchblade, int type,CallbackWithNoParam callback);
Description: Sets vision module parameters (general vision setting API).
Input parameters: switchblade: switch state of the vision setting; For type, populate a command according to the command ID
Output parameter: Callback of the setting API
Related parameter: VisualSettingSwitchblade
method getVisualSettingInfo
void getVisualSettingInfo(CallbackWithOneParam<VisualSettingInfo> callback);
Description: Obtains the vision settings.
Input parameter: None
Output parameter: Callback of the information acquisition API
Related parameter: CallbackWithOneParam
method setVisualFollowMode
void setVisualFollowMode
(DynamicTrackMode followMode, CallbackWithNoParam callback);
Description: Sets the dynamic tracking mode.
Input parameter: followMode: dynamic tracking mode (DynamicTrackMode)
Output parameter: Callback of the setting result
Related parameter: DynamicTrackMode
method setVisualViewPointCoordinate
void setVisualViewPointCoordinate
(float x, float y, float pitch,CallbackWithNoParam callback);
Description: Sets the viewpoint coordinates.
Input parameters: x: horizontal coordinate x; y:horizontal coordinate y; pitch: gimbal angle
Output parameter: Callback of the setting result
Related parameter: None
method setVisualViewPointSpeed
void setVisualViewPointSpeed
(float speed, CallbackWithNoParam callback);
Description: Sets the viewpoint speed.
Input parameter: Viewpoint speed
Output parameter: Callback of the setting result
Related parameter: None
method updateVisualResolutionAngle
void updateVisualResolutionAngle(CallbackWithNoParam callback);
Description: Updates the visual resolution angle.
Input parameter: None
Output parameter: Update callback
Related parameter: None
method startOrbitTimeTakePhoto
method startOrbitTimeTakePhoto
void startOrbitTimeTakePhoto
(final CallbackWithNoParam callback);
Description: Starts orbit time-lapse photography.
Input parameter: None
Output parameter: Callback of the starting result
Related parameter: None
method switchApriltag
void switchApriltag(boolean open, CallbackWithNoParam cb);
Description: Enables/Disables accurate landing.
Input parameter: open; true: enable; false: disable
Output parameter: Callback of the enabling result
Related parameter: None
method setDroneTargetPosYaw
void setDroneTargetPosYaw(AprilTagData p, CallbackWithNoParam cb);
Description: Sets parameters of accurate landing.
Input parameter: p: data of accurate landing
Output parameter: Callback of the setting result
Related parameter: AprilTagData
method switchBeyondLand
void switchBeyondLand(boolean open,CallbackWithNoParam cb);
Description: Enables/Disables offsite landing.
Input parameter: open; true: enable; false: disable
Output parameter: Callback of the setting result
Related parameter: None
method setBeyondLandParams
void setBeyondLandParams(SitePosition p, CallbackWithNoParam cb);
Description: Sets coordinates for offsite landing.
Output parameter: p: Position for offsite landing
Related parameter: SitePosition
method setApriltagLocalizationInfoListener
void setApriltagLocalizationInfoListener
(CallbackWithOneParam<AprilTagParams> callbackWithOneParam);
Description: Sets parameter listening for accurate landing.
Input parameter: None
Output parameter: Callback of accurate landing data
Related parameter: None
method setBeyondSearchReportListener
void setBeyondSearchReportListener(CallbackWithOneParam<Boolean> cb);
Description: Sets search state listening for offsite landing.
Input parameter: None
Output parameter: Listens for offsite coordinate changes
Related parameter: None
method setVisualDigitalZoom
void setVisualDigitalZoom(int factor, CallbackWithNoParam callback)
Description: Sets the zoom level of the camera by vision.
Input parameter: factor: zoom factor; max value: 16x
Output parameter: Callback of the setting result
Related parameter: None
sidebar_position: 1
title:
slug: /10/1
class VisualWarningInfo
method getWarnState
VisualWarnState getWarnState();
Description: Obtains the warning state.
Input parameter: None
Output parameter: Enumeration value of the warning state
Related parameter: VisualWarnState
sidebar_position: 1
title:
slug: /10/1
class VisualWarnState
method getValue
int getValue();
Description: Obtains the enumeration value of VisualWarnState.
Input parameter: None
Output parameter: Returns an integer value indicating the enumeration.
Related parameter: None
method find
VisualWarnState find(int value)
Description: Obtains the enumeration value of VisualWarnState based on the integer values.
Input parameter: Integer value for searching the enumeration
Output parameter: Enumeration of VisualWarnState
Related parameter: VisualWarnState
/**
* Enable the fail protection mode.
*/
FAIL_SAFE(21),
/**
* The ambient light is too weak.
*/
ILLUMINATION_DIM(22),
/**
* The ambient light is too bright.
*/
ILLUMINATION_DAZZLING(23),
/**
* The optical flow module is invalid.
*/
OPTICAL_FLOW_INVALIDATE(24),
/**
* The operation has been canceled by the remote controller.
*/
USER_CANCEL(25),
/**
* The target is lost.
*/
TRACK_TARGET_MISS(26),
/**
* Enable the fail protection mode.
*/
FAIL_SAFE(21),
/**
* The ambient light is too weak.
*/
ILLUMINATION_DIM(22),
/**
* The ambient light is too bright.
*/
ILLUMINATION_DAZZLING(23),
/**
* The optical flow module is invalid.
*/
OPTICAL_FLOW_INVALIDATE(24),
/**
* The operation has been canceled by the remote controller.
*/
USER_CANCEL(25),
/**
* The target is lost.
*/
TRACK_TARGET_MISS(26),
/**
* The aircraft reaches the maximum tracking distance.
*/
DRONE_ARRIVE_MAX_DISTANCE(31),
/**
* The aircraft reaches the maximum tracking altitude.
*/
DRONE_ARRIVE_MAX_HEIGHT(32),
/**
* The aircraft reaches the minimum tracking altitude.
*/
DRONE_ARRIVE_MIN_HEIGHT(33),
/**
* The tracking target is swaying forward or backward.
*/
TRACKING_FONT_BACK_ROCK(34),
/**
* Unknown error during tracking.
*/
TRACKING_UNKNOWN_ERROR(35),
/**
*An obstacle is detected ahead. Speed limit is required.
*/
TRACKING_LIMIT_SPEED(36),
/**
* The aircraft reaches the maximum tracking distance.
*/
DRONE_ARRIVE_MAX_DISTANCE(31),
/**
* The aircraft reaches the maximum tracking altitude.
*/
DRONE_ARRIVE_MAX_HEIGHT(32),
/**
* The aircraft reaches the minimum tracking altitude.
*/
DRONE_ARRIVE_MIN_HEIGHT(33),
/**
* The tracking target is swaying forward or backward.
*/
TRACKING_FONT_BACK_ROCK(34),
/**
* Unknown error during tracking.
*/
TRACKING_UNKNOWN_ERROR(35),
/**
*An obstacle is detected ahead. Speed limit is required.
*/
TRACKING_LIMIT_SPEED(36),
/**
* The aircraft reaches the maximum tracking distance.
*/
DRONE_ARRIVE_MAX_DISTANCE(31),
/**
* The aircraft reaches the maximum tracking altitude.
*/
DRONE_ARRIVE_MAX_HEIGHT(32),
/**
* The aircraft reaches the minimum tracking altitude.
*/
DRONE_ARRIVE_MIN_HEIGHT(33),
/**
* The tracking target is swaying forward or backward.
*/
TRACKING_FONT_BACK_ROCK(34),
/**
* Unknown error during tracking.
*/
TRACKING_UNKNOWN_ERROR(35),
/**
*An obstacle is detected ahead. Speed limit is required.
*/
TRACKING_LIMIT_SPEED(36),
/**
*Visual obstacle avoidance is disabled when the aircraft is landing.
*/
AVOID_START_LADING(46),
/**
* The aircraft is unable to land because the environment is unsafe.
*/
AVOID_HAVE_BLOCK(47),
/**
* An unknown obstacle is detected. Check the landing environment.
*/
AVOID_NOT_SURE(48),
/**
* The aircraft lands safely because the ground is flat.
*/
AVOID_SAFE_LANDING(49),
/**
* Correct the landing position for accurate landing.
*/
ACCURATE_LANDING_REPAIRING(50),
/**
* The aircraft can land in a safe environment.
*/
ENVIRONMENT_SAFE_LANDING(51),
/**
* Move to a safe area for the aircraft to land.
*/
MOVE_TO_SAFE_LANDING(52),
/**
* The user cancels landing of the aircraft.
*/
LANDING_CANCEL_BY_USER(53),
/**
* Unable to pass because of insufficient space.
*/
SAFE_SPACE_NOT_ENOUGH(54),
/**
* Move the aircraft to an open area and retry.
*/
MOVE_SAFE_SPACE_TRY_AGAIN(55),
/**
* Vision module error. Restart the aircraft.
*/
VISUAL_NEED_REBOOT(56),
/**
* The user cancels landing of the aircraft.
*/
LANDING_CANCEL_BY_USER(53),
/**
* Unable to pass because of insufficient space.
*/
SAFE_SPACE_NOT_ENOUGH(54),
/**
* Move the aircraft to an open area and retry.
*/
MOVE_SAFE_SPACE_TRY_AGAIN(55),
/**
* Vision module error. Restart the aircraft.
*/
VISUAL_NEED_REBOOT(56),
/**
* Rear visual calibration error.
*/
BELOW_VISUAL_MODEL_EXCEPTION(66),
/**
* Downward visual calibration error.
*/
NEAR_VISUAL_MODEL_EXCEPTION(67),
/**
* Right visual calibration error.
*/RIGHT_VISUAL_MODEL_EXCEPTION(68),
/**
* Left visual calibration error.
*/LEFT_VISUAL_MODEL_EXCEPTION(69),
/**
* Upward visual calibration error.
*/TOP_VISUAL_MODEL_EXCEPTION(70),
/**
* Multiple visual calibration errors.
*/MORE_VISUAL_MODEL_EXCEPTION(71),
/**
* The aircraft reaches the maximum adjustable altitude for tracking.
*/VISUAL_ARRIVE_MAX_HEIGHT(72),
/**
* The aircraft reaches the minimum adjustable altitude for tracking.
*/VISUAL_ARRIVE_MIN_HEIGHT(73),
/**
* The aircraft reaches the minimum adjustable distance for tracking.
*/VISUAL_ARRIVE_MAX_ZOOM(74),
/**
* The aircraft reaches the maximum adjustable distance for tracking.
*/VISUAL_ARRIVE_MIN_ZOOM(75),
/**
* Unable to continue the flight. Exit directional flight and move the aircraft to a safe position.
*/VISUAL_STOP_VIEW_POINT(76),
/**
* ATTI mode. Exit the mission.
*/VISUAL_ATTI_MODE(77),
/**
* Visual mission exit button on the remote controller.
*/VISUAL_EXIT_BUTTON(78),
/**
* The magnetic course deviation is too large. Tracking exits due to an error.
*/VISUAL_TRACK_EXCEPTION(79),
/**
* The magnetic course deviation is too large. Directional flight exits due to an error.
*/VISUAL_VIEWPOINT_EXCEPTION(80),
/**
* The magnetic course deviation is too large. Orbit flight exits.
*/EXCESSIVE_MAGNETIC_COURSE_DEVIATION_TOO_LARGE(81),
/**
* Distance is too small. Please adjust the target position and try again.
*/DISTANCE_CLOSE_ADJUST_TARGET(82),
/**
* Initialization failed. Please keep the target still.
*/INIT_FAILED_TARGET_STILL(83),
/**
* Distance is being measured. Please keep the target still.
*/CALCULATING_THE_TARGET_DISTANCE_TARGET_STILL(84),
/**
* Initialization is successful. Start executing the mission.
*/INIT_SUC_EXECUTING_MISSION(85),
/**
* The target is missing. Please reframe the target.
*/TARGET_LOSS(86),
/**
* The target texture is too weak. Please reframe the target.
*/TARGET_TEXTURE_TOO_WEAK(87),
/**
* The GPS signal is weak. Unable to execute the mission.
*/GPS_TOO_WEAK(88),
/**
* The target is too small. Please reframe the target.
*/TARGET_TOO_SMALL(89),
/**
* There is an obstacle in the direction of movement. Please move the aircraft to an open area and try again.
*/MOTION_OBSTACLE_WARNING_90(90),
/**
* Initialization failed. Please try again.
*/
INIT_FAILED(91),
/**
* Gimbal error.
*/
GIMBAL_INIT_FAILED(92),
/**
* The aircraft temperature is too high. Tracking has been stopped.
*/
AIRPLANE_TEMPERATURE_TOO_HIGH(93),
/**
* The warning state is unknown.
*/
UNKNOWN(-1);
sidebar_position: 1
title:
slug: /10/1
class AvoidanceRadarInfo
method getTimeStamp
long getTimeStamp();
Description: Timestamp
Input parameter: None
Output parameter: Returns the timestamp of the current aircraft
Related parameter: None
method getFront
float[] getFront();
Description: Obtains the front visual system information. The array indexes 0-3 represent the TOF value. 0 is the initial value; 65535 means no obstacle.
Input parameter: None
Output parameter: Front visual system information
Related parameter: None
method getRear
float[] getRear();
Description: Obtains the rear visual system information. The value in index 0 of the array indicates the TOF value of the rear radar sensor. 0 is the initial value; 65534 indicates that the light is too weak to ensure accuracy.
Input parameter: None
Output parameter: Rear visual system information
Related parameter: None
method getLeft
float[] getLeft();
Description: Obtains the left visual system information.
Input parameter: None
Output parameter: Left visual system information
Related parameter: None
method getRight
float[] getRight()
Description: Obtains the right visual system information.
Input parameter: None
Output parameter: Right visual system information
Related parameter: None
method getTop
int getTop();
Description: Obtains information about the upward visual system.
Input parameter: None
Output parameter: Top visual system information
Related parameter: None
method getBottom
float[] getBottom();
Description: Obtains information about the downward visual system.
Input parameter: None
Output parameter: Bottom visual system information
Related parameter: None
sidebar_position: 1
title:
slug: /10/1
class VisualSettingInfo
method isAvoidanceSystemEnable
boolean isAvoidanceSystemEnable();
Description: Indicates whether to enable the avoidance system.
Input parameter: None
Output parameter: true: enable the avoidance system; false: disable the avoidance system
Related parameter: None
method isAvoidanceEnableWhenTracking
boolean isAvoidanceEnableWhenTracking();
Description: Indicates whether to enable obstacle avoidance during tracking.
Input parameter: None
Output parameter: true: enable obstacle avoidance; false: disable obstacle avoidance
method isRadarMapEnable
boolean isRadarMapEnable();
Description: Indicates whether to enable the radar map.
Input parameter: None
Output parameter: true: enable the radar map; false: disable the radar map
Related parameter: None
method isPullBackEnableWhenTracking
boolean isPullBackEnableWhenTracking();
Description: Indicates whether to enable backward flight during tracking.
Input parameter: None
Output parameter: true: enable backward flight; false: disable backward flight
Related parameter: None
method isLandingProtectEnable
boolean isLandingProtectEnable();
Description: Indicates whether to enable landing protection.
Input parameter: None
Output parameter: true: enable landing protection; false: disable landing protection
Related parameter: None
method isVisualLocationEnable
boolean isVisualLocationEnable();
Description: Indicates whether to enable visual positioning.
Input parameter: None
Output parameter: true: enable visual positioning; false: disable visual positioning
Related parameter: None
method isDetectObstacleEnableWhenReturn
boolean isDetectObstacleEnableWhenReturn();
Description: Indicates whether to enable obstacle detection when the aircraft returns to home.
Input parameter: None
Output parameter: Indicates whether to enable obstacle detection when the aircraft returns to home.
Related parameter: None
method isLandingAccuratelyEnable
boolean isLandingAccuratelyEnable();
Description: Indicates whether to enable accurate landing.
Input parameter: None
Output parameter: true: enable accurate landing; false: disable accurate landing
Related parameter: None
method isAvoidInHorizontal
boolean isAvoidInHorizontal();
Description: Indicates whether to enable horizontal obstacle avoidance.
Input parameter: None
Output parameter: true: enable horizontal obstacle avoidance; false: disable horizontal obstacle avoidance
Related parameter: None
method getFollowMode
DynamicTrackMode getFollowMode();
Description: Obtains the dynamic tracking mode.
Input parameter: None
Output parameter: Returns the dynamic tracking mode.
Related parameter: DynamicTrackMode
method getVisualMainFlyState
VisualMainFlyState getVisualMainFlyState()
Description: Obtains the state of the main visual fly mode.
Input parameter: None
Output parameter: State of the main visual fly mode (VisualMainFlyState)
Related parameter: VisualMainFlyState
method getVisualWarnState
VisualWarnState getVisualWarnState();
Description: Obtains the visual warning state.
Input parameter: None
Output parameter: Visual warning state (VisualWarnState)
Related parameter: VisualWarnState
method getOrbitModeState
OrbitModeState getOrbitModeState();
Description: Obtains the visual orbit state.
Input parameter: None
Output parameter: Orbit state (OrbitModeState)
Related parameter: OrbitModeState
method isImageMode
boolean isImageMode();
Description: Indicates whether to enable the image mode.
Input parameter: None
Output parameter: true: enable the image mode; false: disable the image mode
Related parameter: None
method isVisualReady
boolean isVisualReady();
Description: Indicates whether the visual function is ready.
Input parameter: None
Output parameter: true: ready; false: not ready
Related parameter: None
method isCalibrationMode
boolean isCalibrationMode();
Description: Indicates whether to enable the calibration mode.
Input parameter: None
Output parameter: true: enable the calibration mode; false: disable the calibration mode
Related parameter: None
method isPointFlyMode
boolean isPointFlyMode();
Description: Indicates whether to enable the viewpoint mode.
Input parameter: None
Output parameter: true: enable the viewpoint mode; false: disable the viewpoint mode
Related parameter: None
method isPointFlyInsideMode
OrbitModeState isPointFlyInsideMode();
Description: Indicates whether to enable the internal viewpoint mode.
Input parameter: None
Output parameter: true: enable the internal viewpoint mode; false: disable the internal viewpoint mode
Related parameter: None
method isGestureRecognizationMode
boolean isGestureRecognizationMode();
Description: Indicates whether to enable the gesture recognition mode.
Input parameter: None
Output parameter: true: enable the gesture recognition mode; false: disable the gesture recognition mode
Related parameter: None
method isVisualLimitWhenDark
boolean isVisualLimitWhenDark();
Description: Indicates whether the visual function is limited by the harsh environment.
Input parameter: None
Output parameter: true: limited; false: not limited
Related parameter: None
method isVisualLeftFontState
boolean isVisualLeftFontState();
Description: The left front visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualRightFontState
boolean isVisualRightFontState();
Description: Indicates that the right front visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualLeftNearState
boolean isVisualLeftNearState();
Description: The left rear visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualRightNearState
boolean isVisualRightNearState();
Description: The right rear visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualLeftBottomState
boolean isVisualLeftBottomState();
Description: The left bottom visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualRightBottomState
boolean isVisualRightBottomState();
Description: The right bottom visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualLeftRightState
boolean isVisualLeftRightState();
Description: The left right visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualRightRightState
boolean isVisualRightRightState();
Description: The right right visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualLeftLeftState
boolean isVisualLeftLeftState();
Description: The left left visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualRightLeftState
boolean isVisualRightLeftState();
Description: The right left visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualLeftTopState
boolean isVisualLeftTopState();;
Description: The left top visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualRightTopState
boolean isVisualRightTopState()
Description: The right top visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isVisualCalibrationValid
boolean isVisualCalibrationValid();
Description: The left front visual sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method getVisualTrackState
VisualTrackState getVisualTrackState();
Description: Obtains the visual trajectory state.
Input parameter: None
Output parameter: Enumeration of VisualTrackState
IDLE(0),
DETECTION(1),
TRACKING(2),
FOLLOW(3),
UNKNOWN(-1);
Related parameter: None
method getAuxiliaryLedState
AuxiliaryLedState getAuxiliaryLedState();
Description: Obtains the auxiliary state of the aircraft.
Input parameter: None
Output parameter: AuxiliaryLedState
OFF(0),
OPEN(1),
AUTO(2),
FLASHING_MODE_1(3),
FLASHING_MODE_2(4),
Related parameter: None
method getTimeLapseOrbitState
TimeLapseOrbitState getTimeLapseOrbitState();
Description: Obtains the visual orbit state.
Input parameter: None
Output parameter: TimeLapseOrbitState
EXIT(0),
ENTER(1),
RUNNING(2),
UNKNOWN(-1);
Related parameter: None
method isStereoCalibFrontError
boolean isStereoCalibFrontError();
Description: The front stereo calibration sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isStereoCalibRearError
boolean isStereoCalibRearError();
Description: The rear stereo calibration sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isStereoCalibBottomError
boolean isStereoCalibBottomError();
Description: The bottom stereo calibration sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isStereoCalibRightError
boolean isStereoCalibRightError();
Description: The right stereo calibration sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isStereoCalibLeftError
boolean isStereoCalibLeftError();
Description: The left stereo calibration sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method isStereoCalibTopError
boolean isStereoCalibTopError();
Description: The top stereo calibration sensor is abnormal.
Input parameter: None
Output parameter: true: abnormal; false: not abnormal
Related parameter: None
method getSpeed
int getSpeed();
Description: Obtains the speed of directional flight.
Input parameter: None
Output parameter: Flight speed
Related parameter: None
sidebar_position: 1
title:
slug: /10/1
class VisualSettingSwitchblade
method getCmdValue
int getCmdValue();
Description: Obtains the integer value corresponding to the current enumeration.
Input parameter: None
Output parameter: Returns the integer value corresponding to the current enumeration.
Related parameter: None
sidebar_position: 1
title:
slug: /10/1
class DynamicTrackMode
method getMode
int getMode()
Description: Obtains the integer value corresponding to the enumeration value of DynamicTrackMode.
Input parameter: None
Output parameter: Returns the integer value corresponding to the enumeration value of DynamicTrackMode.
Related parameter: None
method findMode
DynamicTrackMode findMode(int value)
Description: Obtains the enumeration value based on the integer value.
Input parameter: None
Output parameter: Returns the enumeration value corresponding to the integer value.
/**
* The dynamic tracking mode is Stop.
*/
STOP_MODE(0),
/**
* The dynamic tracking mode is Follow.
*/
COMMON_MODE(1),
/**
* The dynamic tracking mode is Parallel.
*/
PARALLEL_MODE(2),
/**
* The dynamic tracking mode is Tripod.
*/
LOCKED_MODE(3),
/**
* The dynamic tracking mode is unknown.
*/
UNKNOWN(-1);
Related parameter: None