Skip to content

Drone configuration

ErnGusMik edited this page Apr 13, 2023 · 1 revision

Set speed

tello.set_speed(x)

Possible responses: ok / error
Parameters:

  • x: integer. Speed in cm/s -- from 10 to 100.

Set RC control

tello.rc(roll, pitch, throttle, yaw)

Possible responses: ok / error

  • Possible use: make an interface so the user can control the drone in real-time. (call this function every time a change occurs)

Parameters:

  • roll: integer. Left/right velocity -- -100 to 100
  • pitch: integer. Forwards/backwards velocity -- -100 to 100
  • throttle: integer. Up/down velocity -- -100 to 100
  • yaw: integer. Rotation value -- -100 to 100