sway()
#
DescriptionFlies the drone in a swaying motion.
#
Syntaxsway()
sway(speed, seconds, direction)
#
Parametersspeed: optional parameter that is the speed the drone will move. integer from 0 - 100. default value is 30.
seconds: optional parameter that is the duration in seconds the drone will fly in each "sway" motion. default value is 2
direction: optional parameter that determines the direction of the sway. 1 is right, -1 is left. default value is 1.
#
ReturnsNone