Skip to content

Autonomous Flight using NavData #23

@tkasidakis

Description

@tkasidakis

Hello to everyone.
I would like to run an autonomous flight for the parrot drone using navdata.

For example i would like to take off at a specific altitude but instead of using time.sleep() i would like to continuously checking the altitude and break when the desired altitude reached.

root@ubuntu:/home/ubuntu# python3 parrot.py
Traceback (most recent call last):
File "parrot.py", line 8, in
print(parrot_drone.navdata.demo)
AttributeError: 'NavData' object has no attribute 'demo'

I am receiving this.

Am i doing something wrong with the navdata.

I fully undertand the docs but it seems that the code doesn't understands me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions