-
Notifications
You must be signed in to change notification settings - Fork 91
Update MAVLINK message definitions #302
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
base: master
Are you sure you want to change the base?
Conversation
There seems to be some problems with the embedded build, marking as draft until I figure it out |
I think it should be OK now. The |
Last time I looked into updating MAVLink definition the issue was that there are enums that are both used as bitmasks and as single choice selections (See #285) but error message looks different this time. |
Yeah, it seems that there is no consensus on the UPDATE: since enum definition does not have a defined size, it is only taken from field definitions, so there is no single source of truth for enum size. I believe the only way is to hardcode exception for offending messages. Or maybe determine enum primitive based on maximum flag value? |
I narrowed this down to 2 issues:
|
Are you actually using the mavlink version for anything? i.e. does your code check it? AFAIK no code bothers to check this so there is no point updating it. If we start a release process, then perhaps we will. I will look at the build issues tomorrow. |
Sorry for the confusing PR name, intention is to update message definitions. |
@chemicstry can you rebase it ? |
Current MAVLINK message definitions are 2 years old and many new messages are missing.