Support pre-set and post-set parameter callbacks in addition to on-set-parameter-callback.#1947
Conversation
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
I checked, this is indeed the behaviour right now, so should be good. |
|
To recap from our discussion at the ROS 2 meeting:
|
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
|
Not sure but should we do something about |
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
|
One more thing which we should probably address is that since the We can probably do something about this by not calling the registered |
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
…declare param Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
|
I have made changes to the code based on review suggestions. I have also updated documentation for existing Node API's based on pre and post callbacks and can use a review for that specific commit d0bc26b Thanks! |
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
jacobperron
left a comment
There was a problem hiding this comment.
A few aesthetic things, otherwise LGTM!
|
Please trigger a CI job from ci.ros2.org and make sure it is green before merging. |
Signed-off-by: deepanshu <deepanshubansal01@gmail.com>
|
The same Windows test failure occurred on the most recent nightly: https://ci.ros2.org/view/nightly/job/nightly_win_rep/lastBuild/testReport/junit/launch_testing_examples.launch_testing_examples/check_multiple_nodes_launch_test/launch_testing_examples_check_multiple_nodes_launch_test/ |
This PR allows supporting
add_pre_set_parameter_callbackandadd_post_set_parameter_callbackin addition to the existingadd_on_set_parameter_callbackfor Node API.Design document: https://github.com/ros2/rclcpp/blob/deepanshu/local-param-changed-callback-support/rclcpp/doc/proposed_node_parameter_callbacks.md
Demo node: ros2/demos#565
rclpy ticket: ros2/rclpy#966
Related discussion: #1190, #609
cc: @adityapande-1995 @jacobperron
Signed-off-by: deepanshu deepanshubansal01@gmail.com