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

Enforce static parameter types when dynamic typing is not specified #683

Merged
merged 8 commits into from
Mar 2, 2021

Conversation

ivanpauno
Copy link
Member

@ivanpauno ivanpauno commented Feb 23, 2021

Equivalent to ros2/rclcpp#1522.

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno added the enhancement New feature or request label Feb 23, 2021
@ivanpauno ivanpauno self-assigned this Feb 23, 2021
@ivanpauno
Copy link
Member Author

CI to check if this breaks any downstream package:

  • Linux Build Status

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno
Copy link
Member Author

@jacobperron this is now ready for review

@ivanpauno
Copy link
Member Author

@jacobperron friendly ping

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

Good stuff!

I've left a some minor suggestions and have a couple questions.

rclpy/rclpy/exceptions.py Outdated Show resolved Hide resolved
rclpy/rclpy/exceptions.py Outdated Show resolved Hide resolved
rclpy/rclpy/node.py Outdated Show resolved Hide resolved
rclpy/rclpy/node.py Outdated Show resolved Hide resolved
rclpy/rclpy/node.py Show resolved Hide resolved
rclpy/test/test_node.py Outdated Show resolved Hide resolved
ivanpauno and others added 4 commits March 1, 2021 16:27
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

Co-authored-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM pending CI

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno
Copy link
Member Author

ivanpauno commented Mar 2, 2021

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@ivanpauno ivanpauno merged commit c240acb into master Mar 2, 2021
@delete-merged-branch delete-merged-branch bot deleted the ivanpauno/enforce-parameter-types-rclpy branch March 2, 2021 18:53
@ros-discourse
Copy link

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/feedback-required-should-parameters-be-able-to-change-of-type/18319/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants