triangle()
#
DescriptionFlies the drone in the shape of a triangle.
#
Syntaxtriangle()
triangle(speed, seconds, direction)
#
Parametersspeed: optional parameter that is the speed the drone will move. integer from 0 - 100. default value is 60.
seconds: optional parameter that is the duration in seconds the drone flies for each side of the triangle. default value is 1.
direction: optional parameter that determines the direction of the triangle. 1 is right, -1 is left. default value is 1.
#
ReturnsNone