setVerticalSpeed

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

Set the current vertical speed value.

The drone tries to both conform to the requested vertical speed command and keep directed towards the target.

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.

Parameters

verticalSpeed

the new vertical speed value to set

See also