setVerticalSpeed

abstract fun setVerticalSpeed(@IntRange(from = "-100", to = 100value: Int)

Set the current vertical speed value.

value is expressed as as a signed percentage of the max vertical speed setting, in range [-100, 100]. -100 corresponds to max vertical speed towards ground,100 corresponds to max vertical speed towards sky.

See also

#getMaxVerticalSpeed()

#getMaxVerticalSpeed()

Parameters

value

the new vertical speed value to set