Skip to content

Commit 5b55529

Browse files
authored
Merge branch 'main' into fix_semi_binary_builds
2 parents 7d890eb + cfd5984 commit 5b55529

File tree

15 files changed

+63
-15
lines changed

15 files changed

+63
-15
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,10 @@ repos:
8686
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
8787
args: ["--linelength=120"]
8888

89-
- repo: local
89+
- repo: https://github.com/pre-commit/mirrors-clang-format
90+
rev: 'v20.1.6'
9091
hooks:
9192
- id: clang-format
92-
name: clang-format
93-
description: Format files with ClangFormat.
94-
entry: clang-format-14
95-
language: system
96-
files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$
97-
args: ['-fallback-style=none', '-i']
9893

9994
# Cmake hooks
10095
- repo: local
@@ -120,7 +115,7 @@ repos:
120115

121116
# Docs - RestructuredText hooks
122117
- repo: https://github.com/PyCQA/doc8
123-
rev: v1.1.2
118+
rev: v2.0.0
124119
hooks:
125120
- id: doc8
126121
args: ['--max-line-length=100', '--ignore=D001']

ur/CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Changelog for package ur
33
^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
4.0.3 (2025-06-16)
6+
------------------
7+
8+
4.0.2 (2025-06-13)
9+
------------------
10+
511
4.0.1 (2025-05-28)
612
------------------
713

ur/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>ur</name>
5-
<version>4.0.1</version>
5+
<version>4.0.3</version>
66
<description>Metapackage for universal robots</description>
77
<maintainer email="[email protected]">Felix Exner</maintainer>
88
<maintainer email="[email protected]">Rune Søe-Knudsen</maintainer>

ur_calibration/CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Changelog for package ur_calibration
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
4.0.3 (2025-06-16)
6+
------------------
7+
8+
4.0.2 (2025-06-13)
9+
------------------
10+
511
4.0.1 (2025-05-28)
612
------------------
713
* Replace ament_target_dependencies calls (`#1373 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1373>`_)

ur_calibration/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="2">
33
<name>ur_calibration</name>
4-
<version>4.0.1</version>
4+
<version>4.0.3</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

77
<maintainer email="[email protected]">Felix Exner</maintainer>

ur_controllers/CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
Changelog for package ur_controllers
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
4.0.3 (2025-06-16)
6+
------------------
7+
* Ignore RT-Tools deprecation warning about trylock
8+
* Contributors: Felix Exner
9+
10+
4.0.2 (2025-06-13)
11+
------------------
12+
* Ignore deprecation warning for set_gains for now (`#1392 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1392>`_)
13+
* Use std_atomic<bool> in SJTC (`#1385 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1385>`_)
14+
* Contributors: Felix Exner
15+
516
4.0.1 (2025-05-28)
617
------------------
718
* [force mode controller] Fix the task frame orientation (`#1379 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1379>`_)

ur_controllers/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project(ur_controllers)
44
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
55
add_compile_options(-Wall -Wextra)
66
endif()
7+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
78

89
find_package(ament_cmake REQUIRED)
910
find_package(angles REQUIRED)
@@ -133,7 +134,9 @@ target_link_libraries(${PROJECT_NAME}
133134
tf2_ros::tf2_ros
134135
)
135136

136-
target_compile_options(${PROJECT_NAME} PRIVATE -Wpedantic -Werror)
137+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
138+
target_compile_options(${PROJECT_NAME} PRIVATE -Wpedantic -Werror)
139+
endif()
137140

138141
# prevent pluginlib from using boost
139142
target_compile_definitions(${PROJECT_NAME} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

ur_controllers/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>ur_controllers</name>
5-
<version>4.0.1</version>
5+
<version>4.0.3</version>
66
<description>Provides controllers that use the speed scaling interface of Universal Robots.</description>
77

88
<maintainer email="[email protected]">Felix Exner</maintainer>

ur_controllers/src/scaled_joint_trajectory_controller.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,14 @@ controller_interface::return_type ScaledJointTrajectoryController::update(const
336336
}
337337

338338
// TODO(fmauch): Remove once merged upstream
339+
340+
#pragma GCC diagnostic push
341+
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
339342
if (state_publisher_->trylock()) {
340343
state_publisher_->msg_.speed_scaling_factor = scaling_factor_;
341344
state_publisher_->unlock();
342345
}
346+
#pragma GCC diagnostic pop
343347
// end remove once merged upstream
344348

345349
publish_state(time, state_desired_, state_current_, state_error_);
@@ -354,7 +358,10 @@ void ScaledJointTrajectoryController::update_pids()
354358
const auto& gains = params_.gains.joints_map.at(params_.joints.at(map_cmd_to_joints_[i]));
355359
if (pids_[i]) {
356360
// update PIDs with gains from ROS parameters
361+
#pragma GCC diagnostic push
362+
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
357363
pids_[i]->set_gains(gains.p, gains.i, gains.d, gains.i_clamp, -gains.i_clamp);
364+
#pragma GCC diagnostic pop
358365
} else {
359366
// Init PIDs with gains from ROS parameters
360367
pids_[i] = std::make_shared<control_toolbox::Pid>(gains.p, gains.i, gains.d, gains.i_clamp, -gains.i_clamp);

ur_dashboard_msgs/CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Changelog for package ur_dashboard_msgs
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
4.0.3 (2025-06-16)
6+
------------------
7+
8+
4.0.2 (2025-06-13)
9+
------------------
10+
511
4.0.1 (2025-05-28)
612
------------------
713

0 commit comments

Comments
 (0)