ManualCopterPilotingItf

interface ManualCopterPilotingItf : PilotingItf, Activable

Manual piloting interface for copters.

This piloting interface can be obtained from a drone using:

drone.getPilotingItf(ManualCopterPilotingItf.class)

See also

com.parrot.drone.groundsdk.device.Drone

Drone#getPilotingItf(Class, Ref.Observer)

Types

SmartTakeOffLandAction
Link copied to clipboard
enum SmartTakeOffLandAction
Action performed when smartTakeOffLand is called.

Functions

activate
Link copied to clipboard
abstract fun activate(): Boolean
Activates this piloting interface.
canLand
Link copied to clipboard
abstract fun canLand(): Boolean
Tells whether the copter can land.
canTakeOff
Link copied to clipboard
abstract fun canTakeOff(): Boolean
Tells whether the copter can take off.
deactivate
Link copied to clipboard
abstract fun deactivate(): Boolean
Deactivates this piloting interface.
emergencyCutOut
Link copied to clipboard
abstract fun emergencyCutOut()
Requests emergency motor cut out.
getBankedTurnMode
Link copied to clipboard
abstract fun getBankedTurnMode(): OptionalBooleanSetting
Gets the current banked-turn mode.
getMaxPitchRoll
Link copied to clipboard
abstract fun getMaxPitchRoll(): DoubleSetting
Gets the maximum roll and pitch angle setting, in degrees.
getMaxPitchRollVelocity
Link copied to clipboard
abstract fun getMaxPitchRollVelocity(): OptionalDoubleSetting
Gets the maximum roll and pitch velocity setting, in degrees/second.
getMaxVerticalSpeed
Link copied to clipboard
abstract fun getMaxVerticalSpeed(): DoubleSetting
Gets the maximum vertical speed setting, in meters/second.
getMaxYawRotationSpeed
Link copied to clipboard
abstract fun getMaxYawRotationSpeed(): DoubleSetting
Gets the maximum yaw rotation speed setting in degrees/second.
getSmartTakeOffLandAction
Link copied to clipboard
Tells which action will be performed when smartTakeOffLand is called.
getState
Link copied to clipboard
abstract fun getState(): Activable.State
Gets the piloting interface's current state.
getThrownTakeOffMode
Link copied to clipboard
abstract fun getThrownTakeOffMode(): OptionalBooleanSetting
Gets the current thrown take-off mode.
hover
Link copied to clipboard
abstract fun hover()
Requests the copter to hover.
land
Link copied to clipboard
abstract fun land()
Requests the copter to land.
setPitch
Link copied to clipboard
abstract fun setPitch(@IntRange(from = "-100", to = 100value: Int)
Sets the current pitch value.
setRoll
Link copied to clipboard
abstract fun setRoll(@IntRange(from = "-100", to = 100value: Int)
Sets the current roll value.
setVerticalSpeed
Link copied to clipboard
abstract fun setVerticalSpeed(@IntRange(from = "-100", to = 100value: Int)
Set the current vertical speed value.
setYawRotationSpeed
Link copied to clipboard
abstract fun setYawRotationSpeed(@IntRange(from = "-100", to = 100value: Int)
Set the current yaw rotation speed value.
smartTakeOffLand
Link copied to clipboard
abstract fun smartTakeOffLand()
Requests the copter to either take off, or get prepared for a thrown take-off, or cancel a thrown take-off, or land, depending on its state and on the thrown take-off setting.
takeOff
Link copied to clipboard
abstract fun takeOff()
Requests the copter to take off.
thrownTakeOff
Link copied to clipboard
abstract fun thrownTakeOff()
Requests the copter to get prepared for a thrown take-off.