You can use this function to create more complex flight movements. With no parameters,
move() will just run based on whatever the flight variables have been set to with functions like
setThrottle() indefinitely. You can also run it for a certain duration. The function also takes multiple parameters, where you can set roll, pitch, yaw, and throttle all at once. You can run it infinitely with 4 parameters, or you can run it for a given duration with 5 parameters. If the drone is not flying, nothing will happen. You must takeoff() first to use a move() function.
move(): runs indefinitely
move(duration): runs the given number of seconds
move(roll, pitch, yaw, throttle): runs indefinitely
move(duration, roll, pitch, yaw, throttle)
duration: the duration of the flight motion in seconds.
roll: the power of the roll, which is an int from -100 to 100
pitch: the power of the pitch, which is an int from -100 to 100
yaw: the power of the yaw, which is an int from -100 to 100
throttle: the power of the throttle, which is an int from -100 to 100