Skip to content

subordinate node consistent behavior and update docstring. - #2822

Merged
fujitatomoya merged 3 commits into
rollingfrom
fujitatomoya/sub-node-fix
Apr 29, 2025
Merged

fujitatomoya merged 3 commits into
rollingfrom
fujitatomoya/sub-node-fix

Conversation

@fujitatomoya

@fujitatomoya fujitatomoya commented Apr 21, 2025 •

Copy link
Copy Markdown
Collaborator

closes #2795

Note

extend_name_with_sub_namespace is inline function, so user must rebuild the application with rclcpp to get this fix. besides that, this is behavior change could break the application. i am not inclined to backport this. thoughts?

Comment thread rclcpp/include/rclcpp/node.hpp Resolved
Comment thread rclcpp/src/rclcpp/node.cpp Resolved
@fujitatomoya

Copy link
Copy Markdown
Collaborator Author

@jmachowinski @mjcarroll can you review this?

Comment thread rclcpp/include/rclcpp/node.hpp Resolved
Signed-off-by: Tomoya Fujita <[email protected]>
@fujitatomoya

Copy link
Copy Markdown
Collaborator Author

Pulls: #2822
Gist: https://gist.githubusercontent.com/fujitatomoya/4eae4734591a7b22690e7f7ed0abbcde/raw/defed4a27eb0e0fbfaab46dd7fc7a787ef29f8b6/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15726

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya fujitatomoya self-assigned this Apr 22, 2025
@christophebedard

Copy link
Copy Markdown
Member

We can probably get this into Rolling during the freeze, before Kilted branches off (which it hasn't yet IIUC).

@fujitatomoya

Copy link
Copy Markdown
Collaborator Author

@christophebedard what do you think about backport ? #2822 (comment)

@christophebedard

Copy link
Copy Markdown
Member

Yeah, I agree, maybe we should hold off on backporting, at least for now. This is the kind of issue that users probably worked around. If someone requests a backport, then we can consider it more seriously.

@fujitatomoya

Copy link
Copy Markdown
Collaborator Author

Warning

DO NOT MERGE THIS, WE ARE NOW BRANCHING KILTED.

@fujitatomoya
fujitatomoya merged commit c89a2b1 into rolling Apr 29, 2025
@fujitatomoya

Copy link
Copy Markdown
Collaborator Author

@Mergifyio backport kilted

@mergify

mergify Bot commented Apr 29, 2025 •

Copy link
Copy Markdown
Contributor

backport kilted

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request Apr 29, 2025
* subordinate node consistent behavior and update docstring.

Signed-off-by: Tomoya Fujita <[email protected]>

* add subnode_parameter_operation test.

Signed-off-by: Tomoya Fujita <[email protected]>

* typo fixes.

Signed-off-by: Tomoya Fujita <[email protected]>

---------

Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit c89a2b1)
fujitatomoya pushed a commit that referenced this pull request Apr 30, 2025
…2830)

* subordinate node consistent behavior and update docstring.



* add subnode_parameter_operation test.



* typo fixes.



---------


(cherry picked from commit c89a2b1)

Signed-off-by: Tomoya Fujita <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
@christophebedard
christophebedard deleted the fujitatomoya/sub-node-fix branch April 30, 2025 15:40
@DLu

DLu commented Jun 2, 2025

Copy link
Copy Markdown

Is there a tutorial on how to use this yet? :-D

@christophebedard

Copy link
Copy Markdown
Member

Not as far as I know, but I opened an issue for that here: ros2/ros2_documentation#5457.

@v-lopez

v-lopez commented Oct 29, 2025

Copy link
Copy Markdown

Is there a chance to have this backported to jazzy? Or a workaround for it?

@fujitatomoya

Copy link
Copy Markdown
Collaborator Author

@v-lopez unfortunately i do not think so, as the PR header says this breaks the user space. it looks like we did backport this to kilted, but it is different situation. for kilted, we were just working on the branching from rolling, so that is not counted as backport.

bartalor pushed a commit to bartalor/rclcpp that referenced this pull request Jul 15, 2026
* subordinate node consistent behavior and update docstring.

Signed-off-by: Tomoya Fujita <[email protected]>

* add subnode_parameter_operation test.

Signed-off-by: Tomoya Fujita <[email protected]>

* typo fixes.

Signed-off-by: Tomoya Fujita <[email protected]>

---------

Signed-off-by: Tomoya Fujita <[email protected]>
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.

rclcpp::Node::get_parameter overloads undocumented inconsistent behavior

5 participants