Skip to content

Commit

Permalink
Merge pull request #7 from fmrico/fix_rolling_clear_activations
Browse files Browse the repository at this point in the history
Fix clear_activation
  • Loading branch information
fmrico authored Mar 15, 2024
2 parents 576542e + 3e59b55 commit bc0371e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/humble-devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
fail-fast: false
steps:
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.3.3
uses: ros-tooling/setup-ros@0.7.1
with:
required-ros-distributions: humble
- name: build and test
uses: ros-tooling/action-ros-ci@0.2.5
uses: ros-tooling/action-ros-ci@0.3.6
with:
package-name: rclcpp_cascade_lifecycle cascade_lifecycle_msgs
target-ros2-distro: humble
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rolling-devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
fail-fast: false
steps:
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.4.1
uses: ros-tooling/setup-ros@0.7.1
with:
required-ros-distributions: rolling
required-ros-distributions: humble
- name: build and test
uses: ros-tooling/action-ros-ci@0.2.7
uses: ros-tooling/action-ros-ci@0.3.6
with:
package-name: rclcpp_cascade_lifecycle cascade_lifecycle_msgs
target-ros2-distro: rolling
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rolling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
fail-fast: false
steps:
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.4.1
uses: ros-tooling/setup-ros@0.7.1
with:
required-ros-distributions: rolling
- name: build and test
uses: ros-tooling/action-ros-ci@0.2.7
uses: ros-tooling/action-ros-ci@0.3.6
with:
package-name: rclcpp_cascade_lifecycle cascade_lifecycle_msgs
target-ros2-distro: rolling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ CascadeLifecycleNode::remove_activation(const std::string & node_name)
void
CascadeLifecycleNode::clear_activation()
{
for (const auto & activation : activations_) {
remove_activation(activation);
while (!activations_.empty()) {
remove_activation(*activations_.begin());
}
}

Expand Down

0 comments on commit bc0371e

Please sign in to comment.