Skip to content

Conversation

@mini-1235
Copy link
Contributor

Description

Related to ros2/rclcpp#2975, ConstSharedPtr is preferred

Is this user-facing behavior change?

Did you use Generative AI?

No

Additional Information

@mini-1235
Copy link
Contributor Author

I will mark this as draft for now. There is another place in the demo that uses std::shared_ptr<rclcpp::SerializedMessage>, I will leave it to the maintainers to decide whether that should be updated as well

@ahcorde
Copy link
Contributor

ahcorde commented Nov 10, 2025

Pulls: #754
Gist: https://gist.githubusercontent.com/ahcorde/2cee3fb1a881e6b57e2b56907465fe5d/raw/4d79a703e850a25ae430c4d5014a26c181b7787e/ros2.repos
BUILD args: --packages-above-and-dependencies pendulum_control
TEST args: --packages-above pendulum_control
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/17430

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

@ahcorde
Copy link
Contributor

ahcorde commented Nov 10, 2025

I will mark this as draft for now. There is another place in the demo that uses std::shared_ptr<rclcpp::SerializedMessage>, I will leave it to the maintainers to decide whether that should be updated as well

please modify this other part too

@mini-1235 mini-1235 marked this pull request as ready for review November 10, 2025 16:30
@ahcorde
Copy link
Contributor

ahcorde commented Nov 10, 2025

Pulls: #754
Gist: https://gist.githubusercontent.com/ahcorde/23ca4baee9d585741f3ec6c9c5d5ea7b/raw/4d79a703e850a25ae430c4d5014a26c181b7787e/ros2.repos
BUILD args: --packages-above-and-dependencies pendulum_control demo_nodes_cpp
TEST args: --packages-above pendulum_control demo_nodes_cpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/17445

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

@ahcorde ahcorde merged commit 2e1c820 into ros2:rolling Nov 11, 2025
3 checks passed
@mini-1235 mini-1235 deleted the patch-1 branch November 11, 2025 09:34
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.

4 participants