A simpler Junior level function that represents positive flight with a direction, but with more natural language.
It simply flies in the given direction for the given duration and power.
go(direction, duration, power)
direction: a constant in Arduino and enum in Python. It’s the direction of the flight, which can be one of the following: FORWARD, BACKWARD, LEFT, RIGHT, UP, and DOWN.
duration: the duration of the flight motion in seconds. If undefined, defaults to 1 seconds. If duration is 0, it will turn right indefinitely.
power: the power at which the drone flies forward. Takes a value from 0 to 100. Defaults to 50 if not defined.