Gimbal

interface Gimbal

Base gimbal interface for drones.

Provides access to the gimbal calibration process and reports gimbal errors.

See also

Types

Link copied to clipboard
enum CalibrationProcessState
Gimbal calibration process state.
Link copied to clipboard
enum Error
Represents an error that a gimbal peripheral may undergo.

Functions

Link copied to clipboard
abstract fun cancelCalibration()
Cancels the current calibration process.
Link copied to clipboard
abstract fun currentErrors(): EnumSet<Gimbal.Error>
Reports any error that the gimbal is currently undergoing.
Link copied to clipboard
abstract fun getCalibrationProcessState(): Gimbal.CalibrationProcessState
Gets calibration process state.
Link copied to clipboard
abstract fun isCalibrated(): Boolean
Tells whether the gimbal is calibrated.
Link copied to clipboard
abstract fun startCalibration()
Starts calibration process.

Inheritors

Link copied to clipboard
Link copied to clipboard