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

How can I get x,y,z position from tello using tellopy? #80

Open
lmmedino opened this issue Apr 12, 2020 · 3 comments
Open

How can I get x,y,z position from tello using tellopy? #80

lmmedino opened this issue Apr 12, 2020 · 3 comments

Comments

@lmmedino
Copy link

No description provided.

@lmmedino lmmedino changed the title Is it possible to get X,Y,Z position from tello using tellopy? How can I get x,y,z position from tello using tellopy? Apr 12, 2020
@gemSquared
Copy link

#72 (comment)

Comment back here if you need more help getting this data! 😄

@Walt-H
Copy link

Walt-H commented Oct 23, 2020

The Tello doesn't have a GPS, you can't really know your point in space, but there is a provided estimate from your initial hover point (position after lift off).

#72 (comment) explains everything well, but I did the following:

Inside the return value of drone.EVENT_FLIGHT_DATA, you can get positional and velocity data via an event handler:

def handler(event, sender, data, **args):
    drone = sender
    if event is drone.EVENT_FLIGHT_DATA:
        # perform actions here
        print(data)

# some code later....

drone.subscribe(drone.EVENT_FLIGHT_DATA, handler)

@dullahgtt
Copy link

If I created a function that defined the best possible path between two points and I wanted to translate that path into directions for the tello drone to fly, how would I do that. I do not have any positional data on the drone nor do I have any directional data, which makes it hard to figure out which direction the drone needs to go initially to follow the designated path.

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

4 participants