Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent with library, works with Droneblocks #209

Open
geox25 opened this issue Nov 8, 2023 · 1 comment
Open

Inconsistent with library, works with Droneblocks #209

geox25 opened this issue Nov 8, 2023 · 1 comment

Comments

@geox25
Copy link

geox25 commented Nov 8, 2023

Here is some of my python code that I am running with DJITelloPy:

def path(tello: Tello) -> None:
    tello.move_up(50)

    # The Tello will hover towards the drop zone with elegancy and beauty.
    # org = 358
    tello.move_forward(358)

    # flip
    tello.flip_back()

    # Go back to landing pad
    # org = 358
    # measure #1 = 335
    # org = 335
    tello.move_back(358)

    # Land on pad
    tello.land()

For some reason, it is extremely inconsistent when using DJITelloPy. It will sometimes takeoff and immediately land, other times it might takeoff and go forward, flip, and then land without going backwards. However, when using the Droneblocks app on the microsoft store, I can program it using the blocks and everything works perfectly with absolutely no issues. I also already tried opening UDP ports to allow it to communicate but DJITelloPy is still broken for me.

@M4GNV5
Copy link
Collaborator

M4GNV5 commented Nov 13, 2023

What are the error messages when it immediately lands?
Can you provide a log output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants