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

roslaunch: add an option in XmlLoader to only load arg tags #1521

Merged

Conversation

christophebedard
Copy link
Member

@christophebedard christophebedard commented Oct 22, 2018

This fixes #1300. It's off/false by default, but it's used by arg_dump to stop roslaunch-complete from failing if any arg has no default value.

This fixes ros#1300. It's off/false by default, but it's used by `arg_dump`
to stop roslaunch-autocomplete from failing if any arg has no default value.
@christophebedard christophebedard force-pushed the fix-roslaunch-autocomplete branch from 72559a1 to f2dcac9 Compare October 22, 2018 22:38
@christophebedard christophebedard changed the title roslaunch: fix roslaunch-complete failing if any arg has no default roslaunch: add an option in XmlLoader to only load arg tags Oct 22, 2018
@christophebedard
Copy link
Member Author

christophebedard commented Oct 23, 2018

Not sure why it's failing or whether it has anything to do with this PR!

@dirk-thomas
Copy link
Member

@ros-pull-request-builder retest this please

@dirk-thomas
Copy link
Member

Thanks for the patch.

@dirk-thomas dirk-thomas merged commit b6b22e8 into ros:melodic-devel Nov 20, 2018
@christophebedard
Copy link
Member Author

@dirk-thomas my pleasure, although looking at it again I should've used continue instead of pass (xmlloader.py line 661) for better maintainability. Let me know if you'd like me to quickly fix that. 😄

@dirk-thomas
Copy link
Member

I think it is ok for now. Hopefully it isn't being overlooked if something is added after all the conditional blocks in the future.

If you feel strongly about it please feel free to create a PR for it. Should be trivial to review / merge.

@christophebedard
Copy link
Member Author

christophebedard commented Nov 21, 2018

I ended up changing it (#1540) since I think it's more appropriate in this situation.

Thank you for your time!

tahsinkose pushed a commit to tahsinkose/ros_comm that referenced this pull request Apr 15, 2019
This fixes ros#1300. It's off/false by default, but it's used by `arg_dump`
to stop roslaunch-autocomplete from failing if any arg has no default value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

roslaunch-complete fails if any argument has no default
2 participants