-
Notifications
You must be signed in to change notification settings - Fork 3
Basic control
ErnGusMik edited this page Sep 16, 2022
·
1 revision
- To see basic movement control, go to Basic movement control
tello.init()
Possible responses: ok
/ error
- Must be run every time the script runs to avoid error
tello.takeoff()
Possible responses: ok
/ error
tello.throw_fly()
Possible responses: ok
/ error
- Gently toss the drone forwards from your hand, when
ok
is received (as a response) - Make sure the path (at least 100cm) is clear in front of you!
tello.land()
Possible responses: ok
/ error
tello.emergency()
Possible responses: ok
/ error
Parameters:
- reason: string, optional. Reason for stopping all motors. (default: 'No reason provided')
tello.motors_on()
Possible responses: ok
/ error
- Turns motors on low RPM (rotation per minute). Drone will not fly.
- Can be used for cooling while stationary.
tello.motors_off()
Possible responses: ok
/ error
- Use this after using the
tello.motors_on()
function - Use
tello.land()
to land the drone, not this.
tello.hover()
Possible responses: ok
/ error
- Stops moving, hovers in place.
tello.reboot()
Possible responses: ok
/ error
- Drone will restart (unless response is
error
), and it will take some time. - You will need to reconnect to the drone's WiFi after rebooting.
Install on pip: pip install tello-sdk
Go home
Created by ErnGusMik in 2022. Licensed under the MIT license.