-
Notifications
You must be signed in to change notification settings - Fork 3
Basic movement control
ErnGusMik edited this page Sep 25, 2022
·
2 revisions
tello.up(x)
# OR
tello.down(x)
Possible responses: ok
/ error
Parameters:
- x: integer. Distance to go up/down in cm.
tello.forward(x)
# OR
tello.back(x)
Possible responses: ok
/ error
Parameters:
- x: integer. Distance to go forwards/backwards in cm.
tello.left(x)
# OR
tello.right(x)
Possible responses: ok
/ error
Parameters:
- x: integer. Distance to go left/right in cm.
tello.rotate(direction, degrees)
Possible responses: ok
/ error
Parameters:
- direction: string. Direction in which the drone should rotate -- clockwise:
'cw'
or counter-clockwise:'ccw'
- degrees: integer. Amount of degrees the drone should rotate --
1
to360
.
tello.flip(direction)
Possible responses: ok
/ error
Parameters:
- direction: string. Direction in which the drone will flip -- left:
'l'
, right:'r'
, forwards:'f'
, or backwards:'b'
.
- To see more advanced functions, go to Advanced Movement Control
Install on pip: pip install tello-sdk
Go home
Created by ErnGusMik in 2022. Licensed under the MIT license.