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

Fixed an issue with the way that the Java Import statements were generated. #122

Merged
merged 1 commit into from
Nov 7, 2017
Merged

Fixed an issue with the way that the Java Import statements were generated. #122

merged 1 commit into from
Nov 7, 2017

Conversation

byron-conroy
Copy link
Contributor

The "MAVLinkPacket" class in the Java implementation always imported the "common" messages and the name of the message definition XML file you generated from.

This was incorrect for two reasons:

  • The "common" package may not exist if the message definition XML file does not include the "common.xml"
  • If the message definition XML file includes additional message sets they will not be included properly.

This commit fixes both issues.

@OXINARF OXINARF requested a review from WickedShell October 30, 2017 16:09
@WickedShell WickedShell merged commit 39c6045 into ArduPilot:master Nov 7, 2017
@WickedShell
Copy link
Contributor

Sorry for the delay on testing this. Accidentally spaced that it was pending. Only tested with the common XML included (as thats where my best test suite/GCS use case is present) but that works fine for me, and makes sense for why it would work on the other use case.

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

Successfully merging this pull request may close these issues.

2 participants