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

Mavlink message generation error #1594

Closed
weiyuhe opened this issue Feb 17, 2021 · 1 comment
Closed

Mavlink message generation error #1594

weiyuhe opened this issue Feb 17, 2021 · 1 comment

Comments

@weiyuhe
Copy link

weiyuhe commented Feb 17, 2021

I am trying to follow the procedure on: https://docs.px4.io/master/en/ros/mavros_custom_messages.html
Using mavlink-generator, here are the procedure that I followed:

    For XML, "Browse" to /PX4-Autopilot/mavlink/include/mavlink/v2.0/message_definitions/standard.xml.
    For Out, "Browse" to /PX4-Autopilot/mavlink/include/mavlink/v2.0/.
    Select Language C
    Select Protocol 2.0
    Check Validate

But I am getting the following error:
ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element 'field', attribute 'instance': The attribute 'instance' is not allowed.

@amilcarlucas
Copy link
Collaborator

This is a duplicate of ArduPilot/pymavlink#243
Looks like I will need to fix that at some point. But this is a duplicate so closing this.

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