curveToPosition method
Makes the Tello move in a curve that passes through the (x1
, y1
, z1
) and (x2
, y2
, z2
) coordinates that you specify.
Implementation
Future<String> curveToPosition({
int x1 = 0,
int y1 = 0,
int z1 = 0,
int x2 = 0,
int y2 = 0,
int z2 = 0,
int speed = 20,
}) =>
_command("curve $x1 $y1 $z1 $x2 $y2 $z2 $speed");