Skip to content

can't run a python Drone.py.py #1

@FaizalKR

Description

@FaizalKR

raise APIException("mode (%s, %s) not available on mavlink definition" % (m.custom_mode, m.base_mode))
APIException: mode (0, 4) not available on mavlink definition
hT 960
1280
3
[0.9970026016235352, 0.9314891695976257, 0.9421527981758118, 0.9987767934799194, 0.9794769287109375]
<type 'list'>
Traceback (most recent call last):
File "Drone.py.py", line 141, in
i = i[0] #there's an extra bracket in i so we have to remove that
IndexError: invalid index to scalar variable.

how to improve the coding?
Thanks You

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