Skip to content

Commit 49c265d

Browse files
authored
Merge branch 'main' into freedrive_mode
2 parents d4c0ed5 + d465561 commit 49c265d

File tree

12 files changed

+100
-40
lines changed

12 files changed

+100
-40
lines changed

.github/workflows/coverage-build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,36 @@ jobs:
1919
- uses: ros-tooling/[email protected]
2020
with:
2121
required-ros-distributions: ${{ env.ROS_DISTRO }}
22+
use-ros2-testing: true
2223
- uses: actions/checkout@v4
2324
- uses: ros-tooling/[email protected]
2425
with:
2526
target-ros2-distro: ${{ env.ROS_DISTRO }}
2627
# build all packages listed in the meta package
2728
package-name:
28-
ur
29+
ur_calibration
2930
ur_controllers
30-
ur_dashboard_msgs
31-
ur_moveit_config
3231
ur_robot_driver
3332
vcs-repo-file-url: |
3433
https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/Universal_Robots_ROS2_Driver-not-released.${{ env.ROS_DISTRO }}.repos
3534
colcon-defaults: |
3635
{
3736
"build": {
38-
"mixin": ["coverage-gcc"]
37+
"mixin": ["coverage-gcc", "coverage-pytest"]
38+
},
39+
"test": {
40+
"mixin": ["coverage-pytest"]
3941
}
4042
}
4143
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
42-
skip-tests: true
43-
- uses: codecov/codecov-action@v3
44+
skip-tests: false
45+
- uses: codecov/codecov-action@v5
4446
with:
47+
fail_ci_if_error: true
4548
file: ros_ws/lcov/total_coverage.info
4649
flags: unittests
4750
name: codecov-umbrella
51+
token: ${{ secrets.CODECOV_TOKEN }}
4852
- uses: actions/upload-artifact@v4
4953
with:
5054
name: colcon-logs-${{ matrix.os }}

Universal_Robots_ROS2_Driver.jazzy.repos

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ repositories:
2727
type: git
2828
url: https://github.com/ros-controls/control_msgs.git
2929
version: master
30+
control_toolbox:
31+
type: git
32+
url: https://github.com/ros-controls/control_toolbox.git
33+
version: ros2-master
3034
realtime_tools:
3135
type: git
3236
url: https://github.com/ros-controls/realtime_tools.git

Universal_Robots_ROS2_Driver.rolling.repos

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ repositories:
2727
type: git
2828
url: https://github.com/ros-controls/control_msgs.git
2929
version: master
30+
control_toolbox:
31+
type: git
32+
url: https://github.com/ros-controls/control_toolbox.git
33+
version: ros2-master
3034
realtime_tools:
3135
type: git
3236
url: https://github.com/ros-controls/realtime_tools.git

ur/package.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
<name>ur</name>
55
<version>2.4.13</version>
66
<description>Metapackage for universal robots</description>
7-
<maintainer email="[email protected]">Felix Exner</maintainer>
8-
<maintainer email="[email protected]">Vincenzo Di Pentima</maintainer>
7+
<maintainer email="[email protected]">Felix Exner</maintainer>
8+
<maintainer email="[email protected]">Rune Søe-Knudsen</maintainer>
9+
<maintainer email="[email protected]">Universal Robots A/S</maintainer>
910
<license>BSD-3-Clause</license>
1011

1112
<buildtool_depend>ament_cmake</buildtool_depend>

ur_calibration/package.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
<version>2.4.13</version>
55
<description>Package for extracting the factory calibration from a UR robot and change it such that it can be used by ur_description to gain a correct URDF</description>
66

7-
<maintainer email="[email protected]">Felix Exner</maintainer>
8-
<maintainer email="[email protected]">Vincenzo Di Pentima</maintainer>
7+
<maintainer email="[email protected]">Felix Exner</maintainer>
8+
<maintainer email="[email protected]">Rune Søe-Knudsen</maintainer>
9+
<maintainer email="[email protected]">Universal Robots A/S</maintainer>
910

1011
<license>BSD-3-Clause</license>
1112

ur_controllers/package.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<version>2.4.13</version>
66
<description>Provides controllers that use the speed scaling interface of Universal Robots.</description>
77

8-
<maintainer email="[email protected]">Felix Exner</maintainer>
9-
<maintainer email="[email protected]">Vincenzo Di Pentima</maintainer>
8+
<maintainer email="[email protected]">Felix Exner</maintainer>
9+
<maintainer email="[email protected]">Rune Søe-Knudsen</maintainer>
10+
<maintainer email="[email protected]">Universal Robots A/S</maintainer>
1011

