Skip to content

Commit

Permalink
Support multiple parameter callback
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinav Singh <singhabhinav9051571833@gmail.com>
  • Loading branch information
suab321321 committed Nov 12, 2019
2 parents 3a941ab + e566f3e commit 6c12b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/rclpy/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def set_parameters_callback(
:param callback: The function that is called whenever parameters are set for the node.
"""
self._parameters_callback = callback
self.add_on_set_paramters_callback(callback)

def _validate_topic_or_service_name(self, topic_or_service_name, *, is_service=False):
name = self.get_name()
Expand Down

0 comments on commit 6c12b68

Please sign in to comment.