new Tello()
Methods
-
backward(distance) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description distance
number 50 in cm
Returns:
Promise.<Tello> -
curve(x1, y1, z1, x2, y2, z2, speed) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description x1
number 20 in cm
y1
number 20 in cm
z1
number 20 in cm
x2
number 60 in cm
y2
number 40 in cm
z2
number 0 in cm
speed
number 60 in cm/s
Returns:
Promise.<Tello> -
down(height) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description height
number 50 in cm
Returns:
Promise.<Tello> -
emergencyStop() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
flip(orientation) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description orientation
string f values: f, b, l, r
Returns:
Promise.<Tello> -
flyTo(x, y, z, speed) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description x
number 50 in cm
y
number 50 in cm
z
number 0 in cm
speed
number 100 in cm/s
Returns:
Promise.<Tello> -
forward(distance) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description distance
number 50 in cm
Returns:
Promise.<Tello> -
get(value) → {Promise.<{value: string, tello: Tello}>}
-
Parameters:
Name Type Description value
string Returns:
Promise.<{value: string, tello: Tello}> -
land() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
left(distance) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description distance
number 50 in cm
Returns:
Promise.<Tello> -
listenState()
-
-
mock() → {Tello}
-
Returns:
Tello -
right(distance) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description distance
number 50 in cm
Returns:
Promise.<Tello> -
rotateCCW(angle) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description angle
number 90 in degree
Returns:
Promise.<Tello> -
rotateCW(angle) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description angle
number 90 in degree
Returns:
Promise.<Tello> -
runTelemetry() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
sendCmd(cmd) → {Promise.<Tello>}
-
Parameters:
Name Type Description cmd
string Returns:
Promise.<Tello> -
sendMethod(cmd) → {Promise.<Tello>}
-
Parameters:
Name Type Description cmd
string Returns:
Promise.<Tello> -
shutDownTelemetry() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
speed(speed) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description speed
number 50 in cm/s
Returns:
Promise.<Tello> -
start() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
startStream() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
startTelemetry() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
stop()
Ends the process
. -
Ends the process
-
stopStream() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
stopTelemetry() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
takeoff() → {Promise.<Tello>}
-
Returns:
Promise.<Tello> -
up(height) → {Promise.<Tello>}
-
Parameters:
Name Type Default Description height
number 50 in cm
Returns:
Promise.<Tello> -
wait(time) → {Promise.<Tello>}
-
Parameters:
Name Type Description time
number in ms
Returns:
Promise.<Tello>