1112
<license>BSD-3-Clause</license>
1213

@@ -18,6 +19,7 @@
1819
<author email="[email protected]">Marvin Große Besselmann</author>
1920
<author email="[email protected]">Lovro Ivanov</author>
2021
<author email="[email protected]">Andy Zelenak</author>
22+
<author email="[email protected]">Vincenzo Di Pentima</author>
2123

2224
<buildtool_depend>ament_cmake</buildtool_depend>
2325

ur_controllers/src/passthrough_trajectory_controller.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
#include <controller_interface/controller_interface.hpp>
4646
#include <rclcpp/logging.hpp>
47+
#include <rclcpp/version.h>
4748
#include <builtin_interfaces/msg/duration.hpp>
4849
#include <lifecycle_msgs/msg/state.hpp>
4950

@@ -327,8 +328,12 @@ controller_interface::return_type PassthroughTrajectoryController::update(const
327328
scaling_factor_ = scaling_state_interface_->get().get_value();
328329
}
329330

331+
#if RCLCPP_VERSION_MAJOR >= 17
330332
active_trajectory_elapsed_time_ += period * scaling_factor_;
331-
333+
#else
334+
// This is kept for Humble compatibility
335+
active_trajectory_elapsed_time_ = active_trajectory_elapsed_time_ + period * scaling_factor_;
336+
#endif
332337
// RCLCPP_INFO(get_node()->get_logger(), "Elapsed trajectory time: %f. Scaling factor: %f, period: %f",
333338
// active_trajectory_elapsed_time_.seconds(), scaling_factor_, period.seconds());
334339

ur_dashboard_msgs/package.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<version>2.4.13</version>
66
<description>Messages around the UR Dashboard server.</description>
77

8-
<maintainer email="[email protected]">Felix Exner</maintainer>
9-
<maintainer email="[email protected]">Vincenzo Di Pentima</maintainer>
8+
<maintainer email="[email protected]">Felix Exner</maintainer>
9+
<maintainer email="[email protected]">Rune Søe-Knudsen</maintainer>
10+
<maintainer email="[email protected]">Universal Robots A/S</maintainer>
1011

1112
<license>BSD-3-Clause</license>
1213

ur_moveit_config/package.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@
66
<description>
77
An example package with MoveIt2 configurations for UR robots.
88
</description>
9-
<maintainer email="[email protected]">Felix Exner</maintainer>
10-
<maintainer email="[email protected]">Vincenzo Di Pentima</maintainer>
9+
<maintainer email="[email protected]">Felix Exner</maintainer>
10+
<maintainer email="[email protected]">Rune Søe-Knudsen</maintainer>
11+
<maintainer email="[email protected]">Universal Robots A/S</maintainer>
1112

1213
<license>Apache2.0</license>
1314

1415
<author email="[email protected]">Robert Wilbrandt</author>
1516
<author email="[email protected]">Denis Stogl</author>
1617
<author email="[email protected]">Lovro Ivanov</author>
1718
<author email="[email protected]">Andy Zelenak</author>
19+
<author email="[email protected]">Vincenzo Di Pentima</author>
1820

1921
<buildtool_depend>ament_cmake</buildtool_depend>
2022

ur_robot_driver/package.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<version>2.4.13</version>
66
<description>The new driver for Universal Robots UR3, UR5 and UR10 robots with CB3 controllers and the e-series.</description>
77

8-
<maintainer email="[email protected]">Felix Exner</maintainer>
9-
<maintainer email="[email protected]">Vincenzo Di Pentima</maintainer>
8+
<maintainer email="[email protected]">Felix Exner</maintainer>
9+
<maintainer email="[email protected]">Rune Søe-Knudsen</maintainer>
10+
<maintainer email="[email protected]">Universal Robots A/S</maintainer>
1011

1112
<license>BSD-3-Clause</license>
1213

@@ -18,6 +19,7 @@
1819
<author email="[email protected]">Marvin Große Besselmann</author>
1920
<author email="[email protected]">Lovro Ivanov</author>
2021
<author email="[email protected]">Andy Zelenak</author>
22+
<author email="[email protected]">Vincenzo Di Pentima</author>
2123
<author>Thomas Timm Andersen</author>
2224
<author>Simon Rasmussen</author>
2325
<author>Felix Exner</author>

0 commit comments

Comments
 (0)