Skip to content

Is it possible to access data such as battery percentage, current pitch, yaw, roll? #30

Description

@bmtdh

Hi! Great work on this, it works great in terms of controlling the drone. I am struggling to get necessary data back from the drone though.

Is there a way to get the data mentioned in the title? I have had a look through the XML spec and it appears that there are some commands that would return this information but nothing gets returned when using them. I am assuming I am using them wrong...

Should
const state = parser.getCommand('common', 'CommonState', 'AllStatesChanged');
drone.runCommand(state)
update state or return state? Or neither?

If that isn't the correct approach would someone be able to point in the right direction?

Thanks again,

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