Skip to content

Commit e65e5fe

Browse files
committed
Merge branch 'main' into tool_contact
2 parents f7b898c + ed02c20 commit e65e5fe

21 files changed

+163
-98
lines changed

ur/CHANGELOG.rst

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

5+
3.1.0 (2025-03-05)
6+
------------------
7+
58
3.0.2 (2025-01-21)
69
------------------
710

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>3.0.2</version>
5+
<version>3.1.0</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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Changelog for package ur_calibration
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
3.1.0 (2025-03-05)
6+
------------------
7+
58
3.0.2 (2025-01-21)
69
------------------
710

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>3.0.2</version>
4+
<version>3.1.0</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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
Changelog for package ur_controllers
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
3.1.0 (2025-03-05)
6+
------------------
7+
* ur_controllers: doc -- Fix link to index page of driver (`#1284 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1284>`_)
8+
* Update computeCommand to compute_command (`#1265 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1265>`_)
9+
* Apply renaming of member variables of JTC (`#1275 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1275>`_)
10+
* Contributors: Christoph Fröhlich, Felix Exner
11+
512
3.0.2 (2025-01-21)
613
------------------
714
* Remove all build warnings (`#1233 <https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/1233>`_)

ur_controllers/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ ament_target_dependencies(${PROJECT_NAME}
119119
${THIS_PACKAGE_INCLUDE_DEPENDS}
120120
)
121121

122-
target_compile_options(${PROJECT_NAME} PRIVATE -Wpedantic -Werror=return-type)
122+
target_compile_options(${PROJECT_NAME} PRIVATE -Wpedantic -Werror)
123123

124124
# prevent pluginlib from using boost
125125
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>3.0.2</version>
5+
<version>3.1.0</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/force_mode_controller.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ ur_controllers::ForceModeController::on_cleanup(const rclcpp_lifecycle::State& /
173173
controller_interface::return_type ur_controllers::ForceModeController::update(const rclcpp::Time& /*time*/,
174174
const rclcpp::Duration& /*period*/)
175175
{
176-
async_state_ = command_interfaces_[CommandInterfaces::FORCE_MODE_ASYNC_SUCCESS].get_value();
176+
async_state_ =
177+
command_interfaces_[CommandInterfaces::FORCE_MODE_ASYNC_SUCCESS].get_optional().value_or(ASYNC_WAITING);
177178

178179
// Publish state of force_mode?
179180
if (change_requested_) {

ur_controllers/src/freedrive_mode_controller.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,15 @@ ur_controllers::FreedriveModeController::on_deactivate(const rclcpp_lifecycle::S
193193
controller_interface::return_type ur_controllers::FreedriveModeController::update(const rclcpp::Time& /*time*/,
194194
const rclcpp::Duration& /*period*/)
195195
{
196-
async_state_ = async_success_command_interface_->get().get_value();
196+
async_state_ = async_success_command_interface_->get().get_optional().value_or(ASYNC_WAITING);
197197

198198
if (change_requested_) {
199199
bool write_success = true;
200200
if (freedrive_active_) {
201201
// Check if the freedrive mode has been aborted from the hardware interface. E.g. the robot was stopped on the
202202
// teach pendant.
203-
if (!std::isnan(abort_command_interface_->get().get_value()) &&
204-
abort_command_interface_->get().get_value() == 1.0) {
203+
if ((abort_command_interface_->get().get_optional().has_value()) &&
204+
abort_command_interface_->get().get_optional().value() == 1.0) {
205205
RCLCPP_INFO(get_node()->get_logger(), "Freedrive mode aborted by hardware, aborting request.");
206206
freedrive_active_ = false;
207207
return controller_interface::return_type::OK;

0 commit comments

Comments
 (0)