damiafuentes/DJITelloPy

Error when using go_xyz_speed()

JcYBalaBalA opened this issue · 1 comments

I run into this error whenever I am using the go_xyz_speed with -10 15 0 26, like go_xyz_speed(-10, 15, 0, 26).
there is a error return "out of range"
I do not know reason.
In Document (https://djitellopy.readthedocs.io/en/latest/tello/#djitellopy.tello.Tello.go_xyz_speed)
image
these parameters -10 15 0 26 are right

M4GNV5 commented

According to the Tello SDK user guide: Note: “x”, “y”, and “z” values can’t be set between -20 – 20 simultaneously

i.e. there is a minimum distance required for this command to work. Try go_xyz_speed(-20, 13, 0, 26) instead