Skip to content

Commit 5d603c5

Browse files
authored
Merge branch 'master' into feat/issue-759-reup
2 parents 7d9d30e + 0301b0a commit 5d603c5

23 files changed

+603
-264
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Humble - pre-release
2+
# author: Christoph Froehlich <[email protected]>
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
downstream_depth:
8+
description: 'The depth of the depends-on tree to be included in the overlay workspace (-1 implies unlimited, default: 0)'
9+
required: false
10+
default: 0
11+
type: number
12+
pull_request:
13+
branches:
14+
- humble
15+
types:
16+
- opened # default
17+
- reopened # default
18+
- synchronize # default
19+
- labeled # also if a label changes
20+
21+
jobs:
22+
default:
23+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-prerelease.yml@master
24+
with:
25+
ros_distro: humble
26+
# downstream_depth is not set on pull_request event
27+
prerelease_downstream_depth: ${{ github.event_name == 'pull_request' && '0' || inputs.downstream_depth }}

.github/workflows/humble-semi-binary-downstream-3rd-party-build.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Jazzy - pre-release
2+
# author: Christoph Froehlich <[email protected]>
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
downstream_depth:
8+
description: 'The depth of the depends-on tree to be included in the overlay workspace (-1 implies unlimited, default: 0)'
9+
required: false
10+
default: 0
11+
type: number
12+
pull_request:
13+
branches:
14+
- jazzy
15+
types:
16+
- opened # default
17+
- reopened # default
18+
- synchronize # default
19+
- labeled # also if a label changes
20+
21+
jobs:
22+
default:
23+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-prerelease.yml@master
24+
with:
25+
ros_distro: jazzy
26+
# downstream_depth is not set on pull_request event
27+
prerelease_downstream_depth: ${{ github.event_name == 'pull_request' && '0' || inputs.downstream_depth }}

.github/workflows/jazzy-semi-binary-downstream-3rd-party-build.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Rolling - pre-release
2+
# author: Christoph Froehlich <[email protected]>
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
downstream_depth:
8+
description: 'The depth of the depends-on tree to be included in the overlay workspace (-1 implies unlimited, default: 0)'
9+
required: false
10+
default: 0
11+
type: number
12+
pull_request:
13+
branches:
14+
- master
15+
types:
16+
- opened # default
17+
- reopened # default
18+
- synchronize # default
19+
- labeled # also if a label changes
20+
21+
jobs:
22+
default:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
ROS_DISTRO: [kilted, rolling]
27+
28+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-prerelease.yml@master
29+
with:
30+
ros_distro: ${{ matrix.ROS_DISTRO }}
31+
# downstream_depth is not set on pull_request event
32+
prerelease_downstream_depth: ${{ github.event_name == 'pull_request' && '0' || inputs.downstream_depth }}

.github/workflows/rolling-semi-binary-build-win.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ concurrency:
3838

3939
jobs:
4040
binary-windows:
41-
# if: |
42-
# (github.event_name == 'issue_comment' && contains(github.event.comment.body, '/check-windows')) ||
43-
# (github.event_name == 'pull_request' && contains(github.event.label.name, 'check-windows')) ||
44-
# (github.event_name == 'workflow_dispatch')
4541
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-ros-tooling-win-build.yml@master
4642
with:
4743
ros_distro: rolling
4844
pixi_dependencies: typeguard jinja2 boost compilers
4945
windows_dependencies: ros2_control.windows.rolling.repos
5046
ninja_packages: rsl
47+
skip_packages: diagnostic_remote_logging generate_parameter_library_example_external generate_parameter_library_example
48+
target_cmake_args: -DBUILD_TESTING=OFF

.github/workflows/rolling-semi-binary-downstream-3rd-party-build.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issues: write
1313
pull-requests: write
1414
steps:
15-
- uses: actions/stale@v9
15+
- uses: actions/stale@v10
1616
with:
1717
stale-issue-label: 'stale'
1818
stale-pr-label: 'stale'

controller_manager/include/controller_manager/controller_manager.hpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,21 @@ class ControllerManager : public rclcpp::Node
683683
rclcpp::Subscription<std_msgs::msg::String>::SharedPtr robot_description_subscription_;
684684
rclcpp::TimerBase::SharedPtr robot_description_notification_timer_;
685685

686+
struct ControllerManagerExecutionTime
687+
{
688+
double read_time = 0.0;
689+
double update_time = 0.0;
690+
double write_time = 0.0;
691+
double switch_time = 0.0;
692+
double total_time = 0.0;
693+
double switch_chained_mode_time = 0.0;
694+
double switch_perform_mode_time = 0.0;
695+
double deactivation_time = 0.0;
696+
double activation_time = 0.0;
697+
};
698+
699+
ControllerManagerExecutionTime execution_time_;
700+
686701
controller_manager::MovingAverageStatistics periodicity_stats_;
687702

688703
struct SwitchParams

controller_manager/include/controller_manager/controller_spec.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@
2424
#include <vector>
2525
#include "controller_interface/controller_interface_base.hpp"
2626
#include "hardware_interface/controller_info.hpp"
27-
#include "libstatistics_collector/moving_average_statistics/moving_average.hpp"
27+
#include "hardware_interface/types/statistics_types.hpp"
2828

2929
namespace controller_manager
3030
{
3131

32-
using MovingAverageStatistics =
33-
libstatistics_collector::moving_average_statistics::MovingAverageStatistics;
32+
using MovingAverageStatistics = ros2_control::MovingAverageStatistics;
3433
/// Controller Specification
3534
/**
3635
* This struct contains both a pointer to a given controller, \ref c, as well

0 commit comments

Comments
 (0)