Skip to content

Advanced mission pad control

ErnGusMik edited this page Sep 19, 2022 · 1 revision

Go to x, y, z at set speed from mission pad

tello.go_mission_pad(x, y, z, s, mid)

Possible responses: ok / error (+ error status)
Parameters:

  • x: integer. Distance to move left (up to -500) or right (up to 500) in cm (if m. pad is facing forwards)
  • y: integer. Distance to move down (up to -500) or up (up to 500) in cm (if m. pad is facing forwards)
  • z: integer. Distance to move forwards (up to -500) or backwards (up to 500) in cm (if m. pad is facing forwards)
  • s: integer. Speed of movement in cm/s -- from 10 to 100
  • mid: integer. Mission pad id -- from 1 to 8

Curve from mission pad x1, y1, z1 to x2, y2, z2

tello.curve_mission_pad(x1, x2, y1, y2, z1, z2, s, mid)

Possible responses: ok / error (+ error status)

  • The radius of the curve must be 0.5m to 10m
  • I myself don't fully understand how this works, so please test this out yourself.
  • x, y, z parameters can't be between -20 and 20 at the same time.

Parameters:

  • x1, x2: integer. Distance to move left (up to -500) or right (up to 500) in cm (if m. pad is facing forwards)
  • y1, y2: integer. Distance to move down (up to -500) or up (up to 500) in cm (if m. pad is facing forwards)
  • z1, z2: integer. Distance to move forwards (up to -500) or backwards (up to 500) in cm (if m. pad is facing forwards)
  • s: integer. Speed of movement in cm/s -- from 10 to 100
  • mid: integer. Mission pad id -- from 1 to 8