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

Fail on invalid and unknown ROS specific arguments #415

Merged
merged 2 commits into from
Sep 6, 2019

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Sep 3, 2019

Precisely what the title says. This pull request makes rclpy raise if either an invalid or an unknown ROS argument is found.

@hidmic
Copy link
Contributor Author

hidmic commented Sep 3, 2019

We should probably discuss the implications of having exceptions defined in the C extensions vs. Python sources.

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments. Also, check the result of this discussion before merging:
#413 (comment)

rclpy/src/rclpy/_rclpy.c Outdated Show resolved Hide resolved
rclpy/src/rclpy/_rclpy.c Outdated Show resolved Hide resolved
rclpy/src/rclpy/_rclpy.c Outdated Show resolved Hide resolved
rclpy/src/rclpy/_rclpy.c Outdated Show resolved Hide resolved
rclpy/src/rclpy/_rclpy.c Outdated Show resolved Hide resolved
rclpy/src/rclpy/_rclpy.c Show resolved Hide resolved
@hidmic hidmic force-pushed the hidmic/handle-bad-arguments branch from 57a94cd to 9f70bd9 Compare September 4, 2019 20:30
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic force-pushed the hidmic/handle-bad-arguments branch from 9f70bd9 to 1fc0683 Compare September 5, 2019 16:28
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic merged commit 54314b7 into master Sep 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the hidmic/handle-bad-arguments branch September 6, 2019 18:35
@ivanpauno
Copy link
Member

@hidmic This have introduced a linter failure (from #420)

  • Linux Build Status

Where is the original CI build of this branch?

@hidmic
Copy link
Contributor Author

hidmic commented Sep 6, 2019

@ivanpauno it's here. Only reasonable explanation is that I thought I re-ran it after addressing your comments but I didn't. I'll fix it, sorry!

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