Skip to content

should pull valid transition before trying to change the state. (backport #2774)#2784

Merged
ahcorde merged 1 commit intojazzyfrom
mergify/bp/jazzy/pr-2774
Mar 28, 2025
Merged

should pull valid transition before trying to change the state. (backport #2774)#2784
ahcorde merged 1 commit intojazzyfrom
mergify/bp/jazzy/pr-2774

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Mar 28, 2025

i think this is just a simple oversight.
rcl_lifecycle_get_transition_by_id should be called to pull out the valid transition based on the current state, aligns with rcl_lifecycle_get_transition_by_label.

Note

backport to humble and jazzy required


This is an automatic backport of pull request #2774 done by Mergify.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 7b6ee8a)
@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Mar 28, 2025

Pulls: #2784
Gist: https://gist.githubusercontent.com/ahcorde/959861cfbc941e4745f1760cf1004d55/raw/3a64e8db8e266abf92ccfa5cd69cdf886b2e9d9f/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp_lifecycle
TEST args: --packages-above rclcpp_lifecycle
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15515

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

@ahcorde ahcorde merged commit b6acdc9 into jazzy Mar 28, 2025
2 checks passed
@ahcorde ahcorde deleted the mergify/bp/jazzy/pr-2774 branch March 28, 2025 14:39
jplapp pushed a commit to pixel-robotics/rclcpp that referenced this pull request Apr 9, 2025
…#2774) (ros2#2784)

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 7b6ee8a)

Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
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.

2 participants